From 525d1220c15b3dbab0894c9e16edb11dd5c7a28c Mon Sep 17 00:00:00 2001 From: Louis Eveillard <barlou15+github@gmail.com> Date: Wed, 23 Sep 2020 17:29:25 +0200 Subject: [PATCH] updated built build.js --- public/dist/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/dist/build.js b/public/dist/build.js index 08c15c646..542d7fe14 100644 --- a/public/dist/build.js +++ b/public/dist/build.js @@ -1 +1 @@ -!function(){return function e(t,n,i){function r(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){return r(t[a][1][e]||e)},u,u.exports,e,t,n,i)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<i.length;a++)r(i[a]);return r}}()({1:[function(e,t,n){var i,r;i=window,r=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},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="/dist/",n(n.s=6)}([function(e,t,n){var i=n(8);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n(4).default)("7ec05f6c",i,!1,{})},function(e,t,n){var i=n(10);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n(4).default)("3453d19d",i,!1,{})},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,i=e[1]||"",r=e[3];if(!r)return i;if(t&&"function"==typeof btoa){var o=(n=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[i].concat(a).concat([o]).join("\n")}return[i].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];null!=o&&(i[o]=!0)}for(r=0;r<e.length;r++){var a=e[r];null!=a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t){e.exports="data:application/vnd.ms-fontobject;base64,aAUAAMQEAAABAAIAAAAAAAAAAAAAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAUdPJHwAAAAAAAAAAAAAAAAAAAAAAAA4AaQBjAG8AbQBvAG8AbgAAAA4AUgBlAGcAdQBsAGEAcgAAABYAVgBlAHIAcwBpAG8AbgAgADEALgAwAAAADgBpAGMAbwBtAG8AbwBuAAAAAAAAAQAAAAsAgAADADBPUy8yDxIFrAAAALwAAABgY21hcBdW0okAAAEcAAAAVGdhc3AAAAAQAAABcAAAAAhnbHlmpZ+jMAAAAXgAAAD8aGVhZA/FmAgAAAJ0AAAANmhoZWEHgAPIAAACrAAAACRobXR4EgABvgAAAtAAAAAcbG9jYQCSAOIAAALsAAAAEG1heHAACQAfAAAC/AAAACBuYW1lmUoJ+wAAAxwAAAGGcG9zdAADAAAAAASkAAAAIAADA4ABkAAFAAACmQLMAAAAjwKZAswAAAHrADMBCQAAAAAAAAAAAAAAAAAAAAEQAAAAAAAAAAAAAAAAAAAAAEAAAOkCA8D/wABAA8AAQAAAAAEAAAAAAAAAAAAAACAAAAAAAAMAAAADAAAAHAABAAMAAAAcAAMAAQAAABwABAA4AAAACgAIAAIAAgABACDpAv/9//8AAAAAACDpAP/9//8AAf/jFwQAAwABAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAVgEBA74CgQAcAAABMhceARcWFwcmJy4BJyYjIgYHFyERFzY3PgE3NgIWSkNDbykpF2QQIB9VMzQ5P3AtnP6AmB0iIkspKAJVFxhSODlCIDMrKz4REislmgGAmhkVFBwICAABANYAgQMqAtUACwAAAQcXBycHJzcnNxc3Ayru7jzu7jzu7jzu7gKZ7u487u487u487u4AAQCSAIEDgAK9AAUAACUBFwEnNwGAAcQ8/gDuPPkBxDz+AO48AAAAAAEAAAAAAAAfydNRXw889QALBAAAAAAA1nUqGwAAAADWdSobAAAAAAO+AtUAAAAIAAIAAAAAAAAAAQAAA8D/wAAABAAAAAAAA74AAQAAAAAAAAAAAAAAAAAAAAcEAAAAAAAAAAAAAAACAAAABAAAVgQAANYEAACSAAAAAAAKABQAHgBQAGoAfgABAAAABwAdAAEAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEABwAAAAEAAAAAAAIABwBgAAEAAAAAAAMABwA2AAEAAAAAAAQABwB1AAEAAAAAAAUACwAVAAEAAAAAAAYABwBLAAEAAAAAAAoAGgCKAAMAAQQJAAEADgAHAAMAAQQJAAIADgBnAAMAAQQJAAMADgA9AAMAAQQJAAQADgB8AAMAAQQJAAUAFgAgAAMAAQQJAAYADgBSAAMAAQQJAAoANACkaWNvbW9vbgBpAGMAbwBtAG8AbwBuVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwaWNvbW9vbgBpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuUmVndWxhcgBSAGUAZwB1AGwAYQByaWNvbW9vbgBpAGMAbwBtAG8AbwBuRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="},function(e,t,n){"use strict";function i(e,t){for(var n=[],i={},r=0;r<t.length;r++){var o=t[r],a=o[0],s={id:e+":"+r,css:o[1],media:o[2],sourceMap:o[3]};i[a]?i[a].parts.push(s):n.push(i[a]={id:a,parts:[s]})}return n}n.r(t),n.d(t,"default",function(){return h});var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)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 o={},a=r&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d=null,p="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,r){c=n,d=r||{};var a=i(e,t);return m(a),function(t){for(var n=[],r=0;r<a.length;r++){var s=a[r];(l=o[s.id]).refs--,n.push(l)}for(t?m(a=i(e,t)):a=[],r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],i=o[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(v(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;r<n.parts.length;r++)a.push(v(n.parts[r]));o[n.id]={id:n.id,refs:1,parts:a}}}}function g(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function v(e){var t,n,i=document.querySelector("style["+p+'~="'+e.id+'"]');if(i){if(c)return u;i.parentNode.removeChild(i)}if(f){var r=l++;i=s||(s=g()),t=_.bind(null,i,r,!1),n=_.bind(null,i,r,!0)}else i=g(),t=function(e,t){var n=t.css,i=t.media,r=t.sourceMap;if(i&&e.setAttribute("media",i),d.ssrId&&e.setAttribute(p,t.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}var b,y=(b=[],function(e,t){return b[e]=t,b.filter(Boolean).join("\n")});function _(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=y(t,r);else{var o=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}},function(e,t,n){"use strict";var i=Array.isArray,r=Object.keys,o=Object.prototype.hasOwnProperty;e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var a,s,l,c=i(t),u=i(n);if(c&&u){if((s=t.length)!=n.length)return!1;for(a=s;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(c!=u)return!1;var d=t instanceof Date,p=n instanceof Date;if(d!=p)return!1;if(d&&p)return t.getTime()==n.getTime();var f=t instanceof RegExp,h=n instanceof RegExp;if(f!=h)return!1;if(f&&h)return t.toString()==n.toString();var m=r(t);if((s=m.length)!==r(n).length)return!1;for(a=s;0!=a--;)if(!o.call(n,m[a]))return!1;for(a=s;0!=a--;)if(!e(t[l=m[a]],n[l]))return!1;return!0}return t!=t&&n!=n}},function(e,t,n){e.exports=n(14)},function(e,t,n){"use strict";var i=n(0);n.n(i).a},function(e,t,n){(e.exports=n(2)(!0)).push([e.i,".ti-tag-input[data-v-108f4f13] {\n background-color: transparent;\n color: inherit;\n border: none;\n padding: 0px;\n margin: 0px;\n display: flex;\n top: 0px;\n position: absolute;\n width: 100%;\n line-height: inherit;\n}\n.ti-tag-input[data-v-108f4f13]::-ms-clear {\n display: none;\n}\ninput[data-v-108f4f13]:focus {\n outline: none;\n}\ninput[disabled][data-v-108f4f13] {\n background-color: transparent;\n}\n","",{version:3,sources:["C:/Users/johan/dev/vue-tags-input/vue-tags-input/C:/Users/johan/dev/vue-tags-input/vue-tags-input/tag-input.vue"],names:[],mappings:"AAAA;EACE,8BAA8B;EAC9B,eAAe;EACf,aAAa;EACb,aAAa;EACb,YAAY;EACZ,cAAc;EACd,SAAS;EACT,mBAAmB;EACnB,YAAY;EACZ,qBAAqB;CAAE;AAEzB;EACE,cAAc;CAAE;AAElB;EACE,cAAc;CAAE;AAElB;EACE,8BAA8B;CAAE",file:"tag-input.vue?vue&type=style&index=0&id=108f4f13&lang=css&scoped=true&",sourcesContent:[".ti-tag-input {\n background-color: transparent;\n color: inherit;\n border: none;\n padding: 0px;\n margin: 0px;\n display: flex;\n top: 0px;\n position: absolute;\n width: 100%;\n line-height: inherit; }\n\n.ti-tag-input::-ms-clear {\n display: none; }\n\ninput:focus {\n outline: none; }\n\ninput[disabled] {\n background-color: transparent; }\n"],sourceRoot:""}])},function(e,t,n){"use strict";var i=n(1);n.n(i).a},function(e,t,n){t=e.exports=n(2)(!0);var i=n(11),r=i(n(3)),o=i(n(3)+"#iefix"),a=i(n(12)),s=i(n(13));t.push([e.i,"@font-face {\n font-family: 'icomoon';\n src: url("+r+");\n src: url("+o+') format("embedded-opentype"), url('+a+') format("truetype"), url('+s+') format("woff");\n font-weight: normal;\n font-style: normal;\n}\n[class^="ti-icon-"][data-v-61d92e31], [class*=" ti-icon-"][data-v-61d92e31] {\n font-family: \'icomoon\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.ti-icon-check[data-v-61d92e31]:before {\n content: "\\e902";\n}\n.ti-icon-close[data-v-61d92e31]:before {\n content: "\\e901";\n}\n.ti-icon-undo[data-v-61d92e31]:before {\n content: "\\e900";\n}\nul[data-v-61d92e31] {\n margin: 0px;\n padding: 0px;\n list-style-type: none;\n}\n*[data-v-61d92e31], *[data-v-61d92e31]:before, *[data-v-61d92e31]:after {\n box-sizing: border-box;\n}\ninput[data-v-61d92e31]:focus {\n outline: none;\n}\ninput[disabled][data-v-61d92e31] {\n background-color: transparent;\n}\n.vue-tags-input[data-v-61d92e31] {\n max-width: 450px;\n position: relative;\n background-color: #fff;\n}\ndiv.vue-tags-input.disabled[data-v-61d92e31] {\n opacity: 0.5;\n}\ndiv.vue-tags-input.disabled *[data-v-61d92e31] {\n cursor: default;\n}\n.ti-input[data-v-61d92e31] {\n border: 1px solid #ccc;\n display: flex;\n padding: 4px;\n flex-wrap: wrap;\n}\n.ti-tags[data-v-61d92e31] {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n line-height: 1em;\n}\n.ti-tag[data-v-61d92e31] {\n background-color: #5C6BC0;\n color: #fff;\n border-radius: 2px;\n display: flex;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em;\n}\n.ti-tag[data-v-61d92e31]:focus {\n outline: none;\n}\n.ti-tag .ti-content[data-v-61d92e31] {\n display: flex;\n align-items: center;\n}\n.ti-tag .ti-tag-center[data-v-61d92e31] {\n position: relative;\n}\n.ti-tag span[data-v-61d92e31] {\n line-height: .85em;\n}\n.ti-tag span.ti-hidden[data-v-61d92e31] {\n padding-left: 14px;\n visibility: hidden;\n height: 0px;\n white-space: pre;\n}\n.ti-tag .ti-actions[data-v-61d92e31] {\n margin-left: 2px;\n display: flex;\n align-items: center;\n font-size: 1.15em;\n}\n.ti-tag .ti-actions i[data-v-61d92e31] {\n cursor: pointer;\n}\n.ti-tag[data-v-61d92e31]:last-child {\n margin-right: 4px;\n}\n.ti-tag.ti-invalid[data-v-61d92e31], .ti-tag.ti-tag.ti-deletion-mark[data-v-61d92e31] {\n background-color: #e54d42;\n}\n.ti-new-tag-input-wrapper[data-v-61d92e31] {\n display: flex;\n flex: 1 0 auto;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em;\n}\n.ti-new-tag-input-wrapper input[data-v-61d92e31] {\n flex: 1 0 auto;\n min-width: 100px;\n border: none;\n padding: 0px;\n margin: 0px;\n}\n.ti-new-tag-input[data-v-61d92e31] {\n line-height: initial;\n}\n.ti-autocomplete[data-v-61d92e31] {\n border: 1px solid #ccc;\n border-top: none;\n position: absolute;\n width: 100%;\n background-color: #fff;\n z-index: 20;\n}\n.ti-item > div[data-v-61d92e31] {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%;\n}\n.ti-selected-item[data-v-61d92e31] {\n background-color: #5C6BC0;\n color: #fff;\n}\n',"",{version:3,sources:["C:/Users/johan/dev/vue-tags-input/vue-tags-input/C:/Users/johan/dev/vue-tags-input/vue-tags-input/vue-tags-input.scss"],names:[],mappings:"AAAA;EACE,uBAAuB;EACvB,mCAA8C;EAC9C,+JAAuM;EACvM,oBAAoB;EACpB,mBAAmB;CAAE;AAEvB;EACE,kCAAkC;EAClC,YAAY;EACZ,mBAAmB;EACnB,oBAAoB;EACpB,qBAAqB;EACrB,qBAAqB;EACrB,eAAe;EACf,oCAAoC;EACpC,mCAAmC;CAAE;AAEvC;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,YAAY;EACZ,aAAa;EACb,sBAAsB;CAAE;AAE1B;EACE,uBAAuB;CAAE;AAE3B;EACE,cAAc;CAAE;AAElB;EACE,8BAA8B;CAAE;AAElC;EACE,iBAAiB;EACjB,mBAAmB;EACnB,uBAAuB;CAAE;AAE3B;EACE,aAAa;CAAE;AACf;IACE,gBAAgB;CAAE;AAEtB;EACE,uBAAuB;EACvB,cAAc;EACd,aAAa;EACb,gBAAgB;CAAE;AAEpB;EACE,cAAc;EACd,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;CAAE;AAErB;EACE,0BAA0B;EAC1B,YAAY;EACZ,mBAAmB;EACnB,cAAc;EACd,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,cAAc;CAAE;AAClB;IACE,cAAc;IACd,oBAAoB;CAAE;AACxB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;IACnB,mBAAmB;IACnB,YAAY;IACZ,iBAAiB;CAAE;AACrB;IACE,iBAAiB;IACjB,cAAc;IACd,oBAAoB;IACpB,kBAAkB;CAAE;AACpB;MACE,gBAAgB;CAAE;AACtB;IACE,kBAAkB;CAAE;AACtB;IACE,0BAA0B;CAAE;AAEhC;EACE,cAAc;EACd,eAAe;EACf,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,eAAe;IACf,iBAAiB;IACjB,aAAa;IACb,aAAa;IACb,YAAY;CAAE;AAElB;EACE,qBAAqB;CAAE;AAEzB;EACE,uBAAuB;EACvB,iBAAiB;EACjB,mBAAmB;EACnB,YAAY;EACZ,uBAAuB;EACvB,YAAY;CAAE;AAEhB;EACE,gBAAgB;EAChB,iBAAiB;EACjB,YAAY;CAAE;AAEhB;EACE,0BAA0B;EAC1B,YAAY;CAAE",file:"vue-tags-input.scss?vue&type=style&index=0&id=61d92e31&lang=scss&scoped=true&",sourcesContent:['@font-face {\n font-family: \'icomoon\';\n src: url("./assets/fonts/icomoon.eot?7grlse");\n src: url("./assets/fonts/icomoon.eot?7grlse#iefix") format("embedded-opentype"), url("./assets/fonts/icomoon.ttf?7grlse") format("truetype"), url("./assets/fonts/icomoon.woff?7grlse") format("woff");\n font-weight: normal;\n font-style: normal; }\n\n[class^="ti-icon-"], [class*=" ti-icon-"] {\n font-family: \'icomoon\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale; }\n\n.ti-icon-check:before {\n content: "\\e902"; }\n\n.ti-icon-close:before {\n content: "\\e901"; }\n\n.ti-icon-undo:before {\n content: "\\e900"; }\n\nul {\n margin: 0px;\n padding: 0px;\n list-style-type: none; }\n\n*, *:before, *:after {\n box-sizing: border-box; }\n\ninput:focus {\n outline: none; }\n\ninput[disabled] {\n background-color: transparent; }\n\n.vue-tags-input {\n max-width: 450px;\n position: relative;\n background-color: #fff; }\n\ndiv.vue-tags-input.disabled {\n opacity: 0.5; }\n div.vue-tags-input.disabled * {\n cursor: default; }\n\n.ti-input {\n border: 1px solid #ccc;\n display: flex;\n padding: 4px;\n flex-wrap: wrap; }\n\n.ti-tags {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n line-height: 1em; }\n\n.ti-tag {\n background-color: #5C6BC0;\n color: #fff;\n border-radius: 2px;\n display: flex;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-tag:focus {\n outline: none; }\n .ti-tag .ti-content {\n display: flex;\n align-items: center; }\n .ti-tag .ti-tag-center {\n position: relative; }\n .ti-tag span {\n line-height: .85em; }\n .ti-tag span.ti-hidden {\n padding-left: 14px;\n visibility: hidden;\n height: 0px;\n white-space: pre; }\n .ti-tag .ti-actions {\n margin-left: 2px;\n display: flex;\n align-items: center;\n font-size: 1.15em; }\n .ti-tag .ti-actions i {\n cursor: pointer; }\n .ti-tag:last-child {\n margin-right: 4px; }\n .ti-tag.ti-invalid, .ti-tag.ti-tag.ti-deletion-mark {\n background-color: #e54d42; }\n\n.ti-new-tag-input-wrapper {\n display: flex;\n flex: 1 0 auto;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-new-tag-input-wrapper input {\n flex: 1 0 auto;\n min-width: 100px;\n border: none;\n padding: 0px;\n margin: 0px; }\n\n.ti-new-tag-input {\n line-height: initial; }\n\n.ti-autocomplete {\n border: 1px solid #ccc;\n border-top: none;\n position: absolute;\n width: 100%;\n background-color: #fff;\n z-index: 20; }\n\n.ti-item > div {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%; }\n\n.ti-selected-item {\n background-color: #5C6BC0;\n color: #fff; }\n'],sourceRoot:""}])},function(e,t,n){"use strict";e.exports=function(e){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t){e.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBawAAAC8AAAAYGNtYXAXVtKJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZqWfozAAAAF4AAAA/GhlYWQPxZgIAAACdAAAADZoaGVhB4ADyAAAAqwAAAAkaG10eBIAAb4AAALQAAAAHGxvY2EAkgDiAAAC7AAAABBtYXhwAAkAHwAAAvwAAAAgbmFtZZlKCfsAAAMcAAABhnBvc3QAAwAAAAAEpAAAACAAAwOAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QL//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAFYBAQO+AoEAHAAAATIXHgEXFhcHJicuAScmIyIGBxchERc2Nz4BNzYCFkpDQ28pKRdkECAfVTM0OT9wLZz+gJgdIiJLKSgCVRcYUjg5QiAzKys+ERIrJZoBgJoZFRQcCAgAAQDWAIEDKgLVAAsAAAEHFwcnByc3JzcXNwMq7u487u487u487u4Cme7uPO7uPO7uPO7uAAEAkgCBA4ACvQAFAAAlARcBJzcBgAHEPP4A7jz5AcQ8/gDuPAAAAAABAAAAAAAAH8nTUV8PPPUACwQAAAAAANZ1KhsAAAAA1nUqGwAAAAADvgLVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAO+AAEAAAAAAAAAAAAAAAAAAAAHBAAAAAAAAAAAAAAAAgAAAAQAAFYEAADWBAAAkgAAAAAACgAUAB4AUABqAH4AAQAAAAcAHQABAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(e,t){e.exports="data:font/woff;base64,d09GRgABAAAAAAUQAAsAAAAABMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFrGNtYXAAAAFoAAAAVAAAAFQXVtKJZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAPwAAAD8pZ+jMGhlYWQAAALAAAAANgAAADYPxZgIaGhlYQAAAvgAAAAkAAAAJAeAA8hobXR4AAADHAAAABwAAAAcEgABvmxvY2EAAAM4AAAAEAAAABAAkgDibWF4cAAAA0gAAAAgAAAAIAAJAB9uYW1lAAADaAAAAYYAAAGGmUoJ+3Bvc3QAAATwAAAAIAAAACAAAwAAAAMDgAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QIDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkC//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQBWAQEDvgKBABwAAAEyFx4BFxYXByYnLgEnJiMiBgcXIREXNjc+ATc2AhZKQ0NvKSkXZBAgH1UzNDk/cC2c/oCYHSIiSykoAlUXGFI4OUIgMysrPhESKyWaAYCaGRUUHAgIAAEA1gCBAyoC1QALAAABBxcHJwcnNyc3FzcDKu7uPO7uPO7uPO7uApnu7jzu7jzu7jzu7gABAJIAgQOAAr0ABQAAJQEXASc3AYABxDz+AO48+QHEPP4A7jwAAAAAAQAAAAAAAB/J01FfDzz1AAsEAAAAAADWdSobAAAAANZ1KhsAAAAAA74C1QAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADvgABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABWBAAA1gQAAJIAAAAAAAoAFAAeAFAAagB+AAEAAAAHAB0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vue-tags-input",class:[{"ti-disabled":e.disabled},{"ti-focus":e.focused}]},[n("div",{staticClass:"ti-input"},[e.tagsCopy?n("ul",{staticClass:"ti-tags"},[e._l(e.tagsCopy,function(t,i){return n("li",{key:i,staticClass:"ti-tag",class:[{"ti-editing":e.tagsEditStatus[i]},t.tiClasses,t.classes,{"ti-deletion-mark":e.isMarked(i)}],style:t.style,attrs:{tabindex:"0"},on:{click:function(n){return e.$emit("tag-clicked",{tag:t,index:i})}}},[n("div",{staticClass:"ti-content"},[e.$scopedSlots["tag-left"]?n("div",{staticClass:"ti-tag-left"},[e._t("tag-left",null,{tag:t,index:i,edit:e.tagsEditStatus[i],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(i)})],2):e._e(),e._v(" "),n("div",{ref:"tagCenter",refInFor:!0,staticClass:"ti-tag-center"},[e.$scopedSlots["tag-center"]?e._e():n("span",{class:{"ti-hidden":e.tagsEditStatus[i]},on:{click:function(t){return e.performEditTag(i)}}},[e._v(e._s(t.text))]),e._v(" "),e.$scopedSlots["tag-center"]?e._e():n("tag-input",{attrs:{scope:{edit:e.tagsEditStatus[i],maxlength:e.maxlength,tag:t,index:i,validateTag:e.createChangedTag,performCancelEdit:e.cancelEdit,performSaveEdit:e.performSaveTag}}}),e._v(" "),e._t("tag-center",null,{tag:t,index:i,maxlength:e.maxlength,edit:e.tagsEditStatus[i],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,validateTag:e.createChangedTag,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(i)})],2),e._v(" "),e.$scopedSlots["tag-right"]?n("div",{staticClass:"ti-tag-right"},[e._t("tag-right",null,{tag:t,index:i,edit:e.tagsEditStatus[i],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(i)})],2):e._e()]),e._v(" "),n("div",{staticClass:"ti-actions"},[e.$scopedSlots["tag-actions"]?e._e():n("i",{directives:[{name:"show",rawName:"v-show",value:e.tagsEditStatus[i],expression:"tagsEditStatus[index]"}],staticClass:"ti-icon-undo",on:{click:function(t){return e.cancelEdit(i)}}}),e._v(" "),e.$scopedSlots["tag-actions"]?e._e():n("i",{directives:[{name:"show",rawName:"v-show",value:!e.tagsEditStatus[i],expression:"!tagsEditStatus[index]"}],staticClass:"ti-icon-close",on:{click:function(t){return e.performDeleteTag(i)}}}),e._v(" "),e.$scopedSlots["tag-actions"]?e._t("tag-actions",null,{tag:t,index:i,edit:e.tagsEditStatus[i],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(i)}):e._e()],2)])}),e._v(" "),n("li",{staticClass:"ti-new-tag-input-wrapper"},[n("input",e._b({ref:"newTagInput",staticClass:"ti-new-tag-input",class:[e.createClasses(e.newTag,e.tags,e.validation,e.isDuplicate)],attrs:{placeholder:e.placeholder,maxlength:e.maxlength,disabled:e.disabled,type:"text",size:"1"},domProps:{value:e.newTag},on:{keydown:[function(t){return e.performAddTags(e.filteredAutocompleteItems[e.selectedItem]||e.newTag,t)},function(t){return t.type.indexOf("key")||8===t.keyCode?e.invokeDelete(t):null},function(t){return t.type.indexOf("key")||9===t.keyCode?e.performBlur(t):null},function(t){return t.type.indexOf("key")||38===t.keyCode?e.selectItem(t,"before"):null},function(t){return t.type.indexOf("key")||40===t.keyCode?e.selectItem(t,"after"):null}],paste:e.addTagsFromPaste,input:e.updateNewTag,blur:function(t){return e.$emit("blur",t)},focus:function(t){e.focused=!0,e.$emit("focus",t)},click:function(t){!e.addOnlyFromAutocomplete&&(e.selectedItem=null)}}},"input",e.$attrs,!1))])],2):e._e()]),e._v(" "),e._t("between-elements"),e._v(" "),e.autocompleteOpen?n("div",{staticClass:"ti-autocomplete",on:{mouseout:function(t){e.selectedItem=null}}},[e._t("autocomplete-header"),e._v(" "),n("ul",e._l(e.filteredAutocompleteItems,function(t,i){return n("li",{key:i,staticClass:"ti-item",class:[t.tiClasses,t.classes,{"ti-selected-item":e.isSelected(i)}],style:t.style,on:{mouseover:function(t){!e.disabled&&(e.selectedItem=i)}}},[e.$scopedSlots["autocomplete-item"]?e._t("autocomplete-item",null,{item:t,index:i,performAdd:function(t){return e.performAddTags(t,void 0,"autocomplete")},selected:e.isSelected(i)}):n("div",{on:{click:function(n){return e.performAddTags(t,void 0,"autocomplete")}}},[e._v("\n "+e._s(t.text)+"\n ")])],2)}),0),e._v(" "),e._t("autocomplete-footer")],2):e._e()],2)};i._withStripped=!0;var r=n(5),o=n.n(r),a=function(e){return JSON.parse(JSON.stringify(e))},s=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3?arguments[3]:void 0;void 0===e.text&&(e={text:e});var r=function(e,t){return n.filter(function(t){var n=e.text;return"string"==typeof t.rule?!new RegExp(t.rule).test(n):t.rule instanceof RegExp?!t.rule.test(n):"[object Function]"==={}.toString.call(t.rule)?t.rule(e):void 0}).map(function(e){return e.classes})}(e),o=function(e,t){for(var n=0;n<e.length;){if(t(e[n]))return n;n++}return-1}(t,function(t){return t===e}),s=a(t),l=-1!==o?s.splice(o,1)[0]:a(e);return(i?i(s,l):-1!==s.map(function(e){return e.text}).indexOf(l.text))&&r.push("ti-duplicate"),0===r.length?r.push("ti-valid"):r.push("ti-invalid"),r},l=function(e){void 0===e.text&&(e={text:e});for(var t=a(e),n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return t.tiClasses=s.apply(void 0,[e].concat(i)),t},c=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return e.map(function(t){return l.apply(void 0,[t,e].concat(n))})},u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.scope.edit?n("input",{directives:[{name:"model",rawName:"v-model",value:e.scope.tag.text,expression:"scope.tag.text"}],staticClass:"ti-tag-input",attrs:{maxlength:e.scope.maxlength,type:"text",size:"1"},domProps:{value:e.scope.tag.text},on:{input:[function(t){t.target.composing||e.$set(e.scope.tag,"text",t.target.value)},function(t){return e.scope.validateTag(e.scope.index,t)}],blur:function(t){return e.scope.performCancelEdit(e.scope.index)},keydown:function(t){return e.scope.performSaveEdit(e.scope.index,t)}}}):e._e()};u._withStripped=!0;var d={name:"TagInput",props:{scope:{type:Object}}};function p(e,t,n,i,r,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),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(7);var f=p(d,u,[],!1,null,"108f4f13",null);f.options.__file="vue-tags-input/tag-input.vue";var h=f.exports,m=function(e){return!e.some(function(e){var t=!e.text;t&&console.warn('Missing property "text"',e);var n=!1;return e.classes&&(n="string"!=typeof e.classes),n&&console.warn('Property "classes" must be type of string',e),t||n})},g=function(e){return!e.some(function(e){if("number"==typeof e){var t=isFinite(e)&&Math.floor(e)===e;return t||console.warn("Only numerics are allowed for this prop. Found:",e),!t}if("string"==typeof e){var n=/\W|[a-z]|!\d/i.test(e);return n||console.warn("Only alpha strings are allowed for this prop. Found:",e),!n}return console.warn("Only numeric and string values are allowed. Found:",e),!1})},v={value:{type:String,default:"",required:!0},tags:{type:Array,default:function(){return[]},validator:m},autocompleteItems:{type:Array,default:function(){return[]},validator:m},allowEditTags:{type:Boolean,default:!1},autocompleteFilterDuplicates:{default:!0,type:Boolean},addOnlyFromAutocomplete:{type:Boolean,default:!1},autocompleteMinLength:{type:Number,default:1},autocompleteAlwaysOpen:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:"Add Tag"},addOnKey:{type:Array,default:function(){return[13]},validator:g},saveOnKey:{type:Array,default:function(){return[13]},validator:g},maxTags:{type:Number},maxlength:{type:Number},validation:{type:Array,default:function(){return[]},validator:function(e){return!e.some(function(e){var t=!e.rule;t&&console.warn('Property "rule" is missing',e);var n=e.rule&&("string"==typeof e.rule||e.rule instanceof RegExp||"[object Function]"==={}.toString.call(e.rule));n||console.warn("A rule must be type of string, RegExp or function. Found:",JSON.stringify(e.rule));var i=!e.classes;i&&console.warn('Property "classes" is missing',e);var r=e.type&&"string"!=typeof e.type;return r&&console.warn('Property "type" must be type of string. Found:',e),!n||t||i||r})}},separators:{type:Array,default:function(){return[";"]},validator:function(e){return!e.some(function(e){var t="string"!=typeof e;return t&&console.warn("Separators must be type of string. Found:",e),t})}},avoidAddingDuplicates:{type:Boolean,default:!0},addOnBlur:{type:Boolean,default:!0},isDuplicate:{type:Function,default:null},addFromPaste:{type:Boolean,default:!0},deleteOnBackspace:{default:!0,type:Boolean}};function b(e){return(b="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 y={name:"VueTagsInput",components:{TagInput:h},props:v,data:function(){return{newTag:null,tagsCopy:null,tagsEditStatus:null,deletionMark:null,deletionMarkTime:null,selectedItem:null,focused:null}},computed:{autocompleteOpen:function(){return!!this.autocompleteAlwaysOpen||null!==this.newTag&&this.newTag.length>=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems:function(){var e=this,t=this.autocompleteItems.map(function(t){return l(t,e.tags,e.validation,e.isDuplicate)});return this.autocompleteFilterDuplicates?t.filter(this.duplicateFilter):t}},methods:{createClasses:s,getSelectedIndex:function(e){var t=this.filteredAutocompleteItems,n=this.selectedItem,i=t.length-1;if(0!==t.length)return null===n?0:"before"===e&&0===n?i:"after"===e&&n===i?0:"after"===e?n+1:n-1},selectDefaultItem:function(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem:function(e,t){e.preventDefault(),this.selectedItem=this.getSelectedIndex(t)},isSelected:function(e){return this.selectedItem===e},isMarked:function(e){return this.deletionMark===e},invokeDelete:function(){var e=this;if(this.deleteOnBackspace&&!(this.newTag.length>0)){var t=this.tagsCopy.length-1;null===this.deletionMark?(this.deletionMarkTime=setTimeout(function(){return e.deletionMark=null},1e3),this.deletionMark=t):this.performDeleteTag(t)}},addTagsFromPaste:function(){var e=this;this.addFromPaste&&setTimeout(function(){return e.performAddTags(e.newTag)},10)},performEditTag:function(e){var t=this;this.allowEditTags&&(this._events["before-editing-tag"]||this.editTag(e),this.$emit("before-editing-tag",{index:e,tag:this.tagsCopy[e],editTag:function(){return t.editTag(e)}}))},editTag:function(e){this.allowEditTags&&(this.toggleEditMode(e),this.focus(e))},toggleEditMode:function(e){this.allowEditTags&&!this.disabled&&this.$set(this.tagsEditStatus,e,!this.tagsEditStatus[e])},createChangedTag:function(e,t){var n=this.tagsCopy[e];n.text=t?t.target.value:this.tagsCopy[e].text,this.$set(this.tagsCopy,e,l(n,this.tagsCopy,this.validation,this.isDuplicate))},focus:function(e){var t=this;this.$nextTick(function(){var n=t.$refs.tagCenter[e].querySelector("input.ti-tag-input");n&&n.focus()})},quote:function(e){return e.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit:function(e){this.tags[e]&&(this.tagsCopy[e]=a(l(this.tags[e],this.tags,this.validation,this.isDuplicate)),this.$set(this.tagsEditStatus,e,!1))},hasForbiddingAddRule:function(e){var t=this;return e.some(function(e){var n=t.validation.find(function(t){return e===t.classes});return!!n&&n.disableAdd})},createTagTexts:function(e){var t=this,n=new RegExp(this.separators.map(function(e){return t.quote(e)}).join("|"));return e.split(n).map(function(e){return{text:e}})},performDeleteTag:function(e){var t=this;this._events["before-deleting-tag"]||this.deleteTag(e),this.$emit("before-deleting-tag",{index:e,tag:this.tagsCopy[e],deleteTag:function(){return t.deleteTag(e)}})},deleteTag:function(e){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(e,1),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey:function(e,t){var n=-1!==this[t].indexOf(e.keyCode)||-1!==this[t].indexOf(e.key);return n&&e.preventDefault(),!n},performAddTags:function(e,t,n){var i=this;if(!(this.disabled||t&&this.noTriggerKey(t,"addOnKey"))){var r=[];"object"===b(e)&&(r=[e]),"string"==typeof e&&(r=this.createTagTexts(e)),(r=r.filter(function(e){return e.text.trim().length>0})).forEach(function(e){e=l(e,i.tags,i.validation,i.isDuplicate),i._events["before-adding-tag"]||i.addTag(e,n),i.$emit("before-adding-tag",{tag:e,addTag:function(){return i.addTag(e,n)}})})}},duplicateFilter:function(e){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,e):!this.tagsCopy.find(function(t){return t.text===e.text})},addTag:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new-tag-input",i=this.filteredAutocompleteItems.map(function(e){return e.text});this.addOnlyFromAutocomplete&&-1===i.indexOf(e.text)||this.$nextTick(function(){return t.maxTags&&t.maxTags<=t.tagsCopy.length?t.$emit("max-tags-reached",e):t.avoidAddingDuplicates&&!t.duplicateFilter(e)?t.$emit("adding-duplicate",e):void(t.hasForbiddingAddRule(e.tiClasses)||(t.$emit("input",""),t.tagsCopy.push(e),t._events["update:tags"]&&t.$emit("update:tags",t.tagsCopy),"autocomplete"===n&&t.$refs.newTagInput.focus(),t.$emit("tags-changed",t.tagsCopy)))})},performSaveTag:function(e,t){var n=this,i=this.tagsCopy[e];this.disabled||t&&this.noTriggerKey(t,"addOnKey")||0!==i.text.trim().length&&(this._events["before-saving-tag"]||this.saveTag(e,i),this.$emit("before-saving-tag",{index:e,tag:i,saveTag:function(){return n.saveTag(e,i)}}))},saveTag:function(e,t){if(this.avoidAddingDuplicates){var n=a(this.tagsCopy),i=n.splice(e,1)[0];if(this.isDuplicate?this.isDuplicate(n,i):-1!==n.map(function(e){return e.text}).indexOf(i.text))return this.$emit("saving-duplicate",t)}this.hasForbiddingAddRule(t.tiClasses)||(this.$set(this.tagsCopy,e,t),this.toggleEditMode(e),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual:function(){var e=this;return!this.tagsCopy.some(function(t,n){return!o()(t,e.tags[n])})},updateNewTag:function(e){var t=e.target.value;this.newTag=t,this.$emit("input",t)},initTags:function(){this.tagsCopy=c(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=a(this.tags).map(function(){return!1}),this._events["update:tags"]&&!this.tagsEqual()&&this.$emit("update:tags",this.tagsCopy)},blurredOnClick:function(e){this.$el.contains(e.target)||this.$el.contains(document.activeElement)||this.performBlur(e)},performBlur:function(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{value:function(e){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=e},tags:{handler:function(){this.initTags()},deep:!0},autocompleteOpen:"selectDefaultItem"},created:function(){this.newTag=this.value,this.initTags()},mounted:function(){this.selectDefaultItem(),document.addEventListener("click",this.blurredOnClick)},destroyed:function(){document.removeEventListener("click",this.blurredOnClick)}},_=(n(9),p(y,i,[],!1,null,"61d92e31",null));_.options.__file="vue-tags-input/vue-tags-input.vue";var w=_.exports;n.d(t,"VueTagsInput",function(){return w}),n.d(t,"createClasses",function(){return s}),n.d(t,"createTag",function(){return l}),n.d(t,"createTags",function(){return c}),n.d(t,"TagInput",function(){return h}),w.install=function(e){return e.component(w.name,w)},"undefined"!=typeof window&&window.Vue&&window.Vue.use(w),t.default=w}])},"object"==typeof n&&"object"==typeof t?t.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof n?n.vueTagsInput=r():i.vueTagsInput=r()},{}],2:[function(e,t,n){(function(e){"use strict";"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=function(e,t){return e(t={exports:{}},t.exports),t.exports}(function(e,t){e.exports=function(){var e=function(){},t=Object.prototype.hasOwnProperty,n=Array.prototype.slice;function i(e,i,r){var o,a;r=n.call(arguments,2);for(var s=0,l=r.length;s<l;s++)for(o in a=r[s])e&&!t.call(a,o)||(i[o]=a[o])}var r=function(t,n,r,o){var a=this;return"string"!=typeof t&&(o=r,r=n,n=t,t=null),"function"!=typeof n&&(o=r,r=n,n=function(){return a.apply(this,arguments)}),i(!1,n,a,o),n.prototype=function(t,n){var r;return"function"==typeof Object.create?r=Object.create(t):(e.prototype=t,r=new e,e.prototype=null),n&&i(!0,r,n),r}(a.prototype,r),n.prototype.constructor=n,n.class_=t||a.class_,n.super_=a,n};function o(){}o.class_="Nevis",o.super_=Object,o.extend=r;var a=o,s=a.extend(function(e,t,n){this.qrious=e,this.element=t,this.element.qrious=e,this.enabled=Boolean(n)},{draw:function(e){},getElement:function(){return this.enabled||(this.enabled=!0,this.render()),this.element},getModuleSize:function(e){var t=this.qrious,n=t.padding||0,i=Math.floor((t.size-2*n)/e.width);return Math.max(1,i)},getOffset:function(e){var t=this.qrious,n=t.padding;if(null!=n)return n;var i=this.getModuleSize(e),r=Math.floor((t.size-i*e.width)/2);return Math.max(0,r)},render:function(e){this.enabled&&(this.resize(),this.reset(),this.draw(e))},reset:function(){},resize:function(){}}),l=s.extend({draw:function(e){var t,n,i=this.qrious,r=this.getModuleSize(e),o=this.getOffset(e),a=this.element.getContext("2d");for(a.fillStyle=i.foreground,a.globalAlpha=i.foregroundAlpha,t=0;t<e.width;t++)for(n=0;n<e.width;n++)e.buffer[n*e.width+t]&&a.fillRect(r*t+o,r*n+o,r,r)},reset:function(){var e=this.qrious,t=this.element.getContext("2d"),n=e.size;t.lineWidth=1,t.clearRect(0,0,n,n),t.fillStyle=e.background,t.globalAlpha=e.backgroundAlpha,t.fillRect(0,0,n,n)},resize:function(){var e=this.element;e.width=e.height=this.qrious.size}}),c=a.extend(null,{BLOCK:[0,11,15,19,23,27,31,16,18,20,22,24,26,28,20,22,24,24,26,28,28,22,24,24,26,26,28,28,24,24,26,26,26,28,28,24,26,26,26,28,28]}),u=a.extend(null,{BLOCKS:[1,0,19,7,1,0,16,10,1,0,13,13,1,0,9,17,1,0,34,10,1,0,28,16,1,0,22,22,1,0,16,28,1,0,55,15,1,0,44,26,2,0,17,18,2,0,13,22,1,0,80,20,2,0,32,18,2,0,24,26,4,0,9,16,1,0,108,26,2,0,43,24,2,2,15,18,2,2,11,22,2,0,68,18,4,0,27,16,4,0,19,24,4,0,15,28,2,0,78,20,4,0,31,18,2,4,14,18,4,1,13,26,2,0,97,24,2,2,38,22,4,2,18,22,4,2,14,26,2,0,116,30,3,2,36,22,4,4,16,20,4,4,12,24,2,2,68,18,4,1,43,26,6,2,19,24,6,2,15,28,4,0,81,20,1,4,50,30,4,4,22,28,3,8,12,24,2,2,92,24,6,2,36,22,4,6,20,26,7,4,14,28,4,0,107,26,8,1,37,22,8,4,20,24,12,4,11,22,3,1,115,30,4,5,40,24,11,5,16,20,11,5,12,24,5,1,87,22,5,5,41,24,5,7,24,30,11,7,12,24,5,1,98,24,7,3,45,28,15,2,19,24,3,13,15,30,1,5,107,28,10,1,46,28,1,15,22,28,2,17,14,28,5,1,120,30,9,4,43,26,17,1,22,28,2,19,14,28,3,4,113,28,3,11,44,26,17,4,21,26,9,16,13,26,3,5,107,28,3,13,41,26,15,5,24,30,15,10,15,28,4,4,116,28,17,0,42,26,17,6,22,28,19,6,16,30,2,7,111,28,17,0,46,28,7,16,24,30,34,0,13,24,4,5,121,30,4,14,47,28,11,14,24,30,16,14,15,30,6,4,117,30,6,14,45,28,11,16,24,30,30,2,16,30,8,4,106,26,8,13,47,28,7,22,24,30,22,13,15,30,10,2,114,28,19,4,46,28,28,6,22,28,33,4,16,30,8,4,122,30,22,3,45,28,8,26,23,30,12,28,15,30,3,10,117,30,3,23,45,28,4,31,24,30,11,31,15,30,7,7,116,30,21,7,45,28,1,37,23,30,19,26,15,30,5,10,115,30,19,10,47,28,15,25,24,30,23,25,15,30,13,3,115,30,2,29,46,28,42,1,24,30,23,28,15,30,17,0,115,30,10,23,46,28,10,35,24,30,19,35,15,30,17,1,115,30,14,21,46,28,29,19,24,30,11,46,15,30,13,6,115,30,14,23,46,28,44,7,24,30,59,1,16,30,12,7,121,30,12,26,47,28,39,14,24,30,22,41,15,30,6,14,121,30,6,34,47,28,46,10,24,30,2,64,15,30,17,4,122,30,29,14,46,28,49,10,24,30,24,46,15,30,4,18,122,30,13,32,46,28,48,14,24,30,42,32,15,30,20,4,117,30,40,7,47,28,43,22,24,30,10,67,15,30,19,6,118,30,18,31,47,28,34,34,24,30,20,61,15,30],FINAL_FORMAT:[30660,29427,32170,30877,26159,25368,27713,26998,21522,20773,24188,23371,17913,16590,20375,19104,13663,12392,16177,14854,9396,8579,11994,11245,5769,5054,7399,6608,1890,597,3340,2107],LEVELS:{L:1,M:2,Q:3,H:4}}),d=a.extend(null,{EXPONENT:[1,2,4,8,16,32,64,128,29,58,116,232,205,135,19,38,76,152,45,90,180,117,234,201,143,3,6,12,24,48,96,192,157,39,78,156,37,74,148,53,106,212,181,119,238,193,159,35,70,140,5,10,20,40,80,160,93,186,105,210,185,111,222,161,95,190,97,194,153,47,94,188,101,202,137,15,30,60,120,240,253,231,211,187,107,214,177,127,254,225,223,163,91,182,113,226,217,175,67,134,17,34,68,136,13,26,52,104,208,189,103,206,129,31,62,124,248,237,199,147,59,118,236,197,151,51,102,204,133,23,46,92,184,109,218,169,79,158,33,66,132,21,42,84,168,77,154,41,82,164,85,170,73,146,57,114,228,213,183,115,230,209,191,99,198,145,63,126,252,229,215,179,123,246,241,255,227,219,171,75,150,49,98,196,149,55,110,220,165,87,174,65,130,25,50,100,200,141,7,14,28,56,112,224,221,167,83,166,81,162,89,178,121,242,249,239,195,155,43,86,172,69,138,9,18,36,72,144,61,122,244,245,247,243,251,235,203,139,11,22,44,88,176,125,250,233,207,131,27,54,108,216,173,71,142,0],LOG:[255,0,1,25,2,50,26,198,3,223,51,238,27,104,199,75,4,100,224,14,52,141,239,129,28,193,105,248,200,8,76,113,5,138,101,47,225,36,15,33,53,147,142,218,240,18,130,69,29,181,194,125,106,39,249,185,201,154,9,120,77,228,114,166,6,191,139,98,102,221,48,253,226,152,37,179,16,145,34,136,54,208,148,206,143,150,219,189,241,210,19,92,131,56,70,64,30,66,182,163,195,72,126,110,107,58,40,84,250,133,186,61,202,94,155,159,10,21,121,43,78,212,229,172,115,243,167,87,7,112,192,247,140,128,99,13,103,74,222,237,49,197,254,24,227,165,153,119,38,184,180,124,17,68,146,217,35,32,137,46,55,63,209,91,149,188,207,205,144,135,151,178,220,252,190,97,242,86,211,171,20,42,93,158,132,60,57,83,71,109,65,162,31,45,67,216,183,123,164,118,196,23,73,236,127,12,111,246,108,161,59,82,41,157,85,170,251,96,134,177,187,204,62,90,203,89,95,176,156,169,160,81,11,245,22,235,122,117,44,215,79,174,213,233,230,231,173,232,116,214,244,234,168,80,88,175]}),p=a.extend(null,{BLOCK:[3220,1468,2713,1235,3062,1890,2119,1549,2344,2936,1117,2583,1330,2470,1667,2249,2028,3780,481,4011,142,3098,831,3445,592,2517,1776,2234,1951,2827,1070,2660,1345,3177]}),f=a.extend(function(e){var t,n,i,r,o,a=e.value.length;for(this._badness=[],this._level=u.LEVELS[e.level],this._polynomial=[],this._value=e.value,this._version=0,this._stringBuffer=[];this._version<40&&(this._version++,i=4*(this._level-1)+16*(this._version-1),r=u.BLOCKS[i++],o=u.BLOCKS[i++],t=u.BLOCKS[i++],n=u.BLOCKS[i],i=t*(r+o)+o-3+(this._version<=9),!(a<=i)););this._dataBlock=t,this._eccBlock=n,this._neccBlock1=r,this._neccBlock2=o;var s=this.width=17+4*this._version;this.buffer=f._createArray(s*s),this._ecc=f._createArray(t+(t+n)*(r+o)+o),this._mask=f._createArray((s*(s+1)+1)/2),this._insertFinders(),this._insertAlignments(),this.buffer[8+s*(s-8)]=1,this._insertTimingGap(),this._reverseMask(),this._insertTimingRowAndColumn(),this._insertVersion(),this._syncMask(),this._convertBitStream(a),this._calculatePolynomial(),this._appendEccToData(),this._interleaveBlocks(),this._pack(),this._finish()},{_addAlignment:function(e,t){var n,i=this.buffer,r=this.width;for(i[e+r*t]=1,n=-2;n<2;n++)i[e+n+r*(t-2)]=1,i[e-2+r*(t+n+1)]=1,i[e+2+r*(t+n)]=1,i[e+n+1+r*(t+2)]=1;for(n=0;n<2;n++)this._setMask(e-1,t+n),this._setMask(e+1,t-n),this._setMask(e-n,t-1),this._setMask(e+n,t+1)},_appendData:function(e,t,n,i){var r,o,a,s=this._polynomial,l=this._stringBuffer;for(o=0;o<i;o++)l[n+o]=0;for(o=0;o<t;o++){if(255!==(r=d.LOG[l[e+o]^l[n]]))for(a=1;a<i;a++)l[n+a-1]=l[n+a]^d.EXPONENT[f._modN(r+s[i-a])];else for(a=n;a<n+i;a++)l[a]=l[a+1];l[n+i-1]=255===r?0:d.EXPONENT[f._modN(r+s[0])]}},_appendEccToData:function(){var e,t=0,n=this._dataBlock,i=this._calculateMaxLength(),r=this._eccBlock;for(e=0;e<this._neccBlock1;e++)this._appendData(t,n,i,r),t+=n,i+=r;for(e=0;e<this._neccBlock2;e++)this._appendData(t,n+1,i,r),t+=n+1,i+=r},_applyMask:function(e){var t,n,i,r,o=this.buffer,a=this.width;switch(e){case 0:for(r=0;r<a;r++)for(i=0;i<a;i++)i+r&1||this._isMasked(i,r)||(o[i+r*a]^=1);break;case 1:for(r=0;r<a;r++)for(i=0;i<a;i++)1&r||this._isMasked(i,r)||(o[i+r*a]^=1);break;case 2:for(r=0;r<a;r++)for(t=0,i=0;i<a;i++,t++)3===t&&(t=0),t||this._isMasked(i,r)||(o[i+r*a]^=1);break;case 3:for(n=0,r=0;r<a;r++,n++)for(3===n&&(n=0),t=n,i=0;i<a;i++,t++)3===t&&(t=0),t||this._isMasked(i,r)||(o[i+r*a]^=1);break;case 4:for(r=0;r<a;r++)for(t=0,n=r>>1&1,i=0;i<a;i++,t++)3===t&&(t=0,n=!n),n||this._isMasked(i,r)||(o[i+r*a]^=1);break;case 5:for(n=0,r=0;r<a;r++,n++)for(3===n&&(n=0),t=0,i=0;i<a;i++,t++)3===t&&(t=0),(i&r&1)+!(!t|!n)||this._isMasked(i,r)||(o[i+r*a]^=1);break;case 6:for(n=0,r=0;r<a;r++,n++)for(3===n&&(n=0),t=0,i=0;i<a;i++,t++)3===t&&(t=0),(i&r&1)+(t&&t===n)&1||this._isMasked(i,r)||(o[i+r*a]^=1);break;case 7:for(n=0,r=0;r<a;r++,n++)for(3===n&&(n=0),t=0,i=0;i<a;i++,t++)3===t&&(t=0),(t&&t===n)+(i+r&1)&1||this._isMasked(i,r)||(o[i+r*a]^=1)}},_calculateMaxLength:function(){return this._dataBlock*(this._neccBlock1+this._neccBlock2)+this._neccBlock2},_calculatePolynomial:function(){var e,t,n=this._eccBlock,i=this._polynomial;for(i[0]=1,e=0;e<n;e++){for(i[e+1]=1,t=e;t>0;t--)i[t]=i[t]?i[t-1]^d.EXPONENT[f._modN(d.LOG[i[t]]+e)]:i[t-1];i[0]=d.EXPONENT[f._modN(d.LOG[i[0]]+e)]}for(e=0;e<=n;e++)i[e]=d.LOG[i[e]]},_checkBadness:function(){var e,t,n,i,r,o=0,a=this._badness,s=this.buffer,l=this.width;for(r=0;r<l-1;r++)for(i=0;i<l-1;i++)(s[i+l*r]&&s[i+1+l*r]&&s[i+l*(r+1)]&&s[i+1+l*(r+1)]||!(s[i+l*r]||s[i+1+l*r]||s[i+l*(r+1)]||s[i+1+l*(r+1)]))&&(o+=f.N2);var c=0;for(r=0;r<l;r++){for(n=0,a[0]=0,e=0,i=0;i<l;i++)t=s[i+l*r],e===t?a[n]++:a[++n]=1,c+=(e=t)?1:-1;o+=this._getBadness(n)}c<0&&(c=-c);var u=0,d=c;for(d+=d<<2,d<<=1;d>l*l;)d-=l*l,u++;for(o+=u*f.N4,i=0;i<l;i++){for(n=0,a[0]=0,e=0,r=0;r<l;r++)t=s[i+l*r],e===t?a[n]++:a[++n]=1,e=t;o+=this._getBadness(n)}return o},_convertBitStream:function(e){var t,n,i=this._ecc,r=this._version;for(n=0;n<e;n++)i[n]=this._value.charCodeAt(n);var o=this._stringBuffer=i.slice(),a=this._calculateMaxLength();e>=a-2&&(e=a-2,r>9&&e--);var s=e;if(r>9){for(o[s+2]=0,o[s+3]=0;s--;)t=o[s],o[s+3]|=255&t<<4,o[s+2]=t>>4;o[2]|=255&e<<4,o[1]=e>>4,o[0]=64|e>>12}else{for(o[s+1]=0,o[s+2]=0;s--;)t=o[s],o[s+2]|=255&t<<4,o[s+1]=t>>4;o[1]|=255&e<<4,o[0]=64|e>>4}for(s=e+3-(r<10);s<a;)o[s++]=236,o[s++]=17},_getBadness:function(e){var t,n=0,i=this._badness;for(t=0;t<=e;t++)i[t]>=5&&(n+=f.N1+i[t]-5);for(t=3;t<e-1;t+=2)i[t-2]===i[t+2]&&i[t+2]===i[t-1]&&i[t-1]===i[t+1]&&3*i[t-1]===i[t]&&(0===i[t-3]||t+3>e||3*i[t-3]>=4*i[t]||3*i[t+3]>=4*i[t])&&(n+=f.N3);return n},_finish:function(){var e,t;this._stringBuffer=this.buffer.slice();var n=0,i=3e4;for(t=0;t<8&&(this._applyMask(t),(e=this._checkBadness())<i&&(i=e,n=t),7!==n);t++)this.buffer=this._stringBuffer.slice();n!==t&&this._applyMask(n),i=u.FINAL_FORMAT[n+(this._level-1<<3)];var r=this.buffer,o=this.width;for(t=0;t<8;t++,i>>=1)1&i&&(r[o-1-t+8*o]=1,t<6?r[8+o*t]=1:r[8+o*(t+1)]=1);for(t=0;t<7;t++,i>>=1)1&i&&(r[8+o*(o-7+t)]=1,t?r[6-t+8*o]=1:r[7+8*o]=1)},_interleaveBlocks:function(){var e,t,n=this._dataBlock,i=this._ecc,r=this._eccBlock,o=0,a=this._calculateMaxLength(),s=this._neccBlock1,l=this._neccBlock2,c=this._stringBuffer;for(e=0;e<n;e++){for(t=0;t<s;t++)i[o++]=c[e+t*n];for(t=0;t<l;t++)i[o++]=c[s*n+e+t*(n+1)]}for(t=0;t<l;t++)i[o++]=c[s*n+e+t*(n+1)];for(e=0;e<r;e++)for(t=0;t<s+l;t++)i[o++]=c[a+e+t*r];this._stringBuffer=i},_insertAlignments:function(){var e,t,n,i=this._version,r=this.width;if(i>1)for(e=c.BLOCK[i],n=r-7;;){for(t=r-7;t>e-3&&(this._addAlignment(t,n),!(t<e));)t-=e;if(n<=e+9)break;n-=e,this._addAlignment(6,n),this._addAlignment(n,6)}},_insertFinders:function(){var e,t,n,i,r=this.buffer,o=this.width;for(e=0;e<3;e++){for(t=0,i=0,1===e&&(t=o-7),2===e&&(i=o-7),r[i+3+o*(t+3)]=1,n=0;n<6;n++)r[i+n+o*t]=1,r[i+o*(t+n+1)]=1,r[i+6+o*(t+n)]=1,r[i+n+1+o*(t+6)]=1;for(n=1;n<5;n++)this._setMask(i+n,t+1),this._setMask(i+1,t+n+1),this._setMask(i+5,t+n),this._setMask(i+n+1,t+5);for(n=2;n<4;n++)r[i+n+o*(t+2)]=1,r[i+2+o*(t+n+1)]=1,r[i+4+o*(t+n)]=1,r[i+n+1+o*(t+4)]=1}},_insertTimingGap:function(){var e,t,n=this.width;for(t=0;t<7;t++)this._setMask(7,t),this._setMask(n-8,t),this._setMask(7,t+n-7);for(e=0;e<8;e++)this._setMask(e,7),this._setMask(e+n-8,7),this._setMask(e,n-8)},_insertTimingRowAndColumn:function(){var e,t=this.buffer,n=this.width;for(e=0;e<n-14;e++)1&e?(this._setMask(8+e,6),this._setMask(6,8+e)):(t[8+e+6*n]=1,t[6+n*(8+e)]=1)},_insertVersion:function(){var e,t,n,i,r=this.buffer,o=this._version,a=this.width;if(o>6)for(e=p.BLOCK[o-7],t=17,n=0;n<6;n++)for(i=0;i<3;i++,t--)1&(t>11?o>>t-12:e>>t)?(r[5-n+a*(2-i+a-11)]=1,r[2-i+a-11+a*(5-n)]=1):(this._setMask(5-n,2-i+a-11),this._setMask(2-i+a-11,5-n))},_isMasked:function(e,t){var n=f._getMaskBit(e,t);return 1===this._mask[n]},_pack:function(){var e,t,n,i=1,r=1,o=this.width,a=o-1,s=o-1,l=(this._dataBlock+this._eccBlock)*(this._neccBlock1+this._neccBlock2)+this._neccBlock2;for(t=0;t<l;t++)for(e=this._stringBuffer[t],n=0;n<8;n++,e<<=1){128&e&&(this.buffer[a+o*s]=1);do{r?a--:(a++,i?0!==s?s--:(i=!i,6==(a-=2)&&(a--,s=9)):s!==o-1?s++:(i=!i,6==(a-=2)&&(a--,s-=8))),r=!r}while(this._isMasked(a,s))}},_reverseMask:function(){var e,t,n=this.width;for(e=0;e<9;e++)this._setMask(e,8);for(e=0;e<8;e++)this._setMask(e+n-8,8),this._setMask(8,e);for(t=0;t<7;t++)this._setMask(8,t+n-7)},_setMask:function(e,t){var n=f._getMaskBit(e,t);this._mask[n]=1},_syncMask:function(){var e,t,n=this.width;for(t=0;t<n;t++)for(e=0;e<=t;e++)this.buffer[e+n*t]&&this._setMask(e,t)}},{_createArray:function(e){var t,n=[];for(t=0;t<e;t++)n[t]=0;return n},_getMaskBit:function(e,t){var n;return e>t&&(n=e,e=t,t=n),n=t,n+=t*t,n>>=1,n+=e},_modN:function(e){for(;e>=255;)e=((e-=255)>>8)+(255&e);return e},N1:3,N2:3,N3:40,N4:10}),h=f,m=s.extend({draw:function(){this.element.src=this.qrious.toDataURL()},reset:function(){this.element.src=""},resize:function(){var e=this.element;e.width=e.height=this.qrious.size}}),g=a.extend(function(e,t,n,i){this.name=e,this.modifiable=Boolean(t),this.defaultValue=n,this._valueTransformer=i},{transform:function(e){var t=this._valueTransformer;return"function"==typeof t?t(e,this):e}}),v=a.extend(null,{abs:function(e){return null!=e?Math.abs(e):null},hasOwn:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},noop:function(){},toUpperCase:function(e){return null!=e?e.toUpperCase():null}}),b=a.extend(function(e){this.options={},e.forEach(function(e){this.options[e.name]=e},this)},{exists:function(e){return null!=this.options[e]},get:function(e,t){return b._get(this.options[e],t)},getAll:function(e){var t,n=this.options,i={};for(t in n)v.hasOwn(n,t)&&(i[t]=b._get(n[t],e));return i},init:function(e,t,n){var i,r;for(i in"function"!=typeof n&&(n=v.noop),this.options)v.hasOwn(this.options,i)&&(r=this.options[i],b._set(r,r.defaultValue,t),b._createAccessor(r,t,n));this._setAll(e,t,!0)},set:function(e,t,n){return this._set(e,t,n)},setAll:function(e,t){return this._setAll(e,t)},_set:function(e,t,n,i){var r=this.options[e];if(!r)throw new Error("Invalid option: "+e);if(!r.modifiable&&!i)throw new Error("Option cannot be modified: "+e);return b._set(r,t,n)},_setAll:function(e,t,n){if(!e)return!1;var i,r=!1;for(i in e)v.hasOwn(e,i)&&this._set(i,e[i],t,n)&&(r=!0);return r}},{_createAccessor:function(e,t,n){var i={get:function(){return b._get(e,t)}};e.modifiable&&(i.set=function(i){b._set(e,i,t)&&n(i,e)}),Object.defineProperty(t,e.name,i)},_get:function(e,t){return t["_"+e.name]},_set:function(e,t,n){var i="_"+e.name,r=n[i],o=e.transform(null!=t?t:e.defaultValue);return n[i]=o,o!==r}}),y=b,_=a.extend(function(){this._services={}},{getService:function(e){var t=this._services[e];if(!t)throw new Error("Service is not being managed with name: "+e);return t},setService:function(e,t){if(this._services[e])throw new Error("Service is already managed with name: "+e);t&&(this._services[e]=t)}}),w=new y([new g("background",!0,"white"),new g("backgroundAlpha",!0,1,v.abs),new g("element"),new g("foreground",!0,"black"),new g("foregroundAlpha",!0,1,v.abs),new g("level",!0,"L",v.toUpperCase),new g("mime",!0,"image/png"),new g("padding",!0,null,v.abs),new g("size",!0,100,v.abs),new g("value",!0,"")]),x=new _,k=a.extend(function(e){w.init(e,this,this.update.bind(this));var t=w.get("element",this),n=x.getService("element"),i=t&&n.isCanvas(t)?t:n.createCanvas(),r=t&&n.isImage(t)?t:n.createImage();this._canvasRenderer=new l(this,i,!0),this._imageRenderer=new m(this,r,r===t),this.update()},{get:function(){return w.getAll(this)},set:function(e){w.setAll(e,this)&&this.update()},toDataURL:function(e){return this.canvas.toDataURL(e||this.mime)},update:function(){var e=new h({level:this.level,value:this.value});this._canvasRenderer.render(e),this._imageRenderer.render(e)}},{use:function(e){x.setService(e.getName(),e)}});Object.defineProperties(k.prototype,{canvas:{get:function(){return this._canvasRenderer.getElement()}},image:{get:function(){return this._imageRenderer.getElement()}}});var A=k,C=a.extend({getName:function(){}}).extend({createCanvas:function(){},createImage:function(){},getName:function(){return"element"},isCanvas:function(e){},isImage:function(e){}}).extend({createCanvas:function(){return document.createElement("canvas")},createImage:function(){return document.createElement("img")},isCanvas:function(e){return e instanceof HTMLCanvasElement},isImage:function(e){return e instanceof HTMLImageElement}});return A.use(new C),A}()}),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r={name:"qrcode",props:{options:Object,tag:{type:String,default:"canvas"},value:{type:null,default:""}},render:function(e){return e(this.tag,this.$slots.default)},watch:{value:function(){this.generate()},options:function(){this.generate()}},methods:{generate:function(){this.$el&&new n(i({element:this.$el,value:String(this.value)},this.options))}},mounted:function(){this.generate()}};t.exports=r}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(e,t,n){function i(){}t.exports=function(e,t,n){var r=!1;return n=n||i,o.count=e,0===e?t():o;function o(e,i){if(o.count<=0)throw new Error("after called too many times");--o.count,e?(r=!0,t(e),t=n):0!==o.count||r||t(null,i)}}},{}],4:[function(e,t,n){!function(){"use strict";function e(){var e={parent:document.body,version:"1.0.12",defaultOkLabel:"Ok",okLabel:"Ok",defaultCancelLabel:"Cancel",cancelLabel:"Cancel",defaultMaxLogItems:2,maxLogItems:2,promptValue:"",promptPlaceholder:"",closeLogOnClick:!1,closeLogOnClickDefault:!1,delay:5e3,defaultDelay:5e3,logContainerClass:"alertify-logs",logContainerDefaultClass:"alertify-logs",dialogs:{buttons:{holder:"<nav>{{buttons}}</nav>",ok:"<button class='ok' tabindex='1'>{{ok}}</button>",cancel:"<button class='cancel' tabindex='2'>{{cancel}}</button>"},input:"<input type='text'>",message:"<p class='msg'>{{message}}</p>",log:"<div class='{{class}}'>{{message}}</div>"},defaultDialogs:{buttons:{holder:"<nav>{{buttons}}</nav>",ok:"<button class='ok' tabindex='1'>{{ok}}</button>",cancel:"<button class='cancel' tabindex='2'>{{cancel}}</button>"},input:"<input type='text'>",message:"<p class='msg'>{{message}}</p>",log:"<div class='{{class}}'>{{message}}</div>"},build:function(e){var t=this.dialogs.buttons.ok,n="<div class='dialog'><div>"+this.dialogs.message.replace("{{message}}",e.message);return"confirm"!==e.type&&"prompt"!==e.type||(t=this.dialogs.buttons.cancel+this.dialogs.buttons.ok),"prompt"===e.type&&(n+=this.dialogs.input),(n+this.dialogs.buttons.holder+"</div></div>").replace("{{buttons}}",t).replace("{{ok}}",this.okLabel).replace("{{cancel}}",this.cancelLabel)},setCloseLogOnClick:function(e){this.closeLogOnClick=!!e},close:function(e,t){this.closeLogOnClick&&e.addEventListener("click",function(){n(e)}),0>(t=t&&!isNaN(+t)?+t:this.delay)?n(e):t>0&&setTimeout(function(){n(e)},t)},dialog:function(e,t,n,i){return this.setup({type:t,message:e,onOkay:n,onCancel:i})},log:function(e,t,n){var i=document.querySelectorAll(".alertify-logs > div");if(i){var r=i.length-this.maxLogItems;if(r>=0)for(var o=0,a=r+1;a>o;o++)this.close(i[o],-1)}this.notify(e,t,n)},setLogPosition:function(e){this.logContainerClass="alertify-logs "+e},setupLogContainer:function(){var e=document.querySelector(".alertify-logs"),t=this.logContainerClass;return e||((e=document.createElement("div")).className=t,this.parent.appendChild(e)),e.className!==t&&(e.className=t),e},notify:function(t,n,i){var r=this.setupLogContainer(),o=document.createElement("div");o.className=n||"default",e.logTemplateMethod?o.innerHTML=e.logTemplateMethod(t):o.innerHTML=t,"function"==typeof i&&o.addEventListener("click",i),r.appendChild(o),setTimeout(function(){o.className+=" show"},10),this.close(o,this.delay)},setup:function(e){function t(t){"function"!=typeof t&&(t=function(){}),o&&o.addEventListener("click",function(r){e.onOkay&&"function"==typeof e.onOkay&&(s?e.onOkay(s.value,r):e.onOkay(r)),t(s?{buttonClicked:"ok",inputValue:s.value,event:r}:{buttonClicked:"ok",event:r}),n(i)}),a&&a.addEventListener("click",function(r){e.onCancel&&"function"==typeof e.onCancel&&e.onCancel(r),t({buttonClicked:"cancel",event:r}),n(i)}),s&&s.addEventListener("keyup",function(e){13===e.which&&o.click()})}var i=document.createElement("div");i.className="alertify hide",i.innerHTML=this.build(e);var r,o=i.querySelector(".ok"),a=i.querySelector(".cancel"),s=i.querySelector("input"),l=i.querySelector("label");return s&&("string"==typeof this.promptPlaceholder&&(l?l.textContent=this.promptPlaceholder:s.placeholder=this.promptPlaceholder),"string"==typeof this.promptValue&&(s.value=this.promptValue)),"function"==typeof Promise?r=new Promise(t):t(),this.parent.appendChild(i),setTimeout(function(){i.classList.remove("hide"),s&&e.type&&"prompt"===e.type?(s.select(),s.focus()):o&&o.focus()},100),r},okBtn:function(e){return this.okLabel=e,this},setDelay:function(e){return e=e||0,this.delay=isNaN(e)?this.defaultDelay:parseInt(e,10),this},cancelBtn:function(e){return this.cancelLabel=e,this},setMaxLogItems:function(e){this.maxLogItems=parseInt(e||this.defaultMaxLogItems)},theme:function(e){switch(e.toLowerCase()){case"bootstrap":this.dialogs.buttons.ok="<button class='ok btn btn-primary' tabindex='1'>{{ok}}</button>",this.dialogs.buttons.cancel="<button class='cancel btn btn-default' tabindex='2'>{{cancel}}</button>",this.dialogs.input="<input type='text' class='form-control'>";break;case"purecss":this.dialogs.buttons.ok="<button class='ok pure-button' tabindex='1'>{{ok}}</button>",this.dialogs.buttons.cancel="<button class='cancel pure-button' tabindex='2'>{{cancel}}</button>";break;case"mdl":case"material-design-light":this.dialogs.buttons.ok="<button class='ok mdl-button mdl-js-button mdl-js-ripple-effect' tabindex='1'>{{ok}}</button>",this.dialogs.buttons.cancel="<button class='cancel mdl-button mdl-js-button mdl-js-ripple-effect' tabindex='2'>{{cancel}}</button>",this.dialogs.input="<div class='mdl-textfield mdl-js-textfield'><input class='mdl-textfield__input'><label class='md-textfield__label'></label></div>";break;case"angular-material":this.dialogs.buttons.ok="<button class='ok md-primary md-button' tabindex='1'>{{ok}}</button>",this.dialogs.buttons.cancel="<button class='cancel md-button' tabindex='2'>{{cancel}}</button>",this.dialogs.input="<div layout='column'><md-input-container md-no-float><input type='text'></md-input-container></div>";break;case"default":default:this.dialogs.buttons.ok=this.defaultDialogs.buttons.ok,this.dialogs.buttons.cancel=this.defaultDialogs.buttons.cancel,this.dialogs.input=this.defaultDialogs.input}},reset:function(){this.parent=document.body,this.theme("default"),this.okBtn(this.defaultOkLabel),this.cancelBtn(this.defaultCancelLabel),this.setMaxLogItems(),this.promptValue="",this.promptPlaceholder="",this.delay=this.defaultDelay,this.setCloseLogOnClick(this.closeLogOnClickDefault),this.setLogPosition("bottom left"),this.logTemplateMethod=null},injectCSS:function(){if(!document.querySelector("#alertifyCSS")){var e=document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css",t.id="alertifyCSS",t.innerHTML=".alertify-logs>*{padding:12px 24px;color:#fff;box-shadow:0 2px 5px 0 rgba(0,0,0,.2);border-radius:1px}.alertify-logs>*,.alertify-logs>.default{background:rgba(0,0,0,.8)}.alertify-logs>.error{background:rgba(244,67,54,.8)}.alertify-logs>.success{background:rgba(76,175,80,.9)}.alertify{position:fixed;background-color:rgba(0,0,0,.3);left:0;right:0;top:0;bottom:0;width:100%;height:100%;z-index:1}.alertify.hide{opacity:0;pointer-events:none}.alertify,.alertify.show{box-sizing:border-box;transition:all .33s cubic-bezier(.25,.8,.25,1)}.alertify,.alertify *{box-sizing:border-box}.alertify .dialog{padding:12px}.alertify .alert,.alertify .dialog{width:100%;margin:0 auto;position:relative;top:50%;transform:translateY(-50%)}.alertify .alert>*,.alertify .dialog>*{width:400px;max-width:95%;margin:0 auto;text-align:center;padding:12px;background:#fff;box-shadow:0 2px 4px -1px rgba(0,0,0,.14),0 4px 5px 0 rgba(0,0,0,.098),0 1px 10px 0 rgba(0,0,0,.084)}.alertify .alert .msg,.alertify .dialog .msg{padding:12px;margin-bottom:12px;margin:0;text-align:left}.alertify .alert input:not(.form-control),.alertify .dialog input:not(.form-control){margin-bottom:15px;width:100%;font-size:100%;padding:12px}.alertify .alert input:not(.form-control):focus,.alertify .dialog input:not(.form-control):focus{outline-offset:-2px}.alertify .alert nav,.alertify .dialog nav{text-align:right}.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button),.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button){background:transparent;box-sizing:border-box;color:rgba(0,0,0,.87);position:relative;outline:0;border:0;display:inline-block;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center;padding:0 6px;margin:6px 8px;line-height:36px;min-height:36px;white-space:nowrap;min-width:88px;text-align:center;text-transform:uppercase;font-size:14px;text-decoration:none;cursor:pointer;border:1px solid transparent;border-radius:2px}.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active,.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover,.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active,.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover{background-color:rgba(0,0,0,.05)}.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus,.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus{border:1px solid rgba(0,0,0,.1)}.alertify .alert nav button.btn,.alertify .dialog nav button.btn{margin:6px 4px}.alertify-logs{position:fixed;z-index:1}.alertify-logs.bottom,.alertify-logs:not(.top){bottom:16px}.alertify-logs.left,.alertify-logs:not(.right){left:16px}.alertify-logs.left>*,.alertify-logs:not(.right)>*{float:left;transform:translateZ(0);height:auto}.alertify-logs.left>.show,.alertify-logs:not(.right)>.show{left:0}.alertify-logs.left>*,.alertify-logs.left>.hide,.alertify-logs:not(.right)>*,.alertify-logs:not(.right)>.hide{left:-110%}.alertify-logs.right{right:16px}.alertify-logs.right>*{float:right;transform:translateZ(0)}.alertify-logs.right>.show{right:0;opacity:1}.alertify-logs.right>*,.alertify-logs.right>.hide{right:-110%;opacity:0}.alertify-logs.top{top:0}.alertify-logs>*{box-sizing:border-box;transition:all .4s cubic-bezier(.25,.8,.25,1);position:relative;clear:both;backface-visibility:hidden;perspective:1000;max-height:0;margin:0;padding:0;overflow:hidden;opacity:0;pointer-events:none}.alertify-logs>.show{margin-top:12px;opacity:1;max-height:1000px;padding:12px;pointer-events:auto}",e.insertBefore(t,e.firstChild)}},removeCSS:function(){var e=document.querySelector("#alertifyCSS");e&&e.parentNode&&e.parentNode.removeChild(e)}};return e.injectCSS(),{_$$alertify:e,parent:function(t){e.parent=t},reset:function(){return e.reset(),this},alert:function(t,n,i){return e.dialog(t,"alert",n,i)||this},confirm:function(t,n,i){return e.dialog(t,"confirm",n,i)||this},prompt:function(t,n,i){return e.dialog(t,"prompt",n,i)||this},log:function(t,n){return e.log(t,"default",n),this},theme:function(t){return e.theme(t),this},success:function(t,n){return e.log(t,"success",n),this},error:function(t,n){return e.log(t,"error",n),this},cancelBtn:function(t){return e.cancelBtn(t),this},okBtn:function(t){return e.okBtn(t),this},delay:function(t){return e.setDelay(t),this},placeholder:function(t){return e.promptPlaceholder=t,this},defaultValue:function(t){return e.promptValue=t,this},maxLogItems:function(t){return e.setMaxLogItems(t),this},closeLogOnClick:function(t){return e.setCloseLogOnClick(!!t),this},logPosition:function(t){return e.setLogPosition(t||""),this},setLogTemplate:function(t){return e.logTemplateMethod=t,this},clearLogs:function(){return e.setupLogContainer().innerHTML="",this},version:e.version}}var n=function(e){if(e){var t=function(){e&&e.parentNode&&e.parentNode.removeChild(e)};e.classList.remove("show"),e.classList.add("hide"),e.addEventListener("transitionend",t),setTimeout(t,500)}};if(void 0!==t&&t&&t.exports){t.exports=function(){return new e};var i=new e;for(var r in i)t.exports[r]=i[r]}else"function"==typeof define&&define.amd?define(function(){return new e}):window.alertify=new e}()},{}],5:[function(e,t,n){t.exports=function(e,t,n){var i=e.byteLength;if(t=t||0,n=n||i,e.slice)return e.slice(t,n);if(t<0&&(t+=i),n<0&&(n+=i),n>i&&(n=i),t>=i||t>=n||0===i)return new ArrayBuffer(0);for(var r=new Uint8Array(e),o=new Uint8Array(n-t),a=t,s=0;a<n;a++,s++)o[s]=r[a];return o.buffer}},{}],6:[function(e,t,n){t.exports=e("./lib/axios")},{"./lib/axios":8}],7:[function(e,t,n){"use strict";var i=e("./../utils"),r=e("./../core/settle"),o=e("./../helpers/buildURL"),a=e("./../helpers/parseHeaders"),s=e("./../helpers/isURLSameOrigin"),l=e("../core/createError");t.exports=function(t){return new Promise(function(n,c){var u=t.data,d=t.headers;i.isFormData(u)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",h=t.auth.password||"";d.Authorization="Basic "+btoa(f+":"+h)}if(p.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var e="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,i={data:t.responseType&&"text"!==t.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:e,config:t,request:p};r(n,c,i),p=null}},p.onabort=function(){p&&(c(l("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){c(l("Network Error",t,null,p)),p=null},p.ontimeout=function(){c(l("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",p)),p=null},i.isStandardBrowserEnv()){var m=e("./../helpers/cookies"),g=(t.withCredentials||s(t.url))&&t.xsrfCookieName?m.read(t.xsrfCookieName):void 0;g&&(d[t.xsrfHeaderName]=g)}if("setRequestHeader"in p&&i.forEach(d,function(e,t){void 0===u&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)}),t.withCredentials&&(p.withCredentials=!0),t.responseType)try{p.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(e){p&&(p.abort(),c(e),p=null)}),void 0===u&&(u=null),p.send(u)})}},{"../core/createError":14,"./../core/settle":18,"./../helpers/buildURL":22,"./../helpers/cookies":24,"./../helpers/isURLSameOrigin":26,"./../helpers/parseHeaders":28,"./../utils":30}],8:[function(e,t,n){"use strict";var i=e("./utils"),r=e("./helpers/bind"),o=e("./core/Axios"),a=e("./core/mergeConfig");function s(e){var t=new o(e),n=r(o.prototype.request,t);return i.extend(n,o.prototype,t),i.extend(n,t),n}var l=s(e("./defaults"));l.Axios=o,l.create=function(e){return s(a(l.defaults,e))},l.Cancel=e("./cancel/Cancel"),l.CancelToken=e("./cancel/CancelToken"),l.isCancel=e("./cancel/isCancel"),l.all=function(e){return Promise.all(e)},l.spread=e("./helpers/spread"),t.exports=l,t.exports.default=l},{"./cancel/Cancel":9,"./cancel/CancelToken":10,"./cancel/isCancel":11,"./core/Axios":12,"./core/mergeConfig":17,"./defaults":20,"./helpers/bind":21,"./helpers/spread":29,"./utils":30}],9:[function(e,t,n){"use strict";function i(e){this.message=e}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,t.exports=i},{}],10:[function(e,t,n){"use strict";var i=e("./Cancel");function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new i(e),t(n.reason))})}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},t.exports=r},{"./Cancel":9}],11:[function(e,t,n){"use strict";t.exports=function(e){return!(!e||!e.__CANCEL__)}},{}],12:[function(e,t,n){"use strict";var i=e("./../utils"),r=e("../helpers/buildURL"),o=e("./InterceptorManager"),a=e("./dispatchRequest"),s=e("./mergeConfig");function l(e){this.defaults=e,this.interceptors={request:new o,response:new o}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method=e.method?e.method.toLowerCase():"get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},l.prototype.getUri=function(e){return e=s(this.defaults,e),r(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],function(e){l.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){l.prototype[e]=function(t,n,r){return this.request(i.merge(r||{},{method:e,url:t,data:n}))}}),t.exports=l},{"../helpers/buildURL":22,"./../utils":30,"./InterceptorManager":13,"./dispatchRequest":15,"./mergeConfig":17}],13:[function(e,t,n){"use strict";var i=e("./../utils");function r(){this.handlers=[]}r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},t.exports=r},{"./../utils":30}],14:[function(e,t,n){"use strict";var i=e("./enhanceError");t.exports=function(e,t,n,r,o){var a=new Error(e);return i(a,t,n,r,o)}},{"./enhanceError":16}],15:[function(e,t,n){"use strict";var i=e("./../utils"),r=e("./transformData"),o=e("../cancel/isCancel"),a=e("../defaults"),s=e("./../helpers/isAbsoluteURL"),l=e("./../helpers/combineURLs");function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}t.exports=function(e){return c(e),e.baseURL&&!s(e.url)&&(e.url=l(e.baseURL,e.url)),e.headers=e.headers||{},e.data=r(e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return c(e),t.data=r(t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=r(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},{"../cancel/isCancel":11,"../defaults":20,"./../helpers/combineURLs":23,"./../helpers/isAbsoluteURL":25,"./../utils":30,"./transformData":19}],16:[function(e,t,n){"use strict";t.exports=function(e,t,n,i,r){return e.config=t,n&&(e.code=n),e.request=i,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},{}],17:[function(e,t,n){"use strict";var i=e("../utils");t.exports=function(e,t){t=t||{};var n={};return i.forEach(["url","method","params","data"],function(e){void 0!==t[e]&&(n[e]=t[e])}),i.forEach(["headers","auth","proxy"],function(r){i.isObject(t[r])?n[r]=i.deepMerge(e[r],t[r]):void 0!==t[r]?n[r]=t[r]:i.isObject(e[r])?n[r]=i.deepMerge(e[r]):void 0!==e[r]&&(n[r]=e[r])}),i.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],function(i){void 0!==t[i]?n[i]=t[i]:void 0!==e[i]&&(n[i]=e[i])}),n}},{"../utils":30}],18:[function(e,t,n){"use strict";var i=e("./createError");t.exports=function(e,t,n){var r=n.config.validateStatus;!r||r(n.status)?e(n):t(i("Request failed with status code "+n.status,n.config,null,n.request,n))}},{"./createError":14}],19:[function(e,t,n){"use strict";var i=e("./../utils");t.exports=function(e,t,n){return i.forEach(n,function(n){e=n(e,t)}),e}},{"./../utils":30}],20:[function(e,t,n){(function(n){"use strict";var i=e("./utils"),r=e("./helpers/normalizeHeaderName"),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,l={adapter:(void 0!==n&&"[object process]"===Object.prototype.toString.call(n)?s=e("./adapters/http"):"undefined"!=typeof XMLHttpRequest&&(s=e("./adapters/xhr")),s),transformRequest:[function(e,t){return r(t,"Accept"),r(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(e){l.headers[e]={}}),i.forEach(["post","put","patch"],function(e){l.headers[e]=i.merge(o)}),t.exports=l}).call(this,e("_process"))},{"./adapters/http":7,"./adapters/xhr":7,"./helpers/normalizeHeaderName":27,"./utils":30,_process:94}],21:[function(e,t,n){"use strict";t.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return e.apply(t,n)}}},{}],22:[function(e,t,n){"use strict";var i=e("./../utils");function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,function(e,t){null!=e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},{"./../utils":30}],23:[function(e,t,n){"use strict";t.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},{}],24:[function(e,t,n){"use strict";var i=e("./../utils");t.exports=i.isStandardBrowserEnv()?{write:function(e,t,n,r,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(r)&&s.push("path="+r),i.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},{"./../utils":30}],25:[function(e,t,n){"use strict";t.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},{}],26:[function(e,t,n){"use strict";var i=e("./../utils");t.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=i.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},{"./../utils":30}],27:[function(e,t,n){"use strict";var i=e("../utils");t.exports=function(e,t){i.forEach(e,function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])})}},{"../utils":30}],28:[function(e,t,n){"use strict";var i=e("./../utils"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(e){var t,n,o,a={};return e?(i.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=i.trim(e.substr(0,o)).toLowerCase(),n=i.trim(e.substr(o+1)),t){if(a[t]&&r.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},{"./../utils":30}],29:[function(e,t,n){"use strict";t.exports=function(e){return function(t){return e.apply(null,t)}}},{}],30:[function(e,t,n){"use strict";var i=e("./helpers/bind"),r=e("is-buffer"),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function s(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===o.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}t.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:r,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:l,isStream:function(e){return s(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:c,merge:function e(){var t={};function n(n,i){"object"==typeof t[i]&&"object"==typeof n?t[i]=e(t[i],n):t[i]=n}for(var i=0,r=arguments.length;i<r;i++)c(arguments[i],n);return t},deepMerge:function e(){var t={};function n(n,i){"object"==typeof t[i]&&"object"==typeof n?t[i]=e(t[i],n):t[i]="object"==typeof n?e({},n):n}for(var i=0,r=arguments.length;i<r;i++)c(arguments[i],n);return t},extend:function(e,t,n){return c(t,function(t,r){e[r]=n&&"function"==typeof t?i(t,n):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},{"./helpers/bind":21,"is-buffer":31}],31:[function(e,t,n){t.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},{}],32:[function(e,t,n){function i(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}t.exports=i,i.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},i.prototype.reset=function(){this.attempts=0},i.prototype.setMin=function(e){this.ms=e},i.prototype.setMax=function(e){this.max=e},i.prototype.setJitter=function(e){this.jitter=e}},{}],33:[function(e,t,n){!function(){"use strict";for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=new Uint8Array(256),i=0;i<e.length;i++)t[e.charCodeAt(i)]=i;n.encode=function(t){var n,i=new Uint8Array(t),r=i.length,o="";for(n=0;n<r;n+=3)o+=e[i[n]>>2],o+=e[(3&i[n])<<4|i[n+1]>>4],o+=e[(15&i[n+1])<<2|i[n+2]>>6],o+=e[63&i[n+2]];return r%3==2?o=o.substring(0,o.length-1)+"=":r%3==1&&(o=o.substring(0,o.length-2)+"=="),o},n.decode=function(e){var n,i,r,o,a,s=.75*e.length,l=e.length,c=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var u=new ArrayBuffer(s),d=new Uint8Array(u);for(n=0;n<l;n+=4)i=t[e.charCodeAt(n)],r=t[e.charCodeAt(n+1)],o=t[e.charCodeAt(n+2)],a=t[e.charCodeAt(n+3)],d[c++]=i<<2|r>>4,d[c++]=(15&r)<<4|o>>2,d[c++]=(3&o)<<6|63&a;return u}}()},{}],34:[function(e,t,n){(function(e){var n=e.BlobBuilder||e.WebKitBlobBuilder||e.MSBlobBuilder||e.MozBlobBuilder,i=function(){try{return 2===new Blob(["hi"]).size}catch(e){return!1}}(),r=i&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(e){return!1}}(),o=n&&n.prototype.append&&n.prototype.getBlob;function a(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.buffer instanceof ArrayBuffer){var i=n.buffer;if(n.byteLength!==i.byteLength){var r=new Uint8Array(n.byteLength);r.set(new Uint8Array(i,n.byteOffset,n.byteLength)),i=r.buffer}e[t]=i}}}function s(e,t){t=t||{};var i=new n;a(e);for(var r=0;r<e.length;r++)i.append(e[r]);return t.type?i.getBlob(t.type):i.getBlob()}function l(e,t){return a(e),new Blob(e,t||{})}t.exports=i?r?e.Blob:l:o?s:void 0}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],35:[function(e,t,n){},{}],36:[function(e,t,n){(function(t){"use strict";var i=e("base64-js"),r=e("ieee754"),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=t,n.SlowBuffer=function(e){+e!=e&&(e=0);return t.alloc(+e)},n.INSPECT_MAX_BYTES=50;var a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var n=new Uint8Array(e);return Object.setPrototypeOf(n,t.prototype),n}function t(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,t,n)}function l(e,n,i){if("string"==typeof e)return function(e,n){"string"==typeof n&&""!==n||(n="utf8");if(!t.isEncoding(n))throw new TypeError("Unknown encoding: "+n);var i=0|f(e,n),r=s(i),o=r.write(e,n);o!==i&&(r=r.slice(0,o));return r}(e,n);if(ArrayBuffer.isView(e))return d(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer))return function(e,n,i){if(n<0||e.byteLength<n)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<n+(i||0))throw new RangeError('"length" is outside of buffer bounds');var r;r=void 0===n&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,n):new Uint8Array(e,n,i);return Object.setPrototypeOf(r,t.prototype),r}(e,n,i);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return t.from(r,n,i);var o=function(e){if(t.isBuffer(e)){var n=0|p(e.length),i=s(n);return 0===i.length?i:(e.copy(i,0,0,n),i)}if(void 0!==e.length)return"number"!=typeof e.length||I(e.length)?s(0):d(e);if("Buffer"===e.type&&Array.isArray(e.data))return d(e.data)}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return t.from(e[Symbol.toPrimitive]("string"),n,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return c(e),s(e<0?0:0|p(e))}function d(e){for(var t=e.length<0?0:0|p(e.length),n=s(t),i=0;i<t;i+=1)n[i]=255&e[i];return n}function p(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function f(e,n){if(t.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var i=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===i)return 0;for(var o=!1;;)switch(n){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return D(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return q(e).length;default:if(o)return r?-1:D(e).length;n=(""+n).toLowerCase(),o=!0}}function h(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function m(e,n,i,r,o){if(0===e.length)return-1;if("string"==typeof i?(r=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),I(i=+i)&&(i=o?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(o)return-1;i=e.length-1}else if(i<0){if(!o)return-1;i=0}if("string"==typeof n&&(n=t.from(n,r)),t.isBuffer(n))return 0===n.length?-1:g(e,n,i,r,o);if("number"==typeof n)return n&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,n,i):Uint8Array.prototype.lastIndexOf.call(e,n,i):g(e,[n],i,r,o);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,i,r){var o,a=1,s=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(r){var u=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*a}else-1!==u&&(o-=o-u),u=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var d=!0,p=0;p<l;p++)if(c(e,o+p)!==c(t,p)){d=!1;break}if(d)return o}return-1}function v(e,t,n,i){n=Number(n)||0;var r=e.length-n;i?(i=Number(i))>r&&(i=r):i=r;var o=t.length;i>o/2&&(i=o/2);for(var a=0;a<i;++a){var s=parseInt(t.substr(2*a,2),16);if(I(s))return a;e[n+a]=s}return a}function b(e,t,n,i){return R(D(t,e.length-n),e,n,i)}function y(e,t,n,i){return R(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,i)}function _(e,t,n,i){return y(e,t,n,i)}function w(e,t,n,i){return R(q(t),e,n,i)}function x(e,t,n,i){return R(function(e,t){for(var n,i,r,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),i=n>>8,r=n%256,o.push(r),o.push(i);return o}(t,e.length-n),e,n,i)}function k(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function A(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r<n;){var o,a,s,l,c=e[r],u=null,d=c>239?4:c>223?3:c>191?2:1;if(r+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(o=e[r+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[r+1],a=e[r+2],128==(192&o)&&128==(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[r+1],a=e[r+2],s=e[r+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=d}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",i=0;for(;i<t;)n+=String.fromCharCode.apply(String,e.slice(i,i+=C));return n}(i)}n.kMaxLength=a,t.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),t.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(t.prototype,"parent",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.buffer}}),Object.defineProperty(t.prototype,"offset",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&t[Symbol.species]===t&&Object.defineProperty(t,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),t.poolSize=8192,t.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(t.prototype,Uint8Array.prototype),Object.setPrototypeOf(t,Uint8Array),t.alloc=function(e,t,n){return function(e,t,n){return c(e),e<=0?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},t.allocUnsafe=function(e){return u(e)},t.allocUnsafeSlow=function(e){return u(e)},t.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==t.prototype},t.compare=function(e,n){if(F(e,Uint8Array)&&(e=t.from(e,e.offset,e.byteLength)),F(n,Uint8Array)&&(n=t.from(n,n.offset,n.byteLength)),!t.isBuffer(e)||!t.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===n)return 0;for(var i=e.length,r=n.length,o=0,a=Math.min(i,r);o<a;++o)if(e[o]!==n[o]){i=e[o],r=n[o];break}return i<r?-1:r<i?1:0},t.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},t.concat=function(e,n){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return t.alloc(0);var i;if(void 0===n)for(n=0,i=0;i<e.length;++i)n+=e[i].length;var r=t.allocUnsafe(n),o=0;for(i=0;i<e.length;++i){var a=e[i];if(F(a,Uint8Array)&&(a=t.from(a)),!t.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},t.byteLength=f,t.prototype._isBuffer=!0,t.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},t.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},t.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},t.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?A(this,0,e):function(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,n);case"utf8":case"utf-8":return A(this,t,n);case"ascii":return S(this,t,n);case"latin1":case"binary":return M(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}.apply(this,arguments)},t.prototype.toLocaleString=t.prototype.toString,t.prototype.equals=function(e){if(!t.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===t.compare(this,e)},t.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},o&&(t.prototype[o]=t.prototype.inspect),t.prototype.compare=function(e,n,i,r,o){if(F(e,Uint8Array)&&(e=t.from(e,e.offset,e.byteLength)),!t.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===n&&(n=0),void 0===i&&(i=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),n<0||i>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&n>=i)return 0;if(r>=o)return-1;if(n>=i)return 1;if(this===e)return 0;for(var a=(o>>>=0)-(r>>>=0),s=(i>>>=0)-(n>>>=0),l=Math.min(a,s),c=this.slice(r,o),u=e.slice(n,i),d=0;d<l;++d)if(c[d]!==u[d]){a=c[d],s=u[d];break}return a<s?-1:s<a?1:0},t.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},t.prototype.indexOf=function(e,t,n){return m(this,e,t,n,!0)},t.prototype.lastIndexOf=function(e,t,n){return m(this,e,t,n,!1)},t.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-t;if((void 0===n||n>r)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return y(this,e,t,n);case"latin1":case"binary":return _(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function S(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(127&e[r]);return i}function M(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(e[r]);return i}function O(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var r="",o=t;o<n;++o)r+=B[e[o]];return r}function T(e,t,n){for(var i=e.slice(t,n),r="",o=0;o<i.length;o+=2)r+=String.fromCharCode(i[o]+256*i[o+1]);return r}function E(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function P(e,n,i,r,o,a){if(!t.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>o||n<a)throw new RangeError('"value" argument is out of bounds');if(i+r>e.length)throw new RangeError("Index out of range")}function j(e,t,n,i,r,o){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(e,t,n,i,o){return t=+t,n>>>=0,o||j(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function $(e,t,n,i,o){return t=+t,n>>>=0,o||j(e,0,n,8),r.write(e,t,n,i,52,8),n+8}t.prototype.slice=function(e,n){var i=this.length;(e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(n=void 0===n?i:~~n)<0?(n+=i)<0&&(n=0):n>i&&(n=i),n<e&&(n=e);var r=this.subarray(e,n);return Object.setPrototypeOf(r,t.prototype),r},t.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||E(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return i},t.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||E(e,t,this.length);for(var i=this[e+--t],r=1;t>0&&(r*=256);)i+=this[e+--t]*r;return i},t.prototype.readUInt8=function(e,t){return e>>>=0,t||E(e,1,this.length),this[e]},t.prototype.readUInt16LE=function(e,t){return e>>>=0,t||E(e,2,this.length),this[e]|this[e+1]<<8},t.prototype.readUInt16BE=function(e,t){return e>>>=0,t||E(e,2,this.length),this[e]<<8|this[e+1]},t.prototype.readUInt32LE=function(e,t){return e>>>=0,t||E(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},t.prototype.readUInt32BE=function(e,t){return e>>>=0,t||E(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},t.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||E(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return i>=(r*=128)&&(i-=Math.pow(2,8*t)),i},t.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||E(e,t,this.length);for(var i=t,r=1,o=this[e+--i];i>0&&(r*=256);)o+=this[e+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},t.prototype.readInt8=function(e,t){return e>>>=0,t||E(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},t.prototype.readInt16LE=function(e,t){e>>>=0,t||E(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt16BE=function(e,t){e>>>=0,t||E(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt32LE=function(e,t){return e>>>=0,t||E(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},t.prototype.readInt32BE=function(e,t){return e>>>=0,t||E(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},t.prototype.readFloatLE=function(e,t){return e>>>=0,t||E(e,4,this.length),r.read(this,e,!0,23,4)},t.prototype.readFloatBE=function(e,t){return e>>>=0,t||E(e,4,this.length),r.read(this,e,!1,23,4)},t.prototype.readDoubleLE=function(e,t){return e>>>=0,t||E(e,8,this.length),r.read(this,e,!0,52,8)},t.prototype.readDoubleBE=function(e,t){return e>>>=0,t||E(e,8,this.length),r.read(this,e,!1,52,8)},t.prototype.writeUIntLE=function(e,t,n,i){(e=+e,t>>>=0,n>>>=0,i)||P(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,o=0;for(this[t]=255&e;++o<n&&(r*=256);)this[t+o]=e/r&255;return t+n},t.prototype.writeUIntBE=function(e,t,n,i){(e=+e,t>>>=0,n>>>=0,i)||P(this,e,t,n,Math.pow(2,8*n)-1,0);var r=n-1,o=1;for(this[t+r]=255&e;--r>=0&&(o*=256);)this[t+r]=e/o&255;return t+n},t.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,1,255,0),this[t]=255&e,t+1},t.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},t.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},t.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},t.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},t.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t>>>=0,!i){var r=Math.pow(2,8*n-1);P(this,e,t,n,r-1,-r)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},t.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t>>>=0,!i){var r=Math.pow(2,8*n-1);P(this,e,t,n,r-1,-r)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},t.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},t.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},t.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},t.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},t.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},t.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},t.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},t.prototype.writeDoubleLE=function(e,t,n){return $(this,e,t,!0,n)},t.prototype.writeDoubleBE=function(e,t,n){return $(this,e,t,!1,n)},t.prototype.copy=function(e,n,i,r){if(!t.isBuffer(e))throw new TypeError("argument should be a Buffer");if(i||(i=0),r||0===r||(r=this.length),n>=e.length&&(n=e.length),n||(n=0),r>0&&r<i&&(r=i),r===i)return 0;if(0===e.length||0===this.length)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-n<r-i&&(r=e.length-n+i);var o=r-i;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(n,i,r);else if(this===e&&i<n&&n<r)for(var a=o-1;a>=0;--a)e[a+n]=this[a+i];else Uint8Array.prototype.set.call(e,this.subarray(i,r),n);return o},t.prototype.fill=function(e,n,i,r){if("string"==typeof e){if("string"==typeof n?(r=n,n=0,i=this.length):"string"==typeof i&&(r=i,i=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!t.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(n<0||this.length<n||this.length<i)throw new RangeError("Out of range index");if(i<=n)return this;var a;if(n>>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(a=n;a<i;++a)this[a]=e;else{var s=t.isBuffer(e)?e:t.from(e,r),l=s.length;if(0===l)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<i-n;++a)this[a+n]=s[a%l]}return this};var L=/[^+/0-9A-Za-z-_]/g;function D(e,t){var n;t=t||1/0;for(var i=e.length,r=null,o=[],a=0;a<i;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===i){(t-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function q(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function R(e,t,n,i){for(var r=0;r<i&&!(r+n>=t.length||r>=e.length);++r)t[r+n]=e[r];return r}function F(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function I(e){return e!=e}var B=function(){for(var e=new Array(256),t=0;t<16;++t)for(var n=16*t,i=0;i<16;++i)e[n+i]="0123456789abcdef"[t]+"0123456789abcdef"[i];return e}()}).call(this,e("buffer").Buffer)},{"base64-js":37,buffer:36,ieee754:69}],37:[function(e,t,n){"use strict";n.byteLength=function(e){var t=c(e),n=t[0],i=t[1];return 3*(n+i)/4-i},n.toByteArray=function(e){var t,n,i=c(e),a=i[0],s=i[1],l=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),u=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[u++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},n.fromByteArray=function(e){for(var t,n=e.length,r=n%3,o=[],a=0,s=n-r;a<s;a+=16383)o.push(u(e,a,a+16383>s?s:a+16383));1===r?(t=e[n-1],o.push(i[t>>2]+i[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],o.push(i[t>>10]+i[t>>4&63]+i[t<<2&63]+"="));return o.join("")};for(var i=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)i[s]=a[s],r[a.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var r,o,a=[],s=t;s<n;s+=3)r=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(i[(o=r)>>18&63]+i[o>>12&63]+i[o>>6&63]+i[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},{}],38:[function(e,t,n){var i=[].slice;t.exports=function(e,t){if("string"==typeof t&&(t=e[t]),"function"!=typeof t)throw new Error("bind() requires a function");var n=i.call(arguments,2);return function(){return t.apply(e,n.concat(i.call(arguments)))}}},{}],39:[function(e,t,n){function i(e){if(e)return function(e){for(var t in i.prototype)e[t]=i.prototype[t];return e}(e)}void 0!==t&&(t.exports=i),i.prototype.on=i.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},i.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},i.prototype.off=i.prototype.removeListener=i.prototype.removeAllListeners=i.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks["$"+e];if(!i)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r=0;r<i.length;r++)if((n=i[r])===t||n.fn===t){i.splice(r,1);break}return this},i.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n)for(var i=0,r=(n=n.slice(0)).length;i<r;++i)n[i].apply(this,t);return this},i.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},i.prototype.hasListeners=function(e){return!!this.listeners(e).length}},{}],40:[function(e,t,n){t.exports=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],41:[function(e,t,n){function i(e,t,n){var i,r,o,a,s;function l(){var c=Date.now()-a;c<t&&c>=0?i=setTimeout(l,t-c):(i=null,n||(s=e.apply(o,r),o=r=null))}null==t&&(t=100);var c=function(){o=this,r=arguments,a=Date.now();var c=n&&!i;return i||(i=setTimeout(l,t)),c&&(s=e.apply(o,r),o=r=null),s};return c.clear=function(){i&&(clearTimeout(i),i=null)},c.flush=function(){i&&(s=e.apply(o,r),o=r=null,clearTimeout(i),i=null)},c}i.debounce=i,t.exports=i},{}],42:[function(e,t,n){(function(i){function r(){var e;try{e=n.storage.debug}catch(e){}return!e&&void 0!==i&&"env"in i&&(e=i.env.DEBUG),e}(n=t.exports=e("./debug")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},n.formatArgs=function(e){var t=this.useColors;if(e[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+e[0]+(t?"%c ":" ")+"+"+n.humanize(this.diff),!t)return;var i="color: "+this.color;e.splice(1,0,i,"color: inherit");var r=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&"%c"===e&&(o=++r)}),e.splice(o,0,i)},n.save=function(e){try{null==e?n.storage.removeItem("debug"):n.storage.debug=e}catch(e){}},n.load=r,n.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),n.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],n.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},n.enable(r())}).call(this,e("_process"))},{"./debug":43,_process:94}],43:[function(e,t,n){function i(e){var t;function i(){if(i.enabled){var e=i,r=+new Date,o=r-(t||r);e.diff=o,e.prev=t,e.curr=r,t=r;for(var a=new Array(arguments.length),s=0;s<a.length;s++)a[s]=arguments[s];a[0]=n.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var l=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,function(t,i){if("%%"===t)return t;l++;var r=n.formatters[i];if("function"==typeof r){var o=a[l];t=r.call(e,o),a.splice(l,1),l--}return t}),n.formatArgs.call(e,a),(i.log||n.log||console.log.bind(console)).apply(e,a)}}return i.namespace=e,i.enabled=n.enabled(e),i.useColors=n.useColors(),i.color=function(e){var t,i=0;for(t in e)i=(i<<5)-i+e.charCodeAt(t),i|=0;return n.colors[Math.abs(i)%n.colors.length]}(e),i.destroy=r,"function"==typeof n.init&&n.init(i),n.instances.push(i),i}function r(){var e=n.instances.indexOf(this);return-1!==e&&(n.instances.splice(e,1),!0)}(n=t.exports=i.debug=i.default=i).coerce=function(e){return e instanceof Error?e.stack||e.message:e},n.disable=function(){n.enable("")},n.enable=function(e){var t;n.save(e),n.names=[],n.skips=[];var i=("string"==typeof e?e:"").split(/[\s,]+/),r=i.length;for(t=0;t<r;t++)i[t]&&("-"===(e=i[t].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")));for(t=0;t<n.instances.length;t++){var o=n.instances[t];o.enabled=n.enabled(o.namespace)}},n.enabled=function(e){if("*"===e[e.length-1])return!0;var t,i;for(t=0,i=n.skips.length;t<i;t++)if(n.skips[t].test(e))return!1;for(t=0,i=n.names.length;t<i;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=e("ms"),n.instances=[],n.names=[],n.skips=[],n.formatters={}},{ms:80}],44:[function(e,t,n){var i=e("object-keys"),r=e("is-arguments"),o=e("object-is"),a=e("is-regex"),s=e("regexp.prototype.flags"),l=e("is-date-object"),c=Date.prototype.getTime;function u(e,t,n){var f=n||{};return!(f.strict?!o(e,t):e!==t)||(!e||!t||"object"!=typeof e&&"object"!=typeof t?f.strict?o(e,t):e==t:function(e,t,n){var o,f;if(typeof e!=typeof t)return!1;if(d(e)||d(t))return!1;if(e.prototype!==t.prototype)return!1;if(r(e)!==r(t))return!1;var h=a(e),m=a(t);if(h!==m)return!1;if(h||m)return e.source===t.source&&s(e)===s(t);if(l(e)&&l(t))return c.call(e)===c.call(t);var g=p(e),v=p(t);if(g!==v)return!1;if(g||v){if(e.length!==t.length)return!1;for(o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0}if(typeof e!=typeof t)return!1;try{var b=i(e),y=i(t)}catch(e){return!1}if(b.length!==y.length)return!1;for(b.sort(),y.sort(),o=b.length-1;o>=0;o--)if(b[o]!=y[o])return!1;for(o=b.length-1;o>=0;o--)if(f=b[o],!u(e[f],t[f],n))return!1;return!0}(e,t,f))}function d(e){return null==e}function p(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(e.length>0&&"number"!=typeof e[0]))}t.exports=u},{"is-arguments":72,"is-date-object":73,"is-regex":74,"object-is":81,"object-keys":46,"regexp.prototype.flags":99}],45:[function(e,t,n){"use strict";var i;if(!Object.keys){var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=e("./isArguments"),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call(function(){},"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&r.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();i=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===o.call(e),i=a(e),s=t&&"[object String]"===o.call(e),p=[];if(!t&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var h=c&&n;if(s&&e.length>0&&!r.call(e,0))for(var m=0;m<e.length;++m)p.push(String(m));if(i&&e.length>0)for(var g=0;g<e.length;++g)p.push(String(g));else for(var v in e)h&&"prototype"===v||!r.call(e,v)||p.push(String(v));if(l)for(var b=function(e){if("undefined"==typeof window||!f)return d(e);try{return d(e)}catch(e){return!1}}(e),y=0;y<u.length;++y)b&&"constructor"===u[y]||!r.call(e,u[y])||p.push(u[y]);return p}}t.exports=i},{"./isArguments":47}],46:[function(e,t,n){"use strict";var i=Array.prototype.slice,r=e("./isArguments"),o=Object.keys,a=o?function(e){return o(e)}:e("./implementation"),s=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return r(e)?s(i.call(e)):s(e)}):Object.keys=a;return Object.keys||a},t.exports=a},{"./implementation":45,"./isArguments":47}],47:[function(e,t,n){"use strict";var i=Object.prototype.toString;t.exports=function(e){var t=i.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===i.call(e.callee)),n}},{}],48:[function(e,t,n){"use strict";var i=e("object-keys"),r="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,l=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),c=function(e,t,n,i){var r;t in e&&("function"!=typeof(r=i)||"[object Function]"!==o.call(r)||!i())||(l?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},o=i(t);r&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s<o.length;s+=1)c(e,o[s],t[o[s]],n[o[s]])};u.supportsDescriptors=!!l,t.exports=u},{"object-keys":83}],49:[function(e,t,n){t.exports=e("./socket"),t.exports.parser=e("engine.io-parser")},{"./socket":50,"engine.io-parser":58}],50:[function(e,t,n){(function(n){var i=e("./transports/index"),r=e("component-emitter"),o=e("debug")("engine.io-client:socket"),a=e("indexof"),s=e("engine.io-parser"),l=e("parseuri"),c=e("parseqs");function u(e,t){if(!(this instanceof u))return new u(e,t);t=t||{},e&&"object"==typeof e&&(t=e,e=null),e?(e=l(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=l(t.host).host),this.secure=null!=t.secure?t.secure:n.location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.agent=t.agent||!1,this.hostname=t.hostname||(n.location?location.hostname:"localhost"),this.port=t.port||(n.location&&location.port?location.port:this.secure?443:80),this.query=t.query||{},"string"==typeof this.query&&(this.query=c.decode(this.query)),this.upgrade=!1!==t.upgrade,this.path=(t.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!t.forceJSONP,this.jsonp=!1!==t.jsonp,this.forceBase64=!!t.forceBase64,this.enablesXDR=!!t.enablesXDR,this.timestampParam=t.timestampParam||"t",this.timestampRequests=t.timestampRequests,this.transports=t.transports||["polling","websocket"],this.transportOptions=t.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=t.policyPort||843,this.rememberUpgrade=t.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=t.onlyBinaryUpgrades,this.perMessageDeflate=!1!==t.perMessageDeflate&&(t.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=t.pfx||null,this.key=t.key||null,this.passphrase=t.passphrase||null,this.cert=t.cert||null,this.ca=t.ca||null,this.ciphers=t.ciphers||null,this.rejectUnauthorized=void 0===t.rejectUnauthorized||t.rejectUnauthorized,this.forceNode=!!t.forceNode;var i="object"==typeof n&&n;i.global===i&&(t.extraHeaders&&Object.keys(t.extraHeaders).length>0&&(this.extraHeaders=t.extraHeaders),t.localAddress&&(this.localAddress=t.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}t.exports=u,u.priorWebsocketSuccess=!1,r(u.prototype),u.protocol=s.protocol,u.Socket=u,u.Transport=e("./transport"),u.transports=e("./transports/index"),u.parser=e("engine.io-parser"),u.prototype.createTransport=function(e){o('creating transport "%s"',e);var t=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(this.query);t.EIO=s.protocol,t.transport=e;var n=this.transportOptions[e]||{};return this.id&&(t.sid=this.id),new i[e]({query:t,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0})},u.prototype.open=function(){var e;if(this.rememberUpgrade&&u.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length){var t=this;return void setTimeout(function(){t.emit("error","No transports available")},0)}e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)},u.prototype.setTransport=function(e){o("setting transport %s",e.name);var t=this;this.transport&&(o("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",function(){t.onDrain()}).on("packet",function(e){t.onPacket(e)}).on("error",function(e){t.onError(e)}).on("close",function(){t.onClose("transport close")})},u.prototype.probe=function(e){o('probing transport "%s"',e);var t=this.createTransport(e,{probe:1}),n=!1,i=this;function r(){if(i.onlyBinaryUpgrades){var r=!this.supportsBinary&&i.transport.supportsBinary;n=n||r}n||(o('probe transport "%s" opened',e),t.send([{type:"ping",data:"probe"}]),t.once("packet",function(r){if(!n)if("pong"===r.type&&"probe"===r.data){if(o('probe transport "%s" pong',e),i.upgrading=!0,i.emit("upgrading",t),!t)return;u.priorWebsocketSuccess="websocket"===t.name,o('pausing current transport "%s"',i.transport.name),i.transport.pause(function(){n||"closed"!==i.readyState&&(o("changing transport and sending upgrade packet"),p(),i.setTransport(t),t.send([{type:"upgrade"}]),i.emit("upgrade",t),t=null,i.upgrading=!1,i.flush())})}else{o('probe transport "%s" failed',e);var a=new Error("probe error");a.transport=t.name,i.emit("upgradeError",a)}}))}function a(){n||(n=!0,p(),t.close(),t=null)}function s(n){var r=new Error("probe error: "+n);r.transport=t.name,a(),o('probe transport "%s" failed because of error: %s',e,n),i.emit("upgradeError",r)}function l(){s("transport closed")}function c(){s("socket closed")}function d(e){t&&e.name!==t.name&&(o('"%s" works - aborting "%s"',e.name,t.name),a())}function p(){t.removeListener("open",r),t.removeListener("error",s),t.removeListener("close",l),i.removeListener("close",c),i.removeListener("upgrading",d)}u.priorWebsocketSuccess=!1,t.once("open",r),t.once("error",s),t.once("close",l),this.once("close",c),this.once("upgrading",d),t.open()},u.prototype.onOpen=function(){if(o("socket open"),this.readyState="open",u.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){o("starting upgrade probes");for(var e=0,t=this.upgrades.length;e<t;e++)this.probe(this.upgrades[e])}},u.prototype.onPacket=function(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(o('socket receive: type "%s", data "%s"',e.type,e.data),this.emit("packet",e),this.emit("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emit("data",e.data),this.emit("message",e.data)}else o('packet received with socket readyState "%s"',this.readyState)},u.prototype.onHandshake=function(e){this.emit("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.onOpen(),"closed"!==this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},u.prototype.onHeartbeat=function(e){clearTimeout(this.pingTimeoutTimer);var t=this;t.pingTimeoutTimer=setTimeout(function(){"closed"!==t.readyState&&t.onClose("ping timeout")},e||t.pingInterval+t.pingTimeout)},u.prototype.setPing=function(){var e=this;clearTimeout(e.pingIntervalTimer),e.pingIntervalTimer=setTimeout(function(){o("writing ping packet - expecting pong within %sms",e.pingTimeout),e.ping(),e.onHeartbeat(e.pingTimeout)},e.pingInterval)},u.prototype.ping=function(){var e=this;this.sendPacket("ping",function(){e.emit("ping")})},u.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()},u.prototype.flush=function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(o("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},u.prototype.write=u.prototype.send=function(e,t,n){return this.sendPacket("message",e,t,n),this},u.prototype.sendPacket=function(e,t,n,i){if("function"==typeof t&&(i=t,t=void 0),"function"==typeof n&&(i=n,n=null),"closing"!==this.readyState&&"closed"!==this.readyState){(n=n||{}).compress=!1!==n.compress;var r={type:e,data:t,options:n};this.emit("packetCreate",r),this.writeBuffer.push(r),i&&this.once("flush",i),this.flush()}},u.prototype.close=function(){if("opening"===this.readyState||"open"===this.readyState){this.readyState="closing";var e=this;this.writeBuffer.length?this.once("drain",function(){this.upgrading?i():t()}):this.upgrading?i():t()}function t(){e.onClose("forced close"),o("socket closing - telling transport to close"),e.transport.close()}function n(){e.removeListener("upgrade",n),e.removeListener("upgradeError",n),t()}function i(){e.once("upgrade",n),e.once("upgradeError",n)}return this},u.prototype.onError=function(e){o("socket error %j",e),u.priorWebsocketSuccess=!1,this.emit("error",e),this.onClose("transport error",e)},u.prototype.onClose=function(e,t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){o('socket close with reason: "%s"',e);clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",e,t),this.writeBuffer=[],this.prevBufferLen=0}},u.prototype.filterUpgrades=function(e){for(var t=[],n=0,i=e.length;n<i;n++)~a(this.transports,e[n])&&t.push(e[n]);return t}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./transport":51,"./transports/index":52,"component-emitter":39,debug:42,"engine.io-parser":58,indexof:71,parseqs:89,parseuri:90}],51:[function(e,t,n){var i=e("engine.io-parser"),r=e("component-emitter");function o(e){this.path=e.path,this.hostname=e.hostname,this.port=e.port,this.secure=e.secure,this.query=e.query,this.timestampParam=e.timestampParam,this.timestampRequests=e.timestampRequests,this.readyState="",this.agent=e.agent||!1,this.socket=e.socket,this.enablesXDR=e.enablesXDR,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.forceNode=e.forceNode,this.extraHeaders=e.extraHeaders,this.localAddress=e.localAddress}t.exports=o,r(o.prototype),o.prototype.onError=function(e,t){var n=new Error(e);return n.type="TransportError",n.description=t,this.emit("error",n),this},o.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},o.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},o.prototype.send=function(e){if("open"!==this.readyState)throw new Error("Transport not open");this.write(e)},o.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},o.prototype.onData=function(e){var t=i.decodePacket(e,this.socket.binaryType);this.onPacket(t)},o.prototype.onPacket=function(e){this.emit("packet",e)},o.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},{"component-emitter":39,"engine.io-parser":58}],52:[function(e,t,n){(function(t){var i=e("xmlhttprequest-ssl"),r=e("./polling-xhr"),o=e("./polling-jsonp"),a=e("./websocket");n.polling=function(e){var n=!1,a=!1,s=!1!==e.jsonp;if(t.location){var l="https:"===location.protocol,c=location.port;c||(c=l?443:80),n=e.hostname!==location.hostname||c!==e.port,a=e.secure!==l}if(e.xdomain=n,e.xscheme=a,"open"in new i(e)&&!e.forceJSONP)return new r(e);if(!s)throw new Error("JSONP disabled");return new o(e)},n.websocket=a}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./polling-jsonp":53,"./polling-xhr":54,"./websocket":56,"xmlhttprequest-ssl":57}],53:[function(e,t,n){(function(n){var i=e("./polling"),r=e("component-inherit");t.exports=c;var o,a=/\n/g,s=/\\n/g;function l(){}function c(e){i.call(this,e),this.query=this.query||{},o||(n.___eio||(n.___eio=[]),o=n.___eio),this.index=o.length;var t=this;o.push(function(e){t.onData(e)}),this.query.j=this.index,n.document&&n.addEventListener&&n.addEventListener("beforeunload",function(){t.script&&(t.script.onerror=l)},!1)}r(c,i),c.prototype.supportsBinary=!1,c.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),i.prototype.doClose.call(this)},c.prototype.doPoll=function(){var e=this,t=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),t.async=!0,t.src=this.uri(),t.onerror=function(t){e.onError("jsonp poll error",t)};var n=document.getElementsByTagName("script")[0];n?n.parentNode.insertBefore(t,n):(document.head||document.body).appendChild(t),this.script=t,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout(function(){var e=document.createElement("iframe");document.body.appendChild(e),document.body.removeChild(e)},100)},c.prototype.doWrite=function(e,t){var n=this;if(!this.form){var i,r=document.createElement("form"),o=document.createElement("textarea"),l=this.iframeId="eio_iframe_"+this.index;r.className="socketio",r.style.position="absolute",r.style.top="-1000px",r.style.left="-1000px",r.target=l,r.method="POST",r.setAttribute("accept-charset","utf-8"),o.name="d",r.appendChild(o),document.body.appendChild(r),this.form=r,this.area=o}function c(){u(),t()}function u(){if(n.iframe)try{n.form.removeChild(n.iframe)}catch(e){n.onError("jsonp polling iframe removal error",e)}try{var e='<iframe src="javascript:0" name="'+n.iframeId+'">';i=document.createElement(e)}catch(e){(i=document.createElement("iframe")).name=n.iframeId,i.src="javascript:0"}i.id=n.iframeId,n.form.appendChild(i),n.iframe=i}this.form.action=this.uri(),u(),e=e.replace(s,"\\\n"),this.area.value=e.replace(a,"\\n");try{this.form.submit()}catch(e){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===n.iframe.readyState&&c()}:this.iframe.onload=c}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./polling":55,"component-inherit":40}],54:[function(e,t,n){(function(n){var i=e("xmlhttprequest-ssl"),r=e("./polling"),o=e("component-emitter"),a=e("component-inherit"),s=e("debug")("engine.io-client:polling-xhr");function l(){}function c(e){if(r.call(this,e),this.requestTimeout=e.requestTimeout,this.extraHeaders=e.extraHeaders,n.location){var t="https:"===location.protocol,i=location.port;i||(i=t?443:80),this.xd=e.hostname!==n.location.hostname||i!==e.port,this.xs=e.secure!==t}}function u(e){this.method=e.method||"GET",this.uri=e.uri,this.xd=!!e.xd,this.xs=!!e.xs,this.async=!1!==e.async,this.data=void 0!==e.data?e.data:null,this.agent=e.agent,this.isBinary=e.isBinary,this.supportsBinary=e.supportsBinary,this.enablesXDR=e.enablesXDR,this.requestTimeout=e.requestTimeout,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.extraHeaders=e.extraHeaders,this.create()}function d(){for(var e in u.requests)u.requests.hasOwnProperty(e)&&u.requests[e].abort()}t.exports=c,t.exports.Request=u,a(c,r),c.prototype.supportsBinary=!0,c.prototype.request=function(e){return(e=e||{}).uri=this.uri(),e.xd=this.xd,e.xs=this.xs,e.agent=this.agent||!1,e.supportsBinary=this.supportsBinary,e.enablesXDR=this.enablesXDR,e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized,e.requestTimeout=this.requestTimeout,e.extraHeaders=this.extraHeaders,new u(e)},c.prototype.doWrite=function(e,t){var n="string"!=typeof e&&void 0!==e,i=this.request({method:"POST",data:e,isBinary:n}),r=this;i.on("success",t),i.on("error",function(e){r.onError("xhr post error",e)}),this.sendXhr=i},c.prototype.doPoll=function(){s("xhr poll");var e=this.request(),t=this;e.on("data",function(e){t.onData(e)}),e.on("error",function(e){t.onError("xhr poll error",e)}),this.pollXhr=e},o(u.prototype),u.prototype.create=function(){var e={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized;var t=this.xhr=new i(e),r=this;try{s("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var o in t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(o)&&t.setRequestHeader(o,this.extraHeaders[o])}catch(e){}if("POST"===this.method)try{this.isBinary?t.setRequestHeader("Content-type","application/octet-stream"):t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{t.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in t&&(t.withCredentials=!0),this.requestTimeout&&(t.timeout=this.requestTimeout),this.hasXDR()?(t.onload=function(){r.onLoad()},t.onerror=function(){r.onError(t.responseText)}):t.onreadystatechange=function(){if(2===t.readyState)try{var e=t.getResponseHeader("Content-Type");r.supportsBinary&&"application/octet-stream"===e&&(t.responseType="arraybuffer")}catch(e){}4===t.readyState&&(200===t.status||1223===t.status?r.onLoad():setTimeout(function(){r.onError(t.status)},0))},s("xhr data %s",this.data),t.send(this.data)}catch(e){return void setTimeout(function(){r.onError(e)},0)}n.document&&(this.index=u.requestsCount++,u.requests[this.index]=this)},u.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},u.prototype.onData=function(e){this.emit("data",e),this.onSuccess()},u.prototype.onError=function(e){this.emit("error",e),this.cleanup(!0)},u.prototype.cleanup=function(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=l:this.xhr.onreadystatechange=l,e)try{this.xhr.abort()}catch(e){}n.document&&delete u.requests[this.index],this.xhr=null}},u.prototype.onLoad=function(){var e;try{var t;try{t=this.xhr.getResponseHeader("Content-Type")}catch(e){}e="application/octet-stream"===t&&this.xhr.response||this.xhr.responseText}catch(e){this.onError(e)}null!=e&&this.onData(e)},u.prototype.hasXDR=function(){return void 0!==n.XDomainRequest&&!this.xs&&this.enablesXDR},u.prototype.abort=function(){this.cleanup()},u.requestsCount=0,u.requests={},n.document&&(n.attachEvent?n.attachEvent("onunload",d):n.addEventListener&&n.addEventListener("beforeunload",d,!1))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./polling":55,"component-emitter":39,"component-inherit":40,debug:42,"xmlhttprequest-ssl":57}],55:[function(e,t,n){var i=e("../transport"),r=e("parseqs"),o=e("engine.io-parser"),a=e("component-inherit"),s=e("yeast"),l=e("debug")("engine.io-client:polling");t.exports=u;var c=null!=new(e("xmlhttprequest-ssl"))({xdomain:!1}).responseType;function u(e){var t=e&&e.forceBase64;c&&!t||(this.supportsBinary=!1),i.call(this,e)}a(u,i),u.prototype.name="polling",u.prototype.doOpen=function(){this.poll()},u.prototype.pause=function(e){var t=this;function n(){l("paused"),t.readyState="paused",e()}if(this.readyState="pausing",this.polling||!this.writable){var i=0;this.polling&&(l("we are currently polling - waiting to pause"),i++,this.once("pollComplete",function(){l("pre-pause polling complete"),--i||n()})),this.writable||(l("we are currently writing - waiting to pause"),i++,this.once("drain",function(){l("pre-pause writing complete"),--i||n()}))}else n()},u.prototype.poll=function(){l("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},u.prototype.onData=function(e){var t=this;l("polling got data %s",e);o.decodePayload(e,this.socket.binaryType,function(e,n,i){if("opening"===t.readyState&&t.onOpen(),"close"===e.type)return t.onClose(),!1;t.onPacket(e)}),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():l('ignoring poll - transport state "%s"',this.readyState))},u.prototype.doClose=function(){var e=this;function t(){l("writing close packet"),e.write([{type:"close"}])}"open"===this.readyState?(l("transport open - closing"),t()):(l("transport not open - deferring close"),this.once("open",t))},u.prototype.write=function(e){var t=this;this.writable=!1;var n=function(){t.writable=!0,t.emit("drain")};o.encodePayload(e,this.supportsBinary,function(e){t.doWrite(e,n)})},u.prototype.uri=function(){var e=this.query||{},t=this.secure?"https":"http",n="";return!1!==this.timestampRequests&&(e[this.timestampParam]=s()),this.supportsBinary||e.sid||(e.b64=1),e=r.encode(e),this.port&&("https"===t&&443!==Number(this.port)||"http"===t&&80!==Number(this.port))&&(n=":"+this.port),e.length&&(e="?"+e),t+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+e}},{"../transport":51,"component-inherit":40,debug:42,"engine.io-parser":58,parseqs:89,"xmlhttprequest-ssl":57,yeast:171}],56:[function(e,t,n){(function(n){var i,r=e("../transport"),o=e("engine.io-parser"),a=e("parseqs"),s=e("component-inherit"),l=e("yeast"),c=e("debug")("engine.io-client:websocket"),u=n.WebSocket||n.MozWebSocket;if("undefined"==typeof window)try{i=e("ws")}catch(e){}var d=u;function p(e){e&&e.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=e.perMessageDeflate,this.usingBrowserWebSocket=u&&!e.forceNode,this.protocols=e.protocols,this.usingBrowserWebSocket||(d=i),r.call(this,e)}d||"undefined"!=typeof window||(d=i),t.exports=p,s(p,r),p.prototype.name="websocket",p.prototype.supportsBinary=!0,p.prototype.doOpen=function(){if(this.check()){var e=this.uri(),t=this.protocols,n={agent:this.agent,perMessageDeflate:this.perMessageDeflate};n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized,this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket?t?new d(e,t):new d(e):new d(e,t,n)}catch(e){return this.emit("error",e)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},p.prototype.addEventListeners=function(){var e=this;this.ws.onopen=function(){e.onOpen()},this.ws.onclose=function(){e.onClose()},this.ws.onmessage=function(t){e.onData(t.data)},this.ws.onerror=function(t){e.onError("websocket error",t)}},p.prototype.write=function(e){var t=this;this.writable=!1;for(var i=e.length,r=0,a=i;r<a;r++)!function(e){o.encodePacket(e,t.supportsBinary,function(r){if(!t.usingBrowserWebSocket){var o={};if(e.options&&(o.compress=e.options.compress),t.perMessageDeflate)("string"==typeof r?n.Buffer.byteLength(r):r.length)<t.perMessageDeflate.threshold&&(o.compress=!1)}try{t.usingBrowserWebSocket?t.ws.send(r):t.ws.send(r,o)}catch(e){c("websocket closed before onclose event")}--i||s()})}(e[r]);function s(){t.emit("flush"),setTimeout(function(){t.writable=!0,t.emit("drain")},0)}},p.prototype.onClose=function(){r.prototype.onClose.call(this)},p.prototype.doClose=function(){void 0!==this.ws&&this.ws.close()},p.prototype.uri=function(){var e=this.query||{},t=this.secure?"wss":"ws",n="";return this.port&&("wss"===t&&443!==Number(this.port)||"ws"===t&&80!==Number(this.port))&&(n=":"+this.port),this.timestampRequests&&(e[this.timestampParam]=l()),this.supportsBinary||(e.b64=1),(e=a.encode(e)).length&&(e="?"+e),t+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+e},p.prototype.check=function(){return!(!d||"__initialize"in d&&this.name===p.prototype.name)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../transport":51,"component-inherit":40,debug:42,"engine.io-parser":58,parseqs:89,ws:35,yeast:171}],57:[function(e,t,n){(function(n){var i=e("has-cors");t.exports=function(e){var t=e.xdomain,r=e.xscheme,o=e.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!t||i))return new XMLHttpRequest}catch(e){}try{if("undefined"!=typeof XDomainRequest&&!r&&o)return new XDomainRequest}catch(e){}if(!t)try{return new(n[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(e){}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"has-cors":67}],58:[function(e,t,n){(function(t){var i,r=e("./keys"),o=e("has-binary2"),a=e("arraybuffer.slice"),s=e("after"),l=e("./utf8");t&&t.ArrayBuffer&&(i=e("base64-arraybuffer"));var c="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),u="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),d=c||u;n.protocol=3;var p=n.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},f=r(p),h={type:"error",data:"parser error"},m=e("blob");function g(e,t,n){for(var i=new Array(e.length),r=s(e.length,n),o=function(e,n,r){t(n,function(t,n){i[e]=n,r(t,i)})},a=0;a<e.length;a++)o(a,e[a],r)}n.encodePacket=function(e,i,r,o){"function"==typeof i&&(o=i,i=!1),"function"==typeof r&&(o=r,r=null);var a=void 0===e.data?void 0:e.data.buffer||e.data;if(t.ArrayBuffer&&a instanceof ArrayBuffer)return function(e,t,i){if(!t)return n.encodeBase64Packet(e,i);var r=e.data,o=new Uint8Array(r),a=new Uint8Array(1+r.byteLength);a[0]=p[e.type];for(var s=0;s<o.length;s++)a[s+1]=o[s];return i(a.buffer)}(e,i,o);if(m&&a instanceof t.Blob)return function(e,t,i){if(!t)return n.encodeBase64Packet(e,i);if(d)return function(e,t,i){if(!t)return n.encodeBase64Packet(e,i);var r=new FileReader;return r.onload=function(){e.data=r.result,n.encodePacket(e,t,!0,i)},r.readAsArrayBuffer(e.data)}(e,t,i);var r=new Uint8Array(1);r[0]=p[e.type];var o=new m([r.buffer,e.data]);return i(o)}(e,i,o);if(a&&a.base64)return function(e,t){var i="b"+n.packets[e.type]+e.data.data;return t(i)}(e,o);var s=p[e.type];return void 0!==e.data&&(s+=r?l.encode(String(e.data),{strict:!1}):String(e.data)),o(""+s)},n.encodeBase64Packet=function(e,i){var r,o="b"+n.packets[e.type];if(m&&e.data instanceof t.Blob){var a=new FileReader;return a.onload=function(){var e=a.result.split(",")[1];i(o+e)},a.readAsDataURL(e.data)}try{r=String.fromCharCode.apply(null,new Uint8Array(e.data))}catch(t){for(var s=new Uint8Array(e.data),l=new Array(s.length),c=0;c<s.length;c++)l[c]=s[c];r=String.fromCharCode.apply(null,l)}return o+=t.btoa(r),i(o)},n.decodePacket=function(e,t,i){if(void 0===e)return h;if("string"==typeof e){if("b"===e.charAt(0))return n.decodeBase64Packet(e.substr(1),t);if(i&&!1===(e=function(e){try{e=l.decode(e,{strict:!1})}catch(e){return!1}return e}(e)))return h;var r=e.charAt(0);return Number(r)==r&&f[r]?e.length>1?{type:f[r],data:e.substring(1)}:{type:f[r]}:h}r=new Uint8Array(e)[0];var o=a(e,1);return m&&"blob"===t&&(o=new m([o])),{type:f[r],data:o}},n.decodeBase64Packet=function(e,t){var n=f[e.charAt(0)];if(!i)return{type:n,data:{base64:!0,data:e.substr(1)}};var r=i.decode(e.substr(1));return"blob"===t&&m&&(r=new m([r])),{type:n,data:r}},n.encodePayload=function(e,t,i){"function"==typeof t&&(i=t,t=null);var r=o(e);if(t&&r)return m&&!d?n.encodePayloadAsBlob(e,i):n.encodePayloadAsArrayBuffer(e,i);if(!e.length)return i("0:");g(e,function(e,i){n.encodePacket(e,!!r&&t,!1,function(e){i(null,function(e){return e.length+":"+e}(e))})},function(e,t){return i(t.join(""))})},n.decodePayload=function(e,t,i){if("string"!=typeof e)return n.decodePayloadAsBinary(e,t,i);var r;if("function"==typeof t&&(i=t,t=null),""===e)return i(h,0,1);for(var o,a,s="",l=0,c=e.length;l<c;l++){var u=e.charAt(l);if(":"===u){if(""===s||s!=(o=Number(s)))return i(h,0,1);if(s!=(a=e.substr(l+1,o)).length)return i(h,0,1);if(a.length){if(r=n.decodePacket(a,t,!1),h.type===r.type&&h.data===r.data)return i(h,0,1);if(!1===i(r,l+o,c))return}l+=o,s=""}else s+=u}return""!==s?i(h,0,1):void 0},n.encodePayloadAsArrayBuffer=function(e,t){if(!e.length)return t(new ArrayBuffer(0));g(e,function(e,t){n.encodePacket(e,!0,!0,function(e){return t(null,e)})},function(e,n){var i=n.reduce(function(e,t){var n;return e+(n="string"==typeof t?t.length:t.byteLength).toString().length+n+2},0),r=new Uint8Array(i),o=0;return n.forEach(function(e){var t="string"==typeof e,n=e;if(t){for(var i=new Uint8Array(e.length),a=0;a<e.length;a++)i[a]=e.charCodeAt(a);n=i.buffer}r[o++]=t?0:1;var s=n.byteLength.toString();for(a=0;a<s.length;a++)r[o++]=parseInt(s[a]);r[o++]=255;for(i=new Uint8Array(n),a=0;a<i.length;a++)r[o++]=i[a]}),t(r.buffer)})},n.encodePayloadAsBlob=function(e,t){g(e,function(e,t){n.encodePacket(e,!0,!0,function(e){var n=new Uint8Array(1);if(n[0]=1,"string"==typeof e){for(var i=new Uint8Array(e.length),r=0;r<e.length;r++)i[r]=e.charCodeAt(r);e=i.buffer,n[0]=0}var o=(e instanceof ArrayBuffer?e.byteLength:e.size).toString(),a=new Uint8Array(o.length+1);for(r=0;r<o.length;r++)a[r]=parseInt(o[r]);if(a[o.length]=255,m){var s=new m([n.buffer,a.buffer,e]);t(null,s)}})},function(e,n){return t(new m(n))})},n.decodePayloadAsBinary=function(e,t,i){"function"==typeof t&&(i=t,t=null);for(var r=e,o=[];r.byteLength>0;){for(var s=new Uint8Array(r),l=0===s[0],c="",u=1;255!==s[u];u++){if(c.length>310)return i(h,0,1);c+=s[u]}r=a(r,2+c.length),c=parseInt(c);var d=a(r,0,c);if(l)try{d=String.fromCharCode.apply(null,new Uint8Array(d))}catch(e){var p=new Uint8Array(d);d="";for(u=0;u<p.length;u++)d+=String.fromCharCode(p[u])}o.push(d),r=a(r,c)}var f=o.length;o.forEach(function(e,r){i(n.decodePacket(e,t,!0),r,f)})}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./keys":59,"./utf8":60,after:3,"arraybuffer.slice":5,"base64-arraybuffer":33,blob:34,"has-binary2":65}],59:[function(e,t,n){t.exports=Object.keys||function(e){var t=[],n=Object.prototype.hasOwnProperty;for(var i in e)n.call(e,i)&&t.push(i);return t}},{}],60:[function(e,t,n){(function(e){!function(i){var r="object"==typeof n&&n,o="object"==typeof t&&t&&t.exports==r&&t,a="object"==typeof e&&e;a.global!==a&&a.window!==a||(i=a);var s,l,c,u=String.fromCharCode;function d(e){for(var t,n,i=[],r=0,o=e.length;r<o;)(t=e.charCodeAt(r++))>=55296&&t<=56319&&r<o?56320==(64512&(n=e.charCodeAt(r++)))?i.push(((1023&t)<<10)+(1023&n)+65536):(i.push(t),r--):i.push(t);return i}function p(e,t){if(e>=55296&&e<=57343){if(t)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function f(e,t){return u(e>>t&63|128)}function h(e,t){if(0==(4294967168&e))return u(e);var n="";return 0==(4294965248&e)?n=u(e>>6&31|192):0==(4294901760&e)?(p(e,t)||(e=65533),n=u(e>>12&15|224),n+=f(e,6)):0==(4292870144&e)&&(n=u(e>>18&7|240),n+=f(e,12),n+=f(e,6)),n+=u(63&e|128)}function m(){if(c>=l)throw Error("Invalid byte index");var e=255&s[c];if(c++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function g(e){var t,n;if(c>l)throw Error("Invalid byte index");if(c==l)return!1;if(t=255&s[c],c++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|m())>=128)return n;throw Error("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|m()<<6|m())>=2048)return p(n,e)?n:65533;throw Error("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|m()<<12|m()<<6|m())>=65536&&n<=1114111)return n;throw Error("Invalid UTF-8 detected")}var v={version:"2.1.2",encode:function(e,t){for(var n=!1!==(t=t||{}).strict,i=d(e),r=i.length,o=-1,a="";++o<r;)a+=h(i[o],n);return a},decode:function(e,t){var n=!1!==(t=t||{}).strict;s=d(e),l=s.length,c=0;for(var i,r=[];!1!==(i=g(n));)r.push(i);return function(e){for(var t,n=e.length,i=-1,r="";++i<n;)(t=e[i])>65535&&(r+=u((t-=65536)>>>10&1023|55296),t=56320|1023&t),r+=u(t);return r}(r)}};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)define(function(){return v});else if(r&&!r.nodeType)if(o)o.exports=v;else{var b={}.hasOwnProperty;for(var y in v)b.call(v,y)&&(r[y]=v[y])}else i.utf8=v}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],61:[function(e,t,n){var i=Object.create||function(e){var t=function(){};return t.prototype=e,new t},r=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return n},o=Function.prototype.bind||function(e){var t=this;return function(){return t.apply(e,arguments)}};function a(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=i(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}t.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._maxListeners=void 0;var s,l=10;try{var c={};Object.defineProperty&&Object.defineProperty(c,"x",{value:0}),s=0===c.x}catch(e){s=!1}function u(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var o,a,s;if("function"!=typeof n)throw new TypeError('"listener" argument must be a function');if((a=e._events)?(a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),s=a[t]):(a=e._events=i(null),e._eventsCount=0),s){if("function"==typeof s?s=a[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),!s.warned&&(o=u(e))&&o>0&&s.length>o){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+' "'+String(t)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",l.name,l.message)}}else s=a[t]=n,++e._eventsCount;return e}function p(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var e=new Array(arguments.length),t=0;t<e.length;++t)e[t]=arguments[t];this.listener.apply(this.target,e)}}function f(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=o.call(p,i);return r.listener=n,i.wrapFn=r,r}function h(e,t,n){var i=e._events;if(!i)return[];var r=i[t];return r?"function"==typeof r?n?[r.listener||r]:[r]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(r):g(r,r.length):[]}function m(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function g(e,t){for(var n=new Array(t),i=0;i<t;++i)n[i]=e[i];return n}s?Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||e!=e)throw new TypeError('"defaultMaxListeners" must be a positive number');l=e}}):a.defaultMaxListeners=l,a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return u(this)},a.prototype.emit=function(e){var t,n,i,r,o,a,s="error"===e;if(a=this._events)s=s&&null==a.error;else if(!s)return!1;if(s){if(arguments.length>1&&(t=arguments[1]),t instanceof Error)throw t;var l=new Error('Unhandled "error" event. ('+t+")");throw l.context=t,l}if(!(n=a[e]))return!1;var c="function"==typeof n;switch(i=arguments.length){case 1:!function(e,t,n){if(t)e.call(n);else for(var i=e.length,r=g(e,i),o=0;o<i;++o)r[o].call(n)}(n,c,this);break;case 2:!function(e,t,n,i){if(t)e.call(n,i);else for(var r=e.length,o=g(e,r),a=0;a<r;++a)o[a].call(n,i)}(n,c,this,arguments[1]);break;case 3:!function(e,t,n,i,r){if(t)e.call(n,i,r);else for(var o=e.length,a=g(e,o),s=0;s<o;++s)a[s].call(n,i,r)}(n,c,this,arguments[1],arguments[2]);break;case 4:!function(e,t,n,i,r,o){if(t)e.call(n,i,r,o);else for(var a=e.length,s=g(e,a),l=0;l<a;++l)s[l].call(n,i,r,o)}(n,c,this,arguments[1],arguments[2],arguments[3]);break;default:for(r=new Array(i-1),o=1;o<i;o++)r[o-1]=arguments[o];!function(e,t,n,i){if(t)e.apply(n,i);else for(var r=e.length,o=g(e,r),a=0;a<r;++a)o[a].apply(n,i)}(n,c,this,r)}return!0},a.prototype.addListener=function(e,t){return d(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return d(this,e,t,!0)},a.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,f(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,f(this,e,t)),this},a.prototype.removeListener=function(e,t){var n,r,o,a,s;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(r=this._events))return this;if(!(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=i(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){s=n[a].listener,o=a;break}if(o<0)return this;0===o?n.shift():function(e,t){for(var n=t,i=n+1,r=e.length;i<r;n+=1,i+=1)e[n]=e[i];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),r.removeListener&&this.emit("removeListener",e,s||t)}return this},a.prototype.removeAllListeners=function(e){var t,n,o;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=i(null),this._eventsCount=0):n[e]&&(0==--this._eventsCount?this._events=i(null):delete n[e]),this;if(0===arguments.length){var a,s=r(n);for(o=0;o<s.length;++o)"removeListener"!==(a=s[o])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=i(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(t)for(o=t.length-1;o>=0;o--)this.removeListener(e,t[o]);return this},a.prototype.listeners=function(e){return h(this,e,!0)},a.prototype.rawListeners=function(e){return h(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},a.prototype.listenerCount=m,a.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},{}],62:[function(e,t,n){"use strict";var i=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},l=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var t,n=i.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&i.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!o)return!1;for(t in e);return void 0===t||i.call(e,t)},c=function(e,t){o&&"__proto__"===t.name?o(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,t){if("__proto__"===t){if(!i.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,i,r,o,a,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(n in t)i=u(d,n),d!==(r=u(t,n))&&(h&&r&&(l(r)||(o=s(r)))?(o?(o=!1,a=i&&s(i)?i:[]):a=i&&l(i)?i:{},c(d,{name:n,newValue:e(h,a,r)})):void 0!==r&&c(d,{name:n,newValue:r}));return d}},{}],63:[function(e,t,n){"use strict";var i=Array.prototype.slice,r=Object.prototype.toString;t.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==r.call(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,o=i.call(arguments,1),a=Math.max(0,t.length-o.length),s=[],l=0;l<a;l++)s.push("$"+l);if(n=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof n){var r=t.apply(this,o.concat(i.call(arguments)));return Object(r)===r?r:this}return t.apply(e,o.concat(i.call(arguments)))}),t.prototype){var c=function(){};c.prototype=t.prototype,n.prototype=new c,c.prototype=null}return n}},{}],64:[function(e,t,n){"use strict";var i=e("./implementation");t.exports=Function.prototype.bind||i},{"./implementation":63}],65:[function(e,t,n){(function(n){var i=e("isarray"),r=Object.prototype.toString,o="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===r.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===r.call(File);t.exports=function e(t){if(!t||"object"!=typeof t)return!1;if(i(t)){for(var r=0,s=t.length;r<s;r++)if(e(t[r]))return!0;return!1}if("function"==typeof n&&n.isBuffer&&n.isBuffer(t)||"function"==typeof ArrayBuffer&&t instanceof ArrayBuffer||o&&t instanceof Blob||a&&t instanceof File)return!0;if(t.toJSON&&"function"==typeof t.toJSON&&1===arguments.length)return e(t.toJSON(),!0);for(var l in t)if(Object.prototype.hasOwnProperty.call(t,l)&&e(t[l]))return!0;return!1}}).call(this,e("buffer").Buffer)},{buffer:36,isarray:66}],66:[function(e,t,n){var i={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},{}],67:[function(e,t,n){try{t.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(e){t.exports=!1}},{}],68:[function(e,t,n){"use strict";var i=e("function-bind");t.exports=i.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":64}],69:[function(e,t,n){n.read=function(e,t,n,i,r){var o,a,s=8*r-i-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?r-1:0,p=n?-1:1,f=e[t+d];for(d+=p,o=f&(1<<-u)-1,f>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=p,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=i;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,i),o-=c}return(f?-1:1)*a*Math.pow(2,o-i)},n.write=function(e,t,n,i,r,o){var a,s,l,c=8*o-r-1,u=(1<<c)-1,d=u>>1,p=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:o-1,h=i?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,r),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,r),a=0));r>=8;e[n+f]=255&s,f+=h,s/=256,r-=8);for(a=a<<r|s,c+=r;c>0;e[n+f]=255&a,f+=h,a/=256,c-=8);e[n+f-h]|=128*m}},{}],70:[function(e,t,n){!function(){"use strict";function e(){var e=this;this.versionnumber="1.2.5",this.imageToSVG=function(t,n,i){i=e.checkoptions(i),e.loadImage(t,function(t){n(e.imagedataToSVG(e.getImgdata(t),i))},i)},this.imagedataToSVG=function(t,n){n=e.checkoptions(n);var i=e.imagedataToTracedata(t,n);return e.getsvgstring(i,n)},this.imageToTracedata=function(t,n,i){i=e.checkoptions(i),e.loadImage(t,function(t){n(e.imagedataToTracedata(e.getImgdata(t),i))},i)},this.imagedataToTracedata=function(t,n){n=e.checkoptions(n);var i=e.colorquantization(t,n);if(0===n.layering)for(var r={layers:[],palette:i.palette,width:i.array[0].length-2,height:i.array.length-2},o=0;o<i.palette.length;o++){var a=e.batchtracepaths(e.internodes(e.pathscan(e.layeringstep(i,o),n.pathomit),n),n.ltres,n.qtres);r.layers.push(a)}else{var s=e.layering(i);n.layercontainerid&&e.drawLayers(s,e.specpalette,n.scale,n.layercontainerid);var l=e.batchpathscan(s,n.pathomit),c=e.batchinternodes(l,n);r={layers:e.batchtracelayers(c,n.ltres,n.qtres),palette:i.palette,width:t.width,height:t.height}}return r},this.optionpresets={default:{corsenabled:!1,ltres:1,qtres:1,pathomit:8,rightangleenhance:!0,colorsampling:2,numberofcolors:16,mincolorratio:0,colorquantcycles:3,layering:0,strokewidth:1,linefilter:!1,scale:1,roundcoords:1,viewbox:!1,desc:!1,lcpr:0,qcpr:0,blurradius:0,blurdelta:20},posterized1:{colorsampling:0,numberofcolors:2},posterized2:{numberofcolors:4,blurradius:5},curvy:{ltres:.01,linefilter:!0,rightangleenhance:!1},sharp:{qtres:.01,linefilter:!1},detailed:{pathomit:0,roundcoords:2,ltres:.5,qtres:.5,numberofcolors:64},smoothed:{blurradius:5,blurdelta:64},grayscale:{colorsampling:0,colorquantcycles:1,numberofcolors:7},fixedpalette:{colorsampling:0,colorquantcycles:1,numberofcolors:27},randomsampling1:{colorsampling:1,numberofcolors:8},randomsampling2:{colorsampling:1,numberofcolors:64},artistic1:{colorsampling:0,colorquantcycles:1,pathomit:0,blurradius:5,blurdelta:64,ltres:.01,linefilter:!0,numberofcolors:16,strokewidth:2},artistic2:{qtres:.01,colorsampling:0,colorquantcycles:1,numberofcolors:4,strokewidth:0},artistic3:{qtres:10,ltres:10,numberofcolors:8},artistic4:{qtres:10,ltres:10,numberofcolors:64,blurradius:5,blurdelta:256,strokewidth:2},posterized3:{ltres:1,qtres:1,pathomit:20,rightangleenhance:!0,colorsampling:0,numberofcolors:3,mincolorratio:0,colorquantcycles:3,blurradius:3,blurdelta:20,strokewidth:0,linefilter:!1,roundcoords:1,pal:[{r:0,g:0,b:100,a:255},{r:255,g:255,b:255,a:255}]}},this.checkoptions=function(t){"string"==typeof(t=t||{})&&(t=t.toLowerCase(),t=e.optionpresets[t]?e.optionpresets[t]:{});for(var n=Object.keys(e.optionpresets.default),i=0;i<n.length;i++)t.hasOwnProperty(n[i])||(t[n[i]]=e.optionpresets.default[n[i]]);return t},this.colorquantization=function(t,n){var i,r,o,a,s,l,c,u,d=[],p=0,f=[],h=t.width*t.height;if(t.data.length<4*h){for(var m=new Uint8ClampedArray(4*h),g=0;g<h;g++)m[4*g]=t.data[3*g],m[4*g+1]=t.data[3*g+1],m[4*g+2]=t.data[3*g+2],m[4*g+3]=255;t.data=m}for(s=0;s<t.height+2;s++)for(d[s]=[],a=0;a<t.width+2;a++)d[s][a]=-1;for(u=n.pal?n.pal:0===n.colorsampling?e.generatepalette(n.numberofcolors):1===n.colorsampling?e.samplepalette(n.numberofcolors,t):e.samplepalette2(n.numberofcolors,t),n.blurradius>0&&(t=e.blur(t,n.blurradius,n.blurdelta)),c=0;c<n.colorquantcycles;c++){if(c>0)for(l=0;l<u.length;l++)f[l].n>0&&(u[l]={r:Math.floor(f[l].r/f[l].n),g:Math.floor(f[l].g/f[l].n),b:Math.floor(f[l].b/f[l].n),a:Math.floor(f[l].a/f[l].n)}),f[l].n/h<n.mincolorratio&&c<n.colorquantcycles-1&&(u[l]={r:Math.floor(255*Math.random()),g:Math.floor(255*Math.random()),b:Math.floor(255*Math.random()),a:Math.floor(255*Math.random())});for(a=0;a<u.length;a++)f[a]={r:0,g:0,b:0,a:0,n:0};for(s=0;s<t.height;s++)for(a=0;a<t.width;a++){for(p=4*(s*t.width+a),o=0,r=1024,l=0;l<u.length;l++)(i=Math.abs(u[l].r-t.data[p])+Math.abs(u[l].g-t.data[p+1])+Math.abs(u[l].b-t.data[p+2])+Math.abs(u[l].a-t.data[p+3]))<r&&(r=i,o=l);f[o].r+=t.data[p],f[o].g+=t.data[p+1],f[o].b+=t.data[p+2],f[o].a+=t.data[p+3],f[o].n++,d[s+1][a+1]=o}}return{array:d,palette:u}},this.samplepalette=function(e,t){for(var n,i=[],r=0;r<e;r++)n=4*Math.floor(Math.random()*t.data.length/4),i.push({r:t.data[n],g:t.data[n+1],b:t.data[n+2],a:t.data[n+3]});return i},this.samplepalette2=function(e,t){for(var n,i=[],r=Math.ceil(Math.sqrt(e)),o=Math.ceil(e/r),a=t.width/(r+1),s=t.height/(o+1),l=0;l<o;l++)for(var c=0;c<r&&i.length!==e;c++)n=4*Math.floor((l+1)*s*t.width+(c+1)*a),i.push({r:t.data[n],g:t.data[n+1],b:t.data[n+2],a:t.data[n+3]});return i},this.generatepalette=function(e){var t,n,i,r=[];if(e<8)for(var o=Math.floor(255/(e-1)),a=0;a<e;a++)r.push({r:a*o,g:a*o,b:a*o,a:255});else{var s=Math.floor(Math.pow(e,1/3)),l=Math.floor(255/(s-1)),c=e-s*s*s;for(t=0;t<s;t++)for(n=0;n<s;n++)for(i=0;i<s;i++)r.push({r:t*l,g:n*l,b:i*l,a:255});for(t=0;t<c;t++)r.push({r:Math.floor(255*Math.random()),g:Math.floor(255*Math.random()),b:Math.floor(255*Math.random()),a:Math.floor(255*Math.random())})}return r},this.layering=function(e){var t,n,i,r,o,a,s,l,c,u,d,p=[],f=0,h=e.array.length,m=e.array[0].length;for(d=0;d<e.palette.length;d++)for(p[d]=[],u=0;u<h;u++)for(p[d][u]=[],c=0;c<m;c++)p[d][u][c]=0;for(u=1;u<h-1;u++)for(c=1;c<m-1;c++)f=e.array[u][c],t=e.array[u-1][c-1]===f?1:0,n=e.array[u-1][c]===f?1:0,i=e.array[u-1][c+1]===f?1:0,r=e.array[u][c-1]===f?1:0,o=e.array[u][c+1]===f?1:0,a=e.array[u+1][c-1]===f?1:0,s=e.array[u+1][c]===f?1:0,l=e.array[u+1][c+1]===f?1:0,p[f][u+1][c+1]=1+2*o+4*l+8*s,r||(p[f][u+1][c]=2+4*s+8*a),n||(p[f][u][c+1]=0+2*i+4*o+8),t||(p[f][u][c]=0+2*n+4+8*r);return p},this.layeringstep=function(e,t){var n,i,r=[],o=e.array.length,a=e.array[0].length;for(i=0;i<o;i++)for(r[i]=[],n=0;n<a;n++)r[i][n]=0;for(i=1;i<o;i++)for(n=1;n<a;n++)r[i][n]=(e.array[i-1][n-1]===t?1:0)+(e.array[i-1][n]===t?2:0)+(e.array[i][n-1]===t?8:0)+(e.array[i][n]===t?4:0);return r},this.pathscan_combined_lookup=[[[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1]],[[0,1,0,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],[0,2,-1,0]],[[-1,-1,-1,-1],[-1,-1,-1,-1],[0,1,0,-1],[0,0,1,0]],[[0,0,1,0],[-1,-1,-1,-1],[0,2,-1,0],[-1,-1,-1,-1]],[[-1,-1,-1,-1],[0,0,1,0],[0,3,0,1],[-1,-1,-1,-1]],[[13,3,0,1],[13,2,-1,0],[7,1,0,-1],[7,0,1,0]],[[-1,-1,-1,-1],[0,1,0,-1],[-1,-1,-1,-1],[0,3,0,1]],[[0,3,0,1],[0,2,-1,0],[-1,-1,-1,-1],[-1,-1,-1,-1]],[[0,3,0,1],[0,2,-1,0],[-1,-1,-1,-1],[-1,-1,-1,-1]],[[-1,-1,-1,-1],[0,1,0,-1],[-1,-1,-1,-1],[0,3,0,1]],[[11,1,0,-1],[14,0,1,0],[14,3,0,1],[11,2,-1,0]],[[-1,-1,-1,-1],[0,0,1,0],[0,3,0,1],[-1,-1,-1,-1]],[[0,0,1,0],[-1,-1,-1,-1],[0,2,-1,0],[-1,-1,-1,-1]],[[-1,-1,-1,-1],[-1,-1,-1,-1],[0,1,0,-1],[0,0,1,0]],[[0,1,0,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],[0,2,-1,0]],[[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1]]],this.pathscan=function(t,n){for(var i,r=[],o=0,a=0,s=0,l=0,c=t[0].length,u=t.length,d=0,p=!0,f=!1,h=0;h<u;h++)for(var m=0;m<c;m++)if(4==t[h][m]||11==t[h][m])for(s=m,l=h,r[o]={},r[o].points=[],r[o].boundingbox=[s,l,s,l],r[o].holechildren=[],p=!1,a=0,f=11==t[h][m],d=1;!p;){if(r[o].points[a]={},r[o].points[a].x=s-1,r[o].points[a].y=l-1,r[o].points[a].t=t[l][s],s-1<r[o].boundingbox[0]&&(r[o].boundingbox[0]=s-1),s-1>r[o].boundingbox[2]&&(r[o].boundingbox[2]=s-1),l-1<r[o].boundingbox[1]&&(r[o].boundingbox[1]=l-1),l-1>r[o].boundingbox[3]&&(r[o].boundingbox[3]=l-1),i=e.pathscan_combined_lookup[t[l][s]][d],t[l][s]=i[0],d=i[1],s+=i[2],l+=i[3],s-1===r[o].points[0].x&&l-1===r[o].points[0].y)if(p=!0,r[o].points.length<n)r.pop();else{if(r[o].isholepath=!!f,f){for(var g=0,v=[-1,-1,c+1,u+1],b=0;b<o;b++)!r[b].isholepath&&e.boundingboxincludes(r[b].boundingbox,r[o].boundingbox)&&e.boundingboxincludes(v,r[b].boundingbox)&&(g=b,v=r[b].boundingbox);r[g].holechildren.push(o)}o++}a++}return r},this.boundingboxincludes=function(e,t){return e[0]<t[0]&&e[1]<t[1]&&e[2]>t[2]&&e[3]>t[3]},this.batchpathscan=function(t,n){var i=[];for(var r in t)t.hasOwnProperty(r)&&(i[r]=e.pathscan(t[r],n));return i},this.internodes=function(t,n){var i,r,o=[],a=0,s=0,l=0,c=0,u=0;for(i=0;i<t.length;i++)for(o[i]={},o[i].points=[],o[i].boundingbox=t[i].boundingbox,o[i].holechildren=t[i].holechildren,o[i].isholepath=t[i].isholepath,a=t[i].points.length,r=0;r<a;r++)s=(r+1)%a,l=(r+2)%a,c=(r-1+a)%a,u=(r-2+a)%a,n.rightangleenhance&&e.testrightangle(t[i],u,c,r,s,l)&&(o[i].points.length>0&&(o[i].points[o[i].points.length-1].linesegment=e.getdirection(o[i].points[o[i].points.length-1].x,o[i].points[o[i].points.length-1].y,t[i].points[r].x,t[i].points[r].y)),o[i].points.push({x:t[i].points[r].x,y:t[i].points[r].y,linesegment:e.getdirection(t[i].points[r].x,t[i].points[r].y,(t[i].points[r].x+t[i].points[s].x)/2,(t[i].points[r].y+t[i].points[s].y)/2)})),o[i].points.push({x:(t[i].points[r].x+t[i].points[s].x)/2,y:(t[i].points[r].y+t[i].points[s].y)/2,linesegment:e.getdirection((t[i].points[r].x+t[i].points[s].x)/2,(t[i].points[r].y+t[i].points[s].y)/2,(t[i].points[s].x+t[i].points[l].x)/2,(t[i].points[s].y+t[i].points[l].y)/2)});return o},this.testrightangle=function(e,t,n,i,r,o){return e.points[i].x===e.points[t].x&&e.points[i].x===e.points[n].x&&e.points[i].y===e.points[r].y&&e.points[i].y===e.points[o].y||e.points[i].y===e.points[t].y&&e.points[i].y===e.points[n].y&&e.points[i].x===e.points[r].x&&e.points[i].x===e.points[o].x},this.getdirection=function(e,t,n,i){return e<n?t<i?1:t>i?7:0:e>n?t<i?3:t>i?5:4:t<i?2:t>i?6:8},this.batchinternodes=function(t,n){var i=[];for(var r in t)t.hasOwnProperty(r)&&(i[r]=e.internodes(t[r],n));return i},this.tracepath=function(t,n,i){var r,o,a,s=0,l={segments:[]};for(l.boundingbox=t.boundingbox,l.holechildren=t.holechildren,l.isholepath=t.isholepath;s<t.points.length;){for(r=t.points[s].linesegment,o=-1,a=s+1;(t.points[a].linesegment===r||t.points[a].linesegment===o||-1===o)&&a<t.points.length-1;)t.points[a].linesegment!==r&&-1===o&&(o=t.points[a].linesegment),a++;a===t.points.length-1&&(a=0),l.segments=l.segments.concat(e.fitseq(t,n,i,s,a)),s=a>0?a:t.points.length}return l},this.fitseq=function(t,n,i,r,o){if(o>t.points.length||o<0)return[];var a,s,l,c=r,u=0,d=!0,p=o-r;p<0&&(p+=t.points.length);for(var f,h=(t.points[o].x-t.points[r].x)/p,m=(t.points[o].y-t.points[r].y)/p,g=(r+1)%t.points.length;g!=o;)(f=g-r)<0&&(f+=t.points.length),a=t.points[r].x+h*f,s=t.points[r].y+m*f,(l=(t.points[g].x-a)*(t.points[g].x-a)+(t.points[g].y-s)*(t.points[g].y-s))>n&&(d=!1),l>u&&(c=g,u=l),g=(g+1)%t.points.length;if(d)return[{type:"L",x1:t.points[r].x,y1:t.points[r].y,x2:t.points[o].x,y2:t.points[o].y}];var v=c;d=!0,u=0;var b=(v-r)/p,y=(1-b)*(1-b),_=2*(1-b)*b,w=b*b,x=(y*t.points[r].x+w*t.points[o].x-t.points[v].x)/-_,k=(y*t.points[r].y+w*t.points[o].y-t.points[v].y)/-_;for(g=r+1;g!=o;)_=2*(1-(b=(g-r)/p))*b,w=b*b,a=(y=(1-b)*(1-b))*t.points[r].x+_*x+w*t.points[o].x,s=y*t.points[r].y+_*k+w*t.points[o].y,(l=(t.points[g].x-a)*(t.points[g].x-a)+(t.points[g].y-s)*(t.points[g].y-s))>i&&(d=!1),l>u&&(c=g,u=l),g=(g+1)%t.points.length;if(d)return[{type:"Q",x1:t.points[r].x,y1:t.points[r].y,x2:x,y2:k,x3:t.points[o].x,y3:t.points[o].y}];var A=v;return e.fitseq(t,n,i,r,A).concat(e.fitseq(t,n,i,A,o))},this.batchtracepaths=function(t,n,i){var r=[];for(var o in t)t.hasOwnProperty(o)&&r.push(e.tracepath(t[o],n,i));return r},this.batchtracelayers=function(t,n,i){var r=[];for(var o in t)t.hasOwnProperty(o)&&(r[o]=e.batchtracepaths(t[o],n,i));return r},this.roundtodec=function(e,t){return+e.toFixed(t)},this.svgpathstring=function(t,n,i,r){var o,a=t.layers[n],s=a[i],l="";if(r.linefilter&&s.segments.length<3)return l;if(l="<path "+(r.desc?'desc="l '+n+" p "+i+'" ':"")+e.tosvgcolorstr(t.palette[n],r)+'d="',-1===r.roundcoords){for(l+="M "+s.segments[0].x1*r.scale+" "+s.segments[0].y1*r.scale+" ",o=0;o<s.segments.length;o++)l+=s.segments[o].type+" "+s.segments[o].x2*r.scale+" "+s.segments[o].y2*r.scale+" ",s.segments[o].hasOwnProperty("x3")&&(l+=s.segments[o].x3*r.scale+" "+s.segments[o].y3*r.scale+" ");l+="Z "}else{for(l+="M "+e.roundtodec(s.segments[0].x1*r.scale,r.roundcoords)+" "+e.roundtodec(s.segments[0].y1*r.scale,r.roundcoords)+" ",o=0;o<s.segments.length;o++)l+=s.segments[o].type+" "+e.roundtodec(s.segments[o].x2*r.scale,r.roundcoords)+" "+e.roundtodec(s.segments[o].y2*r.scale,r.roundcoords)+" ",s.segments[o].hasOwnProperty("x3")&&(l+=e.roundtodec(s.segments[o].x3*r.scale,r.roundcoords)+" "+e.roundtodec(s.segments[o].y3*r.scale,r.roundcoords)+" ");l+="Z "}for(var c=0;c<s.holechildren.length;c++){var u=a[s.holechildren[c]];if(-1===r.roundcoords)for(u.segments[u.segments.length-1].hasOwnProperty("x3")?l+="M "+u.segments[u.segments.length-1].x3*r.scale+" "+u.segments[u.segments.length-1].y3*r.scale+" ":l+="M "+u.segments[u.segments.length-1].x2*r.scale+" "+u.segments[u.segments.length-1].y2*r.scale+" ",o=u.segments.length-1;o>=0;o--)l+=u.segments[o].type+" ",u.segments[o].hasOwnProperty("x3")&&(l+=u.segments[o].x2*r.scale+" "+u.segments[o].y2*r.scale+" "),l+=u.segments[o].x1*r.scale+" "+u.segments[o].y1*r.scale+" ";else for(u.segments[u.segments.length-1].hasOwnProperty("x3")?l+="M "+e.roundtodec(u.segments[u.segments.length-1].x3*r.scale)+" "+e.roundtodec(u.segments[u.segments.length-1].y3*r.scale)+" ":l+="M "+e.roundtodec(u.segments[u.segments.length-1].x2*r.scale)+" "+e.roundtodec(u.segments[u.segments.length-1].y2*r.scale)+" ",o=u.segments.length-1;o>=0;o--)l+=u.segments[o].type+" ",u.segments[o].hasOwnProperty("x3")&&(l+=e.roundtodec(u.segments[o].x2*r.scale)+" "+e.roundtodec(u.segments[o].y2*r.scale)+" "),l+=e.roundtodec(u.segments[o].x1*r.scale)+" "+e.roundtodec(u.segments[o].y1*r.scale)+" ";l+="Z "}if(l+='" />',r.lcpr||r.qcpr){for(o=0;o<s.segments.length;o++)s.segments[o].hasOwnProperty("x3")&&r.qcpr&&(l+='<circle cx="'+s.segments[o].x2*r.scale+'" cy="'+s.segments[o].y2*r.scale+'" r="'+r.qcpr+'" fill="cyan" stroke-width="'+.2*r.qcpr+'" stroke="black" />',l+='<circle cx="'+s.segments[o].x3*r.scale+'" cy="'+s.segments[o].y3*r.scale+'" r="'+r.qcpr+'" fill="white" stroke-width="'+.2*r.qcpr+'" stroke="black" />',l+='<line x1="'+s.segments[o].x1*r.scale+'" y1="'+s.segments[o].y1*r.scale+'" x2="'+s.segments[o].x2*r.scale+'" y2="'+s.segments[o].y2*r.scale+'" stroke-width="'+.2*r.qcpr+'" stroke="cyan" />',l+='<line x1="'+s.segments[o].x2*r.scale+'" y1="'+s.segments[o].y2*r.scale+'" x2="'+s.segments[o].x3*r.scale+'" y2="'+s.segments[o].y3*r.scale+'" stroke-width="'+.2*r.qcpr+'" stroke="cyan" />'),!s.segments[o].hasOwnProperty("x3")&&r.lcpr&&(l+='<circle cx="'+s.segments[o].x2*r.scale+'" cy="'+s.segments[o].y2*r.scale+'" r="'+r.lcpr+'" fill="white" stroke-width="'+.2*r.lcpr+'" stroke="black" />');for(c=0;c<s.holechildren.length;c++){u=a[s.holechildren[c]];for(o=0;o<u.segments.length;o++)u.segments[o].hasOwnProperty("x3")&&r.qcpr&&(l+='<circle cx="'+u.segments[o].x2*r.scale+'" cy="'+u.segments[o].y2*r.scale+'" r="'+r.qcpr+'" fill="cyan" stroke-width="'+.2*r.qcpr+'" stroke="black" />',l+='<circle cx="'+u.segments[o].x3*r.scale+'" cy="'+u.segments[o].y3*r.scale+'" r="'+r.qcpr+'" fill="white" stroke-width="'+.2*r.qcpr+'" stroke="black" />',l+='<line x1="'+u.segments[o].x1*r.scale+'" y1="'+u.segments[o].y1*r.scale+'" x2="'+u.segments[o].x2*r.scale+'" y2="'+u.segments[o].y2*r.scale+'" stroke-width="'+.2*r.qcpr+'" stroke="cyan" />',l+='<line x1="'+u.segments[o].x2*r.scale+'" y1="'+u.segments[o].y2*r.scale+'" x2="'+u.segments[o].x3*r.scale+'" y2="'+u.segments[o].y3*r.scale+'" stroke-width="'+.2*r.qcpr+'" stroke="cyan" />'),!u.segments[o].hasOwnProperty("x3")&&r.lcpr&&(l+='<circle cx="'+u.segments[o].x2*r.scale+'" cy="'+u.segments[o].y2*r.scale+'" r="'+r.lcpr+'" fill="white" stroke-width="'+.2*r.lcpr+'" stroke="black" />')}}return l},this.getsvgstring=function(t,n){n=e.checkoptions(n);for(var i=t.width*n.scale,r=t.height*n.scale,o="<svg "+(n.viewbox?'viewBox="0 0 '+i+" "+r+'" ':'width="'+i+'" height="'+r+'" ')+'version="1.1" xmlns="http://www.w3.org/2000/svg" desc="Created with imagetracer.js version '+e.versionnumber+'" >',a=0;a<t.layers.length;a++)for(var s=0;s<t.layers[a].length;s++)t.layers[a][s].isholepath||(o+=e.svgpathstring(t,a,s,n));return o+="</svg>"},this.compareNumbers=function(e,t){return e-t},this.torgbastr=function(e){return"rgba("+e.r+","+e.g+","+e.b+","+e.a+")"},this.tosvgcolorstr=function(e,t){return'fill="rgb('+e.r+","+e.g+","+e.b+')" stroke="rgb('+e.r+","+e.g+","+e.b+')" stroke-width="'+t.strokewidth+'" opacity="'+e.a/255+'" '},this.appendSVGString=function(e,t){var n;t?(n=document.getElementById(t))||((n=document.createElement("div")).id=t,document.body.appendChild(n)):(n=document.createElement("div"),document.body.appendChild(n)),n.innerHTML+=e},this.gks=[[.27901,.44198,.27901],[.135336,.228569,.272192,.228569,.135336],[.086776,.136394,.178908,.195843,.178908,.136394,.086776],[.063327,.093095,.122589,.144599,.152781,.144599,.122589,.093095,.063327],[.049692,.069304,.089767,.107988,.120651,.125194,.120651,.107988,.089767,.069304,.049692]],this.blur=function(t,n,i){var r,o,a,s,l,c,u,d,p,f={width:t.width,height:t.height,data:[]};if((n=Math.floor(n))<1)return t;n>5&&(n=5),(i=Math.abs(i))>1024&&(i=1024);var h=e.gks[n-1];for(o=0;o<t.height;o++)for(r=0;r<t.width;r++){for(l=0,c=0,u=0,d=0,p=0,a=-n;a<n+1;a++)r+a>0&&r+a<t.width&&(s=4*(o*t.width+r+a),l+=t.data[s]*h[a+n],c+=t.data[s+1]*h[a+n],u+=t.data[s+2]*h[a+n],d+=t.data[s+3]*h[a+n],p+=h[a+n]);s=4*(o*t.width+r),f.data[s]=Math.floor(l/p),f.data[s+1]=Math.floor(c/p),f.data[s+2]=Math.floor(u/p),f.data[s+3]=Math.floor(d/p)}var m=new Uint8ClampedArray(f.data);for(o=0;o<t.height;o++)for(r=0;r<t.width;r++){for(l=0,c=0,u=0,d=0,p=0,a=-n;a<n+1;a++)o+a>0&&o+a<t.height&&(l+=m[s=4*((o+a)*t.width+r)]*h[a+n],c+=m[s+1]*h[a+n],u+=m[s+2]*h[a+n],d+=m[s+3]*h[a+n],p+=h[a+n]);s=4*(o*t.width+r),f.data[s]=Math.floor(l/p),f.data[s+1]=Math.floor(c/p),f.data[s+2]=Math.floor(u/p),f.data[s+3]=Math.floor(d/p)}for(o=0;o<t.height;o++)for(r=0;r<t.width;r++)s=4*(o*t.width+r),Math.abs(f.data[s]-t.data[s])+Math.abs(f.data[s+1]-t.data[s+1])+Math.abs(f.data[s+2]-t.data[s+2])+Math.abs(f.data[s+3]-t.data[s+3])>i&&(f.data[s]=t.data[s],f.data[s+1]=t.data[s+1],f.data[s+2]=t.data[s+2],f.data[s+3]=t.data[s+3]);return f},this.loadImage=function(e,t,n){var i=new Image;n&&n.corsenabled&&(i.crossOrigin="Anonymous"),i.onload=function(){var e=document.createElement("canvas");e.width=i.width,e.height=i.height,e.getContext("2d").drawImage(i,0,0),t(e)},i.src=e},this.getImgdata=function(e){return e.getContext("2d").getImageData(0,0,e.width,e.height)},this.specpalette=[{r:0,g:0,b:0,a:255},{r:128,g:128,b:128,a:255},{r:0,g:0,b:128,a:255},{r:64,g:64,b:128,a:255},{r:192,g:192,b:192,a:255},{r:255,g:255,b:255,a:255},{r:128,g:128,b:192,a:255},{r:0,g:0,b:192,a:255},{r:128,g:0,b:0,a:255},{r:128,g:64,b:64,a:255},{r:128,g:0,b:128,a:255},{r:168,g:168,b:168,a:255},{r:192,g:128,b:128,a:255},{r:192,g:0,b:0,a:255},{r:255,g:255,b:255,a:255},{r:0,g:128,b:0,a:255}],this.drawLayers=function(t,n,i,r){var o,a,s,l,c,u;for(c in i=i||1,r?(u=document.getElementById(r))||((u=document.createElement("div")).id=r,document.body.appendChild(u)):(u=document.createElement("div"),document.body.appendChild(u)),t)if(t.hasOwnProperty(c)){o=t[c][0].length,a=t[c].length;var d=document.createElement("canvas");d.width=o*i,d.height=a*i;var p=d.getContext("2d");for(l=0;l<a;l++)for(s=0;s<o;s++)p.fillStyle=e.torgbastr(n[t[c][l][s]%n.length]),p.fillRect(s*i,l*i,i,i);u.appendChild(d)}}}"function"==typeof define&&define.amd?define(function(){return new e}):void 0!==t?t.exports=new e:"undefined"!=typeof self?self.ImageTracer=new e:window.ImageTracer=new e}()},{}],71:[function(e,t,n){var i=[].indexOf;t.exports=function(e,t){if(i)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}},{}],72:[function(e,t,n){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,r=Object.prototype.toString,o=function(e){return!(i&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===r.call(e)},a=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==r.call(e)&&"[object Function]"===r.call(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,t.exports=s?o:a},{}],73:[function(e,t,n){"use strict";var i=Date.prototype.getDay,r=Object.prototype.toString,o="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;t.exports=function(e){return"object"==typeof e&&null!==e&&(o?function(e){try{return i.call(e),!0}catch(e){return!1}}(e):"[object Date]"===r.call(e))}},{}],74:[function(e,t,n){"use strict";var i=e("has"),r=RegExp.prototype.exec,o=Object.getOwnPropertyDescriptor,a=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;t.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s)return"[object RegExp]"===a.call(e);var t=o(e,"lastIndex");return!(!t||!i(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,r.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}}(e)}},{has:68}],75:[function(e,t,n){!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],i=e.document,r=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,l=n.indexOf,c={},u=c.toString,d=c.hasOwnProperty,p=d.toString,f=p.call(Object),h={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},g=function(e){return null!=e&&e===e.window},v={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,o,a=(n=n||i).createElement("script");if(a.text=e,t)for(r in v)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&a.setAttribute(r,o);n.head.appendChild(a).parentNode.removeChild(a)}function y(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[u.call(e)]||"object":typeof e}var _=function(e,t){return new _.fn.init(e,t)},w=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function x(e){var t=!!e&&"length"in e&&e.length,n=y(e);return!m(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}_.fn=_.prototype={jquery:"3.4.1",constructor:_,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=_.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return _.each(this,e)},map:function(e){return this.pushStack(_.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},_.extend=_.fn.extend=function(){var e,t,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)i=e[t],"__proto__"!==t&&a!==i&&(c&&i&&(_.isPlainObject(i)||(r=Array.isArray(i)))?(n=a[t],o=r&&!Array.isArray(n)?[]:r||_.isPlainObject(n)?n:{},r=!1,a[t]=_.extend(c,o,i)):void 0!==i&&(a[t]=i));return a},_.extend({expando:"jQuery"+("3.4.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==u.call(e))&&(!(t=r(e))||"function"==typeof(n=d.call(t,"constructor")&&t.constructor)&&p.call(n)===f)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){b(e,{nonce:t&&t.nonce})},each:function(e,t){var n,i=0;if(x(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(w,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(x(Object(e))?_.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,a=!n;r<o;r++)!t(e[r],r)!==a&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,s=[];if(x(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&s.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&s.push(r);return a.apply([],s)},guid:1,support:h}),"function"==typeof Symbol&&(_.fn[Symbol.iterator]=n[Symbol.iterator]),_.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});var k=function(e){var t,n,i,r,o,a,s,l,c,u,d,p,f,h,m,g,v,b,y,_="sizzle"+1*new Date,w=e.document,x=0,k=0,A=le(),C=le(),S=le(),M=le(),O=function(e,t){return e===t&&(d=!0),0},T={}.hasOwnProperty,E=[],P=E.pop,j=E.push,N=E.push,$=E.slice,L=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",q="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",F="\\["+q+"*("+R+")(?:"+q+"*([*^$|!~]?=)"+q+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+q+"*\\]",I=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",B=new RegExp(q+"+","g"),z=new RegExp("^"+q+"+|((?:^|[^\\\\])(?:\\\\.)*)"+q+"+$","g"),H=new RegExp("^"+q+"*,"+q+"*"),U=new RegExp("^"+q+"*([>+~]|"+q+")"+q+"*"),V=new RegExp(q+"|>"),W=new RegExp(I),Y=new RegExp("^"+R+"$"),G={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+q+"*(even|odd|(([+-]|)(\\d*)n|)"+q+"*(?:([+-]|)"+q+"*(\\d+)|))"+q+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+q+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+q+"*((?:-\\d)?\\d*)"+q+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+q+"?|("+q+")|.)","ig"),ne=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){p()},ae=_e(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{N.apply(E=$.call(w.childNodes),w.childNodes),E[w.childNodes.length].nodeType}catch(e){N={apply:E.length?function(e,t){j.apply(e,$.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function se(e,t,i,r){var o,s,c,u,d,h,v,b=t&&t.ownerDocument,x=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return i;if(!r&&((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,m)){if(11!==x&&(d=Z.exec(e)))if(o=d[1]){if(9===x){if(!(c=t.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if(b&&(c=b.getElementById(o))&&y(t,c)&&c.id===o)return i.push(c),i}else{if(d[2])return N.apply(i,t.getElementsByTagName(e)),i;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return N.apply(i,t.getElementsByClassName(o)),i}if(n.qsa&&!M[e+" "]&&(!g||!g.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(v=e,b=t,1===x&&V.test(e)){for((u=t.getAttribute("id"))?u=u.replace(ie,re):t.setAttribute("id",u=_),s=(h=a(e)).length;s--;)h[s]="#"+u+" "+ye(h[s]);v=h.join(","),b=ee.test(e)&&ve(t.parentNode)||t}try{return N.apply(i,b.querySelectorAll(v)),i}catch(t){M(e,!0)}finally{u===_&&t.removeAttribute("id")}}}return l(e.replace(z,"$1"),t,i,r)}function le(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function ce(e){return e[_]=!0,e}function ue(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce(function(t){return t=+t,ce(function(n,i){for(var r,o=e([],n.length,t),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},p=se.setDocument=function(e){var t,r,a=e?e.ownerDocument||e:w;return a!==f&&9===a.nodeType&&a.documentElement?(h=(f=a).documentElement,m=!o(f),w!==f&&(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",oe,!1):r.attachEvent&&r.attachEvent("onunload",oe)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=X.test(f.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=_,!f.getElementsByName||!f.getElementsByName(_).length}),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=X.test(f.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+q+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+q+"*(?:value|"+D+")"),e.querySelectorAll("[id~="+_+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||g.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+q+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=X.test(b=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),v.push("!=",I)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=X.test(h.compareDocumentPosition),y=t||X.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},O=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===f||e.ownerDocument===w&&y(w,e)?-1:t===f||t.ownerDocument===w&&y(w,t)?1:u?L(u,e)-L(u,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!r||!o)return e===f?-1:t===f?1:r?-1:o?1:u?L(u,e)-L(u,t):0;if(r===o)return pe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?pe(a[i],s[i]):a[i]===w?-1:s[i]===w?1:0},f):f},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),n.matchesSelector&&m&&!M[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var i=b.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){M(t,!0)}return se(t,f,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!==f&&p(e);var r=i.attrHandle[t.toLowerCase()],o=r&&T.call(i.attrHandle,t.toLowerCase())?r(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(ie,re)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,i=[],r=0,o=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(O),d){for(;t=e[o++];)t===e[o]&&(r=i.push(o));for(;r--;)e.splice(i[r],1)}return u=null,e},r=se.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},(i=se.selectors={cacheLength:50,createPseudo:ce,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=A[e+" "];return t||(t=new RegExp("(^|"+q+")"+e+"("+q+"|$)"))&&A(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var r=se.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,p,f,h,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),b=!l&&!s,y=!1;if(g){if(o){for(;m;){for(p=t;p=p[m];)if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&b){for(y=(f=(c=(u=(d=(p=g)[_]||(p[_]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===x&&c[1])&&c[2],p=f&&g.childNodes[f];p=++f&&p&&p[m]||(y=f=0)||h.pop();)if(1===p.nodeType&&++y&&p===t){u[e]=[x,f,y];break}}else if(b&&(y=f=(c=(u=(d=(p=t)[_]||(p[_]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===x&&c[1]),!1===y)for(;(p=++f&&p&&p[m]||(y=f=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++y||(b&&((u=(d=p[_]||(p[_]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[x,y]),p!==t)););return(y-=r)===i||y%i==0&&y/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return r[_]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,n){for(var i,o=r(e,t),a=o.length;a--;)e[i=L(e,o[a])]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ce(function(e){var t=[],n=[],i=s(e.replace(z,"$1"));return i[_]?ce(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:ce(function(e){return function(t){return se(e,t).length>0}}),contains:ce(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||r(t)).indexOf(e)>-1}}),lang:ce(function(e){return Y.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge(function(){return[0]}),last:ge(function(e,t){return[t-1]}),eq:ge(function(e,t,n){return[n<0?n+t:n]}),even:ge(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ge(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ge(function(e,t,n){for(var i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e}),gt:ge(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=he(t);function be(){}function ye(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function _e(e,t,n){var i=t.dir,r=t.next,o=r||i,a=n&&"parentNode"===o,s=k++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||a)return e(t,n,r);return!1}:function(t,n,l){var c,u,d,p=[x,s];if(l){for(;t=t[i];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||a)if(u=(d=t[_]||(t[_]={}))[t.uniqueID]||(d[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[i]||t;else{if((c=u[o])&&c[0]===x&&c[1]===s)return p[2]=c[2];if(u[o]=p,p[2]=e(t,n,l))return!0}return!1}}function we(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function xe(e,t,n,i,r){for(var o,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,i,r)||(a.push(o),c&&t.push(s)));return a}function ke(e,t,n,i,r,o){return i&&!i[_]&&(i=ke(i)),r&&!r[_]&&(r=ke(r,o)),ce(function(o,a,s,l){var c,u,d,p=[],f=[],h=a.length,m=o||function(e,t,n){for(var i=0,r=t.length;i<r;i++)se(e,t[i],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!o&&t?m:xe(m,p,e,s,l),v=n?r||(o?e:h||i)?[]:a:g;if(n&&n(g,v,s,l),i)for(c=xe(v,f),i(c,[],s,l),u=c.length;u--;)(d=c[u])&&(v[f[u]]=!(g[f[u]]=d));if(o){if(r||e){if(r){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(g[u]=d);r(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&(c=r?L(o,d):p[u])>-1&&(o[c]=!(a[c]=d))}}else v=xe(v===a?v.splice(h,v.length):v),r?r(null,a,v,l):N.apply(a,v)})}function Ae(e){for(var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],l=a?1:0,u=_e(function(e){return e===t},s,!0),d=_e(function(e){return L(t,e)>-1},s,!0),p=[function(e,n,i){var r=!a&&(i||n!==c)||((t=n).nodeType?u(e,n,i):d(e,n,i));return t=null,r}];l<o;l++)if(n=i.relative[e[l].type])p=[_e(we(p),n)];else{if((n=i.filter[e[l].type].apply(null,e[l].matches))[_]){for(r=++l;r<o&&!i.relative[e[r].type];r++);return ke(l>1&&we(p),l>1&&ye(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,l<r&&Ae(e.slice(l,r)),r<o&&Ae(e=e.slice(r)),r<o&&ye(e))}p.push(n)}return we(p)}return be.prototype=i.filters=i.pseudos,i.setFilters=new be,a=se.tokenize=function(e,t){var n,r,o,a,s,l,c,u=C[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=i.preFilter;s;){for(a in n&&!(r=H.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length)),i.filter)!(r=G[a].exec(s))||c[a]&&!(r=c[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):C(e,l).slice(0)},s=se.compile=function(e,t){var n,r=[],o=[],s=S[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Ae(t[n]))[_]?r.push(s):o.push(s);(s=S(e,function(e,t){var n=t.length>0,r=e.length>0,o=function(o,a,s,l,u){var d,h,g,v=0,b="0",y=o&&[],_=[],w=c,k=o||r&&i.find.TAG("*",u),A=x+=null==w?1:Math.random()||.1,C=k.length;for(u&&(c=a===f||a||u);b!==C&&null!=(d=k[b]);b++){if(r&&d){for(h=0,a||d.ownerDocument===f||(p(d),s=!m);g=e[h++];)if(g(d,a||f,s)){l.push(d);break}u&&(x=A)}n&&((d=!g&&d)&&v--,o&&y.push(d))}if(v+=b,n&&b!==v){for(h=0;g=t[h++];)g(y,_,a,s);if(o){if(v>0)for(;b--;)y[b]||_[b]||(_[b]=P.call(l));_=xe(_)}N.apply(l,_),u&&!o&&_.length>0&&v+t.length>1&&se.uniqueSort(l)}return u&&(x=A,c=w),y};return n?ce(o):o}(o,r))).selector=e}return s},l=se.select=function(e,t,n,r){var o,l,c,u,d,p="function"==typeof e&&e,f=!r&&a(e=p.selector||e);if(n=n||[],1===f.length){if((l=f[0]=f[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&i.relative[l[1].type]){if(!(t=(i.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(o=G.needsContext.test(e)?0:l.length;o--&&(c=l[o],!i.relative[u=c.type]);)if((d=i.find[u])&&(r=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ve(t.parentNode)||t))){if(l.splice(o,1),!(e=r.length&&ye(l)))return N.apply(n,r),n;break}}return(p||s(e,f))(r,t,!m,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=_.split("").sort(O).join("")===_,n.detectDuplicates=!!d,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||de(D,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),se}(e);_.find=k,_.expr=k.selectors,_.expr[":"]=_.expr.pseudos,_.uniqueSort=_.unique=k.uniqueSort,_.text=k.getText,_.isXMLDoc=k.isXML,_.contains=k.contains,_.escapeSelector=k.escape;var A=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&_(e).is(n))break;i.push(e)}return i},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},S=_.expr.match.needsContext;function M(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var O=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,t,n){return m(t)?_.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?_.grep(e,function(e){return e===t!==n}):"string"!=typeof t?_.grep(e,function(e){return l.call(t,e)>-1!==n}):_.filter(t,e,n)}_.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?_.find.matchesSelector(i,e)?[i]:[]:_.find.matches(e,_.grep(t,function(e){return 1===e.nodeType}))},_.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(_(e).filter(function(){for(t=0;t<i;t++)if(_.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)_.find(e,r[t],n);return i>1?_.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&S.test(e)?_(e):e||[],!1).length}});var E,P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(_.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||E,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:P.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof _?t[0]:t,_.merge(this,_.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:i,!0)),O.test(r[1])&&_.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=i.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(_):_.makeArray(e,this)}).prototype=_.fn,E=_(i);var j=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function $(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}_.fn.extend({has:function(e){var t=_(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(_.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,o=[],a="string"!=typeof e&&_(e);if(!S.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&_.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?_.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?l.call(_(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(_.uniqueSort(_.merge(this.get(),_(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),_.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return A(e,"parentNode")},parentsUntil:function(e,t,n){return A(e,"parentNode",n)},next:function(e){return $(e,"nextSibling")},prev:function(e){return $(e,"previousSibling")},nextAll:function(e){return A(e,"nextSibling")},prevAll:function(e){return A(e,"previousSibling")},nextUntil:function(e,t,n){return A(e,"nextSibling",n)},prevUntil:function(e,t,n){return A(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(M(e,"template")&&(e=e.content||e),_.merge([],e.childNodes))}},function(e,t){_.fn[e]=function(n,i){var r=_.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=_.filter(i,r)),this.length>1&&(N[e]||_.uniqueSort(r),j.test(e)&&r.reverse()),this.pushStack(r)}});var L=/[^\x20\t\r\n\f]+/g;function D(e){return e}function q(e){throw e}function R(e,t,n,i){var r;try{e&&m(r=e.promise)?r.call(e).done(t).fail(n):e&&m(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}_.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return _.each(e.match(L)||[],function(e,n){t[n]=!0}),t}(e):_.extend({},e);var t,n,i,r,o=[],a=[],s=-1,l=function(){for(r=r||e.once,i=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){_.each(n,function(n,i){m(i)?e.unique&&c.has(i)||o.push(i):i&&i.length&&"string"!==y(i)&&t(i)})}(arguments),n&&!t&&l()),this},remove:function(){return _.each(arguments,function(e,t){for(var n;(n=_.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?_.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=a=[],n||t||(o=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},_.extend({Deferred:function(t){var n=[["notify","progress",_.Callbacks("memory"),_.Callbacks("memory"),2],["resolve","done",_.Callbacks("once memory"),_.Callbacks("once memory"),0,"resolved"],["reject","fail",_.Callbacks("once memory"),_.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return _.Deferred(function(t){_.each(n,function(n,i){var r=m(e[i[4]])&&e[i[4]];o[i[1]](function(){var e=r&&r.apply(this,arguments);e&&m(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(t,i,r){var o=0;function a(t,n,i,r){return function(){var s=this,l=arguments,c=function(){var e,c;if(!(t<o)){if((e=i.apply(s,l))===n.promise())throw new TypeError("Thenable self-resolution");c=e&&("object"==typeof e||"function"==typeof e)&&e.then,m(c)?r?c.call(e,a(o,n,D,r),a(o,n,q,r)):(o++,c.call(e,a(o,n,D,r),a(o,n,q,r),a(o,n,D,n.notifyWith))):(i!==D&&(s=void 0,l=[e]),(r||n.resolveWith)(s,l))}},u=r?c:function(){try{c()}catch(e){_.Deferred.exceptionHook&&_.Deferred.exceptionHook(e,u.stackTrace),t+1>=o&&(i!==q&&(s=void 0,l=[e]),n.rejectWith(s,l))}};t?u():(_.Deferred.getStackHook&&(u.stackTrace=_.Deferred.getStackHook()),e.setTimeout(u))}}return _.Deferred(function(e){n[0][3].add(a(0,e,m(r)?r:D,e.notifyWith)),n[1][3].add(a(0,e,m(t)?t:D)),n[2][3].add(a(0,e,m(i)?i:q))}).promise()},promise:function(e){return null!=e?_.extend(e,r):r}},o={};return _.each(n,function(e,t){var a=t[2],s=t[5];r[t[1]]=a.add,s&&a.add(function(){i=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),r.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),r=o.call(arguments),a=_.Deferred(),s=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(i,r)}};if(t<=1&&(R(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||m(r[n]&&r[n].then)))return a.then();for(;n--;)R(r[n],s(n),a.reject);return a.promise()}});var F=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&F.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},_.readyException=function(t){e.setTimeout(function(){throw t})};var I=_.Deferred();function B(){i.removeEventListener("DOMContentLoaded",B),e.removeEventListener("load",B),_.ready()}_.fn.ready=function(e){return I.then(e).catch(function(e){_.readyException(e)}),this},_.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--_.readyWait:_.isReady)||(_.isReady=!0,!0!==e&&--_.readyWait>0||I.resolveWith(i,[_]))}}),_.ready.then=I.then,"complete"===i.readyState||"loading"!==i.readyState&&!i.documentElement.doScroll?e.setTimeout(_.ready):(i.addEventListener("DOMContentLoaded",B),e.addEventListener("load",B));var z=function(e,t,n,i,r,o,a){var s=0,l=e.length,c=null==n;if("object"===y(n))for(s in r=!0,n)z(e,t,s,n[s],!0,o,a);else if(void 0!==i&&(r=!0,m(i)||(a=!0),c&&(a?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(_(e),n)})),t))for(;s<l;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return r?e:c?t.call(e):l?t(e[0],n):o},H=/^-ms-/,U=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function W(e){return e.replace(H,"ms-").replace(U,V)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=_.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[W(t)]=n;else for(i in t)r[W(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][W(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(W):(t=W(t))in i?[t]:t.match(L)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||_.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!_.isEmptyObject(t)}};var K=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,X=/[A-Z]/g;function Z(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(X,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:J.test(e)?JSON.parse(e):e)}(n)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}_.extend({hasData:function(e){return Q.hasData(e)||K.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return K.access(e,t,n)},_removeData:function(e,t){K.remove(e,t)}}),_.fn.extend({data:function(e,t){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(r=Q.get(o),1===o.nodeType&&!K.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&(i=W(i.slice(5)),Z(o,i,r[i]));K.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){Q.set(this,e)}):z(this,function(t){var n;if(o&&void 0===t)return void 0!==(n=Q.get(o,e))?n:void 0!==(n=Z(o,e))?n:void 0;this.each(function(){Q.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),_.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=K.get(e,t),n&&(!i||Array.isArray(n)?i=K.access(e,t,_.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=_.queue(e,t),i=n.length,r=n.shift(),o=_._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,function(){_.dequeue(e,t)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return K.get(e,n)||K.access(e,n,{empty:_.Callbacks("once memory").add(function(){K.remove(e,[t+"queue",n])})})}}),_.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?_.queue(this[0],e):void 0===t?this:this.each(function(){var n=_.queue(this,e,t);_._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&_.dequeue(this,e)})},dequeue:function(e){return this.each(function(){_.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=_.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=K.get(o[a],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],ie=i.documentElement,re=function(e){return _.contains(e.ownerDocument,e)},oe={composed:!0};ie.getRootNode&&(re=function(e){return _.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&re(e)&&"none"===_.css(e,"display")},se=function(e,t,n,i){var r,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in r=n.apply(e,i||[]),t)e.style[o]=a[o];return r};function le(e,t,n,i){var r,o,a=20,s=i?function(){return i.cur()}:function(){return _.css(e,t,"")},l=s(),c=n&&n[3]||(_.cssNumber[t]?"":"px"),u=e.nodeType&&(_.cssNumber[t]||"px"!==c&&+l)&&te.exec(_.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)_.style(e,t,u+c),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),u/=o;u*=2,_.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}var ce={};function ue(e){var t,n=e.ownerDocument,i=e.nodeName,r=ce[i];return r||(t=n.body.appendChild(n.createElement(i)),r=_.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),ce[i]=r,r)}function de(e,t){for(var n,i,r=[],o=0,a=e.length;o<a;o++)(i=e[o]).style&&(n=i.style.display,t?("none"===n&&(r[o]=K.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&ae(i)&&(r[o]=ue(i))):"none"!==n&&(r[o]="none",K.set(i,"display",n)));for(o=0;o<a;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}_.fn.extend({show:function(){return de(this,!0)},hide:function(){return de(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?_(this).show():_(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,fe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,me={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&M(e,t)?_.merge([e],n):n}function ve(e,t){for(var n=0,i=e.length;n<i;n++)K.set(e[n],"globalEval",!t||K.get(t[n],"globalEval"))}me.optgroup=me.option,me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td;var be,ye,_e=/<|&#?\w+;/;function we(e,t,n,i,r){for(var o,a,s,l,c,u,d=t.createDocumentFragment(),p=[],f=0,h=e.length;f<h;f++)if((o=e[f])||0===o)if("object"===y(o))_.merge(p,o.nodeType?[o]:o);else if(_e.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(fe.exec(o)||["",""])[1].toLowerCase(),l=me[s]||me._default,a.innerHTML=l[1]+_.htmlPrefilter(o)+l[2],u=l[0];u--;)a=a.lastChild;_.merge(p,a.childNodes),(a=d.firstChild).textContent=""}else p.push(t.createTextNode(o));for(d.textContent="",f=0;o=p[f++];)if(i&&_.inArray(o,i)>-1)r&&r.push(o);else if(c=re(o),a=ge(d.appendChild(o),"script"),c&&ve(a),n)for(u=0;o=a[u++];)he.test(o.type||"")&&n.push(o);return d}be=i.createDocumentFragment().appendChild(i.createElement("div")),(ye=i.createElement("input")).setAttribute("type","radio"),ye.setAttribute("checked","checked"),ye.setAttribute("name","t"),be.appendChild(ye),h.checkClone=be.cloneNode(!0).cloneNode(!0).lastChild.checked,be.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!be.cloneNode(!0).lastChild.defaultValue;var xe=/^key/,ke=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ae=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Se(){return!1}function Me(e,t){return e===function(){try{return i.activeElement}catch(e){}}()==("focus"===t)}function Oe(e,t,n,i,r,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=void 0),t)Oe(e,s,n,i,t[s],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Se;else if(!r)return e;return 1===o&&(a=r,(r=function(e){return _().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=_.guid++)),e.each(function(){_.event.add(this,t,r,i,n)})}function Te(e,t,n){n?(K.set(e,t,!1),_.event.add(e,t,{namespace:!1,handler:function(e){var i,r,a=K.get(this,t);if(1&e.isTrigger&&this[t]){if(a.length)(_.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=o.call(arguments),K.set(this,t,a),i=n(this,t),this[t](),a!==(r=K.get(this,t))||i?K.set(this,t,!1):r={},a!==r)return e.stopImmediatePropagation(),e.preventDefault(),r.value}else a.length&&(K.set(this,t,{value:_.event.trigger(_.extend(a[0],_.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,t)&&_.event.add(e,t,Ce)}_.event={global:{},add:function(e,t,n,i,r){var o,a,s,l,c,u,d,p,f,h,m,g=K.get(e);if(g)for(n.handler&&(n=(o=n).handler,r=o.selector),r&&_.find.matchesSelector(ie,r),n.guid||(n.guid=_.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(t){return void 0!==_&&_.event.triggered!==t.type?_.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(L)||[""]).length;c--;)f=m=(s=Ae.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f&&(d=_.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=_.event.special[f]||{},u=_.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&_.expr.match.needsContext.test(r),namespace:h.join(".")},o),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,h,a)||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,u):p.push(u),_.event.global[f]=!0)},remove:function(e,t,n,i,r){var o,a,s,l,c,u,d,p,f,h,m,g=K.hasData(e)&&K.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(L)||[""]).length;c--;)if(f=m=(s=Ae.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f){for(d=_.event.special[f]||{},p=l[f=(i?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)u=p[o],!r&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(o,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||_.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)_.event.remove(e,f+t[c],n,i,!0);_.isEmptyObject(l)&&K.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,a,s=_.event.fix(e),l=new Array(arguments.length),c=(K.get(this,"events")||{})[s.type]||[],u=_.event.special[s.type]||{};for(l[0]=s,t=1;t<arguments.length;t++)l[t]=arguments[t];if(s.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,s)){for(a=_.event.handlers.call(this,s,c),t=0;(r=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==o.namespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(i=((_.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,l))&&!1===(s.result=i)&&(s.preventDefault(),s.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,i,r,o,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n<l;n++)void 0===a[r=(i=t[n]).selector+" "]&&(a[r]=i.needsContext?_(r,this).index(c)>-1:_.find(r,this,null,[c]).length),a[r]&&o.push(i);o.length&&s.push({elem:c,handlers:o})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(_.Event.prototype,e,{enumerable:!0,configurable:!0,get:m(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[_.expando]?e:new _.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&M(t,"input")&&Te(t,"click",Ce),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&M(t,"input")&&Te(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&M(t,"input")&&K.get(t,"click")||M(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},_.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},_.Event=function(e,t){if(!(this instanceof _.Event))return new _.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:Se,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&_.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[_.expando]=!0},_.Event.prototype={constructor:_.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},_.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&xe.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&ke.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},_.event.addProp),_.each({focus:"focusin",blur:"focusout"},function(e,t){_.event.special[e]={setup:function(){return Te(this,e,Me),!1},trigger:function(){return Te(this,e),!0},delegateType:t}}),_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){_.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,r=e.handleObj;return i&&(i===this||_.contains(this,i))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}}),_.fn.extend({on:function(e,t,n,i){return Oe(this,e,t,n,i)},one:function(e,t,n,i){return Oe(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,_(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Se),this.each(function(){_.event.remove(this,e,n,t)})}});var Ee=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Pe=/<script|<style|<link/i,je=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function $e(e,t){return M(e,"table")&&M(11!==t.nodeType?t:t.firstChild,"tr")&&_(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function De(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function qe(e,t){var n,i,r,o,a,s,l,c;if(1===t.nodeType){if(K.hasData(e)&&(o=K.access(e),a=K.set(t,o),c=o.events))for(r in delete a.handle,a.events={},c)for(n=0,i=c[r].length;n<i;n++)_.event.add(t,r,c[r][n]);Q.hasData(e)&&(s=Q.access(e),l=_.extend({},s),Q.set(t,l))}}function Re(e,t,n,i){t=a.apply([],t);var r,o,s,l,c,u,d=0,p=e.length,f=p-1,g=t[0],v=m(g);if(v||p>1&&"string"==typeof g&&!h.checkClone&&je.test(g))return e.each(function(r){var o=e.eq(r);v&&(t[0]=g.call(this,r,o.html())),Re(o,t,n,i)});if(p&&(o=(r=we(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(l=(s=_.map(ge(r,"script"),Le)).length;d<p;d++)c=r,d!==f&&(c=_.clone(c,!0,!0),l&&_.merge(s,ge(c,"script"))),n.call(e[d],c,d);if(l)for(u=s[s.length-1].ownerDocument,_.map(s,De),d=0;d<l;d++)c=s[d],he.test(c.type||"")&&!K.access(c,"globalEval")&&_.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?_._evalUrl&&!c.noModule&&_._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")}):b(c.textContent.replace(Ne,""),c,u))}return e}function Fe(e,t,n){for(var i,r=t?_.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||_.cleanData(ge(i)),i.parentNode&&(n&&re(i)&&ve(ge(i,"script")),i.parentNode.removeChild(i));return e}_.extend({htmlPrefilter:function(e){return e.replace(Ee,"<$1></$2>")},clone:function(e,t,n){var i,r,o,a,s,l,c,u=e.cloneNode(!0),d=re(e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||_.isXMLDoc(e)))for(a=ge(u),i=0,r=(o=ge(e)).length;i<r;i++)s=o[i],l=a[i],void 0,"input"===(c=l.nodeName.toLowerCase())&&pe.test(s.type)?l.checked=s.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ge(e),a=a||ge(u),i=0,r=o.length;i<r;i++)qe(o[i],a[i]);else qe(e,u);return(a=ge(u,"script")).length>0&&ve(a,!d&&ge(e,"script")),u},cleanData:function(e){for(var t,n,i,r=_.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[K.expando]){if(t.events)for(i in t.events)r[i]?_.event.remove(n,i):_.removeEvent(n,i,t.handle);n[K.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),_.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return z(this,function(e){return void 0===e?_.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||$e(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=$e(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(_.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return _.clone(this,e,t)})},html:function(e){return z(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Pe.test(e)&&!me[(fe.exec(e)||["",""])[1].toLowerCase()]){e=_.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(_.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,function(t){var n=this.parentNode;_.inArray(this,e)<0&&(_.cleanData(ge(this)),n&&n.replaceChild(t,this))},e)}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){_.fn[e]=function(e){for(var n,i=[],r=_(e),o=r.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),_(r[a])[t](n),s.apply(i,n.get());return this.pushStack(i)}});var Ie=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Be=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},ze=new RegExp(ne.join("|"),"i");function He(e,t,n){var i,r,o,a,s=e.style;return(n=n||Be(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||re(e)||(a=_.style(e,t)),!h.pixelBoxStyles()&&Ie.test(a)&&ze.test(t)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o)),void 0!==a?a+"":a}function Ue(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ie.appendChild(c).appendChild(u);var t=e.getComputedStyle(u);r="1%"!==t.top,l=12===n(t.marginLeft),u.style.right="60%",s=36===n(t.right),o=36===n(t.width),u.style.position="absolute",a=12===n(u.offsetWidth/3),ie.removeChild(c),u=null}}function n(e){return Math.round(parseFloat(e))}var r,o,a,s,l,c=i.createElement("div"),u=i.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===u.style.backgroundClip,_.extend(h,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),a}}))}();var Ve=["Webkit","Moz","ms"],We=i.createElement("div").style,Ye={};function Ge(e){var t=_.cssProps[e]||Ye[e];return t||(e in We?e:Ye[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ve.length;n--;)if((e=Ve[n]+t)in We)return e}(e)||e)}var Ke=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Je={position:"absolute",visibility:"hidden",display:"block"},Xe={letterSpacing:"0",fontWeight:"400"};function Ze(e,t,n){var i=te.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function et(e,t,n,i,r,o){var a="width"===t?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=_.css(e,n+ne[a],!0,r)),i?("content"===n&&(l-=_.css(e,"padding"+ne[a],!0,r)),"margin"!==n&&(l-=_.css(e,"border"+ne[a]+"Width",!0,r))):(l+=_.css(e,"padding"+ne[a],!0,r),"padding"!==n?l+=_.css(e,"border"+ne[a]+"Width",!0,r):s+=_.css(e,"border"+ne[a]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))||0),l}function tt(e,t,n){var i=Be(e),r=(!h.boxSizingReliable()||n)&&"border-box"===_.css(e,"boxSizing",!1,i),o=r,a=He(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ie.test(a)){if(!n)return a;a="auto"}return(!h.boxSizingReliable()&&r||"auto"===a||!parseFloat(a)&&"inline"===_.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===_.css(e,"boxSizing",!1,i),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+et(e,t,n||(r?"border":"content"),o,i,a)+"px"}function nt(e,t,n,i,r){return new nt.prototype.init(e,t,n,i,r)}_.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=He(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,a,s=W(t),l=Qe.test(t),c=e.style;if(l||(t=Ge(s)),a=_.cssHooks[t]||_.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(e,!1,i))?r:c[t];"string"===(o=typeof n)&&(r=te.exec(n))&&r[1]&&(n=le(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(_.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var r,o,a,s=W(t);return Qe.test(t)||(t=Ge(s)),(a=_.cssHooks[t]||_.cssHooks[s])&&"get"in a&&(r=a.get(e,!0,n)),void 0===r&&(r=He(e,t,i)),"normal"===r&&t in Xe&&(r=Xe[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),_.each(["height","width"],function(e,t){_.cssHooks[t]={get:function(e,n,i){if(n)return!Ke.test(_.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,i):se(e,Je,function(){return tt(e,t,i)})},set:function(e,n,i){var r,o=Be(e),a=!h.scrollboxSize()&&"absolute"===o.position,s=(a||i)&&"border-box"===_.css(e,"boxSizing",!1,o),l=i?et(e,t,i,s,o):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-et(e,t,"border",!1,o)-.5)),l&&(r=te.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=_.css(e,t)),Ze(0,n,l)}}}),_.cssHooks.marginLeft=Ue(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(He(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),_.each({margin:"",padding:"",border:"Width"},function(e,t){_.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+ne[i]+t]=o[i]||o[i-2]||o[0];return r}},"margin"!==e&&(_.cssHooks[e+t].set=Ze)}),_.fn.extend({css:function(e,t){return z(this,function(e,t,n){var i,r,o={},a=0;if(Array.isArray(t)){for(i=Be(e),r=t.length;a<r;a++)o[t[a]]=_.css(e,t[a],!1,i);return o}return void 0!==n?_.style(e,t,n):_.css(e,t)},e,t,arguments.length>1)}}),_.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||_.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(_.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=_.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=_.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){_.fx.step[e.prop]?_.fx.step[e.prop](e):1!==e.elem.nodeType||!_.cssHooks[e.prop]&&null==e.elem.style[Ge(e.prop)]?e.elem[e.prop]=e.now:_.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},_.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},_.fx=nt.prototype.init,_.fx.step={};var it,rt,ot=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){rt&&(!1===i.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(st):e.setTimeout(st,_.fx.interval),_.fx.tick())}function lt(){return e.setTimeout(function(){it=void 0}),it=Date.now()}function ct(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=ne[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function ut(e,t,n){for(var i,r=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,t,e))return i}function dt(e,t,n){var i,r,o=0,a=dt.prefilters.length,s=_.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=it||lt(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(i);return s.notifyWith(e,[c,i,n]),i<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:_.extend({},t),opts:_.extend(!0,{specialEasing:{},easing:_.easing._default},n),originalProperties:t,originalOptions:n,startTime:it||lt(),duration:n.duration,tweens:[],createTween:function(t,n){var i=_.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,i,r,o,a;for(n in e)if(r=t[i=W(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(a=_.cssHooks[i])&&"expand"in a)for(n in o=a.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}(u,c.opts.specialEasing);o<a;o++)if(i=dt.prefilters[o].call(c,e,u,c.opts))return m(i.stop)&&(_._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return _.map(u,ut,c),m(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),_.fx.timer(_.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}_.Animation=_.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(L);for(var n,i=0,r=e.length;i<r;i++)n=e[i],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,r,o,a,s,l,c,u,d="width"in t||"height"in t,p=this,f={},h=e.style,m=e.nodeType&&ae(e),g=K.get(e,"fxshow");for(i in n.queue||(null==(a=_._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,_.queue(e,"fx").length||a.empty.fire()})})),t)if(r=t[i],ot.test(r)){if(delete t[i],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}f[i]=g&&g[i]||_.style(e,i)}if((l=!_.isEmptyObject(t))||!_.isEmptyObject(f))for(i in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=g&&g.display)&&(c=K.get(e,"display")),"none"===(u=_.css(e,"display"))&&(c?u=c:(de([e],!0),c=e.style.display||c,u=_.css(e,"display"),de([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===_.css(e,"float")&&(l||(p.done(function(){h.display=c}),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1,f)l||(g?"hidden"in g&&(m=g.hidden):g=K.access(e,"fxshow",{display:c}),o&&(g.hidden=!m),m&&de([e],!0),p.done(function(){for(i in m||de([e]),K.remove(e,"fxshow"),f)_.style(e,i,f[i])})),l=ut(m?g[i]:0,i,p),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),_.speed=function(e,t,n){var i=e&&"object"==typeof e?_.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return _.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in _.fx.speeds?i.duration=_.fx.speeds[i.duration]:i.duration=_.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){m(i.old)&&i.old.call(this),i.queue&&_.dequeue(this,i.queue)},i},_.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=_.isEmptyObject(e),o=_.speed(t,n,i),a=function(){var t=dt(this,_.extend({},e),o);(r||K.get(this,"finish"))&&t.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",o=_.timers,a=K.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&at.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||_.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=K.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=_.timers,a=i?i.length:0;for(n.finish=!0,_.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),_.each(["toggle","show","hide"],function(e,t){var n=_.fn[t];_.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,i,r)}}),_.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){_.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),_.timers=[],_.fx.tick=function(){var e,t=0,n=_.timers;for(it=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||_.fx.stop(),it=void 0},_.fx.timer=function(e){_.timers.push(e),_.fx.start()},_.fx.interval=13,_.fx.start=function(){rt||(rt=!0,st())},_.fx.stop=function(){rt=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(t,n){return t=_.fx&&_.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(n,i){var r=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(r)}})},function(){var e=i.createElement("input"),t=i.createElement("select").appendChild(i.createElement("option"));e.type="checkbox",h.checkOn=""!==e.value,h.optSelected=t.selected,(e=i.createElement("input")).value="t",e.type="radio",h.radioValue="t"===e.value}();var pt,ft=_.expr.attrHandle;_.fn.extend({attr:function(e,t){return z(this,_.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){_.removeAttr(this,e)})}}),_.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?_.prop(e,t,n):(1===o&&_.isXMLDoc(e)||(r=_.attrHooks[t.toLowerCase()]||(_.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void _.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=_.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&M(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(L);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?_.removeAttr(e,n):e.setAttribute(n,n),n}},_.each(_.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ft[t]||_.find.attr;ft[t]=function(e,t,i){var r,o,a=t.toLowerCase();return i||(o=ft[a],ft[a]=r,r=null!=n(e,t,i)?a:null,ft[a]=o),r}});var ht=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function gt(e){return(e.match(L)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(L)||[]}_.fn.extend({prop:function(e,t){return z(this,_.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[_.propFix[e]||e]})}}),_.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&_.isXMLDoc(e)||(t=_.propFix[t]||t,r=_.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=_.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(_.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_.propFix[this.toLowerCase()]=this}),_.fn.extend({addClass:function(e){var t,n,i,r,o,a,s,l=0;if(m(e))return this.each(function(t){_(this).addClass(e.call(this,t,vt(this)))});if((t=bt(e)).length)for(;n=this[l++];)if(r=vt(n),i=1===n.nodeType&&" "+gt(r)+" "){for(a=0;o=t[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(s=gt(i))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,i,r,o,a,s,l=0;if(m(e))return this.each(function(t){_(this).removeClass(e.call(this,t,vt(this)))});if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[l++];)if(r=vt(n),i=1===n.nodeType&&" "+gt(r)+" "){for(a=0;o=t[a++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");r!==(s=gt(i))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):m(e)?this.each(function(n){_(this).toggleClass(e.call(this,n,vt(this),t),t)}):this.each(function(){var t,r,o,a;if(i)for(r=0,o=_(this),a=bt(e);t=a[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=vt(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":K.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+gt(vt(n))+" ").indexOf(t)>-1)return!0;return!1}});var yt=/\r/g;_.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=m(e),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,_(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=_.map(r,function(e){return null==e?"":e+""})),(t=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))})):r?(t=_.valHooks[r.type]||_.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(yt,""):null==n?"":n:void 0}}),_.extend({valHooks:{option:{get:function(e){var t=_.find.attr(e,"value");return null!=t?t:gt(_.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:r.length;for(i=o<0?l:a?o:0;i<l;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!M(n.parentNode,"optgroup"))){if(t=_(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,i,r=e.options,o=_.makeArray(t),a=r.length;a--;)((i=r[a]).selected=_.inArray(_.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),_.each(["radio","checkbox"],function(){_.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=_.inArray(_(e).val(),t)>-1}},h.checkOn||(_.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var _t=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};_.extend(_.event,{trigger:function(t,n,r,o){var a,s,l,c,u,p,f,h,v=[r||i],b=d.call(t,"type")?t.type:t,y=d.call(t,"namespace")?t.namespace.split("."):[];if(s=h=l=r=r||i,3!==r.nodeType&&8!==r.nodeType&&!_t.test(b+_.event.triggered)&&(b.indexOf(".")>-1&&(b=(y=b.split(".")).shift(),y.sort()),u=b.indexOf(":")<0&&"on"+b,(t=t[_.expando]?t:new _.Event(b,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:_.makeArray(n,[t]),f=_.event.special[b]||{},o||!f.trigger||!1!==f.trigger.apply(r,n))){if(!o&&!f.noBubble&&!g(r)){for(c=f.delegateType||b,_t.test(c+b)||(s=s.parentNode);s;s=s.parentNode)v.push(s),l=s;l===(r.ownerDocument||i)&&v.push(l.defaultView||l.parentWindow||e)}for(a=0;(s=v[a++])&&!t.isPropagationStopped();)h=s,t.type=a>1?c:f.bindType||b,(p=(K.get(s,"events")||{})[t.type]&&K.get(s,"handle"))&&p.apply(s,n),(p=u&&s[u])&&p.apply&&Y(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=b,o||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(v.pop(),n)||!Y(r)||u&&m(r[b])&&!g(r)&&((l=r[u])&&(r[u]=null),_.event.triggered=b,t.isPropagationStopped()&&h.addEventListener(b,wt),r[b](),t.isPropagationStopped()&&h.removeEventListener(b,wt),_.event.triggered=void 0,l&&(r[u]=l)),t.result}},simulate:function(e,t,n){var i=_.extend(new _.Event,n,{type:e,isSimulated:!0});_.event.trigger(i,null,t)}}),_.fn.extend({trigger:function(e,t){return this.each(function(){_.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return _.event.trigger(e,t,n,!0)}}),h.focusin||_.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){_.event.simulate(t,e.target,_.event.fix(e))};_.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=K.access(i,t);r||i.addEventListener(e,n,!0),K.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=K.access(i,t)-1;r?K.access(i,t,r):(i.removeEventListener(e,n,!0),K.remove(i,t))}}});var xt=e.location,kt=Date.now(),At=/\?/;_.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||_.error("Invalid XML: "+t),n};var Ct=/\[\]$/,St=/\r?\n/g,Mt=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Tt(e,t,n,i){var r;if(Array.isArray(t))_.each(t,function(t,r){n||Ct.test(e)?i(e,r):Tt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==y(t))i(e,t);else for(r in t)Tt(e+"["+r+"]",t[r],n,i)}_.param=function(e,t){var n,i=[],r=function(e,t){var n=m(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!_.isPlainObject(e))_.each(e,function(){r(this.name,this.value)});else for(n in e)Tt(n,e[n],t,r);return i.join("&")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=_.prop(this,"elements");return e?_.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!_(this).is(":disabled")&&Ot.test(this.nodeName)&&!Mt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=_(this).val();return null==n?null:Array.isArray(n)?_.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}});var Et=/%20/g,Pt=/#.*$/,jt=/([?&])_=[^&]*/,Nt=/^(.*?):[ \t]*([^\r\n]*)$/gm,$t=/^(?:GET|HEAD)$/,Lt=/^\/\//,Dt={},qt={},Rt="*/".concat("*"),Ft=i.createElement("a");function It(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(L)||[];if(m(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Bt(e,t,n,i){var r={},o=e===qt;function a(s){var l;return r[s]=!0,_.each(e[s]||[],function(e,s){var c=s(t,n,i);return"string"!=typeof c||o||r[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),l}return a(t.dataTypes[0])||!r["*"]&&a("*")}function zt(e,t){var n,i,r=_.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&_.extend(!0,e,i),e}Ft.href=xt.href,_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Rt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,_.ajaxSettings),t):zt(_.ajaxSettings,e)},ajaxPrefilter:It(Dt),ajaxTransport:It(qt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,o,a,s,l,c,u,d,p,f,h=_.ajaxSetup({},n),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?_(m):_.event,v=_.Deferred(),b=_.Callbacks("once memory"),y=h.statusCode||{},w={},x={},k="canceled",A={readyState:0,getResponseHeader:function(e){var t;if(u){if(!s)for(s={};t=Nt.exec(a);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?a:null},setRequestHeader:function(e,t){return null==u&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==u&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)A.always(e[A.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||k;return r&&r.abort(t),C(0,t),this}};if(v.promise(A),h.url=((t||h.url||xt.href)+"").replace(Lt,xt.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(L)||[""],null==h.crossDomain){c=i.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Ft.protocol+"//"+Ft.host!=c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=_.param(h.data,h.traditional)),Bt(Dt,h,n,A),u)return A;for(p in(d=_.event&&h.global)&&0==_.active++&&_.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!$t.test(h.type),o=h.url.replace(Pt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Et,"+")):(f=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(At.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(jt,"$1"),f=(At.test(o)?"&":"?")+"_="+kt+++f),h.url=o+f),h.ifModified&&(_.lastModified[o]&&A.setRequestHeader("If-Modified-Since",_.lastModified[o]),_.etag[o]&&A.setRequestHeader("If-None-Match",_.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&A.setRequestHeader("Content-Type",h.contentType),A.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Rt+"; q=0.01":""):h.accepts["*"]),h.headers)A.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(m,A,h)||u))return A.abort();if(k="abort",b.add(h.complete),A.done(h.success),A.fail(h.error),r=Bt(qt,h,n,A)){if(A.readyState=1,d&&g.trigger("ajaxSend",[A,h]),u)return A;h.async&&h.timeout>0&&(l=e.setTimeout(function(){A.abort("timeout")},h.timeout));try{u=!1,r.send(w,C)}catch(e){if(u)throw e;C(-1,e)}}else C(-1,"No Transport");function C(t,n,i,s){var c,p,f,w,x,k=n;u||(u=!0,l&&e.clearTimeout(l),r=void 0,a=s||"",A.readyState=t>0?4:0,c=t>=200&&t<300||304===t,i&&(w=function(e,t,n){for(var i,r,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(h,A,i)),w=function(e,t,n,i){var r,o,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(r in c)if((s=r.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[r]:!0!==c[r]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(h,w,A,c),c?(h.ifModified&&((x=A.getResponseHeader("Last-Modified"))&&(_.lastModified[o]=x),(x=A.getResponseHeader("etag"))&&(_.etag[o]=x)),204===t||"HEAD"===h.type?k="nocontent":304===t?k="notmodified":(k=w.state,p=w.data,c=!(f=w.error))):(f=k,!t&&k||(k="error",t<0&&(t=0))),A.status=t,A.statusText=(n||k)+"",c?v.resolveWith(m,[p,k,A]):v.rejectWith(m,[A,k,f]),A.statusCode(y),y=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[A,h,c?p:f]),b.fireWith(m,[A,k]),d&&(g.trigger("ajaxComplete",[A,h]),--_.active||_.event.trigger("ajaxStop")))}return A},getJSON:function(e,t,n){return _.get(e,t,n,"json")},getScript:function(e,t){return _.get(e,void 0,t,"script")}}),_.each(["get","post"],function(e,t){_[t]=function(e,n,i,r){return m(n)&&(r=r||i,i=n,n=void 0),_.ajax(_.extend({url:e,type:t,dataType:r,data:n,success:i},_.isPlainObject(e)&&e))}}),_._evalUrl=function(e,t){return _.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){_.globalEval(e,t)}})},_.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=_(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return m(e)?this.each(function(t){_(this).wrapInner(e.call(this,t))}):this.each(function(){var t=_(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=m(e);return this.each(function(n){_(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){_(this).replaceWith(this.childNodes)}),this}}),_.expr.pseudos.hidden=function(e){return!_.expr.pseudos.visible(e)},_.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},_.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Ht={0:200,1223:204},Ut=_.ajaxSettings.xhr();h.cors=!!Ut&&"withCredentials"in Ut,h.ajax=Ut=!!Ut,_.ajaxTransport(function(t){var n,i;if(h.cors||Ut&&!t.crossDomain)return{send:function(r,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)s.setRequestHeader(a,r[a]);n=function(e){return function(){n&&(n=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Ht[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),i=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&i()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),_.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return _.globalEval(e),e}}}),_.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),_.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=_("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),i.head.appendChild(t[0])},abort:function(){n&&n()}}});var Vt,Wt=[],Yt=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Wt.pop()||_.expando+"_"+kt++;return this[e]=!0,e}}),_.ajaxPrefilter("json jsonp",function(t,n,i){var r,o,a,s=!1!==t.jsonp&&(Yt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=m(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Yt,"$1"+r):!1!==t.jsonp&&(t.url+=(At.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return a||_.error(r+" was not called"),a[0]},t.dataTypes[0]="json",o=e[r],e[r]=function(){a=arguments},i.always(function(){void 0===o?_(e).removeProp(r):e[r]=o,t[r]&&(t.jsonpCallback=n.jsonpCallback,Wt.push(r)),a&&m(o)&&o(a[0]),a=o=void 0}),"script"}),h.createHTMLDocument=((Vt=i.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Vt.childNodes.length),_.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(h.createHTMLDocument?((r=(t=i.implementation.createHTMLDocument("")).createElement("base")).href=i.location.href,t.head.appendChild(r)):t=i),a=!n&&[],(o=O.exec(e))?[t.createElement(o[1])]:(o=we([e],t,a),a&&a.length&&_(a).remove(),_.merge([],o.childNodes)));var r,o,a},_.fn.load=function(e,t,n){var i,r,o,a=this,s=e.indexOf(" ");return s>-1&&(i=gt(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),a.length>0&&_.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(i?_("<div>").append(_.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){_.fn[t]=function(e){return this.on(t,e)}}),_.expr.pseudos.animated=function(e){return _.grep(_.timers,function(t){return e===t.elem}).length},_.offset={setOffset:function(e,t,n){var i,r,o,a,s,l,c=_.css(e,"position"),u=_(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),o=_.css(e,"top"),l=_.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(a=(i=u.position()).top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),m(t)&&(t=t.call(e,n,_.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+r),"using"in t?t.using.call(e,d):u.css(d)}},_.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){_.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===_.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===_.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=_(e).offset()).top+=_.css(e,"borderTopWidth",!0),r.left+=_.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-_.css(i,"marginTop",!0),left:t.left-r.left-_.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===_.css(e,"position");)e=e.offsetParent;return e||ie})}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;_.fn[e]=function(i){return z(this,function(e,i,r){var o;if(g(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r},e,i,arguments.length)}}),_.each(["top","left"],function(e,t){_.cssHooks[t]=Ue(h.pixelPosition,function(e,n){if(n)return n=He(e,t),Ie.test(n)?_(e).position()[t]+"px":n})}),_.each({Height:"height",Width:"width"},function(e,t){_.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){_.fn[i]=function(r,o){var a=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===o?"margin":"border");return z(this,function(t,n,r){var o;return g(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?_.css(t,n,s):_.style(t,n,r,s)},t,a?r:void 0,a)}})}),_.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){_.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),_.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),_.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),_.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return i=o.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(o.call(arguments)))}).guid=e.guid=e.guid||_.guid++,r},_.holdReady=function(e){e?_.readyWait++:_.ready(!0)},_.isArray=Array.isArray,_.parseJSON=JSON.parse,_.nodeName=M,_.isFunction=m,_.isWindow=g,_.camelCase=W,_.type=y,_.now=Date.now,_.isNumeric=function(e){var t=_.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return _});var Gt=e.jQuery,Kt=e.$;return _.noConflict=function(t){return e.$===_&&(e.$=Kt),t&&e.jQuery===_&&(e.jQuery=Gt),_},t||(e.jQuery=e.$=_),_})},{}],76:[function(e,t,n){var i,r;i=this,r=function(e){"use strict";return 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;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})},"object"==typeof n&&void 0!==t&&"function"==typeof e?r(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],r):r(i.moment)},{"../moment":79}],77:[function(e,t,n){var i,r;i=this,r=function(e){"use strict";return 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("_"),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|)/,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}})},"object"==typeof n&&void 0!==t&&"function"==typeof e?r(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],r):r(i.moment)},{"../moment":79}],78:[function(e,t,n){var i,r;i=this,r=function(e){"use strict";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("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;return e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})},"object"==typeof n&&void 0!==t&&"function"==typeof e?r(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],r):r(i.moment)},{"../moment":79}],79:[function(e,t,n){var i,r;i=this,r=function(){"use strict";var n,i;function r(){return n.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function p(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,i){return Et(e,t,n,i,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function m(e){if(null==e._isValid){var t=h(e),n=i.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function g(e){var t=f(NaN);return null!=e?p(h(t),e):h(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};var v=r.momentProperties=[];function b(e,t){var n,i,r;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=h(t)),s(t._locale)||(e._locale=t._locale),v.length>0)for(n=0;n<v.length;n++)s(r=t[i=v[n]])||(e[i]=r);return e}var y=!1;function _(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,r.updateOffset(this),y=!1)}function w(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function x(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=x(t)),n}function A(e,t,n){var i,r=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&k(e[i])!==k(t[i]))&&a++;return a+o}function C(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return p(function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){for(var i,o=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){for(var s in i+="\n["+a+"] ",arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[a];o.push(i)}C(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var M,O={};function T(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),O[e]||(C(t),O[e]=!0)}function E(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function P(e,t){var n,i=p({},e);for(n in t)d(t,n)&&(a(e[n])&&a(t[n])?(i[n]={},p(i[n],e[n]),p(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)d(e,n)&&!d(t,n)&&a(e[n])&&(i[n]=p({},i[n]));return i}function j(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,M=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var N={};function $(e,t){var n=e.toLowerCase();N[n]=N[n+"s"]=N[t]=e}function L(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function D(e){var t,n,i={};for(n in e)d(e,n)&&(t=L(n))&&(i[t]=e[n]);return i}var q={};function R(e,t){q[e]=t}function F(e,t,n){var i=""+Math.abs(e),r=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,B=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},H={};function U(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(H[e]=r),t&&(H[t[0]]=function(){return F(r.apply(this,arguments),t[1],t[2])}),n&&(H[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function V(e,t){return e.isValid()?(t=W(t,e.localeData()),z[t]=z[t]||function(e){var t,n,i,r=e.match(I);for(t=0,n=r.length;t<n;t++)H[r[t]]?r[t]=H[r[t]]:r[t]=(i=r[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,o="";for(i=0;i<n;i++)o+=E(r[i])?r[i].call(t,e):r[i];return o}}(t),z[t](e)):e.localeData().invalidDate()}function W(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(B.lastIndex=0;n>=0&&B.test(e);)e=e.replace(B,i),B.lastIndex=0,n-=1;return e}var Y=/\d/,G=/\d\d/,K=/\d{3}/,Q=/\d{4}/,J=/[+-]?\d{6}/,X=/\d\d?/,Z=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,ie=/[+-]?\d{1,6}/,re=/\d+/,oe=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,le=/[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,ce={};function ue(e,t,n){ce[e]=E(t)?t:function(e,i){return e&&n?n:t}}function de(e,t){return d(ce,e)?ce[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function he(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),l(t)&&(i=function(e,n){n[t]=k(e)}),n=0;n<e.length;n++)fe[e[n]]=i}function me(e,t){he(e,function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)})}function ge(e,t,n){null!=t&&d(fe,e)&&fe[e](t,n._a,n,e)}var ve=0,be=1,ye=2,_e=3,we=4,xe=5,ke=6,Ae=7,Ce=8;function Se(e){return Me(e)?366:365}function Me(e){return e%4==0&&e%100!=0||e%400==0}U("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),U(0,["YY",2],0,function(){return this.year()%100}),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),$("year","y"),R("year",1),ue("Y",oe),ue("YY",X,G),ue("YYYY",ne,Q),ue("YYYYY",ie,J),ue("YYYYYY",ie,J),he(["YYYYY","YYYYYY"],ve),he("YYYY",function(e,t){t[ve]=2===e.length?r.parseTwoDigitYear(e):k(e)}),he("YY",function(e,t){t[ve]=r.parseTwoDigitYear(e)}),he("Y",function(e,t){t[ve]=parseInt(e,10)}),r.parseTwoDigitYear=function(e){return k(e)+(k(e)>68?1900:2e3)};var Oe,Te=Ee("FullYear",!0);function Ee(e,t){return function(n){return null!=n?(je(this,e,n),r.updateOffset(this,t),this):Pe(this,e)}}function Pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function je(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Me(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ne(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Ne(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,i=(t%(n=12)+n)%n;return e+=(t-i)/12,1===i?Me(e)?29:28:31-i%7%2}Oe=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},U("M",["MM",2],"Mo",function(){return this.month()+1}),U("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),U("MMMM",0,0,function(e){return this.localeData().months(this,e)}),$("month","M"),R("month",8),ue("M",X),ue("MM",X,G),ue("MMM",function(e,t){return t.monthsShortRegex(e)}),ue("MMMM",function(e,t){return t.monthsRegex(e)}),he(["M","MM"],function(e,t){t[be]=k(e)-1}),he(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[be]=r:h(n).invalidMonth=e});var $e=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Le="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function qe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=k(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ne(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Re(e){return null!=e?(qe(this,e),r.updateOffset(this,!0),this):Pe(this,"Month")}var Fe=le;var Ie=le;function Be(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],o=[];for(t=0;t<12;t++)n=f([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),o.sort(e),t=0;t<12;t++)i[t]=pe(i[t]),r[t]=pe(r[t]);for(t=0;t<24;t++)o[t]=pe(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function ze(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function He(e,t,n){var i=7+t-n;return-((7+ze(e,0,i).getUTCDay()-t)%7)+i-1}function Ue(e,t,n,i,r){var o,a,s=1+7*(t-1)+(7+n-i)%7+He(e,i,r);return s<=0?a=Se(o=e-1)+s:s>Se(e)?(o=e+1,a=s-Se(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Ve(e,t,n){var i,r,o=He(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?i=a+We(r=e.year()-1,t,n):a>We(e.year(),t,n)?(i=a-We(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function We(e,t,n){var i=He(e,t,n),r=He(e+1,t,n);return(Se(e)-i+r)/7}U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),$("week","w"),$("isoWeek","W"),R("week",5),R("isoWeek",5),ue("w",X),ue("ww",X,G),ue("W",X),ue("WW",X,G),me(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=k(e)});function Ye(e,t){return e.slice(t,7).concat(e.slice(0,t))}U("d",0,"do","day"),U("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),U("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),U("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),$("day","d"),$("weekday","e"),$("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),ue("d",X),ue("e",X),ue("E",X),ue("dd",function(e,t){return t.weekdaysMinRegex(e)}),ue("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ue("dddd",function(e,t){return t.weekdaysRegex(e)}),me(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:h(n).invalidWeekday=e}),me(["d","e","E"],function(e,t,n,i){t[i]=k(e)});var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Je=le;var Xe=le;var Ze=le;function et(){function e(e,t){return t.length-e.length}var t,n,i,r,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(i),s.push(r),l.push(o),c.push(i),c.push(r),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=pe(s[t]),l[t]=pe(l[t]),c[t]=pe(c[t]);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("^("+a.join("|")+")","i")}function tt(){return this.hours()%12||12}function nt(e,t){U(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function it(e,t){return t._meridiemParse}U("H",["HH",2],0,"hour"),U("h",["hh",2],0,tt),U("k",["kk",2],0,function(){return this.hours()||24}),U("hmm",0,0,function(){return""+tt.apply(this)+F(this.minutes(),2)}),U("hmmss",0,0,function(){return""+tt.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)}),U("Hmm",0,0,function(){return""+this.hours()+F(this.minutes(),2)}),U("Hmmss",0,0,function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)}),nt("a",!0),nt("A",!1),$("hour","h"),R("hour",13),ue("a",it),ue("A",it),ue("H",X),ue("h",X),ue("k",X),ue("HH",X,G),ue("hh",X,G),ue("kk",X,G),ue("hmm",Z),ue("hmmss",ee),ue("Hmm",Z),ue("Hmmss",ee),he(["H","HH"],_e),he(["k","kk"],function(e,t,n){var i=k(e);t[_e]=24===i?0:i}),he(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),he(["h","hh"],function(e,t,n){t[_e]=k(e),h(n).bigHour=!0}),he("hmm",function(e,t,n){var i=e.length-2;t[_e]=k(e.substr(0,i)),t[we]=k(e.substr(i)),h(n).bigHour=!0}),he("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[_e]=k(e.substr(0,i)),t[we]=k(e.substr(i,2)),t[xe]=k(e.substr(r)),h(n).bigHour=!0}),he("Hmm",function(e,t,n){var i=e.length-2;t[_e]=k(e.substr(0,i)),t[we]=k(e.substr(i))}),he("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[_e]=k(e.substr(0,i)),t[we]=k(e.substr(i,2)),t[xe]=k(e.substr(r))});var rt,ot=Ee("Hours",!0),at={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,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"},months:Le,monthsShort:De,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:Qe,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},st={},lt={};function ct(e){return e?e.toLowerCase().replace("_","-"):e}function ut(n){var i=null;if(!st[n]&&void 0!==t&&t&&t.exports)try{i=rt._abbr,e("./locale/"+n),dt(i)}catch(e){}return st[n]}function dt(e,t){var n;return e&&((n=s(t)?ft(e):pt(e,t))?rt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function pt(e,t){if(null!==t){var n,i=at;if(t.abbr=e,null!=st[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=st[e]._config;else if(null!=t.parentLocale)if(null!=st[t.parentLocale])i=st[t.parentLocale]._config;else{if(null==(n=ut(t.parentLocale)))return lt[t.parentLocale]||(lt[t.parentLocale]=[]),lt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return st[e]=new j(P(i,t)),lt[e]&<[e].forEach(function(e){pt(e.name,e.config)}),dt(e),st[e]}return delete st[e],null}function ft(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return rt;if(!o(e)){if(t=ut(e))return t;e=[e]}return function(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=ct(e[o]).split("-")).length,n=(n=ct(e[o+1]))?n.split("-"):null;t>0;){if(i=ut(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&A(r,n,!0)>=t-1)break;t--}o++}return rt}(e)}function ht(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[be]<0||n[be]>11?be:n[ye]<1||n[ye]>Ne(n[ve],n[be])?ye:n[_e]<0||n[_e]>24||24===n[_e]&&(0!==n[we]||0!==n[xe]||0!==n[ke])?_e:n[we]<0||n[we]>59?we:n[xe]<0||n[xe]>59?xe:n[ke]<0||n[ke]>999?ke:-1,h(e)._overflowDayOfYear&&(t<ve||t>ye)&&(t=ye),h(e)._overflowWeeks&&-1===t&&(t=Ae),h(e)._overflowWeekday&&-1===t&&(t=Ce),h(e).overflow=t),e}function mt(e,t,n){return null!=e?e:null!=t?t:n}function gt(e){var t,n,i,o,a,s=[];if(!e._d){for(i=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[ye]&&null==e._a[be]&&function(e){var t,n,i,r,o,a,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=mt(t.GG,e._a[ve],Ve(Pt(),1,4).year),i=mt(t.W,1),((r=mt(t.E,1))<1||r>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=Ve(Pt(),o,a);n=mt(t.gg,e._a[ve],c.year),i=mt(t.w,c.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+o,(t.e<0||t.e>6)&&(l=!0)):r=o}i<1||i>We(n,o,a)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(s=Ue(n,i,r,o,a),e._a[ve]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=mt(e._a[ve],i[ve]),(e._dayOfYear>Se(a)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=ze(a,0,e._dayOfYear),e._a[be]=n.getUTCMonth(),e._a[ye]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[_e]&&0===e._a[we]&&0===e._a[xe]&&0===e._a[ke]&&(e._nextDay=!0,e._a[_e]=0),e._d=(e._useUTC?ze:function(e,t,n,i,r,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,i,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,o,a),s}).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[_e]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(h(e).weekdayMismatch=!0)}}var vt=/^\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)?)?$/,bt=/^\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)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["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}/]],wt=[["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/]],xt=/^\/?Date\((\-?\d+)/i;function kt(e){var t,n,i,r,o,a,s=e._i,l=vt.exec(s)||bt.exec(s);if(l){for(h(e).iso=!0,t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(l[1])){r=_t[t][0],i=!1!==_t[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=wt.length;t<n;t++)if(wt[t][1].exec(l[3])){o=(l[2]||" ")+wt[t][0];break}if(null==o)return void(e._isValid=!1)}if(!i&&null!=o)return void(e._isValid=!1);if(l[4]){if(!yt.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=r+(o||"")+(a||""),Ot(e)}else e._isValid=!1}var At=/^(?:(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}))$/;function Ct(e,t,n,i,r,o){var a=[function(e){var t=parseInt(e,10);if(t<=49)return 2e3+t;if(t<=999)return 1900+t;return t}(e),De.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&a.push(parseInt(o,10)),a}var St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mt(e){var t=At.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(t){var n=Ct(t[4],t[3],t[2],t[5],t[6],t[7]);if(!function(e,t,n){return!e||Ke.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(n).weekdayMismatch=!0,n._isValid=!1,!1)}(t[1],n,e))return;e._a=n,e._tzm=function(e,t,n){if(e)return St[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(t[8],t[9],t[10]),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function Ot(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],h(e).empty=!0;var t,n,i,o,a,s=""+e._i,l=s.length,c=0;for(i=W(e._f,e._locale).match(I)||[],t=0;t<i.length;t++)o=i[t],(n=(s.match(de(o,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),c+=n.length),H[o]?(n?h(e).empty=!1:h(e).unusedTokens.push(o),ge(o,n,e)):e._strict&&!n&&h(e).unusedTokens.push(o);h(e).charsLeftOver=l-c,s.length>0&&h(e).unusedInput.push(s),e._a[_e]<=12&&!0===h(e).bigHour&&e._a[_e]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[_e]=function(e,t,n){var i;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[_e],e._meridiem),gt(e),ht(e)}else Mt(e);else kt(e)}function Tt(e){var t=e._i,n=e._f;return e._locale=e._locale||ft(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new _(ht(t)):(c(t)?e._d=t:o(n)?function(e){var t,n,i,r,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)o=0,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Ot(t),m(t)&&(o+=h(t).charsLeftOver,o+=10*h(t).unusedTokens.length,h(t).score=o,(null==i||o<i)&&(i=o,n=t));p(e,n||t)}(e):n?Ot(e):function(e){var t=e._i;s(t)?e._d=new Date(r.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=xt.exec(e._i);null===t?(kt(e),!1===e._isValid&&(delete e._isValid,Mt(e),!1===e._isValid&&(delete e._isValid,r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=u(t.slice(0),function(e){return parseInt(e,10)}),gt(e)):a(t)?function(e){if(!e._d){var t=D(e._i);e._a=u([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),gt(e)}}(e):l(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),m(e)||(e._d=null),e))}function Et(e,t,n,i,r){var s,l={};return!0!==n&&!1!==n||(i=n,n=void 0),(a(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=r,l._l=n,l._i=e,l._f=t,l._strict=i,(s=new _(ht(Tt(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Pt(e,t,n,i){return Et(e,t,n,i,!1)}r.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 and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),r.ISO_8601=function(){},r.RFC_2822=function(){};var jt=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),Nt=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:g()});function $t(e,t){var n,i;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Pt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Lt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Dt(e){var t=D(e),n=t.year||0,i=t.quarter||0,r=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Oe.call(Lt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,i=0;i<Lt.length;++i)if(e[Lt[i]]){if(n)return!1;parseFloat(e[Lt[i]])!==k(e[Lt[i]])&&(n=!0)}return!0}(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=ft(),this._bubble()}function qt(e){return e instanceof Dt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,t){U(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+F(~~(e/60),2)+t+F(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),ue("Z",se),ue("ZZ",se),he(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Bt(se,e)});var It=/([\+\-]|\d\d)/gi;function Bt(e,t){var n=(t||"").match(e);if(null===n)return null;var i=((n[n.length-1]||[])+"").match(It)||["-",0,0],r=60*i[1]+k(i[2]);return 0===r?0:"+"===i[0]?r:-r}function zt(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(w(e)||c(e)?e.valueOf():Pt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):Pt(e).local()}function Ht(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ut(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}r.updateOffset=function(){};var Vt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Yt(e,t){var n,i,r,o=e,a=null;return qt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:l(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=Vt.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:k(a[ye])*n,h:k(a[_e])*n,m:k(a[we])*n,s:k(a[xe])*n,ms:k(Rt(1e3*a[ke]))*n}):(a=Wt.exec(e))?(n="-"===a[1]?-1:1,o={y:Gt(a[2],n),M:Gt(a[3],n),w:Gt(a[4],n),d:Gt(a[5],n),h:Gt(a[6],n),m:Gt(a[7],n),s:Gt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=zt(t,e),e.isBefore(t)?n=Kt(e,t):((n=Kt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Pt(o.from),Pt(o.to)),(o={}).ms=r.milliseconds,o.M=r.months),i=new Dt(o),qt(e)&&d(e,"_locale")&&(i._locale=e._locale),i}function Gt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Kt(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 Qt(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(T(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."),r=n,n=i,i=r),Jt(this,Yt(n="string"==typeof n?+n:n,i),e),this}}function Jt(e,t,n,i){var o=t._milliseconds,a=Rt(t._days),s=Rt(t._months);e.isValid()&&(i=null==i||i,s&&qe(e,Pe(e,"Month")+s*n),a&&je(e,"Date",Pe(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,a||s))}Yt.fn=Dt.prototype,Yt.invalid=function(){return Yt(NaN)};var Xt=Qt(1,"add"),Zt=Qt(-1,"subtract");function en(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function tn(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ft(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var nn=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 rn(){return this._locale}var on=1e3,an=60*on,sn=60*an,ln=3506328*sn;function cn(e,t){return(e%t+t)%t}function un(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-ln:new Date(e,t,n).valueOf()}function dn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-ln:Date.UTC(e,t,n)}function pn(e,t){U(0,[e,e.length],0,t)}function fn(e,t,n,i,r){var o;return null==e?Ve(this,i,r).year:(t>(o=We(e,i,r))&&(t=o),function(e,t,n,i,r){var o=Ue(e,t,n,i,r),a=ze(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,i,r))}U(0,["gg",2],0,function(){return this.weekYear()%100}),U(0,["GG",2],0,function(){return this.isoWeekYear()%100}),pn("gggg","weekYear"),pn("ggggg","weekYear"),pn("GGGG","isoWeekYear"),pn("GGGGG","isoWeekYear"),$("weekYear","gg"),$("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),ue("G",oe),ue("g",oe),ue("GG",X,G),ue("gg",X,G),ue("GGGG",ne,Q),ue("gggg",ne,Q),ue("GGGGG",ie,J),ue("ggggg",ie,J),me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=k(e)}),me(["gg","GG"],function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)}),U("Q",0,"Qo","quarter"),$("quarter","Q"),R("quarter",7),ue("Q",Y),he("Q",function(e,t){t[be]=3*(k(e)-1)}),U("D",["DD",2],"Do","date"),$("date","D"),R("date",9),ue("D",X),ue("DD",X,G),ue("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),he(["D","DD"],ye),he("Do",function(e,t){t[ye]=k(e.match(X)[0])});var hn=Ee("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),$("dayOfYear","DDD"),R("dayOfYear",4),ue("DDD",te),ue("DDDD",K),he(["DDD","DDDD"],function(e,t,n){n._dayOfYear=k(e)}),U("m",["mm",2],0,"minute"),$("minute","m"),R("minute",14),ue("m",X),ue("mm",X,G),he(["m","mm"],we);var mn=Ee("Minutes",!1);U("s",["ss",2],0,"second"),$("second","s"),R("second",15),ue("s",X),ue("ss",X,G),he(["s","ss"],xe);var gn,vn=Ee("Seconds",!1);for(U("S",0,0,function(){return~~(this.millisecond()/100)}),U(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,function(){return 10*this.millisecond()}),U(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),U(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),U(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),U(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),U(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),$("millisecond","ms"),R("millisecond",16),ue("S",te,Y),ue("SS",te,G),ue("SSS",te,K),gn="SSSS";gn.length<=9;gn+="S")ue(gn,re);function bn(e,t){t[ke]=k(1e3*("0."+e))}for(gn="S";gn.length<=9;gn+="S")he(gn,bn);var yn=Ee("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var _n=_.prototype;function wn(e){return e}_n.add=Xt,_n.calendar=function(e,t){var n=e||Pt(),i=zt(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",a=t&&(E(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Pt(n)))},_n.clone=function(){return new _(this)},_n.diff=function(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=zt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=L(t)){case"year":o=en(this,i)/12;break;case"month":o=en(this,i);break;case"quarter":o=en(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:x(o)},_n.endOf=function(e){var t;if(void 0===(e=L(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?dn:un;switch(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+=sn-cn(t+(this._isUTC?0:this.utcOffset()*an),sn)-1;break;case"minute":t=this._d.valueOf(),t+=an-cn(t,an)-1;break;case"second":t=this._d.valueOf(),t+=on-cn(t,on)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},_n.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=V(this,e);return this.localeData().postformat(t)},_n.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Pt(e).isValid())?Yt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.fromNow=function(e){return this.from(Pt(),e)},_n.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Pt(e).isValid())?Yt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.toNow=function(e){return this.to(Pt(),e)},_n.get=function(e){return E(this[e=L(e)])?this[e]():this},_n.invalidAt=function(){return h(this).overflow},_n.isAfter=function(e,t){var n=w(e)?e:Pt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},_n.isBefore=function(e,t){var n=w(e)?e:Pt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},_n.isBetween=function(e,t,n,i){var r=w(e)?e:Pt(e),o=w(t)?t:Pt(t);return!!(this.isValid()&&r.isValid()&&o.isValid())&&("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(o,n):!this.isAfter(o,n))},_n.isSame=function(e,t){var n,i=w(e)?e:Pt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},_n.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},_n.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},_n.isValid=function(){return m(this)},_n.lang=nn,_n.locale=tn,_n.localeData=rn,_n.max=Nt,_n.min=jt,_n.parsingFlags=function(){return p({},h(this))},_n.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:q[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=D(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(E(this[e=L(e)]))return this[e](t);return this},_n.startOf=function(e){var t;if(void 0===(e=L(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?dn:un;switch(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-=cn(t+(this._isUTC?0:this.utcOffset()*an),sn);break;case"minute":t=this._d.valueOf(),t-=cn(t,an);break;case"second":t=this._d.valueOf(),t-=cn(t,on)}return this._d.setTime(t),r.updateOffset(this,!0),this},_n.subtract=Zt,_n.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},_n.toObject=function(){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()}},_n.toDate=function(){return new Date(this.valueOf())},_n.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?V(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",V(n,"Z")):V(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},_n.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=t+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+r)},_n.toJSON=function(){return this.isValid()?this.toISOString():null},_n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},_n.unix=function(){return Math.floor(this.valueOf()/1e3)},_n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},_n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},_n.year=Te,_n.isLeapYear=function(){return Me(this.year())},_n.weekYear=function(e){return fn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},_n.isoWeekYear=function(e){return fn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},_n.quarter=_n.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},_n.month=Re,_n.daysInMonth=function(){return Ne(this.year(),this.month())},_n.week=_n.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},_n.isoWeek=_n.isoWeeks=function(e){var t=Ve(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},_n.weeksInYear=function(){var e=this.localeData()._week;return We(this.year(),e.dow,e.doy)},_n.isoWeeksInYear=function(){return We(this.year(),1,4)},_n.date=hn,_n.day=_n.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},_n.weekday=function(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")},_n.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},_n.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},_n.hour=_n.hours=ot,_n.minute=_n.minutes=mn,_n.second=_n.seconds=vn,_n.millisecond=_n.milliseconds=yn,_n.utcOffset=function(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Bt(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Ht(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Jt(this,Yt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ht(this)},_n.utc=function(e){return this.utcOffset(0,e)},_n.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},_n.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Bt(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},_n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Pt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},_n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},_n.isLocal=function(){return!!this.isValid()&&!this._isUTC},_n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},_n.isUtc=Ut,_n.isUTC=Ut,_n.zoneAbbr=function(){return this._isUTC?"UTC":""},_n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},_n.dates=S("dates accessor is deprecated. Use date instead.",hn),_n.months=S("months accessor is deprecated. Use month instead",Re),_n.years=S("years accessor is deprecated. Use year instead",Te),_n.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),_n.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(b(e,this),(e=Tt(e))._a){var t=e._isUTC?f(e._a):Pt(e._a);this._isDSTShifted=this.isValid()&&A(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var xn=j.prototype;function kn(e,t,n,i){var r=ft(),o=f().set(i,t);return r[n](o,e)}function An(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return kn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=kn(e,i,n,"month");return r}function Cn(e,t,n,i){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var r,o=ft(),a=e?o._week.dow:0;if(null!=n)return kn(t,(n+a)%7,i,"day");var s=[];for(r=0;r<7;r++)s[r]=kn(t,(r+a)%7,i,"day");return s}xn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return E(i)?i.call(t,n):i},xn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},xn.invalidDate=function(){return this._invalidDate},xn.ordinal=function(e){return this._ordinal.replace("%d",e)},xn.preparse=wn,xn.postformat=wn,xn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return E(r)?r(e,t,n,i):r.replace(/%d/i,e)},xn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)},xn.set=function(e){var t,n;for(n in e)E(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},xn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||$e).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},xn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[$e.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},xn.monthsParse=function(e,t,n){var i,r,o;if(this._monthsParseExact)return function(e,t,n){var i,r,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=f([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=Oe.call(this._shortMonthsParse,a))?r:null:-1!==(r=Oe.call(this._longMonthsParse,a))?r:null:"MMM"===t?-1!==(r=Oe.call(this._shortMonthsParse,a))?r:-1!==(r=Oe.call(this._longMonthsParse,a))?r:null:-1!==(r=Oe.call(this._longMonthsParse,a))?r:-1!==(r=Oe.call(this._shortMonthsParse,a))?r:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},xn.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Be.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Ie),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},xn.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Be.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},xn.week=function(e){return Ve(e,this._week.dow,this._week.doy).week},xn.firstDayOfYear=function(){return this._week.doy},xn.firstDayOfWeek=function(){return this._week.dow},xn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ye(n,this._week.dow):e?n[e.day()]:n},xn.weekdaysMin=function(e){return!0===e?Ye(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},xn.weekdaysShort=function(e){return!0===e?Ye(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},xn.weekdaysParse=function(e,t,n){var i,r,o;if(this._weekdaysParseExact)return function(e,t,n){var i,r,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=Oe.call(this._weekdaysParse,a))?r:null:"ddd"===t?-1!==(r=Oe.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=Oe.call(this._minWeekdaysParse,a))?r:null:"dddd"===t?-1!==(r=Oe.call(this._weekdaysParse,a))?r:-1!==(r=Oe.call(this._shortWeekdaysParse,a))?r:-1!==(r=Oe.call(this._minWeekdaysParse,a))?r:null:"ddd"===t?-1!==(r=Oe.call(this._shortWeekdaysParse,a))?r:-1!==(r=Oe.call(this._weekdaysParse,a))?r:-1!==(r=Oe.call(this._minWeekdaysParse,a))?r:null:-1!==(r=Oe.call(this._minWeekdaysParse,a))?r:-1!==(r=Oe.call(this._weekdaysParse,a))?r:-1!==(r=Oe.call(this._shortWeekdaysParse,a))?r:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},xn.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},xn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},xn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ze),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},xn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},xn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},dt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===k(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",dt),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ft);var Sn=Math.abs;function Mn(e,t,n,i){var r=Yt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function On(e){return e<0?Math.floor(e):Math.ceil(e)}function Tn(e){return 4800*e/146097}function En(e){return 146097*e/4800}function Pn(e){return function(){return this.as(e)}}var jn=Pn("ms"),Nn=Pn("s"),$n=Pn("m"),Ln=Pn("h"),Dn=Pn("d"),qn=Pn("w"),Rn=Pn("M"),Fn=Pn("Q"),In=Pn("y");function Bn(e){return function(){return this.isValid()?this._data[e]:NaN}}var zn=Bn("milliseconds"),Hn=Bn("seconds"),Un=Bn("minutes"),Vn=Bn("hours"),Wn=Bn("days"),Yn=Bn("months"),Gn=Bn("years");var Kn=Math.round,Qn={ss:44,s:45,m:45,h:22,d:26,M:11};var Jn=Math.abs;function Xn(e){return(e>0)-(e<0)||+e}function Zn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Jn(this._milliseconds)/1e3,i=Jn(this._days),r=Jn(this._months);t=x((e=x(n/60))/60),n%=60,e%=60;var o=x(r/12),a=r%=12,s=i,l=t,c=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var p=d<0?"-":"",f=Xn(this._months)!==Xn(d)?"-":"",h=Xn(this._days)!==Xn(d)?"-":"",m=Xn(this._milliseconds)!==Xn(d)?"-":"";return p+"P"+(o?f+o+"Y":"")+(a?f+a+"M":"")+(s?h+s+"D":"")+(l||c||u?"T":"")+(l?m+l+"H":"")+(c?m+c+"M":"")+(u?m+u+"S":"")}var ei=Dt.prototype;return ei.isValid=function(){return this._isValid},ei.abs=function(){var e=this._data;return this._milliseconds=Sn(this._milliseconds),this._days=Sn(this._days),this._months=Sn(this._months),e.milliseconds=Sn(e.milliseconds),e.seconds=Sn(e.seconds),e.minutes=Sn(e.minutes),e.hours=Sn(e.hours),e.months=Sn(e.months),e.years=Sn(e.years),this},ei.add=function(e,t){return Mn(this,e,t,1)},ei.subtract=function(e,t){return Mn(this,e,t,-1)},ei.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=L(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+Tn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(En(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},ei.asMilliseconds=jn,ei.asSeconds=Nn,ei.asMinutes=$n,ei.asHours=Ln,ei.asDays=Dn,ei.asWeeks=qn,ei.asMonths=Rn,ei.asQuarters=Fn,ei.asYears=In,ei.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},ei._bubble=function(){var e,t,n,i,r,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*On(En(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=x(o/1e3),l.seconds=e%60,t=x(e/60),l.minutes=t%60,n=x(t/60),l.hours=n%24,s+=r=x(Tn(a+=x(n/24))),a-=On(En(r)),i=x(s/12),s%=12,l.days=a,l.months=s,l.years=i,this},ei.clone=function(){return Yt(this)},ei.get=function(e){return e=L(e),this.isValid()?this[e+"s"]():NaN},ei.milliseconds=zn,ei.seconds=Hn,ei.minutes=Un,ei.hours=Vn,ei.days=Wn,ei.weeks=function(){return x(this.days()/7)},ei.months=Yn,ei.years=Gn,ei.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var i=Yt(e).abs(),r=Kn(i.as("s")),o=Kn(i.as("m")),a=Kn(i.as("h")),s=Kn(i.as("d")),l=Kn(i.as("M")),c=Kn(i.as("y")),u=r<=Qn.ss&&["s",r]||r<Qn.s&&["ss",r]||o<=1&&["m"]||o<Qn.m&&["mm",o]||a<=1&&["h"]||a<Qn.h&&["hh",a]||s<=1&&["d"]||s<Qn.d&&["dd",s]||l<=1&&["M"]||l<Qn.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=t,u[3]=+e>0,u[4]=n,function(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}.apply(null,u)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},ei.toISOString=Zn,ei.toString=Zn,ei.toJSON=Zn,ei.locale=tn,ei.localeData=rn,ei.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Zn),ei.lang=nn,U("X",0,0,"unix"),U("x",0,0,"valueOf"),ue("x",oe),ue("X",/[+-]?\d+(\.\d{1,3})?/),he("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),he("x",function(e,t,n){n._d=new Date(k(e))}),r.version="2.24.0",n=Pt,r.fn=_n,r.min=function(){return $t("isBefore",[].slice.call(arguments,0))},r.max=function(){return $t("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return Pt(1e3*e)},r.months=function(e,t){return An(e,t,"months")},r.isDate=c,r.locale=dt,r.invalid=g,r.duration=Yt,r.isMoment=w,r.weekdays=function(e,t,n){return Cn(e,t,n,"weekdays")},r.parseZone=function(){return Pt.apply(null,arguments).parseZone()},r.localeData=ft,r.isDuration=qt,r.monthsShort=function(e,t){return An(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return Cn(e,t,n,"weekdaysMin")},r.defineLocale=pt,r.updateLocale=function(e,t){if(null!=t){var n,i,r=at;null!=(i=ut(e))&&(r=i._config),(n=new j(t=P(r,t))).parentLocale=st[e],st[e]=n,dt(e)}else null!=st[e]&&(null!=st[e].parentLocale?st[e]=st[e].parentLocale:null!=st[e]&&delete st[e]);return st[e]},r.locales=function(){return M(st)},r.weekdaysShort=function(e,t,n){return Cn(e,t,n,"weekdaysShort")},r.normalizeUnits=L,r.relativeTimeRounding=function(e){return void 0===e?Kn:"function"==typeof e&&(Kn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Qn[e]&&(void 0===t?Qn[e]:(Qn[e]=t,"s"===e&&(Qn.ss=t-1),!0))},r.calendarFormat=function(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"},r.prototype=_n,r.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"},r},"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):i.moment=r()},{}],80:[function(e,t,n){var i=1e3,r=60*i,o=60*r,a=24*o,s=365.25*a;function l(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}t.exports=function(e,t){t=t||{};var n,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*s;case"days":case"day":case"d":return n*a;case"hours":case"hour":case"hrs":case"hr":case"h":return n*o;case"minutes":case"minute":case"mins":case"min":case"m":return n*r;case"seconds":case"second":case"secs":case"sec":case"s":return n*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(e);if("number"===c&&!1===isNaN(e))return t.long?l(n=e,a,"day")||l(n,o,"hour")||l(n,r,"minute")||l(n,i,"second")||n+" ms":function(e){if(e>=a)return Math.round(e/a)+"d";if(e>=o)return Math.round(e/o)+"h";if(e>=r)return Math.round(e/r)+"m";if(e>=i)return Math.round(e/i)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},{}],81:[function(e,t,n){"use strict";var i=function(e){return e!=e};t.exports=function(e,t){return 0===e&&0===t?1/e==1/t:e===t||!(!i(e)||!i(t))}},{}],82:[function(e,t,n){"use strict";var i;if(!Object.keys){var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=e("./isArguments"),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call(function(){},"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&r.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();i=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===o.call(e),i=a(e),s=t&&"[object String]"===o.call(e),p=[];if(!t&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var h=c&&n;if(s&&e.length>0&&!r.call(e,0))for(var m=0;m<e.length;++m)p.push(String(m));if(i&&e.length>0)for(var g=0;g<e.length;++g)p.push(String(g));else for(var v in e)h&&"prototype"===v||!r.call(e,v)||p.push(String(v));if(l)for(var b=function(e){if("undefined"==typeof window||!f)return d(e);try{return d(e)}catch(e){return!1}}(e),y=0;y<u.length;++y)b&&"constructor"===u[y]||!r.call(e,u[y])||p.push(u[y]);return p}}t.exports=i},{"./isArguments":84}],83:[function(e,t,n){arguments[4][46][0].apply(n,arguments)},{"./implementation":82,"./isArguments":84,dup:46}],84:[function(e,t,n){arguments[4][47][0].apply(n,arguments)},{dup:47}],85:[function(e,t,n){t.exports=function(e,t,n,i){var r=function(e,n,i,r){t(i,e,n,"left"),t(r,n,e,"right")},o=e.transformX=function(e,t){n(e),n(t);for(var a=[],s=0;s<t.length;s++){for(var l=t[s],c=[],u=0;u<e.length;){var d=[];if(r(e[u],l,c,d),u++,1!==d.length){if(0===d.length){for(var p=u;p<e.length;p++)i(c,e[p]);l=null;break}for(var f=o(e.slice(u),d),h=0;h<f[0].length;h++)i(c,f[0][h]);for(var m=0;m<f[1].length;m++)i(a,f[1][m]);l=null;break}l=d[0]}null!=l&&i(a,l),e=c}return[e,a]};e.transform=function(e,n,i){if("left"!==i&&"right"!==i)throw new Error("type must be 'left' or 'right'");return 0===n.length?e:1===e.length&&1===n.length?t([],e[0],n[0],i):"left"===i?o(e,n)[0]:o(n,e)[1]}}},{}],86:[function(e,t,n){t.exports={type:e("./json0")}},{"./json0":87}],87:[function(e,t,n){var i=function(e){return"[object Array]"==Object.prototype.toString.call(e)},r=function(e){return JSON.parse(JSON.stringify(e))},o={name:"json0",uri:"http://sharejs.org/types/JSONv0"},a={};function s(e){e.t="text0";var t={p:e.p.pop()};null!=e.si&&(t.i=e.si),null!=e.sd&&(t.d=e.sd),e.o=[t]}function l(e){e.p.push(e.o[0].p),null!=e.o[0].i&&(e.si=e.o[0].i),null!=e.o[0].d&&(e.sd=e.o[0].d),delete e.t,delete e.o}o.registerSubtype=function(e){a[e.name]=e},o.create=function(e){return void 0===e?null:r(e)},o.invertComponent=function(e){var t={p:e.p};return e.t&&a[e.t]&&(t.t=e.t,t.o=a[e.t].invert(e.o)),void 0!==e.si&&(t.sd=e.si),void 0!==e.sd&&(t.si=e.sd),void 0!==e.oi&&(t.od=e.oi),void 0!==e.od&&(t.oi=e.od),void 0!==e.li&&(t.ld=e.li),void 0!==e.ld&&(t.li=e.ld),void 0!==e.na&&(t.na=-e.na),void 0!==e.lm&&(t.lm=e.p[e.p.length-1],t.p=e.p.slice(0,e.p.length-1).concat([e.lm])),t},o.invert=function(e){for(var t=e.slice().reverse(),n=[],i=0;i<t.length;i++)n.push(o.invertComponent(t[i]));return n},o.checkValidOp=function(e){for(var t=0;t<e.length;t++)if(!i(e[t].p))throw new Error("Missing path")},o.checkList=function(e){if(!i(e))throw new Error("Referenced element not a list")},o.checkObj=function(e){if(!(t=e)||t.constructor!==Object)throw new Error("Referenced element not an object (it was "+JSON.stringify(e)+")");var t},o.apply=function(e,t){o.checkValidOp(t),t=r(t);for(var n={data:e},i=0;i<t.length;i++){var l=t[i];null==l.si&&null==l.sd||s(l);for(var c=null,u=n,d="data",p=0;p<l.p.length;p++){var f=l.p[p];if(c=u,d,u=u[d],d=f,null==c)throw new Error("Path invalid")}if(l.t&&void 0!==l.o&&a[l.t])u[d]=a[l.t].apply(u[d],l.o);else if(void 0!==l.na){if("number"!=typeof u[d])throw new Error("Referenced element not a number");u[d]+=l.na}else if(void 0!==l.li&&void 0!==l.ld)o.checkList(u),u[d]=l.li;else if(void 0!==l.li)o.checkList(u),u.splice(d,0,l.li);else if(void 0!==l.ld)o.checkList(u),u.splice(d,1);else if(void 0!==l.lm){if(o.checkList(u),l.lm!=d){var h=u[d];u.splice(d,1),u.splice(l.lm,0,h)}}else if(void 0!==l.oi)o.checkObj(u),u[d]=l.oi;else{if(void 0===l.od)throw new Error("invalid / missing instruction in op");o.checkObj(u),delete u[d]}}return n.data},o.shatter=function(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n]]);return t},o.incrementalApply=function(e,t,n){for(var i=0;i<t.length;i++){var r=[t[i]];n(r,e=o.apply(e,r))}return e};var c=o.pathMatches=function(e,t,n){if(e.length!=t.length)return!1;for(var i=0;i<e.length;i++)if(e[i]!==t[i]&&(!n||i!==e.length-1))return!1;return!0};o.append=function(e,t){if(t=r(t),0!==e.length){var n=e[e.length-1];if(null==t.si&&null==t.sd||null==n.si&&null==n.sd||(s(t),s(n)),c(t.p,n.p))if(t.t&&n.t&&t.t===n.t&&a[t.t]){if(n.o=a[t.t].compose(n.o,t.o),null!=t.si||null!=t.sd){for(var i=t.p,o=0;o<n.o.length-1;o++)t.o=[n.o.pop()],t.p=i.slice(),l(t),e.push(t);l(n)}}else null!=n.na&&null!=t.na?e[e.length-1]={p:n.p,na:n.na+t.na}:void 0!==n.li&&void 0===t.li&&t.ld===n.li?void 0!==n.ld?delete n.li:e.pop():void 0!==n.od&&void 0===n.oi&&void 0!==t.oi&&void 0===t.od?n.oi=t.oi:void 0!==n.oi&&void 0!==t.od?void 0!==t.oi?n.oi=t.oi:void 0!==n.od?delete n.oi:e.pop():void 0!==t.lm&&t.p[t.p.length-1]===t.lm||e.push(t);else null==t.si&&null==t.sd||null==n.si&&null==n.sd||(l(t),l(n)),e.push(t)}else e.push(t)},o.compose=function(e,t){o.checkValidOp(e),o.checkValidOp(t);for(var n=r(e),i=0;i<t.length;i++)o.append(n,t[i]);return n},o.normalize=function(e){var t=[];e=i(e)?e:[e];for(var n=0;n<e.length;n++){var r=e[n];null==r.p&&(r.p=[]),o.append(t,r)}return t},o.commonLengthForOps=function(e,t){var n=e.p.length,i=t.p.length;if((null!=e.na||e.t)&&n++,(null!=t.na||t.t)&&i++,0===n)return-1;if(0===i)return null;n--,i--;for(var r=0;r<n;r++){var o=e.p[r];if(r>=i||o!==t.p[r])return null}return n},o.canOpAffectPath=function(e,t){return null!=o.commonLengthForOps({p:t},e)},o.transformComponent=function(e,t,n,c){t=r(t);var u=o.commonLengthForOps(n,t),d=o.commonLengthForOps(t,n),p=t.p.length,f=n.p.length;if((null!=t.na||t.t)&&p++,(null!=n.na||n.t)&&f++,null!=d&&f>p&&t.p[d]==n.p[d])if(void 0!==t.ld)(m=r(n)).p=m.p.slice(p),t.ld=o.apply(r(t.ld),[m]);else if(void 0!==t.od){(m=r(n)).p=m.p.slice(p),t.od=o.apply(r(t.od),[m])}if(null!=u){var h=p==f,m=n;if(null==t.si&&null==t.sd||null==n.si&&null==n.sd||(s(t),s(m=r(n))),m.t&&a[m.t]){if(t.t&&t.t===m.t){var g=a[t.t].transform(t.o,m.o,c);if(null!=t.si||null!=t.sd)for(var v=t.p,b=0;b<g.length;b++)t.o=[g[b]],t.p=v.slice(),l(t),o.append(e,t);else(!i(g)||g.length>0)&&(t.o=g,o.append(e,t));return e}}else if(void 0!==n.na);else if(void 0!==n.li&&void 0!==n.ld){if(n.p[u]===t.p[u]){if(!h)return e;if(void 0!==t.ld){if(void 0===t.li||"left"!==c)return e;t.ld=r(n.li)}}}else if(void 0!==n.li)void 0!==t.li&&void 0===t.ld&&h&&t.p[u]===n.p[u]?"right"===c&&t.p[u]++:n.p[u]<=t.p[u]&&t.p[u]++,void 0!==t.lm&&h&&n.p[u]<=t.lm&&t.lm++;else if(void 0!==n.ld){if(void 0!==t.lm&&h){if(n.p[u]===t.p[u])return e;v=n.p[u];var y=t.p[u];(v<(_=t.lm)||v===_&&y<_)&&t.lm--}if(n.p[u]<t.p[u])t.p[u]--;else if(n.p[u]===t.p[u]){if(f<p)return e;if(void 0!==t.ld){if(void 0===t.li)return e;delete t.ld}}}else if(void 0!==n.lm)if(void 0!==t.lm&&p===f){y=t.p[u];var _=t.lm,w=n.p[u],x=n.lm;if(w!==x)if(y===w){if("left"!==c)return e;t.p[u]=x,y===_&&(t.lm=x)}else y>w&&t.p[u]--,y>x?t.p[u]++:y===x&&w>x&&(t.p[u]++,y===_&&t.lm++),_>w?t.lm--:_===w&&_>y&&t.lm--,_>x?t.lm++:_===x&&(x>w&&_>y||x<w&&_<y?"right"===c&&t.lm++:_>y?t.lm++:_===w&&t.lm--)}else if(void 0!==t.li&&void 0===t.ld&&h){y=n.p[u],_=n.lm;(v=t.p[u])>y&&t.p[u]--,v>_&&t.p[u]++}else{y=n.p[u],_=n.lm;(v=t.p[u])===y?t.p[u]=_:(v>y&&t.p[u]--,v>_?t.p[u]++:v===_&&y>_&&t.p[u]++)}else if(void 0!==n.oi&&void 0!==n.od){if(t.p[u]===n.p[u]){if(void 0===t.oi||!h)return e;if("right"===c)return e;t.od=n.oi}}else if(void 0!==n.oi){if(void 0!==t.oi&&t.p[u]===n.p[u]){if("left"!==c)return e;o.append(e,{p:t.p,od:n.oi})}}else if(void 0!==n.od&&t.p[u]==n.p[u]){if(!h)return e;if(void 0===t.oi)return e;delete t.od}}return o.append(e,t),e},e("./bootstrapTransform")(o,o.transformComponent,o.checkValidOp,o.append);var u=e("./text0");o.registerSubtype(u),t.exports=o},{"./bootstrapTransform":85,"./text0":88}],88:[function(e,t,n){var i=t.exports={name:"text0",uri:"http://sharejs.org/types/textv0",create:function(e){if(null!=e&&"string"!=typeof e)throw new Error("Initial data must be a string");return e||""}},r=function(e,t,n){return e.slice(0,t)+n+e.slice(t)},o=function(e){if("number"!=typeof e.p)throw new Error("component missing position field");if("string"==typeof e.i==("string"==typeof e.d))throw new Error("component needs an i or d field");if(e.p<0)throw new Error("position cannot be negative")},a=function(e){for(var t=0;t<e.length;t++)o(e[t])};i.apply=function(e,t){var n;a(t);for(var i=0;i<t.length;i++){var o=t[i];if(null!=o.i)e=r(e,o.p,o.i);else{if(n=e.slice(o.p,o.p+o.d.length),o.d!==n)throw new Error("Delete component '"+o.d+"' does not match deleted text '"+n+"'");e=e.slice(0,o.p)+e.slice(o.p+o.d.length)}}return e};var s=i._append=function(e,t){if(""!==t.i&&""!==t.d)if(0===e.length)e.push(t);else{var n=e[e.length-1];null!=n.i&&null!=t.i&&n.p<=t.p&&t.p<=n.p+n.i.length?e[e.length-1]={i:r(n.i,t.p-n.p,t.i),p:n.p}:null!=n.d&&null!=t.d&&t.p<=n.p&&n.p<=t.p+t.d.length?e[e.length-1]={d:r(t.d,n.p-t.p,n.d),p:t.p}:e.push(t)}};i.compose=function(e,t){a(e),a(t);for(var n=e.slice(),i=0;i<t.length;i++)s(n,t[i]);return n},i.normalize=function(e){var t=[];null==e.i&&null==e.p||(e=[e]);for(var n=0;n<e.length;n++){var i=e[n];null==i.p&&(i.p=0),s(t,i)}return t};var l=function(e,t,n){return null!=t.i?t.p<e||t.p===e&&n?e+t.i.length:e:e<=t.p?e:e<=t.p+t.d.length?t.p:e-t.d.length};i.transformCursor=function(e,t,n){for(var i="right"===n,r=0;r<t.length;r++)e=l(e,t[r],i);return e};var c=i._tc=function(e,t,n,i){if(o(t),o(n),null!=t.i)s(e,{i:t.i,p:l(t.p,n,"right"===i)});else if(null!=n.i){var r=t.d;t.p<n.p&&(s(e,{d:r.slice(0,n.p-t.p),p:t.p}),r=r.slice(n.p-t.p)),""!==r&&s(e,{d:r,p:t.p+n.i.length})}else if(t.p>=n.p+n.d.length)s(e,{d:t.d,p:t.p-n.d.length});else if(t.p+t.d.length<=n.p)s(e,t);else{var a={d:"",p:t.p};t.p<n.p&&(a.d=t.d.slice(0,n.p-t.p)),t.p+t.d.length>n.p+n.d.length&&(a.d+=t.d.slice(n.p+n.d.length-t.p));var c=Math.max(t.p,n.p),u=Math.min(t.p+t.d.length,n.p+n.d.length);if(t.d.slice(c-t.p,u-t.p)!==n.d.slice(c-n.p,u-n.p))throw new Error("Delete ops delete different text in the same region of the document");""!==a.d&&(a.p=l(a.p,n),s(e,a))}return e};i.invert=function(e){e=e.slice().reverse();for(var t=0;t<e.length;t++)e[t]=null!=(n=e[t]).i?{d:n.i,p:n.p}:{i:n.d,p:n.p};var n;return e},e("./bootstrapTransform")(i,c,a,s)},{"./bootstrapTransform":85}],89:[function(e,t,n){n.encode=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t},n.decode=function(e){for(var t={},n=e.split("&"),i=0,r=n.length;i<r;i++){var o=n[i].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}},{}],90:[function(e,t,n){var i=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,r=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];t.exports=function(e){var t=e,n=e.indexOf("["),o=e.indexOf("]");-1!=n&&-1!=o&&(e=e.substring(0,n)+e.substring(n,o).replace(/:/g,";")+e.substring(o,e.length));for(var a=i.exec(e||""),s={},l=14;l--;)s[r[l]]=a[l]||"";return-1!=n&&-1!=o&&(s.source=t,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s}},{}],91:[function(e,t,n){(function(e){var i,r;"object"==typeof navigator&&(i=this,r=function(){"use strict";function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(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")}()}var s={addCSS:!0,thumbWidth:15,watch:!0},l=function(e){return null!=e?e.constructor:null},c=function(e,t){return Boolean(e&&t&&e instanceof t)},u=function(e){return null==e},d=function(e){return l(e)===Object},p=function(e){return l(e)===String},f=function(e){return Array.isArray(e)},h=function(e){return c(e,NodeList)},m={nullOrUndefined:u,object:d,number:function(e){return l(e)===Number&&!Number.isNaN(e)},string:p,boolean:function(e){return l(e)===Boolean},function:function(e){return l(e)===Function},array:f,nodeList:h,element:function(e){return c(e,Element)},event:function(e){return c(e,Event)},empty:function(e){return u(e)||(p(e)||f(e)||h(e))&&!e.length||d(e)&&!Object.keys(e).length}};var g,v,b,y=function(){function e(n,i){t(this,e),m.element(n)?this.element=n:m.string(n)&&(this.element=document.querySelector(n)),m.element(this.element)&&m.empty(this.element.rangeTouch)&&(this.config=Object.assign({},s,i),this.init())}return i(e,[{key:"init",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){e.enabled&&(this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(e){var t=this,n=e?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach(function(e){t.element[n](e,function(e){return t.set(e)},!1)})}},{key:"get",value:function(t){if(!e.enabled||!m.event(t))return null;var n,i=t.target,r=t.changedTouches[0],o=parseFloat(i.getAttribute("min"))||0,a=parseFloat(i.getAttribute("max"))||100,s=parseFloat(i.getAttribute("step"))||1,l=a-o,c=i.getBoundingClientRect(),u=100/c.width*(this.config.thumbWidth/2)/100;return(n=100/c.width*(r.clientX-c.left))<0?n=0:n>100&&(n=100),n<50?n-=(100-2*n)*u:n>50&&(n+=2*(n-50)*u),o+function(e,t){if(t<1){var n=(i="".concat(t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/))?Math.max(0,(i[1]?i[1].length:0)-(i[2]?+i[2]:0)):0;return parseFloat(e.toFixed(n))}var i;return Math.round(e/t)*t}(l*(n/100),s)}},{key:"set",value:function(t){e.enabled&&m.event(t)&&!t.target.disabled&&(t.preventDefault(),t.target.value=this.get(t),function(e,t){if(e&&t){var n=new Event(t);e.dispatchEvent(n)}}(t.target,"touchend"===t.type?"change":"input"))}}],[{key:"setup",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;if(m.empty(t)||m.string(t)?i=Array.from(document.querySelectorAll(m.string(t)?t:'input[type="range"]')):m.element(t)?i=[t]:m.nodeList(t)?i=Array.from(t):m.array(t)&&(i=t.filter(m.element)),m.empty(i))return null;var r=Object.assign({},s,n);return m.string(t)&&r.watch&&new MutationObserver(function(n){Array.from(n).forEach(function(n){Array.from(n.addedNodes).forEach(function(n){var i;m.element(n)&&function(){return Array.from(document.querySelectorAll(i)).includes(this)}.call(n,i=t)&&new e(n,r)})})}).observe(document.body,{childList:!0,subtree:!0}),i.map(function(t){return new e(t,n)})}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),e}(),_=function(e){return null!=e?e.constructor:null},w=function(e,t){return Boolean(e&&t&&e instanceof t)},x=function(e){return null==e},k=function(e){return _(e)===Object},A=function(e){return _(e)===String},C=function(e){return Array.isArray(e)},S=function(e){return w(e,NodeList)},M=function(e){return x(e)||(A(e)||C(e)||S(e))&&!e.length||k(e)&&!Object.keys(e).length},O={nullOrUndefined:x,object:k,number:function(e){return _(e)===Number&&!Number.isNaN(e)},string:A,boolean:function(e){return _(e)===Boolean},function:function(e){return _(e)===Function},array:C,weakMap:function(e){return w(e,WeakMap)},nodeList:S,element:function(e){return w(e,Element)},textNode:function(e){return _(e)===Text},event:function(e){return w(e,Event)},keyboardEvent:function(e){return w(e,KeyboardEvent)},cue:function(e){return w(e,window.TextTrackCue)||w(e,window.VTTCue)},track:function(e){return w(e,TextTrack)||!x(e)&&A(e.kind)},promise:function(e){return w(e,Promise)},url:function(e){if(w(e,window.URL))return!0;if(!A(e))return!1;var t=e;e.startsWith("http://")&&e.startsWith("https://")||(t="http://".concat(e));try{return!M(new URL(t).hostname)}catch(e){return!1}},empty:M},T=(g=document.createElement("span"),v={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},b=Object.keys(v).find(function(e){return void 0!==g.style[e]}),!!O.string(b)&&v[b]);function E(e,t){setTimeout(function(){try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch(e){}},t)}var P={isIE:!!document.documentMode,isEdge:window.navigator.userAgent.includes("Edge"),isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:/(iPad|iPhone|iPod)/gi.test(navigator.platform)},j=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,null}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}();function N(e,t,n){var i=this,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(e&&"addEventListener"in e&&!O.empty(t)&&O.function(n)){var s=t.split(" "),l=a;j&&(l={passive:o,capture:a}),s.forEach(function(t){i&&i.eventListeners&&r&&i.eventListeners.push({element:e,type:t,callback:n,options:l}),e[r?"addEventListener":"removeEventListener"](t,n,l)})}}function $(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];N.call(this,e,t,n,!0,i,r)}function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];N.call(this,e,t,n,!1,i,r)}function D(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];N.call(this,e,n,function a(){L(e,n,a,r,o);for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];i.apply(t,l)},!0,r,o)}function q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(O.element(e)&&!O.empty(t)){var r=new CustomEvent(t,{bubbles:n,detail:Object.assign({},i,{plyr:this})});e.dispatchEvent(r)}}function R(e,t){return t.split(".").reduce(function(e,t){return e&&e[t]},e)}function F(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];if(!n.length)return e;var o=n.shift();return O.object(o)?(Object.keys(o).forEach(function(t){O.object(o[t])?(Object.keys(e).includes(t)||Object.assign(e,r({},t,{})),F(e[t],o[t])):Object.assign(e,r({},t,o[t]))}),F.apply(void 0,[e].concat(n))):e}function I(e,t){var n=e.length?e:[e];Array.from(n).reverse().forEach(function(e,n){var i=n>0?t.cloneNode(!0):t,r=e.parentNode,o=e.nextSibling;i.appendChild(e),o?r.insertBefore(i,o):r.appendChild(i)})}function B(e,t){O.element(e)&&!O.empty(t)&&Object.entries(t).filter(function(e){var t=o(e,2)[1];return!O.nullOrUndefined(t)}).forEach(function(t){var n=o(t,2),i=n[0],r=n[1];return e.setAttribute(i,r)})}function z(e,t,n){var i=document.createElement(e);return O.object(t)&&B(i,t),O.string(n)&&(i.innerText=n),i}function H(e,t,n,i){O.element(t)&&t.appendChild(z(e,n,i))}function U(e){O.nodeList(e)||O.array(e)?Array.from(e).forEach(U):O.element(e)&&O.element(e.parentNode)&&e.parentNode.removeChild(e)}function V(e){if(O.element(e))for(var t=e.childNodes.length;t>0;)e.removeChild(e.lastChild),t-=1}function W(e,t){return O.element(t)&&O.element(t.parentNode)&&O.element(e)?(t.parentNode.replaceChild(e,t),e):null}function Y(e,t){if(!O.string(e)||O.empty(e))return{};var n={},i=F({},t);return e.split(",").forEach(function(e){var t=e.trim(),r=t.replace(".",""),a=t.replace(/[[\]]/g,"").split("="),s=o(a,1)[0],l=a.length>1?a[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":O.string(i.class)?n.class="".concat(i.class," ").concat(r):n.class=r;break;case"#":n.id=t.replace("#","");break;case"[":n[s]=l}}),F(i,n)}function G(e,t){if(O.element(e)){var n=t;O.boolean(n)||(n=!e.hidden),e.hidden=n}}function K(e,t,n){if(O.nodeList(e))return Array.from(e).map(function(e){return K(e,t,n)});if(O.element(e)){var i="toggle";return void 0!==n&&(i=n?"add":"remove"),e.classList[i](t),e.classList.contains(t)}return!1}function Q(e,t){return O.element(e)&&e.classList.contains(t)}function J(e,t){return function(){return Array.from(document.querySelectorAll(t)).includes(this)}.call(e,t)}function X(e){return this.elements.container.querySelectorAll(e)}function Z(e){return this.elements.container.querySelector(e)}function ee(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];O.element(e)&&(e.focus({preventScroll:!0}),t&&K(e,this.config.classNames.tabFocus))}var te,ne={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},ie={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check:function(e,t,n){var i=P.isIPhone&&n&&ie.playsinline,r=ie[e]||"html5"!==t;return{api:r,ui:r&&ie.rangeInput&&("video"!==e||!P.isIPhone||i)}},pip:!(P.isIPhone||!O.function(z("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||z("video").disablePictureInPicture)),airplay:O.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime:function(e){if(O.empty(e))return!1;var t=o(e.split("/"),1)[0],n=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(ne).includes(n)&&(n+='; codecs="'.concat(ne[e],'"'));try{return Boolean(n&&this.media.canPlayType(n).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(te=document.createElement("input"),te.type="range","range"===te.type),touch:"ontouchstart"in document.documentElement,transitions:!1!==T,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches};function re(e){return!!(O.array(e)||O.string(e)&&e.includes(":"))&&(O.array(e)?e:e.split(":")).map(Number).every(O.number)}function oe(e){if(!O.array(e)||!e.every(O.number))return null;var t=o(e,2),n=t[0],i=t[1],r=function e(t,n){return 0===n?t:e(n,t%n)}(n,i);return[n/r,i/r]}function ae(e){var t=function(e){return re(e)?e.split(":").map(Number):null},n=t(e);if(null===n&&(n=t(this.config.ratio)),null===n&&!O.empty(this.embed)&&O.array(this.embed.ratio)&&(n=this.embed.ratio),null===n&&this.isHTML5){var i=this.media;n=oe([i.videoWidth,i.videoHeight])}return n}function se(e){if(!this.isVideo)return{};var t=ae.call(this,e),n=o(O.array(t)?t:[0,0],2),i=100/n[0]*n[1];if(this.elements.wrapper.style.paddingBottom="".concat(i,"%"),this.isVimeo&&this.supported.ui){var r=(240-i)/4.8;this.media.style.transform="translateY(-".concat(r,"%)")}else this.isHTML5&&this.elements.wrapper.classList.toggle(this.config.classNames.videoFixedRatio,null!==t);return{padding:i,ratio:t}}var le={getSources:function(){var e=this;return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter(function(t){var n=t.getAttribute("type");return!!O.empty(n)||ie.mime.call(e,n)}):[]},getQualityOptions:function(){return le.getSources.call(this).map(function(e){return Number(e.getAttribute("size"))}).filter(Boolean)},extend:function(){if(this.isHTML5){var e=this;O.empty(this.config.ratio)||se.call(e),Object.defineProperty(e.media,"quality",{get:function(){var t=le.getSources.call(e).find(function(t){return t.getAttribute("src")===e.source});return t&&Number(t.getAttribute("size"))},set:function(t){var n=le.getSources.call(e).find(function(e){return Number(e.getAttribute("size"))===t});if(n){var i=e.media,r=i.currentTime,o=i.paused,a=i.preload,s=i.readyState;e.media.src=n.getAttribute("src"),("none"!==a||s)&&(e.once("loadedmetadata",function(){e.currentTime=r,o||e.play()}),e.media.load()),q.call(e,e.media,"qualitychange",!1,{quality:t})}}})}},cancelRequests:function(){this.isHTML5&&(U(le.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function ce(e){return O.array(e)?e.filter(function(t,n){return e.indexOf(t)===n}):e}function ue(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return O.empty(e)?e:e.toString().replace(/{(\d+)}/g,function(e,t){return n[t].toString()})}function de(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1"),"g"),n.toString())}function pe(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString().replace(/\w\S*/g,function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})}function fe(e){var t=document.createElement("div");return t.appendChild(e),t.innerHTML}var he={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},me=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(O.empty(e)||O.empty(t))return"";var n=R(t.i18n,e);if(O.empty(n))return Object.keys(he).includes(e)?he[e]:"";var i={"{seektime}":t.seekTime,"{title}":t.title};return Object.entries(i).forEach(function(e){var t=o(e,2),i=t[0],r=t[1];n=de(n,i,r)}),n},ge=function(){function e(n){t(this,e),this.enabled=n.config.storage.enabled,this.key=n.config.storage.key}return i(e,[{key:"get",value:function(t){if(!e.supported||!this.enabled)return null;var n=window.localStorage.getItem(this.key);if(O.empty(n))return null;var i=JSON.parse(n);return O.string(t)&&t.length?i[t]:i}},{key:"set",value:function(t){if(e.supported&&this.enabled&&O.object(t)){var n=this.get();O.empty(n)&&(n={}),F(n,t),window.localStorage.setItem(this.key,JSON.stringify(n))}}}],[{key:"supported",get:function(){try{return"localStorage"in window&&(window.localStorage.setItem("___test","___test"),window.localStorage.removeItem("___test"),!0)}catch(e){return!1}}}]),e}();function ve(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return new Promise(function(n,i){try{var r=new XMLHttpRequest;if(!("withCredentials"in r))return;r.addEventListener("load",function(){if("text"===t)try{n(JSON.parse(r.responseText))}catch(e){n(r.responseText)}else n(r.response)}),r.addEventListener("error",function(){throw new Error(r.status)}),r.open("GET",e,!0),r.responseType=t,r.send()}catch(e){i(e)}})}function be(e,t){if(O.string(e)){var n=O.string(t),i=function(){return null!==document.getElementById(t)},r=function(e,t){e.innerHTML=t,n&&i()||document.body.insertAdjacentElement("afterbegin",e)};if(!n||!i()){var o=ge.supported,a=document.createElement("div");if(a.setAttribute("hidden",""),n&&a.setAttribute("id",t),o){var s=window.localStorage.getItem("".concat("cache","-").concat(t));if(null!==s){var l=JSON.parse(s);r(a,l.content)}}ve(e).then(function(e){O.empty(e)||(o&&window.localStorage.setItem("".concat("cache","-").concat(t),JSON.stringify({content:e})),r(a,e))}).catch(function(){})}}}var ye=function(e){return Math.trunc(e/60/60%60,10)},_e=function(e){return Math.trunc(e/60%60,10)},we=function(e){return Math.trunc(e%60,10)};function xe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!O.number(e))return xe(null,t,n);var i=function(e){return"0".concat(e).slice(-2)},r=ye(e),o=_e(e),a=we(e);return r=t||r>0?"".concat(r,":"):"","".concat(n&&e>0?"-":"").concat(r).concat(i(o),":").concat(i(a))}var ke={getIconUrl:function(){var e=new URL(this.config.iconUrl,window.location).host!==window.location.host||P.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:e}},findElements:function(){try{return this.elements.controls=Z.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:X.call(this,this.config.selectors.buttons.play),pause:Z.call(this,this.config.selectors.buttons.pause),restart:Z.call(this,this.config.selectors.buttons.restart),rewind:Z.call(this,this.config.selectors.buttons.rewind),fastForward:Z.call(this,this.config.selectors.buttons.fastForward),mute:Z.call(this,this.config.selectors.buttons.mute),pip:Z.call(this,this.config.selectors.buttons.pip),airplay:Z.call(this,this.config.selectors.buttons.airplay),settings:Z.call(this,this.config.selectors.buttons.settings),captions:Z.call(this,this.config.selectors.buttons.captions),fullscreen:Z.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=Z.call(this,this.config.selectors.progress),this.elements.inputs={seek:Z.call(this,this.config.selectors.inputs.seek),volume:Z.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:Z.call(this,this.config.selectors.display.buffer),currentTime:Z.call(this,this.config.selectors.display.currentTime),duration:Z.call(this,this.config.selectors.display.duration)},O.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip))),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon:function(e,t){var n=ke.getIconUrl.call(this),i="".concat(n.cors?"":n.url,"#").concat(this.config.iconPrefix),r=document.createElementNS("http://www.w3.org/2000/svg","svg");B(r,F(t,{role:"presentation",focusable:"false"}));var o=document.createElementNS("http://www.w3.org/2000/svg","use"),a="".concat(i,"-").concat(e);return"href"in o&&o.setAttributeNS("http://www.w3.org/1999/xlink","href",a),o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a),r.appendChild(o),r},createLabel:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=me(e,this.config);return z("span",Object.assign({},t,{class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")}),n)},createBadge:function(e){if(O.empty(e))return null;var t=z("span",{class:this.config.classNames.menu.value});return t.appendChild(z("span",{class:this.config.classNames.menu.badge},e)),t},createButton:function(e,t){var n=this,i=F({},t),r=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return(e=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return de(e=pe(e=de(e=de(e,"-"," "),"_"," "))," ","")}(e)).charAt(0).toLowerCase()+e.slice(1)}(e),o={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach(function(e){Object.keys(i).includes(e)&&(o[e]=i[e],delete i[e])}),"button"!==o.element||Object.keys(i).includes("type")||(i.type="button"),Object.keys(i).includes("class")?i.class.split(" ").some(function(e){return e===n.config.classNames.control})||F(i,{class:"".concat(i.class," ").concat(this.config.classNames.control)}):i.class=this.config.classNames.control,e){case"play":o.toggle=!0,o.label="play",o.labelPressed="pause",o.icon="play",o.iconPressed="pause";break;case"mute":o.toggle=!0,o.label="mute",o.labelPressed="unmute",o.icon="volume",o.iconPressed="muted";break;case"captions":o.toggle=!0,o.label="enableCaptions",o.labelPressed="disableCaptions",o.icon="captions-off",o.iconPressed="captions-on";break;case"fullscreen":o.toggle=!0,o.label="enterFullscreen",o.labelPressed="exitFullscreen",o.icon="enter-fullscreen",o.iconPressed="exit-fullscreen";break;case"play-large":i.class+=" ".concat(this.config.classNames.control,"--overlaid"),r="play",o.label="play",o.icon="play";break;default:O.empty(o.label)&&(o.label=r),O.empty(o.icon)&&(o.icon=e)}var a=z(o.element);return o.toggle?(a.appendChild(ke.createIcon.call(this,o.iconPressed,{class:"icon--pressed"})),a.appendChild(ke.createIcon.call(this,o.icon,{class:"icon--not-pressed"})),a.appendChild(ke.createLabel.call(this,o.labelPressed,{class:"label--pressed"})),a.appendChild(ke.createLabel.call(this,o.label,{class:"label--not-pressed"}))):(a.appendChild(ke.createIcon.call(this,o.icon)),a.appendChild(ke.createLabel.call(this,o.label))),F(i,Y(this.config.selectors.buttons[r],i)),B(a,i),"play"===r?(O.array(this.elements.buttons[r])||(this.elements.buttons[r]=[]),this.elements.buttons[r].push(a)):this.elements.buttons[r]=a,a},createRange:function(e,t){var n=z("input",F(Y(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":me(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=n,ke.updateRangeFill.call(this,n),y.setup(n),n},createProgress:function(e,t){var n=z("progress",F(Y(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if("volume"!==e){n.appendChild(z("span",null,"0"));var i={played:"played",buffer:"buffered"}[e],r=i?me(i,this.config):"";n.innerText="% ".concat(r.toLowerCase())}return this.elements.display[e]=n,n},createTime:function(e,t){var n=Y(this.config.selectors.display[e],t),i=z("div",F(n,{class:"".concat(n.class?n.class:""," ").concat(this.config.classNames.display.time," ").trim(),"aria-label":me(e,this.config)}),"00:00");return this.elements.display[e]=i,i},bindMenuItemShortcuts:function(e,t){var n=this;$(e,"keydown keyup",function(i){if([32,38,39,40].includes(i.which)&&(i.preventDefault(),i.stopPropagation(),"keydown"!==i.type)){var r,o=J(e,'[role="menuitemradio"]');!o&&[32,39].includes(i.which)?ke.showMenuPanel.call(n,t,!0):32!==i.which&&(40===i.which||o&&39===i.which?(r=e.nextElementSibling,O.element(r)||(r=e.parentNode.firstElementChild)):(r=e.previousElementSibling,O.element(r)||(r=e.parentNode.lastElementChild)),ee.call(n,r,!0))}},!1),$(e,"keyup",function(e){13===e.which&&ke.focusFirstMenuItem.call(n,null,!0)})},createMenuItem:function(e){var t=this,n=e.value,i=e.list,r=e.type,o=e.title,a=e.badge,s=void 0===a?null:a,l=e.checked,c=void 0!==l&&l,u=Y(this.config.selectors.inputs[r]),d=z("button",F(u,{type:"button",role:"menuitemradio",class:"".concat(this.config.classNames.control," ").concat(u.class?u.class:"").trim(),"aria-checked":c,value:n})),p=z("span");p.innerHTML=o,O.element(s)&&p.appendChild(s),d.appendChild(p),Object.defineProperty(d,"checked",{enumerable:!0,get:function(){return"true"===d.getAttribute("aria-checked")},set:function(e){e&&Array.from(d.parentNode.children).filter(function(e){return J(e,'[role="menuitemradio"]')}).forEach(function(e){return e.setAttribute("aria-checked","false")}),d.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(d,"click keyup",function(e){if(!O.keyboardEvent(e)||32===e.which){switch(e.preventDefault(),e.stopPropagation(),d.checked=!0,r){case"language":t.currentTrack=Number(n);break;case"quality":t.quality=n;break;case"speed":t.speed=parseFloat(n)}ke.showMenuPanel.call(t,"home",O.keyboardEvent(e))}},r,!1),ke.bindMenuItemShortcuts.call(this,d,r),i.appendChild(d)},formatTime:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return O.number(e)?xe(e,ye(this.duration)>0,t):e},updateTimeDisplay:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];O.element(e)&&O.number(t)&&(e.innerText=ke.formatTime(t,n))},updateVolume:function(){this.supported.ui&&(O.element(this.elements.inputs.volume)&&ke.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),O.element(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;O.element(e)&&(e.value=t,ke.updateRangeFill.call(this,e))},updateProgress:function(e){var t=this;if(this.supported.ui&&O.event(e)){var n,i,r=0;if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":n=this.currentTime,i=this.duration,r=0===n||0===i||Number.isNaN(n)||Number.isNaN(i)?0:(n/i*100).toFixed(2),"timeupdate"===e.type&&ke.setRange.call(this,this.elements.inputs.seek,r);break;case"playing":case"progress":!function(e,n){var i=O.number(n)?n:0,r=O.element(e)?e:t.elements.display.buffer;if(O.element(r)){r.value=i;var o=r.getElementsByTagName("span")[0];O.element(o)&&(o.childNodes[0].nodeValue=i)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(e){var t=O.event(e)?e.target:e;if(O.element(t)&&"range"===t.getAttribute("type")){if(J(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);var n=ke.formatTime(this.currentTime),i=ke.formatTime(this.duration),r=me("seekLabel",this.config);t.setAttribute("aria-valuetext",r.replace("{currentTime}",n).replace("{duration}",i))}else if(J(t,this.config.selectors.inputs.volume)){var o=100*t.value;t.setAttribute("aria-valuenow",o),t.setAttribute("aria-valuetext","".concat(o.toFixed(1),"%"))}else t.setAttribute("aria-valuenow",t.value);P.isWebkit&&t.style.setProperty("--value","".concat(t.value/t.max*100,"%"))}},updateSeekTooltip:function(e){var t=this;if(this.config.tooltips.seek&&O.element(this.elements.inputs.seek)&&O.element(this.elements.display.seekTooltip)&&0!==this.duration){var n="".concat(this.config.classNames.tooltip,"--visible"),i=function(e){return K(t.elements.display.seekTooltip,n,e)};if(this.touch)i(!1);else{var r=0,o=this.elements.progress.getBoundingClientRect();if(O.event(e))r=100/o.width*(e.pageX-o.left);else{if(!Q(this.elements.display.seekTooltip,n))return;r=parseFloat(this.elements.display.seekTooltip.style.left,10)}r<0?r=0:r>100&&(r=100),ke.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*r),this.elements.display.seekTooltip.style.left="".concat(r,"%"),O.event(e)&&["mouseenter","mouseleave"].includes(e.type)&&i("mouseenter"===e.type)}}},timeUpdate:function(e){var t=!O.element(this.elements.display.duration)&&this.config.invertTime;ke.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||ke.updateProgress.call(this,e)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return G(this.elements.display.currentTime,!0),void G(this.elements.progress,!0);O.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var e=O.element(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&ke.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&ke.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),ke.updateSeekTooltip.call(this)}},toggleMenuButton:function(e,t){G(this.elements.settings.buttons[e],!t)},updateSetting:function(e,t,n){var i=this.elements.settings.panels[e],r=null,o=t;if("captions"===e)r=this.currentTrack;else{if(r=O.empty(n)?this[e]:n,O.empty(r)&&(r=this.config[e].default),!O.empty(this.options[e])&&!this.options[e].includes(r))return void this.debug.warn("Unsupported value of '".concat(r,"' for ").concat(e));if(!this.config[e].options.includes(r))return void this.debug.warn("Disabled value of '".concat(r,"' for ").concat(e))}if(O.element(o)||(o=i&&i.querySelector('[role="menu"]')),O.element(o)){this.elements.settings.buttons[e].querySelector(".".concat(this.config.classNames.menu.value)).innerHTML=ke.getLabel.call(this,e,r);var a=o&&o.querySelector('[value="'.concat(r,'"]'));O.element(a)&&(a.checked=!0)}},getLabel:function(e,t){switch(e){case"speed":return 1===t?me("normal",this.config):"".concat(t,"×");case"quality":if(O.number(t)){var n=me("qualityLabel.".concat(t),this.config);return n.length?n:"".concat(t,"p")}return pe(t);case"captions":return Se.getLabel.call(this);default:return null}},setQualityMenu:function(e){var t=this;if(O.element(this.elements.settings.panels.quality)){var n=this.elements.settings.panels.quality.querySelector('[role="menu"]');O.array(e)&&(this.options.quality=ce(e).filter(function(e){return t.config.quality.options.includes(e)}));var i=!O.empty(this.options.quality)&&this.options.quality.length>1;if(ke.toggleMenuButton.call(this,"quality",i),V(n),ke.checkMenu.call(this),i){this.options.quality.sort(function(e,n){var i=t.config.quality.options;return i.indexOf(e)>i.indexOf(n)?1:-1}).forEach(function(e){ke.createMenuItem.call(t,{value:e,list:n,type:"quality",title:ke.getLabel.call(t,"quality",e),badge:function(e){var n=me("qualityBadge.".concat(e),t.config);return n.length?ke.createBadge.call(t,n):null}(e)})}),ke.updateSetting.call(this,"quality",n)}}},setCaptionsMenu:function(){var e=this;if(O.element(this.elements.settings.panels.captions)){var t=this.elements.settings.panels.captions.querySelector('[role="menu"]'),n=Se.getTracks.call(this),i=Boolean(n.length);if(ke.toggleMenuButton.call(this,"captions",i),V(t),ke.checkMenu.call(this),i){var r=n.map(function(n,i){return{value:i,checked:e.captions.toggled&&e.currentTrack===i,title:Se.getLabel.call(e,n),badge:n.language&&ke.createBadge.call(e,n.language.toUpperCase()),list:t,type:"language"}});r.unshift({value:-1,checked:!this.captions.toggled,title:me("disabled",this.config),list:t,type:"language"}),r.forEach(ke.createMenuItem.bind(this)),ke.updateSetting.call(this,"captions",t)}}},setSpeedMenu:function(e){var t=this;if(O.element(this.elements.settings.panels.speed)){var n=this.elements.settings.panels.speed.querySelector('[role="menu"]');O.array(e)?this.options.speed=e:(this.isHTML5||this.isVimeo)&&(this.options.speed=[.5,.75,1,1.25,1.5,1.75,2]),this.options.speed=this.options.speed.filter(function(e){return t.config.speed.options.includes(e)});var i=!O.empty(this.options.speed)&&this.options.speed.length>1;ke.toggleMenuButton.call(this,"speed",i),V(n),ke.checkMenu.call(this),i&&(this.options.speed.forEach(function(e){ke.createMenuItem.call(t,{value:e,list:n,type:"speed",title:ke.getLabel.call(t,"speed",e)})}),ke.updateSetting.call(this,"speed",n))}},checkMenu:function(){var e=this.elements.settings.buttons,t=!O.empty(e)&&Object.values(e).some(function(e){return!e.hidden});G(this.elements.settings.menu,!t)},focusFirstMenuItem:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.elements.settings.popup.hidden){var n=e;O.element(n)||(n=Object.values(this.elements.settings.panels).find(function(e){return!e.hidden}));var i=n.querySelector('[role^="menuitem"]');ee.call(this,i,t)}},toggleMenu:function(e){var t=this.elements.settings.popup,n=this.elements.buttons.settings;if(O.element(t)&&O.element(n)){var i=t.hidden,r=i;if(O.boolean(e))r=e;else if(O.keyboardEvent(e)&&27===e.which)r=!1;else if(O.event(e)){var o=O.function(e.composedPath)?e.composedPath()[0]:e.target,a=t.contains(o);if(a||!a&&e.target!==n&&r)return}n.setAttribute("aria-expanded",r),G(t,!r),K(this.elements.container,this.config.classNames.menu.open,r),r&&O.keyboardEvent(e)?ke.focusFirstMenuItem.call(this,null,!0):r||i||ee.call(this,n,O.keyboardEvent(e))}},getMenuSize:function(e){var t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);var n=t.scrollWidth,i=t.scrollHeight;return U(t),{width:n,height:i}},showMenuPanel:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.elements.container.querySelector("#plyr-settings-".concat(this.id,"-").concat(t));if(O.element(i)){var r=i.parentNode,o=Array.from(r.children).find(function(e){return!e.hidden});if(ie.transitions&&!ie.reducedMotion){r.style.width="".concat(o.scrollWidth,"px"),r.style.height="".concat(o.scrollHeight,"px");var a=ke.getMenuSize.call(this,i);$.call(this,r,T,function t(n){n.target===r&&["width","height"].includes(n.propertyName)&&(r.style.width="",r.style.height="",L.call(e,r,T,t))}),r.style.width="".concat(a.width,"px"),r.style.height="".concat(a.height,"px")}G(o,!0),G(i,!1),ke.focusFirstMenuItem.call(this,i,n)}},setDownloadUrl:function(){var e=this.elements.buttons.download;O.element(e)&&e.setAttribute("href",this.download)},create:function(e){var t=this,n=ke.bindMenuItemShortcuts,i=ke.createButton,r=ke.createProgress,o=ke.createRange,a=ke.createTime,s=ke.setQualityMenu,l=ke.setSpeedMenu,c=ke.showMenuPanel;this.elements.controls=null,this.config.controls.includes("play-large")&&this.elements.container.appendChild(i.call(this,"play-large"));var u=z("div",Y(this.config.selectors.controls.wrapper));this.elements.controls=u;var d={class:"plyr__controls__item"};return ce(this.config.controls).forEach(function(s){if("restart"===s&&u.appendChild(i.call(t,"restart",d)),"rewind"===s&&u.appendChild(i.call(t,"rewind",d)),"play"===s&&u.appendChild(i.call(t,"play",d)),"fast-forward"===s&&u.appendChild(i.call(t,"fast-forward",d)),"progress"===s){var l=z("div",{class:"".concat(d.class," plyr__progress__container")}),p=z("div",Y(t.config.selectors.progress));if(p.appendChild(o.call(t,"seek",{id:"plyr-seek-".concat(e.id)})),p.appendChild(r.call(t,"buffer")),t.config.tooltips.seek){var f=z("span",{class:t.config.classNames.tooltip},"00:00");p.appendChild(f),t.elements.display.seekTooltip=f}t.elements.progress=p,l.appendChild(t.elements.progress),u.appendChild(l)}if("current-time"===s&&u.appendChild(a.call(t,"currentTime",d)),"duration"===s&&u.appendChild(a.call(t,"duration",d)),"mute"===s||"volume"===s){var h=t.elements.volume;if(O.element(h)&&u.contains(h)||(h=z("div",F({},d,{class:"".concat(d.class," plyr__volume").trim()})),t.elements.volume=h,u.appendChild(h)),"mute"===s&&h.appendChild(i.call(t,"mute")),"volume"===s){var m={max:1,step:.05,value:t.config.volume};h.appendChild(o.call(t,"volume",F(m,{id:"plyr-volume-".concat(e.id)})))}}if("captions"===s&&u.appendChild(i.call(t,"captions",d)),"settings"===s&&!O.empty(t.config.settings)){var g=z("div",F({},d,{class:"".concat(d.class," plyr__menu").trim(),hidden:""}));g.appendChild(i.call(t,"settings",{"aria-haspopup":!0,"aria-controls":"plyr-settings-".concat(e.id),"aria-expanded":!1}));var v=z("div",{class:"plyr__menu__container",id:"plyr-settings-".concat(e.id),hidden:""}),b=z("div"),y=z("div",{id:"plyr-settings-".concat(e.id,"-home")}),_=z("div",{role:"menu"});y.appendChild(_),b.appendChild(y),t.elements.settings.panels.home=y,t.config.settings.forEach(function(i){var r=z("button",F(Y(t.config.selectors.buttons.settings),{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--forward"),role:"menuitem","aria-haspopup":!0,hidden:""}));n.call(t,r,i),$(r,"click",function(){c.call(t,i,!1)});var o=z("span",null,me(i,t.config)),a=z("span",{class:t.config.classNames.menu.value});a.innerHTML=e[i],o.appendChild(a),r.appendChild(o),_.appendChild(r);var s=z("div",{id:"plyr-settings-".concat(e.id,"-").concat(i),hidden:""}),l=z("button",{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--back")});l.appendChild(z("span",{"aria-hidden":!0},me(i,t.config))),l.appendChild(z("span",{class:t.config.classNames.hidden},me("menuBack",t.config))),$(s,"keydown",function(e){37===e.which&&(e.preventDefault(),e.stopPropagation(),c.call(t,"home",!0))},!1),$(l,"click",function(){c.call(t,"home",!1)}),s.appendChild(l),s.appendChild(z("div",{role:"menu"})),b.appendChild(s),t.elements.settings.buttons[i]=r,t.elements.settings.panels[i]=s}),v.appendChild(b),g.appendChild(v),u.appendChild(g),t.elements.settings.popup=v,t.elements.settings.menu=g}if("pip"===s&&ie.pip&&u.appendChild(i.call(t,"pip",d)),"airplay"===s&&ie.airplay&&u.appendChild(i.call(t,"airplay",d)),"download"===s){var w=F({},d,{element:"a",href:t.download,target:"_blank"}),x=t.config.urls.download;!O.url(x)&&t.isEmbed&&F(w,{icon:"logo-".concat(t.provider),label:t.provider}),u.appendChild(i.call(t,"download",w))}"fullscreen"===s&&u.appendChild(i.call(t,"fullscreen",d))}),this.isHTML5&&s.call(this,le.getQualityOptions.call(this)),l.call(this),u},inject:function(){var e=this;if(this.config.loadSprite){var t=ke.getIconUrl.call(this);t.cors&&be(t.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());var n=null;this.elements.controls=null;var i={id:this.id,seektime:this.config.seekTime,title:this.config.title},r=!0;O.function(this.config.controls)&&(this.config.controls=this.config.controls.call(this,i)),this.config.controls||(this.config.controls=[]),O.element(this.config.controls)||O.string(this.config.controls)?n=this.config.controls:(n=ke.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:Se.getLabel.call(this)}),r=!1);var a,s=function(e){var t=e;return Object.entries(i).forEach(function(e){var n=o(e,2),i=n[0],r=n[1];t=de(t,"{".concat(i,"}"),r)}),t};if(r&&(O.string(this.config.controls)?n=s(n):O.element(n)&&(n.innerHTML=s(n.innerHTML))),O.string(this.config.selectors.controls.container)&&(a=document.querySelector(this.config.selectors.controls.container)),O.element(a)||(a=this.elements.container),a[O.element(n)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",n),O.element(this.elements.controls)||ke.findElements.call(this),!O.empty(this.elements.buttons)){var l=function(t){var n=e.config.classNames.controlPressed;Object.defineProperty(t,"pressed",{enumerable:!0,get:function(){return Q(t,n)},set:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];K(t,n,e)}})};Object.values(this.elements.buttons).filter(Boolean).forEach(function(e){O.array(e)||O.nodeList(e)?Array.from(e).filter(Boolean).forEach(l):l(e)})}if(P.isEdge&&E(a),this.config.tooltips.controls){var c=this.config,u=c.classNames,d=c.selectors,p="".concat(d.controls.wrapper," ").concat(d.labels," .").concat(u.hidden),f=X.call(this,p);Array.from(f).forEach(function(t){K(t,e.config.classNames.hidden,!1),K(t,e.config.classNames.tooltip,!0)})}}};function Ae(e){var t=e;if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]){var n=document.createElement("a");n.href=t,t=n.href}try{return new URL(t)}catch(e){return null}}function Ce(e){var t=new URLSearchParams;return O.object(e)&&Object.entries(e).forEach(function(e){var n=o(e,2),i=n[0],r=n[1];t.set(i,r)}),t}var Se={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!ie.textTracks)O.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&ke.setCaptionsMenu.call(this);else{if(O.element(this.elements.captions)||(this.elements.captions=z("div",Y(this.config.selectors.captions)),function(e,t){O.element(e)&&O.element(t)&&t.parentNode.insertBefore(e,t.nextSibling)}(this.elements.captions,this.elements.wrapper)),P.isIE&&window.URL){var e=this.media.querySelectorAll("track");Array.from(e).forEach(function(e){var t=e.getAttribute("src"),n=Ae(t);null!==n&&n.hostname!==window.location.href.hostname&&["http:","https:"].includes(n.protocol)&&ve(t,"blob").then(function(t){e.setAttribute("src",window.URL.createObjectURL(t))}).catch(function(){U(e)})})}var t=ce((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map(function(e){return e.split("-")[0]})),n=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===n&&(n=o(t,1)[0]);var i=this.storage.get("captions");if(O.boolean(i)||(i=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:i,language:n,languages:t}),this.isHTML5){var r=this.config.captions.update?"addtrack removetrack":"removetrack";$.call(this,this.media.textTracks,r,Se.update.bind(this))}setTimeout(Se.update.bind(this),0)}},update:function(){var e=this,t=Se.getTracks.call(this,!0),n=this.captions,i=n.active,r=n.language,o=n.meta,a=n.currentTrackNode,s=Boolean(t.find(function(e){return e.language===r}));this.isHTML5&&this.isVideo&&t.filter(function(e){return!o.get(e)}).forEach(function(t){e.debug.log("Track added",t),o.set(t,{default:"showing"===t.mode}),t.mode="hidden",$.call(e,t,"cuechange",function(){return Se.updateCues.call(e)})}),(s&&this.language!==r||!t.includes(a))&&(Se.setLanguage.call(this,r),Se.toggle.call(this,i&&s)),K(this.elements.container,this.config.classNames.captions.enabled,!O.empty(t)),(this.config.controls||[]).includes("settings")&&this.config.settings.includes("captions")&&ke.setCaptionsMenu.call(this)},toggle:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var n=this.captions.toggled,i=this.config.classNames.captions.active,r=O.nullOrUndefined(e)?!n:e;if(r!==n){if(t||(this.captions.active=r,this.storage.set({captions:r})),!this.language&&r&&!t){var o=Se.getTracks.call(this),s=Se.findTrack.call(this,[this.captions.language].concat(a(this.captions.languages)),!0);return this.captions.language=s.language,void Se.set.call(this,o.indexOf(s))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=r),K(this.elements.container,i,r),this.captions.toggled=r,ke.updateSetting.call(this,"captions"),q.call(this,this.media,r?"captionsenabled":"captionsdisabled")}}},set:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Se.getTracks.call(this);if(-1!==e)if(O.number(e))if(e in n){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;var i=n[e],r=(i||{}).language;this.captions.currentTrackNode=i,ke.updateSetting.call(this,"captions"),t||(this.captions.language=r,this.storage.set({language:r})),this.isVimeo&&this.embed.enableTextTrack(r),q.call(this,this.media,"languagechange")}Se.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&Se.updateCues.call(this)}else this.debug.warn("Track not found",e);else this.debug.warn("Invalid caption argument",e);else Se.toggle.call(this,!1,t)},setLanguage:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(O.string(e)){var n=e.toLowerCase();this.captions.language=n;var i=Se.getTracks.call(this),r=Se.findTrack.call(this,[n]);Se.set.call(this,i.indexOf(r),t)}else this.debug.warn("Invalid language argument",e)},getTracks:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Array.from((this.media||{}).textTracks||[]).filter(function(n){return!e.isHTML5||t||e.captions.meta.has(n)}).filter(function(e){return["captions","subtitles"].includes(e.kind)})},findTrack:function(e){var t,n=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=Se.getTracks.call(this),o=function(e){return Number((n.captions.meta.get(e)||{}).default)},a=Array.from(r).sort(function(e,t){return o(t)-o(e)});return e.every(function(e){return!(t=a.find(function(t){return t.language===e}))}),t||(i?a[0]:void 0)},getCurrentTrack:function(){return Se.getTracks.call(this)[this.currentTrack]},getLabel:function(e){var t=e;return!O.track(t)&&ie.textTracks&&this.captions.toggled&&(t=Se.getCurrentTrack.call(this)),O.track(t)?O.empty(t.label)?O.empty(t.language)?me("enabled",this.config):e.language.toUpperCase():t.label:me("disabled",this.config)},updateCues:function(e){if(this.supported.ui)if(O.element(this.elements.captions))if(O.nullOrUndefined(e)||Array.isArray(e)){var t=e;if(!t){var n=Se.getCurrentTrack.call(this);t=Array.from((n||{}).activeCues||[]).map(function(e){return e.getCueAsHTML()}).map(fe)}var i=t.map(function(e){return e.trim()}).join("\n");if(i!==this.elements.captions.innerHTML){V(this.elements.captions);var r=z("span",Y(this.config.selectors.caption));r.innerHTML=i,this.elements.captions.appendChild(r),q.call(this,this.media,"cuechange")}}else this.debug.warn("updateCues: Invalid input",e);else this.debug.warn("No captions element to render to")}},Me={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.5.6/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240]},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/v2/video/{0}.json"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus",previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1},youtube:{noCookie:!1,rel:0,showinfo:0,iv_load_policy:3,modestbranding:1}},Oe="picture-in-picture",Te={html5:"html5",youtube:"youtube",vimeo:"vimeo"},Ee={audio:"audio",video:"video"},Pe=function(){},je=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t(this,e),this.enabled=window.console&&n,this.enabled&&this.log("Debugging enabled")}return i(e,[{key:"log",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):Pe}},{key:"warn",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):Pe}},{key:"error",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):Pe}}]),e}();function Ne(){if(this.enabled){var e=this.player.elements.buttons.fullscreen;O.element(e)&&(e.pressed=this.active),q.call(this.player,this.target,this.active?"enterfullscreen":"exitfullscreen",!0),P.isIos||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(O.element(e)){var n=X.call(this,"button:not(:disabled), input:not(:disabled), [tabindex]"),i=n[0],r=n[n.length-1];N.call(this,this.elements.container,"keydown",function(e){if("Tab"===e.key&&9===e.keyCode){var t=document.activeElement;t!==r||e.shiftKey?t===i&&e.shiftKey&&(r.focus(),e.preventDefault()):(i.focus(),e.preventDefault())}},t,!1)}}.call(this.player,this.target,this.active)}}function $e(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e?this.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=e?"hidden":"",K(this.target,this.player.config.classNames.fullscreen.fallback,e),P.isIos){var t=document.head.querySelector('meta[name="viewport"]'),n="viewport-fit=cover";t||(t=document.createElement("meta")).setAttribute("name","viewport");var i=O.string(t.content)&&t.content.includes(n);e?(this.cleanupViewport=!i,i||(t.content+=",".concat(n))):this.cleanupViewport&&(t.content=t.content.split(",").filter(function(e){return e.trim()!==n}).join(","))}Ne.call(this)}var Le=function(){function e(n){var i=this;t(this,e),this.player=n,this.prefix=e.prefix,this.property=e.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===n.config.fullscreen.fallback,$.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":"".concat(this.prefix,"fullscreenchange"),function(){Ne.call(i)}),$.call(this.player,this.player.elements.container,"dblclick",function(e){O.element(i.player.elements.controls)&&i.player.elements.controls.contains(e.target)||i.toggle()}),this.update()}return i(e,[{key:"update",value:function(){var t;this.enabled?(t=this.forceFallback?"Fallback (forced)":e.native?"Native":"Fallback",this.player.debug.log("".concat(t," fullscreen enabled"))):this.player.debug.log("Fullscreen not supported and fallback disabled"),K(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.enabled)}},{key:"enter",value:function(){this.enabled&&(P.isIos&&this.player.config.fullscreen.iosNative?this.target.webkitEnterFullscreen():!e.native||this.forceFallback?$e.call(this,!0):this.prefix?O.empty(this.prefix)||this.target["".concat(this.prefix,"Request").concat(this.property)]():this.target.requestFullscreen())}},{key:"exit",value:function(){if(this.enabled)if(P.isIos&&this.player.config.fullscreen.iosNative)this.target.webkitExitFullscreen(),this.player.play();else if(!e.native||this.forceFallback)$e.call(this,!1);else if(this.prefix){if(!O.empty(this.prefix)){var t="moz"===this.prefix?"Cancel":"Exit";document["".concat(this.prefix).concat(t).concat(this.property)]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)}},{key:"toggle",value:function(){this.active?this.exit():this.enter()}},{key:"usingNative",get:function(){return e.native&&!this.forceFallback}},{key:"enabled",get:function(){return(e.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:"active",get:function(){return!!this.enabled&&(!e.native||this.forceFallback?Q(this.target,this.player.config.classNames.fullscreen.fallback):(this.prefix?document["".concat(this.prefix).concat(this.property,"Element")]:document.fullscreenElement)===this.target)}},{key:"target",get:function(){return P.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.container}}],[{key:"native",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:"prefix",get:function(){if(O.function(document.exitFullscreen))return"";var e="";return["webkit","moz","ms"].some(function(t){return!(!O.function(document["".concat(t,"ExitFullscreen")])&&!O.function(document["".concat(t,"CancelFullScreen")])||(e=t,0))}),e}},{key:"property",get:function(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}}]),e}();function De(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise(function(n,i){var r=new Image,o=function(){delete r.onload,delete r.onerror,(r.naturalWidth>=t?n:i)(r)};Object.assign(r,{onload:o,onerror:o,src:e})})}var qe={addStyleHook:function(){K(this.elements.container,this.config.selectors.container.replace(".",""),!0),K(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build:function(){var e=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn("Basic support only for ".concat(this.provider," ").concat(this.type)),void qe.toggleNativeControls.call(this,!0);O.element(this.elements.controls)||(ke.inject.call(this),this.listeners.controls()),qe.toggleNativeControls.call(this),this.isHTML5&&Se.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,ke.updateVolume.call(this),ke.timeUpdate.call(this),qe.checkPlaying.call(this),K(this.elements.container,this.config.classNames.pip.supported,ie.pip&&this.isHTML5&&this.isVideo),K(this.elements.container,this.config.classNames.airplay.supported,ie.airplay&&this.isHTML5),K(this.elements.container,this.config.classNames.isIos,P.isIos),K(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout(function(){q.call(e,e.media,"ready")},0),qe.setTitle.call(this),this.poster&&qe.setPoster.call(this,this.poster,!1).catch(function(){}),this.config.duration&&ke.durationUpdate.call(this)},setTitle:function(){var e=me("play",this.config);if(O.string(this.config.title)&&!O.empty(this.config.title)&&(e+=", ".concat(this.config.title)),Array.from(this.elements.buttons.play||[]).forEach(function(t){t.setAttribute("aria-label",e)}),this.isEmbed){var t=Z.call(this,"iframe");if(!O.element(t))return;var n=O.empty(this.config.title)?"video":this.config.title,i=me("frameTitle",this.config);t.setAttribute("title",i.replace("{title}",n))}},togglePoster:function(e){K(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster:function(e){var t=this;return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]||!this.poster?(this.media.setAttribute("poster",e),function(){var e=this;return new Promise(function(t){return e.ready?setTimeout(t,0):$.call(e,e.elements.container,"ready",t)}).then(function(){})}.call(this).then(function(){return De(e)}).catch(function(n){throw e===t.poster&&qe.togglePoster.call(t,!1),n}).then(function(){if(e!==t.poster)throw new Error("setPoster cancelled by later call to setPoster")}).then(function(){return Object.assign(t.elements.poster.style,{backgroundImage:"url('".concat(e,"')"),backgroundSize:""}),qe.togglePoster.call(t,!0),e})):Promise.reject(new Error("Poster already set"))},checkPlaying:function(e){var t=this;K(this.elements.container,this.config.classNames.playing,this.playing),K(this.elements.container,this.config.classNames.paused,this.paused),K(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach(function(e){Object.assign(e,{pressed:t.playing})}),O.event(e)&&"timeupdate"===e.type||qe.toggleControls.call(this)},checkLoading:function(e){var t=this;this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout(function(){K(t.elements.container,t.config.classNames.loading,t.loading),qe.toggleControls.call(t)},this.loading?250:0)},toggleControls:function(e){var t=this.elements.controls;if(t&&this.config.hideControls){var n=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||n))}}},Re=function(){function e(n){t(this,e),this.player=n,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}return i(e,[{key:"handleKey",value:function(e){var t=this.player,n=t.elements,i=e.keyCode?e.keyCode:e.which,r="keydown"===e.type,o=r&&i===this.lastKey;if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)&&O.number(i))if(r){var a=document.activeElement;if(O.element(a)){var s=t.config.selectors.editable;if(a!==n.inputs.seek&&J(a,s))return;if(32===e.which&&J(a,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(i)&&(e.preventDefault(),e.stopPropagation()),i){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:o||(t.currentTime=t.duration/10*(i-48));break;case 32:case 75:o||t.togglePlay();break;case 38:t.increaseVolume(.1);break;case 40:t.decreaseVolume(.1);break;case 77:o||(t.muted=!t.muted);break;case 39:t.forward();break;case 37:t.rewind();break;case 70:t.fullscreen.toggle();break;case 67:o||t.toggleCaptions();break;case 76:t.loop=!t.loop}27===i&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=i}else this.lastKey=null}},{key:"toggleMenu",value:function(e){ke.toggleMenu.call(this.player,e)}},{key:"firstTouch",value:function(){var e=this.player,t=e.elements;e.touch=!0,K(t.container,e.config.classNames.isTouch,!0)}},{key:"setTabFocus",value:function(e){var t=this.player,n=t.elements;if(clearTimeout(this.focusTimer),"keydown"!==e.type||9===e.which){"keydown"===e.type&&(this.lastKeyDown=e.timeStamp);var i,r=e.timeStamp-this.lastKeyDown<=20;("focus"!==e.type||r)&&(i=t.config.classNames.tabFocus,K(X.call(t,".".concat(i)),i,!1),this.focusTimer=setTimeout(function(){var e=document.activeElement;n.container.contains(e)&&K(document.activeElement,t.config.classNames.tabFocus,!0)},10))}}},{key:"global",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.player;t.config.keyboard.global&&N.call(t,window,"keydown keyup",this.handleKey,e,!1),N.call(t,document.body,"click",this.toggleMenu,e),D.call(t,document.body,"touchstart",this.firstTouch),N.call(t,document.body,"keydown focus blur",this.setTabFocus,e,!1,!0)}},{key:"container",value:function(){var e=this.player,t=e.config,n=e.elements,i=e.timers;!t.keyboard.global&&t.keyboard.focused&&$.call(e,n.container,"keydown keyup",this.handleKey,!1),$.call(e,n.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",function(t){var r=n.controls;r&&"enterfullscreen"===t.type&&(r.pressed=!1,r.hover=!1);var o=0;["touchstart","touchmove","mousemove"].includes(t.type)&&(qe.toggleControls.call(e,!0),o=e.touch?3e3:2e3),clearTimeout(i.controls),i.controls=setTimeout(function(){return qe.toggleControls.call(e,!1)},o)});var r=function(t){if(!t)return se.call(e);var i=n.container.getBoundingClientRect(),r=i.width,o=i.height;return se.call(e,"".concat(r,":").concat(o))},a=function(){clearTimeout(i.resized),i.resized=setTimeout(r,50)};$.call(e,n.container,"enterfullscreen exitfullscreen",function(t){var i=e.fullscreen,s=i.target,l=i.usingNative;if(s===n.container&&(e.isEmbed||!O.empty(e.config.ratio))){var c="enterfullscreen"===t.type,u=r(c);u.padding,!function(t,n,i){if(e.isVimeo){var r=e.elements.wrapper.firstChild,a=o(t,2)[1],s=o(ae.call(e),2),l=s[0],c=s[1];r.style.maxWidth=i?"".concat(a/c*l,"px"):null,r.style.margin=i?"0 auto":null}}(u.ratio,0,c),l||(c?$.call(e,window,"resize",a):L.call(e,window,"resize",a))}})}},{key:"media",value:function(){var e=this,t=this.player,n=t.elements;if($.call(t,t.media,"timeupdate seeking seeked",function(e){return ke.timeUpdate.call(t,e)}),$.call(t,t.media,"durationchange loadeddata loadedmetadata",function(e){return ke.durationUpdate.call(t,e)}),$.call(t,t.media,"canplay loadeddata",function(){G(n.volume,!t.hasAudio),G(n.buttons.mute,!t.hasAudio)}),$.call(t,t.media,"ended",function(){t.isHTML5&&t.isVideo&&t.config.resetOnEnd&&t.restart()}),$.call(t,t.media,"progress playing seeking seeked",function(e){return ke.updateProgress.call(t,e)}),$.call(t,t.media,"volumechange",function(e){return ke.updateVolume.call(t,e)}),$.call(t,t.media,"playing play pause ended emptied timeupdate",function(e){return qe.checkPlaying.call(t,e)}),$.call(t,t.media,"waiting canplay seeked playing",function(e){return qe.checkLoading.call(t,e)}),t.supported.ui&&t.config.clickToPlay&&!t.isAudio){var i=Z.call(t,".".concat(t.config.classNames.video));if(!O.element(i))return;$.call(t,n.container,"click",function(r){([n.container,i].includes(r.target)||i.contains(r.target))&&(t.touch&&t.config.hideControls||(t.ended?(e.proxy(r,t.restart,"restart"),e.proxy(r,t.play,"play")):e.proxy(r,t.togglePlay,"play")))})}t.supported.ui&&t.config.disableContextMenu&&$.call(t,n.wrapper,"contextmenu",function(e){e.preventDefault()},!1),$.call(t,t.media,"volumechange",function(){t.storage.set({volume:t.volume,muted:t.muted})}),$.call(t,t.media,"ratechange",function(){ke.updateSetting.call(t,"speed"),t.storage.set({speed:t.speed})}),$.call(t,t.media,"qualitychange",function(e){ke.updateSetting.call(t,"quality",null,e.detail.quality)}),$.call(t,t.media,"ready qualitychange",function(){ke.setDownloadUrl.call(t)});var r=t.config.events.concat(["keyup","keydown"]).join(" ");$.call(t,t.media,r,function(e){var i=e.detail,r=void 0===i?{}:i;"error"===e.type&&(r=t.media.error),q.call(t,n.container,e.type,!0,r)})}},{key:"proxy",value:function(e,t,n){var i=this.player,r=i.config.listeners[n],o=!0;O.function(r)&&(o=r.call(i,e)),o&&O.function(t)&&t.call(i,e)}},{key:"bind",value:function(e,t,n,i){var r=this,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=this.player,s=a.config.listeners[i],l=O.function(s);$.call(a,e,t,function(e){return r.proxy(e,n,i)},o&&!l)}},{key:"controls",value:function(){var e=this,t=this.player,n=t.elements,i=P.isIE?"change":"input";if(n.buttons.play&&Array.from(n.buttons.play).forEach(function(n){e.bind(n,"click",t.togglePlay,"play")}),this.bind(n.buttons.restart,"click",t.restart,"restart"),this.bind(n.buttons.rewind,"click",t.rewind,"rewind"),this.bind(n.buttons.fastForward,"click",t.forward,"fastForward"),this.bind(n.buttons.mute,"click",function(){t.muted=!t.muted},"mute"),this.bind(n.buttons.captions,"click",function(){return t.toggleCaptions()}),this.bind(n.buttons.download,"click",function(){q.call(t,t.media,"download")},"download"),this.bind(n.buttons.fullscreen,"click",function(){t.fullscreen.toggle()},"fullscreen"),this.bind(n.buttons.pip,"click",function(){t.pip="toggle"},"pip"),this.bind(n.buttons.airplay,"click",t.airplay,"airplay"),this.bind(n.buttons.settings,"click",function(e){e.stopPropagation(),ke.toggleMenu.call(t,e)}),this.bind(n.buttons.settings,"keyup",function(e){var n=e.which;[13,32].includes(n)&&(13!==n?(e.preventDefault(),e.stopPropagation(),ke.toggleMenu.call(t,e)):ke.focusFirstMenuItem.call(t,null,!0))},null,!1),this.bind(n.settings.menu,"keydown",function(e){27===e.which&&ke.toggleMenu.call(t,e)}),this.bind(n.inputs.seek,"mousedown mousemove",function(e){var t=n.progress.getBoundingClientRect(),i=100/t.width*(e.pageX-t.left);e.currentTarget.setAttribute("seek-value",i)}),this.bind(n.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",function(e){var n=e.currentTarget,i=e.keyCode?e.keyCode:e.which;if(!O.keyboardEvent(e)||39===i||37===i){t.lastSeekTime=Date.now();var r=n.hasAttribute("play-on-seeked"),o=["mouseup","touchend","keyup"].includes(e.type);r&&o?(n.removeAttribute("play-on-seeked"),t.play()):!o&&t.playing&&(n.setAttribute("play-on-seeked",""),t.pause())}}),P.isIos){var r=X.call(t,'input[type="range"]');Array.from(r).forEach(function(t){return e.bind(t,i,function(e){return E(e.target)})})}this.bind(n.inputs.seek,i,function(e){var n=e.currentTarget,i=n.getAttribute("seek-value");O.empty(i)&&(i=n.value),n.removeAttribute("seek-value"),t.currentTime=i/n.max*t.duration},"seek"),this.bind(n.progress,"mouseenter mouseleave mousemove",function(e){return ke.updateSeekTooltip.call(t,e)}),this.bind(n.progress,"mousemove touchmove",function(e){var n=t.previewThumbnails;n&&n.loaded&&n.startMove(e)}),this.bind(n.progress,"mouseleave click",function(){var e=t.previewThumbnails;e&&e.loaded&&e.endMove(!1,!0)}),this.bind(n.progress,"mousedown touchstart",function(e){var n=t.previewThumbnails;n&&n.loaded&&n.startScrubbing(e)}),this.bind(n.progress,"mouseup touchend",function(e){var n=t.previewThumbnails;n&&n.loaded&&n.endScrubbing(e)}),P.isWebkit&&Array.from(X.call(t,'input[type="range"]')).forEach(function(n){e.bind(n,"input",function(e){return ke.updateRangeFill.call(t,e.target)})}),t.config.toggleInvert&&!O.element(n.display.duration)&&this.bind(n.display.currentTime,"click",function(){0!==t.currentTime&&(t.config.invertTime=!t.config.invertTime,ke.timeUpdate.call(t))}),this.bind(n.inputs.volume,i,function(e){t.volume=e.target.value},"volume"),this.bind(n.controls,"mouseenter mouseleave",function(e){n.controls.hover=!t.touch&&"mouseenter"===e.type}),this.bind(n.controls,"mousedown mouseup touchstart touchend touchcancel",function(e){n.controls.pressed=["mousedown","touchstart"].includes(e.type)}),this.bind(n.controls,"focusin",function(){var i=t.config,r=t.timers;K(n.controls,i.classNames.noTransition,!0),qe.toggleControls.call(t,!0),setTimeout(function(){K(n.controls,i.classNames.noTransition,!1)},0);var o=e.touch?3e3:4e3;clearTimeout(r.controls),r.controls=setTimeout(function(){return qe.toggleControls.call(t,!1)},o)}),this.bind(n.inputs.volume,"wheel",function(e){var n=e.webkitDirectionInvertedFromDevice,i=o([e.deltaX,-e.deltaY].map(function(e){return n?-e:e}),2),r=i[0],a=i[1],s=Math.sign(Math.abs(r)>Math.abs(a)?r:a);t.increaseVolume(s/50);var l=t.media.volume;(1===s&&l<1||-1===s&&l>0)&&e.preventDefault()},"volume",!1)}}]),e}();"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var Fe=function(e,t){return function(e,t){e.exports=function(){var e=function(){},t={},n={},i={};function r(e,t){if(e){var r=i[e];if(n[e]=t,r)for(;r.length;)r[0](e,t),r.splice(0,1)}}function o(t,n){t.call&&(t={success:t}),n.length?(t.error||e)(n):(t.success||e)(t)}function a(t,n,i,r){var o,s,l=document,c=i.async,u=(i.numRetries||0)+1,d=i.before||e,p=t.replace(/^(css|img)!/,"");r=r||0,/(^css!|\.css$)/.test(t)?((s=l.createElement("link")).rel="stylesheet",s.href=p,(o="hideFocus"in s)&&s.relList&&(o=0,s.rel="preload",s.as="style")):/(^img!|\.(png|gif|jpg|svg)$)/.test(t)?(s=l.createElement("img")).src=p:((s=l.createElement("script")).src=t,s.async=void 0===c||c),s.onload=s.onerror=s.onbeforeload=function(e){var l=e.type[0];if(o)try{s.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((r+=1)<u)return a(t,n,i,r)}else if("preload"==s.rel&&"style"==s.as)return s.rel="stylesheet";n(t,l,e.defaultPrevented)},!1!==d(t,s)&&l.head.appendChild(s)}function s(e,n,i){var s,l;if(n&&n.trim&&(s=n),l=(s?i:n)||{},s){if(s in t)throw"LoadJS";t[s]=!0}function c(t,n){!function(e,t,n){var i,r,o=(e=e.push?e:[e]).length,s=o,l=[];for(i=function(e,n,i){if("e"==n&&l.push(e),"b"==n){if(!i)return;l.push(e)}--o||t(l)},r=0;r<s;r++)a(e[r],i,n)}(e,function(e){o(l,e),t&&o({success:t,error:n},e),r(s,e)},l)}if(l.returnPromise)return new Promise(c);c()}return s.ready=function(e,t){return function(e,t){e=e.push?e:[e];var r,o,a,s=[],l=e.length,c=l;for(r=function(e,n){n.length&&s.push(e),--c||t(s)};l--;)o=e[l],(a=n[o])?r(o,a):(i[o]=i[o]||[]).push(r)}(e,function(e){o(t,e)}),s},s.done=function(e){r(e,[])},s.reset=function(){t={},n={},i={}},s.isDefined=function(e){return e in t},s}()}(t={exports:{}}),t.exports}();function Ie(e){return new Promise(function(t,n){Fe(e,{success:t,error:n})})}function Be(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,q.call(this,this.media,e?"play":"pause"))}var ze={setup:function(){var e=this;K(this.elements.wrapper,this.config.classNames.embed,!0),se.call(this),O.object(window.Vimeo)?ze.ready.call(this):Ie(this.config.urls.vimeo.sdk).then(function(){ze.ready.call(e)}).catch(function(t){e.debug.warn("Vimeo SDK (player.js) failed to load",t)})},ready:function(){var e=this,t=this,n=t.config.vimeo,i=Ce(F({},{loop:t.config.loop.active,autoplay:t.autoplay,muted:t.muted,gesture:"media",playsinline:!this.config.fullscreen.iosNative},n)),r=t.media.getAttribute("src");O.empty(r)&&(r=t.media.getAttribute(t.config.attributes.embed.id));var a,s=(a=r,O.empty(a)?null:O.number(Number(a))?a:a.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:a),l=z("iframe"),c=ue(t.config.urls.vimeo.iframe,s,i);l.setAttribute("src",c),l.setAttribute("allowfullscreen",""),l.setAttribute("allowtransparency",""),l.setAttribute("allow","autoplay");var u=z("div",{poster:t.poster,class:t.config.classNames.embedContainer});u.appendChild(l),t.media=W(u,t.media),ve(ue(t.config.urls.vimeo.api,s),"json").then(function(e){if(!O.empty(e)){var n=new URL(e[0].thumbnail_large);n.pathname="".concat(n.pathname.split("_")[0],".jpg"),qe.setPoster.call(t,n.href).catch(function(){})}}),t.embed=new window.Vimeo.Player(l,{autopause:t.config.autopause,muted:t.muted}),t.media.paused=!0,t.media.currentTime=0,t.supported.ui&&t.embed.disableTextTrack(),t.media.play=function(){return Be.call(t,!0),t.embed.play()},t.media.pause=function(){return Be.call(t,!1),t.embed.pause()},t.media.stop=function(){t.pause(),t.currentTime=0};var d=t.media.currentTime;Object.defineProperty(t.media,"currentTime",{get:function(){return d},set:function(e){var n=t.embed,i=t.media,r=t.paused,o=t.volume,a=r&&!n.hasPlayed;i.seeking=!0,q.call(t,i,"seeking"),Promise.resolve(a&&n.setVolume(0)).then(function(){return n.setCurrentTime(e)}).then(function(){return a&&n.pause()}).then(function(){return a&&n.setVolume(o)}).catch(function(){})}});var p=t.config.speed.selected;Object.defineProperty(t.media,"playbackRate",{get:function(){return p},set:function(e){t.embed.setPlaybackRate(e).then(function(){p=e,q.call(t,t.media,"ratechange")}).catch(function(e){"Error"===e.name&&ke.setSpeedMenu.call(t,[])})}});var f=t.config.volume;Object.defineProperty(t.media,"volume",{get:function(){return f},set:function(e){t.embed.setVolume(e).then(function(){f=e,q.call(t,t.media,"volumechange")})}});var h=t.config.muted;Object.defineProperty(t.media,"muted",{get:function(){return h},set:function(e){var n=!!O.boolean(e)&&e;t.embed.setVolume(n?0:t.config.volume).then(function(){h=n,q.call(t,t.media,"volumechange")})}});var m,g=t.config.loop;Object.defineProperty(t.media,"loop",{get:function(){return g},set:function(e){var n=O.boolean(e)?e:t.config.loop.active;t.embed.setLoop(n).then(function(){g=n})}}),t.embed.getVideoUrl().then(function(e){m=e,ke.setDownloadUrl.call(t)}).catch(function(t){e.debug.warn(t)}),Object.defineProperty(t.media,"currentSrc",{get:function(){return m}}),Object.defineProperty(t.media,"ended",{get:function(){return t.currentTime===t.duration}}),Promise.all([t.embed.getVideoWidth(),t.embed.getVideoHeight()]).then(function(n){var i=o(n,2),r=i[0],a=i[1];t.embed.ratio=[r,a],se.call(e)}),t.embed.setAutopause(t.config.autopause).then(function(e){t.config.autopause=e}),t.embed.getVideoTitle().then(function(n){t.config.title=n,qe.setTitle.call(e)}),t.embed.getCurrentTime().then(function(e){d=e,q.call(t,t.media,"timeupdate")}),t.embed.getDuration().then(function(e){t.media.duration=e,q.call(t,t.media,"durationchange")}),t.embed.getTextTracks().then(function(e){t.media.textTracks=e,Se.setup.call(t)}),t.embed.on("cuechange",function(e){var n=e.cues,i=(void 0===n?[]:n).map(function(e){return function(e){var t=document.createDocumentFragment(),n=document.createElement("div");return t.appendChild(n),n.innerHTML=e,t.firstChild.innerText}(e.text)});Se.updateCues.call(t,i)}),t.embed.on("loaded",function(){t.embed.getPaused().then(function(e){Be.call(t,!e),e||q.call(t,t.media,"playing")}),O.element(t.embed.element)&&t.supported.ui&&t.embed.element.setAttribute("tabindex",-1)}),t.embed.on("play",function(){Be.call(t,!0),q.call(t,t.media,"playing")}),t.embed.on("pause",function(){Be.call(t,!1)}),t.embed.on("timeupdate",function(e){t.media.seeking=!1,d=e.seconds,q.call(t,t.media,"timeupdate")}),t.embed.on("progress",function(e){t.media.buffered=e.percent,q.call(t,t.media,"progress"),1===parseInt(e.percent,10)&&q.call(t,t.media,"canplaythrough"),t.embed.getDuration().then(function(e){e!==t.media.duration&&(t.media.duration=e,q.call(t,t.media,"durationchange"))})}),t.embed.on("seeked",function(){t.media.seeking=!1,q.call(t,t.media,"seeked")}),t.embed.on("ended",function(){t.media.paused=!0,q.call(t,t.media,"ended")}),t.embed.on("error",function(e){t.media.error=e,q.call(t,t.media,"error")}),setTimeout(function(){return qe.build.call(t)},0)}};function He(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,q.call(this,this.media,e?"play":"pause"))}var Ue,Ve={setup:function(){var e=this;if(K(this.elements.wrapper,this.config.classNames.embed,!0),O.object(window.YT)&&O.function(window.YT.Player))Ve.ready.call(this);else{var t=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){O.function(t)&&t(),Ve.ready.call(e)},Ie(this.config.urls.youtube.sdk).catch(function(t){e.debug.warn("YouTube API failed to load",t)})}},getTitle:function(e){var t=this;ve(ue(this.config.urls.youtube.api,e)).then(function(e){if(O.object(e)){var n=e.title,i=e.height,r=e.width;t.config.title=n,qe.setTitle.call(t),t.embed.ratio=[r,i]}se.call(t)}).catch(function(){se.call(t)})},ready:function(){var e=this,t=e.media&&e.media.getAttribute("id");if(O.empty(t)||!t.startsWith("youtube-")){var n=e.media.getAttribute("src");O.empty(n)&&(n=e.media.getAttribute(this.config.attributes.embed.id));var i,r,o=(i=n,O.empty(i)?null:i.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:i),a=(r=e.provider,"".concat(r,"-").concat(Math.floor(1e4*Math.random()))),s=z("div",{id:a,poster:e.poster});e.media=W(s,e.media);var l=function(e){return"https://i.ytimg.com/vi/".concat(o,"/").concat(e,"default.jpg")};De(l("maxres"),121).catch(function(){return De(l("sd"),121)}).catch(function(){return De(l("hq"))}).then(function(t){return qe.setPoster.call(e,t.src)}).then(function(t){t.includes("maxres")||(e.elements.poster.style.backgroundSize="cover")}).catch(function(){});var c=e.config.youtube;e.embed=new window.YT.Player(a,{videoId:o,host:function(e){return e.noCookie?"https://www.youtube-nocookie.com":"http:"===window.location.protocol?"http://www.youtube.com":void 0}(c),playerVars:F({},{autoplay:e.config.autoplay?1:0,hl:e.config.hl,controls:e.supported.ui?0:1,disablekb:1,playsinline:e.config.fullscreen.iosNative?0:1,cc_load_policy:e.captions.active?1:0,cc_lang_pref:e.config.captions.language,widget_referrer:window?window.location.href:null},c),events:{onError:function(t){if(!e.media.error){var n=t.data,i={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[n]||"An unknown error occured";e.media.error={code:n,message:i},q.call(e,e.media,"error")}},onPlaybackRateChange:function(t){var n=t.target;e.media.playbackRate=n.getPlaybackRate(),q.call(e,e.media,"ratechange")},onReady:function(t){if(!O.function(e.media.play)){var n=t.target;Ve.getTitle.call(e,o),e.media.play=function(){He.call(e,!0),n.playVideo()},e.media.pause=function(){He.call(e,!1),n.pauseVideo()},e.media.stop=function(){n.stopVideo()},e.media.duration=n.getDuration(),e.media.paused=!0,e.media.currentTime=0,Object.defineProperty(e.media,"currentTime",{get:function(){return Number(n.getCurrentTime())},set:function(t){e.paused&&!e.embed.hasPlayed&&e.embed.mute(),e.media.seeking=!0,q.call(e,e.media,"seeking"),n.seekTo(t)}}),Object.defineProperty(e.media,"playbackRate",{get:function(){return n.getPlaybackRate()},set:function(e){n.setPlaybackRate(e)}});var i=e.config.volume;Object.defineProperty(e.media,"volume",{get:function(){return i},set:function(t){i=t,n.setVolume(100*i),q.call(e,e.media,"volumechange")}});var r=e.config.muted;Object.defineProperty(e.media,"muted",{get:function(){return r},set:function(t){var i=O.boolean(t)?t:r;r=i,n[i?"mute":"unMute"](),q.call(e,e.media,"volumechange")}}),Object.defineProperty(e.media,"currentSrc",{get:function(){return n.getVideoUrl()}}),Object.defineProperty(e.media,"ended",{get:function(){return e.currentTime===e.duration}}),e.options.speed=n.getAvailablePlaybackRates(),e.supported.ui&&e.media.setAttribute("tabindex",-1),q.call(e,e.media,"timeupdate"),q.call(e,e.media,"durationchange"),clearInterval(e.timers.buffering),e.timers.buffering=setInterval(function(){e.media.buffered=n.getVideoLoadedFraction(),(null===e.media.lastBuffered||e.media.lastBuffered<e.media.buffered)&&q.call(e,e.media,"progress"),e.media.lastBuffered=e.media.buffered,1===e.media.buffered&&(clearInterval(e.timers.buffering),q.call(e,e.media,"canplaythrough"))},200),setTimeout(function(){return qe.build.call(e)},50)}},onStateChange:function(t){var n=t.target;switch(clearInterval(e.timers.playing),e.media.seeking&&[1,2].includes(t.data)&&(e.media.seeking=!1,q.call(e,e.media,"seeked")),t.data){case-1:q.call(e,e.media,"timeupdate"),e.media.buffered=n.getVideoLoadedFraction(),q.call(e,e.media,"progress");break;case 0:He.call(e,!1),e.media.loop?(n.stopVideo(),n.playVideo()):q.call(e,e.media,"ended");break;case 1:e.config.autoplay||!e.media.paused||e.embed.hasPlayed?(He.call(e,!0),q.call(e,e.media,"playing"),e.timers.playing=setInterval(function(){q.call(e,e.media,"timeupdate")},50),e.media.duration!==n.getDuration()&&(e.media.duration=n.getDuration(),q.call(e,e.media,"durationchange"))):e.media.pause();break;case 2:e.muted||e.embed.unMute(),He.call(e,!1)}q.call(e,e.elements.container,"statechange",!1,{code:t.data})}}})}}},We={setup:function(){this.media?(K(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),K(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&K(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=z("div",{class:this.config.classNames.video}),I(this.media,this.elements.wrapper),this.elements.poster=z("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?le.extend.call(this):this.isYouTube?Ve.setup.call(this):this.isVimeo&&ze.setup.call(this)):this.debug.warn("No media element found!")}},Ye=function(){function e(n){var i=this;t(this,e),this.player=n,this.config=n.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise(function(e,t){i.on("loaded",e),i.on("error",t)}),this.load()}return i(e,[{key:"load",value:function(){var e=this;this.enabled&&(O.object(window.google)&&O.object(window.google.ima)?this.ready():Ie(this.player.config.urls.googleIMA.sdk).then(function(){e.ready()}).catch(function(){e.trigger("error",new Error("Google IMA SDK failed to load"))}))}},{key:"ready",value:function(){var e,t=this;this.enabled||((e=this).manager&&e.manager.destroy(),e.elements.displayContainer&&e.elements.displayContainer.destroy(),e.elements.container.remove()),this.startSafetyTimer(12e3,"ready()"),this.managerPromise.then(function(){t.clearSafetyTimer("onAdsManagerLoaded()")}),this.listeners(),this.setupIMA()}},{key:"setupIMA",value:function(){this.elements.container=z("div",{class:this.player.config.classNames.ads}),this.player.elements.container.appendChild(this.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(this.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this.player.config.playsinline),this.elements.displayContainer=new google.ima.AdDisplayContainer(this.elements.container,this.player.media),this.requestAds()}},{key:"requestAds",value:function(){var e=this,t=this.player.elements.container;try{this.loader=new google.ima.AdsLoader(this.elements.displayContainer),this.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,function(t){return e.onAdsManagerLoaded(t)},!1),this.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,function(t){return e.onAdError(t)},!1);var n=new google.ima.AdsRequest;n.adTagUrl=this.tagUrl,n.linearAdSlotWidth=t.offsetWidth,n.linearAdSlotHeight=t.offsetHeight,n.nonLinearAdSlotWidth=t.offsetWidth,n.nonLinearAdSlotHeight=t.offsetHeight,n.forceNonLinearFullSlot=!1,n.setAdWillPlayMuted(!this.player.muted),this.loader.requestAds(n)}catch(e){this.onAdError(e)}}},{key:"pollCountdown",value:function(){var e=this;if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0]))return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval(function(){var t=xe(Math.max(e.manager.getRemainingTime(),0)),n="".concat(me("advertisement",e.player.config)," - ").concat(t);e.elements.container.setAttribute("data-badge-text",n)},100)}},{key:"onAdsManagerLoaded",value:function(e){var t=this;if(this.enabled){var n=new google.ima.AdsRenderingSettings;n.restoreCustomPlaybackStateOnAdBreakComplete=!0,n.enablePreloading=!0,this.manager=e.getAdsManager(this.player,n),this.cuePoints=this.manager.getCuePoints(),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,function(e){return t.onAdError(e)}),Object.keys(google.ima.AdEvent.Type).forEach(function(e){t.manager.addEventListener(google.ima.AdEvent.Type[e],function(e){return t.onAdEvent(e)})}),this.trigger("loaded")}}},{key:"addCuePoints",value:function(){var e=this;O.empty(this.cuePoints)||this.cuePoints.forEach(function(t){if(0!==t&&-1!==t&&t<e.player.duration){var n=e.player.elements.progress;if(O.element(n)){var i=100/e.player.duration*t,r=z("span",{class:e.player.config.classNames.cues});r.style.left="".concat(i.toString(),"%"),n.appendChild(r)}}})}},{key:"onAdEvent",value:function(e){var t=this,n=this.player.elements.container,i=e.getAd(),r=e.getAdData();switch(function(e){q.call(t.player,t.player.media,"ads".concat(e.replace(/_/g,"").toLowerCase()))}(e.type),e.type){case google.ima.AdEvent.Type.LOADED:this.trigger("loaded"),this.pollCountdown(!0),i.isLinear()||(i.width=n.offsetWidth,i.height=n.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:this.manager.setVolume(this.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this.loadAds();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:this.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:this.pollCountdown(),this.resumeContent();break;case google.ima.AdEvent.Type.LOG:r.adError&&this.player.debug.warn("Non-fatal ad error: ".concat(r.adError.getMessage()))}}},{key:"onAdError",value:function(e){this.cancel(),this.player.debug.warn("Ads error",e)}},{key:"listeners",value:function(){var e,t=this,n=this.player.elements.container;this.player.on("canplay",function(){t.addCuePoints()}),this.player.on("ended",function(){t.loader.contentComplete()}),this.player.on("timeupdate",function(){e=t.player.currentTime}),this.player.on("seeked",function(){var n=t.player.currentTime;O.empty(t.cuePoints)||t.cuePoints.forEach(function(i,r){e<i&&i<n&&(t.manager.discardAdBreak(),t.cuePoints.splice(r,1))})}),window.addEventListener("resize",function(){t.manager&&t.manager.resize(n.offsetWidth,n.offsetHeight,google.ima.ViewMode.NORMAL)})}},{key:"play",value:function(){var e=this,t=this.player.elements.container;this.managerPromise||this.resumeContent(),this.managerPromise.then(function(){e.manager.setVolume(e.player.volume),e.elements.displayContainer.initialize();try{e.initialized||(e.manager.init(t.offsetWidth,t.offsetHeight,google.ima.ViewMode.NORMAL),e.manager.start()),e.initialized=!0}catch(t){e.onAdError(t)}}).catch(function(){})}},{key:"resumeContent",value:function(){this.elements.container.style.zIndex="",this.playing=!1,this.player.media.play()}},{key:"pauseContent",value:function(){this.elements.container.style.zIndex=3,this.playing=!0,this.player.media.pause()}},{key:"cancel",value:function(){this.initialized&&this.resumeContent(),this.trigger("error"),this.loadAds()}},{key:"loadAds",value:function(){var e=this;this.managerPromise.then(function(){e.manager&&e.manager.destroy(),e.managerPromise=new Promise(function(t){e.on("loaded",t),e.player.debug.log(e.manager)}),e.requestAds()}).catch(function(){})}},{key:"trigger",value:function(e){for(var t=this,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=this.events[e];O.array(o)&&o.forEach(function(e){O.function(e)&&e.apply(t,i)})}},{key:"on",value:function(e,t){return O.array(this.events[e])||(this.events[e]=[]),this.events[e].push(t),this}},{key:"startSafetyTimer",value:function(e,t){var n=this;this.player.debug.log("Safety timer invoked from: ".concat(t)),this.safetyTimer=setTimeout(function(){n.cancel(),n.clearSafetyTimer("startSafetyTimer()")},e)}},{key:"clearSafetyTimer",value:function(e){O.nullOrUndefined(this.safetyTimer)||(this.player.debug.log("Safety timer cleared from: ".concat(e)),clearTimeout(this.safetyTimer),this.safetyTimer=null)}},{key:"enabled",get:function(){var e=this.config;return this.player.isHTML5&&this.player.isVideo&&e.enabled&&(!O.empty(e.publisherId)||O.url(e.tagUrl))}},{key:"tagUrl",get:function(){var e=this.config;if(O.url(e.tagUrl))return e.tagUrl;var t={AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:this.publisherId};return"".concat("https://go.aniview.com/api/adserver6/vast/","?").concat(Ce(t))}}]),e}(),Ge=function(){function e(n){t(this,e),this.player=n,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}return i(e,[{key:"load",value:function(){var e=this;this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then(function(){e.enabled&&(e.render(),e.determineContainerAutoSizing(),e.loaded=!0)})}},{key:"getThumbnails",value:function(){var e=this;return new Promise(function(t){var n=e.player.config.previewThumbnails.src;if(O.empty(n))throw new Error("Missing previewThumbnails.src config attribute");var i=(O.string(n)?[n]:n).map(function(t){return e.getThumbnail(t)});Promise.all(i).then(function(){e.thumbnails.sort(function(e,t){return e.height-t.height}),e.player.debug.log("Preview thumbnails",e.thumbnails),t()})})}},{key:"getThumbnail",value:function(e){var t=this;return new Promise(function(n){ve(e).then(function(i){var r,a,s={frames:(r=i,a=[],r.split(/\r\n\r\n|\n\n|\r\r/).forEach(function(e){var t={};e.split(/\r\n|\n|\r/).forEach(function(e){if(O.number(t.startTime)){if(!O.empty(e.trim())&&O.empty(t.text)){var n=e.trim().split("#xywh="),i=o(n,1);if(t.text=i[0],n[1]){var r=o(n[1].split(","),4);t.x=r[0],t.y=r[1],t.w=r[2],t.h=r[3]}}}else{var a=e.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);a&&(t.startTime=60*Number(a[1]||0)*60+60*Number(a[2])+Number(a[3])+Number("0.".concat(a[4])),t.endTime=60*Number(a[6]||0)*60+60*Number(a[7])+Number(a[8])+Number("0.".concat(a[9])))}}),t.text&&a.push(t)}),a),height:null,urlPrefix:""};s.frames[0].text.startsWith("/")||s.frames[0].text.startsWith("http://")||s.frames[0].text.startsWith("https://")||(s.urlPrefix=e.substring(0,e.lastIndexOf("/")+1));var l=new Image;l.onload=function(){s.height=l.naturalHeight,s.width=l.naturalWidth,t.thumbnails.push(s),n()},l.src=s.urlPrefix+s.frames[0].text})})}},{key:"startMove",value:function(e){if(this.loaded&&O.event(e)&&["touchmove","mousemove"].includes(e.type)&&this.player.media.duration){if("touchmove"===e.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var t=this.player.elements.progress.getBoundingClientRect(),n=100/t.width*(e.pageX-t.left);this.seekTime=this.player.media.duration*(n/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=e.pageX,this.elements.thumb.time.innerText=xe(this.seekTime)}this.showImageAtCurrentTime()}}},{key:"endMove",value:function(){this.toggleThumbContainer(!1,!0)}},{key:"startScrubbing",value:function(e){!1!==e.button&&0!==e.button||(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))}},{key:"endScrubbing",value:function(){var e=this;this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):D.call(this.player,this.player.media,"timeupdate",function(){e.mouseDown||e.toggleScrubbingContainer(!1)})}},{key:"listeners",value:function(){var e=this;this.player.on("play",function(){e.toggleThumbContainer(!1,!0)}),this.player.on("seeked",function(){e.toggleThumbContainer(!1)}),this.player.on("timeupdate",function(){e.lastTime=e.player.media.currentTime})}},{key:"render",value:function(){this.elements.thumb.container=z("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=z("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);var e=z("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=z("span",{},"00:00"),e.appendChild(this.elements.thumb.time),this.elements.thumb.container.appendChild(e),O.element(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=z("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)}},{key:"showImageAtCurrentTime",value:function(){var e=this;this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();var t=this.thumbnails[0].frames.findIndex(function(t){return e.seekTime>=t.startTime&&e.seekTime<=t.endTime}),n=t>=0,i=0;this.mouseDown||this.toggleThumbContainer(n),n&&(this.thumbnails.forEach(function(n,r){e.loadedImages.includes(n.frames[t].text)&&(i=r)}),t!==this.showingThumb&&(this.showingThumb=t,this.loadImage(i)))}},{key:"loadImage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=this.showingThumb,i=this.thumbnails[t],r=i.urlPrefix,o=i.frames[n],a=i.frames[n].text,s=r+a;if(this.currentImageElement&&this.currentImageElement.dataset.filename===a)this.showImage(this.currentImageElement,o,t,n,a,!1),this.currentImageElement.dataset.index=n,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);var l=new Image;l.src=s,l.dataset.index=n,l.dataset.filename=a,this.showingThumbFilename=a,this.player.debug.log("Loading image: ".concat(s)),l.onload=function(){return e.showImage(l,o,t,n,a,!0)},this.loadingImage=l,this.removeOldImages(l)}}},{key:"showImage",value:function(e,t,n,i,r){var o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];this.player.debug.log("Showing thumb: ".concat(r,". num: ").concat(i,". qual: ").concat(n,". newimg: ").concat(o)),this.setImageSizeAndOffset(e,t),o&&(this.currentImageContainer.appendChild(e),this.currentImageElement=e,this.loadedImages.includes(r)||this.loadedImages.push(r)),this.preloadNearby(i,!0).then(this.preloadNearby(i,!1)).then(this.getHigherQuality(n,e,t,r))}},{key:"removeOldImages",value:function(e){var t=this;Array.from(this.currentImageContainer.children).forEach(function(n){if("img"===n.tagName.toLowerCase()){var i=t.usingSprites?500:1e3;if(n.dataset.index!==e.dataset.index&&!n.dataset.deleting){n.dataset.deleting=!0;var r=t.currentImageContainer;setTimeout(function(){r.removeChild(n),t.player.debug.log("Removing thumb: ".concat(n.dataset.filename))},i)}}})}},{key:"preloadNearby",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new Promise(function(i){setTimeout(function(){var r=t.thumbnails[0].frames[e].text;if(t.showingThumbFilename===r){var o;o=n?t.thumbnails[0].frames.slice(e):t.thumbnails[0].frames.slice(0,e).reverse();var a=!1;o.forEach(function(e){var n=e.text;if(n!==r&&!t.loadedImages.includes(n)){a=!0,t.player.debug.log("Preloading thumb filename: ".concat(n));var o=t.thumbnails[0].urlPrefix+n,s=new Image;s.src=o,s.onload=function(){t.player.debug.log("Preloaded thumb filename: ".concat(n)),t.loadedImages.includes(n)||t.loadedImages.push(n),i()}}}),a||i()}},300)})}},{key:"getHigherQuality",value:function(e,t,n,i){var r=this;if(e<this.thumbnails.length-1){var o=t.naturalHeight;this.usingSprites&&(o=n.h),o<this.thumbContainerHeight&&setTimeout(function(){r.showingThumbFilename===i&&(r.player.debug.log("Showing higher quality thumb for: ".concat(i)),r.loadImage(e+1))},300)}}},{key:"toggleThumbContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(n,e),!e&&t&&(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"toggleScrubbingContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(t,e),e||(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"determineContainerAutoSizing",value:function(){this.elements.thumb.imageContainer.clientHeight>20&&(this.sizeSpecifiedInCSS=!0)}},{key:"setThumbContainerSizeAndPos",value:function(){if(!this.sizeSpecifiedInCSS){var e=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);this.elements.thumb.imageContainer.style.height="".concat(this.thumbContainerHeight,"px"),this.elements.thumb.imageContainer.style.width="".concat(e,"px")}this.setThumbContainerPos()}},{key:"setThumbContainerPos",value:function(){var e=this.player.elements.progress.getBoundingClientRect(),t=this.player.elements.container.getBoundingClientRect(),n=this.elements.thumb.container,i=t.left-e.left+10,r=t.right-e.left-n.clientWidth-10,o=this.mousePosX-e.left-n.clientWidth/2;o<i&&(o=i),o>r&&(o=r),n.style.left="".concat(o,"px")}},{key:"setScrubbingContainerSize",value:function(){this.elements.scrubbing.container.style.width="".concat(this.player.media.clientWidth,"px"),this.elements.scrubbing.container.style.height="".concat(this.player.media.clientWidth/this.thumbAspectRatio,"px")}},{key:"setImageSizeAndOffset",value:function(e,t){if(this.usingSprites){var n=this.thumbContainerHeight/t.h;e.style.height="".concat(Math.floor(e.naturalHeight*n),"px"),e.style.width="".concat(Math.floor(e.naturalWidth*n),"px"),e.style.left="-".concat(t.x*n,"px"),e.style.top="-".concat(t.y*n,"px")}}},{key:"enabled",get:function(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}},{key:"currentImageContainer",get:function(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}},{key:"usingSprites",get:function(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}},{key:"thumbAspectRatio",get:function(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}},{key:"thumbContainerHeight",get:function(){return this.mouseDown?Math.floor(this.player.media.clientWidth/this.thumbAspectRatio):Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}},{key:"currentImageElement",get:function(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement},set:function(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}]),e}(),Ke={insertElements:function(e,t){var n=this;O.string(t)?H(e,this.media,{src:t}):O.array(t)&&t.forEach(function(t){H(e,n.media,t)})},change:function(e){var t=this;R(e,"sources.length")?(le.cancelRequests.call(this),this.destroy.call(this,function(){t.options.quality=[],U(t.media),t.media=null,O.element(t.elements.container)&&t.elements.container.removeAttribute("class");var n=e.sources,i=e.type,r=o(n,1)[0],a=r.provider,s=void 0===a?Te.html5:a,l=r.src,c="html5"===s?i:"div",u="html5"===s?{}:{src:l};Object.assign(t,{provider:s,type:i,supported:ie.check(i,s,t.config.playsinline),media:z(c,u)}),t.elements.container.appendChild(t.media),O.boolean(e.autoplay)&&(t.config.autoplay=e.autoplay),t.isHTML5&&(t.config.crossorigin&&t.media.setAttribute("crossorigin",""),t.config.autoplay&&t.media.setAttribute("autoplay",""),O.empty(e.poster)||(t.poster=e.poster),t.config.loop.active&&t.media.setAttribute("loop",""),t.config.muted&&t.media.setAttribute("muted",""),t.config.playsinline&&t.media.setAttribute("playsinline","")),qe.addStyleHook.call(t),t.isHTML5&&Ke.insertElements.call(t,"source",n),t.config.title=e.title,We.setup.call(t),t.isHTML5&&Object.keys(e).includes("tracks")&&Ke.insertElements.call(t,"track",e.tracks),(t.isHTML5||t.isEmbed&&!t.supported.ui)&&qe.build.call(t),t.isHTML5&&t.media.load(),t.previewThumbnails&&t.previewThumbnails.load(),t.fullscreen.update()},!0)):this.debug.warn("Invalid source format")}},Qe=function(){function e(n,i){var r=this;if(t(this,e),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=ie.touch,this.media=n,O.string(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||O.nodeList(this.media)||O.array(this.media))&&(this.media=this.media[0]),this.config=F({},Me,e.defaults,i||{},function(){try{return JSON.parse(r.media.getAttribute("data-plyr-config"))}catch(e){return{}}}()),this.elements={container:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new je(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",ie),!O.nullOrUndefined(this.media)&&O.element(this.media))if(this.media.plyr)this.debug.warn("Target already setup");else if(this.config.enabled)if(ie.check().api){var o=this.media.cloneNode(!0);o.autoplay=!1,this.elements.original=o;var a=this.media.tagName.toLowerCase(),s=null,l=null;switch(a){case"div":if(s=this.media.querySelector("iframe"),O.element(s)){if(l=Ae(s.getAttribute("src")),this.provider=function(e){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(e)?Te.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(e)?Te.vimeo:null}(l.toString()),this.elements.container=this.media,this.media=s,this.elements.container.className="",l.search.length){var c=["1","true"];c.includes(l.searchParams.get("autoplay"))&&(this.config.autoplay=!0),c.includes(l.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=c.includes(l.searchParams.get("playsinline")),this.config.youtube.hl=l.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(O.empty(this.provider)||!Object.keys(Te).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=Ee.video;break;case"video":case"audio":this.type=a,this.provider=Te.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=ie.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new Re(this),this.storage=new ge(this),this.media.plyr=this,O.element(this.elements.container)||(this.elements.container=z("div",{tabindex:0}),I(this.media,this.elements.container)),qe.addStyleHook.call(this),We.setup.call(this),this.config.debug&&$.call(this,this.elements.container,this.config.events.join(" "),function(e){r.debug.log("event: ".concat(e.type))}),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&qe.build.call(this),this.listeners.container(),this.listeners.global(),this.fullscreen=new Le(this),this.config.ads.enabled&&(this.ads=new Ye(this)),this.isHTML5&&this.config.autoplay&&setTimeout(function(){return r.play()},10),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new Ge(this))):this.debug.error("Setup failed: no support")}else this.debug.error("Setup failed: no support");else this.debug.error("Setup failed: disabled by config");else this.debug.error("Setup failed: no suitable element passed")}return i(e,[{key:"play",value:function(){var e=this;return O.function(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then(function(){return e.ads.play()}).catch(function(){return e.media.play()}),this.media.play()):null}},{key:"pause",value:function(){this.playing&&O.function(this.media.pause)&&this.media.pause()}},{key:"togglePlay",value:function(e){(O.boolean(e)?e:!this.playing)?this.play():this.pause()}},{key:"stop",value:function(){this.isHTML5?(this.pause(),this.restart()):O.function(this.media.stop)&&this.media.stop()}},{key:"restart",value:function(){this.currentTime=0}},{key:"rewind",value:function(e){this.currentTime=this.currentTime-(O.number(e)?e:this.config.seekTime)}},{key:"forward",value:function(e){this.currentTime=this.currentTime+(O.number(e)?e:this.config.seekTime)}},{key:"increaseVolume",value:function(e){var t=this.media.muted?0:this.volume;this.volume=t+(O.number(e)?e:0)}},{key:"decreaseVolume",value:function(e){this.increaseVolume(-e)}},{key:"toggleCaptions",value:function(e){Se.toggle.call(this,e,!1)}},{key:"airplay",value:function(){ie.airplay&&this.media.webkitShowPlaybackTargetPicker()}},{key:"toggleControls",value:function(e){if(this.supported.ui&&!this.isAudio){var t=Q(this.elements.container,this.config.classNames.hideControls),n=void 0===e?void 0:!e,i=K(this.elements.container,this.config.classNames.hideControls,n);if(i&&this.config.controls.includes("settings")&&!O.empty(this.config.settings)&&ke.toggleMenu.call(this,!1),i!==t){var r=i?"controlshidden":"controlsshown";q.call(this,this.media,r)}return!i}return!1}},{key:"on",value:function(e,t){$.call(this,this.elements.container,e,t)}},{key:"once",value:function(e,t){D.call(this,this.elements.container,e,t)}},{key:"off",value:function(e,t){L(this.elements.container,e,t)}},{key:"destroy",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.ready){var i=function(){document.body.style.overflow="",t.embed=null,n?(Object.keys(t.elements).length&&(U(t.elements.buttons.play),U(t.elements.captions),U(t.elements.controls),U(t.elements.wrapper),t.elements.buttons.play=null,t.elements.captions=null,t.elements.controls=null,t.elements.wrapper=null),O.function(e)&&e()):(function(){this&&this.eventListeners&&(this.eventListeners.forEach(function(e){var t=e.element,n=e.type,i=e.callback,r=e.options;t.removeEventListener(n,i,r)}),this.eventListeners=[])}.call(t),W(t.elements.original,t.elements.container),q.call(t,t.elements.original,"destroyed",!0),O.function(e)&&e.call(t.elements.original),t.ready=!1,setTimeout(function(){t.elements=null,t.media=null},200))};this.stop(),clearTimeout(this.timers.loading),clearTimeout(this.timers.controls),clearTimeout(this.timers.resized),this.isHTML5?(qe.toggleNativeControls.call(this,!0),i()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&O.function(this.embed.destroy)&&this.embed.destroy(),i()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(i),setTimeout(i,200))}}},{key:"supports",value:function(e){return ie.mime.call(this,e)}},{key:"isHTML5",get:function(){return this.provider===Te.html5}},{key:"isEmbed",get:function(){return this.isYouTube||this.isVimeo}},{key:"isYouTube",get:function(){return this.provider===Te.youtube}},{key:"isVimeo",get:function(){return this.provider===Te.vimeo}},{key:"isVideo",get:function(){return this.type===Ee.video}},{key:"isAudio",get:function(){return this.type===Ee.audio}},{key:"playing",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:"paused",get:function(){return Boolean(this.media.paused)}},{key:"stopped",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:"ended",get:function(){return Boolean(this.media.ended)}},{key:"currentTime",set:function(e){if(this.duration){var t=O.number(e)&&e>0;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log("Seeking to ".concat(this.currentTime," seconds"))}},get:function(){return Number(this.media.currentTime)}},{key:"buffered",get:function(){var e=this.media.buffered;return O.number(e)?e:e&&e.length&&this.duration>0?e.end(0)/this.duration:0}},{key:"seeking",get:function(){return Boolean(this.media.seeking)}},{key:"duration",get:function(){var e=parseFloat(this.config.duration),t=(this.media||{}).duration,n=O.number(t)&&t!==1/0?t:0;return e||n}},{key:"volume",set:function(e){var t=e;O.string(t)&&(t=Number(t)),O.number(t)||(t=this.storage.get("volume")),O.number(t)||(t=this.config.volume),t>1&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!O.empty(e)&&this.muted&&t>0&&(this.muted=!1)},get:function(){return Number(this.media.volume)}},{key:"muted",set:function(e){var t=e;O.boolean(t)||(t=this.storage.get("muted")),O.boolean(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t},get:function(){return Boolean(this.media.muted)}},{key:"hasAudio",get:function(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}},{key:"speed",set:function(e){var t=this,n=null;O.number(e)&&(n=e),O.number(n)||(n=this.storage.get("speed")),O.number(n)||(n=this.config.speed.selected);var i=this.minimumSpeed,r=this.maximumSpeed;n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:255;return Math.min(Math.max(e,t),n)}(n,i,r),this.config.speed.selected=n,setTimeout(function(){t.media.playbackRate=n},0)},get:function(){return Number(this.media.playbackRate)}},{key:"minimumSpeed",get:function(){return this.isYouTube?Math.min.apply(Math,a(this.options.speed)):this.isVimeo?.5:.0625}},{key:"maximumSpeed",get:function(){return this.isYouTube?Math.max.apply(Math,a(this.options.speed)):this.isVimeo?2:16}},{key:"quality",set:function(e){var t=this.config.quality,n=this.options.quality;if(n.length){var i=[!O.empty(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find(O.number),r=!0;if(!n.includes(i)){var o=function(e,t){return O.array(e)&&e.length?e.reduce(function(e,n){return Math.abs(n-t)<Math.abs(e-t)?n:e}):null}(n,i);this.debug.warn("Unsupported quality option: ".concat(i,", using ").concat(o," instead")),i=o,r=!1}t.selected=i,this.media.quality=i,r&&this.storage.set({quality:i})}},get:function(){return this.media.quality}},{key:"loop",set:function(e){var t=O.boolean(e)?e:this.config.loop.active;this.config.loop.active=t,this.media.loop=t},get:function(){return Boolean(this.media.loop)}},{key:"source",set:function(e){Ke.change.call(this,e)},get:function(){return this.media.currentSrc}},{key:"download",get:function(){var e=this.config.urls.download;return O.url(e)?e:this.source},set:function(e){O.url(e)&&(this.config.urls.download=e,ke.setDownloadUrl.call(this))}},{key:"poster",set:function(e){this.isVideo?qe.setPoster.call(this,e,!1).catch(function(){}):this.debug.warn("Poster can only be set for video")},get:function(){return this.isVideo?this.media.getAttribute("poster"):null}},{key:"ratio",get:function(){if(!this.isVideo)return null;var e=oe(ae.call(this));return O.array(e)?e.join(":"):e},set:function(e){this.isVideo?O.string(e)&&re(e)?(this.config.ratio=e,se.call(this)):this.debug.error("Invalid aspect ratio specified (".concat(e,")")):this.debug.warn("Aspect ratio can only be set for video")}},{key:"autoplay",set:function(e){var t=O.boolean(e)?e:this.config.autoplay;this.config.autoplay=t},get:function(){return Boolean(this.config.autoplay)}},{key:"currentTrack",set:function(e){Se.set.call(this,e,!1)},get:function(){var e=this.captions,t=e.toggled,n=e.currentTrack;return t?n:-1}},{key:"language",set:function(e){Se.setLanguage.call(this,e,!1)},get:function(){return(Se.getCurrentTrack.call(this)||{}).language}},{key:"pip",set:function(e){if(ie.pip){var t=O.boolean(e)?e:!this.pip;O.function(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(t?Oe:"inline"),O.function(this.media.requestPictureInPicture)&&(!this.pip&&t?this.media.requestPictureInPicture():this.pip&&!t&&document.exitPictureInPicture())}},get:function(){return ie.pip?O.empty(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===Oe:null}}],[{key:"supported",value:function(e,t,n){return ie.check(e,t,n)}},{key:"loadSprite",value:function(e,t){return be(e,t)}},{key:"setup",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;return O.string(t)?i=Array.from(document.querySelectorAll(t)):O.nodeList(t)?i=Array.from(t):O.array(t)&&(i=t.filter(O.element)),O.empty(i)?null:i.map(function(t){return new e(t,n)})}}]),e}();return Qe.defaults=(Ue=Me,JSON.parse(JSON.stringify(Ue))),Qe},"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define("Plyr",r):(i=i||self).Plyr=r())}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],92:[function(e,t,n){var i,r;i=this,r=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t="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=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},i=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)};function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.reduce(function(e,n){var i=n.passengers[0];return i="function"==typeof i?i(t):n.passengers,e.concat(i)},[])}var o={},a=new(e.extend({data:function(){return{transports:o}},methods:{open:function(n){var i=n.to,r=n.from,o=n.passengers;if(i&&r&&o){var a;n.passengers=(a=o,Array.isArray(a)||"object"===(void 0===a?"undefined":t(a))?Object.freeze(a):a),-1===Object.keys(this.transports).indexOf(i)&&e.set(this.transports,i,[]);var s,l=this.getTransportIndex(n),c=this.transports[i].slice(0);-1===l?c.push(n):c[l]=n,this.transports[i]=(s=function(e,t){return e.order-t.order},c.map(function(e,t){return[t,e]}).sort(function(e,t){return this(e[1],t[1])||e[0]-t[0]}.bind(s)).map(function(e){return e[1]}))}},close:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.to,i=e.from;if(n&&i&&this.transports[n])if(t)this.transports[n]=[];else{var r=this.getTransportIndex(e);if(r>=0){var o=this.transports[n].slice(0);o.splice(r,1),this.transports[n]=o}}},hasTarget:function(e){return this.transports.hasOwnProperty(e)},hasContentFor:function(e){return!!this.transports[e]&&this.getContentFor(e).length>0},getSourceFor:function(e){return this.transports[e]&&this.transports[e][0].from},getContentFor:function(e){var t=this.transports[e];if(t)return r(t)},getTransportIndex:function(e){var t=e.to,n=e.from;for(var i in this.transports[t])if(this.transports[t][i].from===n)return i;return-1}}}))(o),s=/^(attrs|props|on|nativeOn|class|style|hook)$/,l=function(e){return e.reduce(function(e,t){var n,i,r,o,a;for(r in t)if(n=e[r],i=t[r],n&&s.test(r))if("class"===r&&("string"==typeof n&&(a=n,e[r]=n={},n[a]=!0),"string"==typeof i&&(a=i,t[r]=i={},i[a]=!0)),"on"===r||"nativeOn"===r||"hook"===r)for(o in i)n[o]=c(n[o],i[o]);else if(Array.isArray(n))e[r]=n.concat(i);else if(Array.isArray(i))e[r]=[n].concat(i);else for(o in i)n[o]=i[o];else e[r]=t[r];return e},{})};function c(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}var u={abstract:!1,name:"portalTarget",props:{attributes:{type:Object,default:function(){return{}}},multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[Boolean,String,Object],default:!1},transitionEvents:{type:Object,default:function(){return{}}}},data:function(){return{transports:a.transports,firstRender:!0}},created:function(){this.transports[this.name]||this.$set(this.transports,this.name,[])},mounted:function(){var e=this;this.unwatch=this.$watch("ownTransports",this.emitChange),this.$nextTick(function(){e.transition&&(e.firstRender=!1)}),this.$options.abstract&&(this.$options.abstract=!1)},updated:function(){this.$options.abstract&&(this.$options.abstract=!1)},beforeDestroy:function(){this.unwatch()},computed:{ownTransports:function(){var e=this.transports[this.name]||[];return this.multiple?e:0===e.length?[]:[e[e.length-1]]},passengers:function(){return r(this.ownTransports,this.slotProps)},hasAttributes:function(){return Object.keys(this.attributes).length>0},withTransition:function(){return!!this.transition},transitionData:function(){var e=this.transition,n={};return this.firstRender&&"object"===t(this.transition)&&!this.transition.appear?(n.props={name:"__notranstition__portal-vue__"},n):("string"==typeof e?n.props={name:e}:"object"===(void 0===e?"undefined":t(e))&&(n.props=e),this.renderSlim&&(n.props.tag=this.tag),n.on=this.transitionEvents,n)},transportedClasses:function(){return this.ownTransports.map(function(e){return e.class}).reduce(function(e,t){return e.concat(t)},[])}},methods:{emitChange:function(e,t){if(this.multiple)this.$emit("change",[].concat(i(e)),[].concat(i(t)));else{var r=0===e.length?void 0:e[0],o=0===t.length?void 0:t[0];this.$emit("change",n({},r),n({},o))}},children:function(){return 0!==this.passengers.length?this.passengers:this.$slots.default||[]},noWrapper:function(){var e=!this.hasAttributes&&this.slim;return e&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),e}},render:function(e){this.$options.abstract=!0;var t=this.noWrapper(),n=this.children(),i=t?"transition":"transition-group",r=this.tag;return this.withTransition?e(i,l([this.transitionData,{class:"vue-portal-target"}]),[n]):t?n[0]:e(r,l([{class:"vue-portal-target "+this.transportedClasses.join(" ")},this.attributes]),[n])}},d="undefined"!=typeof window,p=1,f={abstract:!1,name:"portal",props:{disabled:{type:Boolean,default:!1},name:{type:String,default:function(){return String(p++)}},order:{type:Number,default:0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:[String],default:"DIV"},targetEl:{type:d?[String,HTMLElement]:String},targetClass:{type:String},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},mounted:function(){this.targetEl&&this.mountToTarget(),this.disabled||this.sendUpdate(),this.$options.abstract&&(this.$options.abstract=!1)},updated:function(){this.disabled?this.clear():this.sendUpdate(),this.$options.abstract&&(this.$options.abstract=!1)},beforeDestroy:function(){this.clear(),this.mountedComp&&this.mountedComp.$destroy()},watch:{to:function(e,t){t&&t!==e&&this.clear(t),this.sendUpdate()},targetEl:function(e,t){e&&this.mountToTarget()}},methods:{normalizedSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},sendUpdate:function(){var e=this.normalizedSlots();e?a.open({from:this.name,to:this.to,passengers:[].concat(i(e)),class:this.targetClass&&this.targetClass.split(" "),order:this.order}):this.clear()},clear:function(e){a.close({from:this.name,to:e||this.to})},mountToTarget:function(){var t=void 0,i=this.targetEl;if("string"==typeof i)t=document.querySelector(i);else{if(!(i instanceof HTMLElement))return void console.warn("[vue-portal]: value of targetEl must be of type String or HTMLElement");t=i}if(t){var r=new e(n({},u,{parent:this,propsData:{name:this.to,tag:t.tagName,attributes:function(e){for(var t=e.hasAttributes()?e.attributes:[],n={},i=0;i<t.length;i++){var r=t[i];r.value&&(n[r.name]=""===r.value||r.value)}var o=void 0,a=void 0;return n.class&&(o=n.class,delete n.class),n.style&&(a=n.style,delete n.style),{attrs:n,class:o,style:a}}(t)}}));r.$mount(t),this.mountedComp=r}else console.warn("[vue-portal]: The specified targetEl "+i+" was not found")},normalizeChildren:function(e){return"function"==typeof e?e(this.slotProps):e}},render:function(e){var t=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return t.length&&this.disabled?(this.$options.abstract=!0,t.length<=1&&this.slim?t[0]:e(n,[this.normalizeChildren(t)])):e(n,{class:"v-portal",style:"display: none",key:"v-portal-placeholder"})}};function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.component(t.portalName||"Portal",f),e.component(t.portalTargetName||"PortalTarget",u)}return"undefined"!=typeof window&&window.Vue&&window.Vue.use({install:h}),{install:h,Portal:f,PortalTarget:u,Wormhole:a}},"object"==typeof n&&void 0!==t?t.exports=r(e("vue")):"function"==typeof define&&define.amd?define(["vue"],r):i.PortalVue=r(i.Vue)},{vue:159}],93:[function(e,t,n){(function(e){var n=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof r?new r(e.type,i.util.encode(e.content),e.alias):Array.isArray(e)?e.map(i.util.encode):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,o,a=i.util.type(t);switch(n=n||{},a){case"Object":if(o=i.util.objId(t),n[o])return n[o];for(var s in r={},n[o]=r,t)t.hasOwnProperty(s)&&(r[s]=e(t[s],n));return r;case"Array":return o=i.util.objId(t),n[o]?n[o]:(r=[],n[o]=r,t.forEach(function(t,i){r[i]=e(t,n)}),r);default:return t}}},languages:{extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var o=(r=r||i.languages)[e],a={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(a[l]=n[l]);n.hasOwnProperty(s)||(a[s]=o[s])}var c=r[e];return r[e]=a,i.languages.DFS(i.languages,function(t,n){n===c&&t!=e&&(this[t]=a)}),a},DFS:function e(t,n,r,o){o=o||{};var a=i.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var l=t[s],c=i.util.type(l);"Object"!==c||o[a(l)]?"Array"!==c||o[a(l)]||(o[a(l)]=!0,e(l,n,s,o)):(o[a(l)]=!0,e(l,n,null,o))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r);for(var o,a=e.querySelectorAll(r.selector),s=0;o=a[s++];)i.highlightElement(o,!0===t,r.callback)},highlightElement:function(n,r,o){for(var a,s="none",l=n;l&&!t.test(l.className);)l=l.parentNode;l&&(s=(l.className.match(t)||[,"none"])[1].toLowerCase(),a=i.languages[s]),n.className=n.className.replace(t,"").replace(/\s+/g," ")+" language-"+s,n.parentNode&&(l=n.parentNode,/pre/i.test(l.nodeName)&&(l.className=l.className.replace(t,"").replace(/\s+/g," ")+" language-"+s));var c={element:n,language:s,grammar:a,code:n.textContent},u=function(e){c.highlightedCode=e,i.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,i.hooks.run("after-highlight",c),i.hooks.run("complete",c),o&&o.call(c.element)};if(i.hooks.run("before-sanity-check",c),c.code)if(i.hooks.run("before-highlight",c),c.grammar)if(r&&e.Worker){var d=new Worker(i.filename);d.onmessage=function(e){u(e.data)},d.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else u(i.highlight(c.code,c.grammar,c.language));else u(i.util.encode(c.code));else i.hooks.run("complete",c)},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};return i.hooks.run("before-tokenize",o),o.tokens=i.tokenize(o.code,o.grammar),i.hooks.run("after-tokenize",o),r.stringify(i.util.encode(o.tokens),o.language)},matchGrammar:function(e,t,n,o,a,s,l){for(var c in n)if(n.hasOwnProperty(c)&&n[c]){if(c==l)return;var u=n[c];u="Array"===i.util.type(u)?u:[u];for(var d=0;d<u.length;++d){var p=u[d],f=p.inside,h=!!p.lookbehind,m=!!p.greedy,g=0,v=p.alias;if(m&&!p.pattern.global){var b=p.pattern.toString().match(/[imuy]*$/)[0];p.pattern=RegExp(p.pattern.source,b+"g")}p=p.pattern||p;for(var y=o,_=a;y<t.length;_+=t[y].length,++y){var w=t[y];if(t.length>e.length)return;if(!(w instanceof r)){if(m&&y!=t.length-1){if(p.lastIndex=_,!(M=p.exec(e)))break;for(var x=M.index+(h?M[1].length:0),k=M.index+M[0].length,A=y,C=_,S=t.length;A<S&&(C<k||!t[A].type&&!t[A-1].greedy);++A)x>=(C+=t[A].length)&&(++y,_=C);if(t[y]instanceof r)continue;O=A-y,w=e.slice(_,C),M.index-=_}else{p.lastIndex=0;var M=p.exec(w),O=1}if(M){h&&(g=M[1]?M[1].length:0);k=(x=M.index+g)+(M=M[0].slice(g)).length;var T=w.slice(0,x),E=w.slice(k),P=[y,O];T&&(++y,_+=T.length,P.push(T));var j=new r(c,f?i.tokenize(M,f):M,v,M,m);if(P.push(j),E&&P.push(E),Array.prototype.splice.apply(t,P),1!=O&&i.matchGrammar(e,t,n,y,_,!0,c),s)break}else if(s)break}}}}},tokenize:function(e,t){var n=[e],r=t.rest;if(r){for(var o in r)t[o]=r[o];delete t.rest}return i.matchGrammar(e,n,t,0,0,!1),n},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,o=0;r=n[o++];)r(t)}},Token:r};function r(e,t,n,i,r){this.type=e,this.content=t,this.alias=n,this.length=0|(i||"").length,this.greedy=!!r}if(e.Prism=i,r.stringify=function(e,t){if("string"==typeof e)return e;if(Array.isArray(e))return e.map(function(e){return r.stringify(e,t)}).join("");var n={type:e.type,content:r.stringify(e.content,t),tag:"span",classes:["token",e.type],attributes:{},language:t};if(e.alias){var o=Array.isArray(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(n.classes,o)}i.hooks.run("wrap",n);var a=Object.keys(n.attributes).map(function(e){return e+'="'+(n.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+n.tag+' class="'+n.classes.join(" ")+'"'+(a?" "+a:"")+">"+n.content+"</"+n.tag+">"},!e.document)return e.addEventListener?(i.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,o=n.code,a=n.immediateClose;e.postMessage(i.highlight(o,i.languages[r],r)),a&&e.close()},!1),i):i;var o=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return o&&(i.filename=o.src,i.manual||o.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(i.highlightAll):window.setTimeout(i.highlightAll,16):document.addEventListener("DOMContentLoaded",i.highlightAll))),i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});void 0!==t&&t.exports&&(t.exports=n),void 0!==e&&(e.Prism=n),n.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:/<!DOCTYPE[\s\S]+?>/i,cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(e,t){var i={};i["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[t]},i.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}};r["language-"+t]={pattern:/[\s\S]+/,inside:n.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[\s\S]*?>)(?:<!\[CDATA\[[\s\S]*?\]\]>\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:r},n.languages.insertBefore("markup","cdata",o)}}),n.languages.xml=n.languages.extend("markup",{}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/@[\w-]+/}},url:{pattern:RegExp("url\\((?:"+t.source+"|[^\n\r()]*)\\)","i"),inside:{function:/^url/i,punctuation:/^\(|\)$/}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+t.source+")*?(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:e.languages.css}},alias:"language-css"}},n.tag))}(n),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.])\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/-[-=]?|\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}}}),n.languages.markup&&n.languages.markup.tag.addInlined("script","javascript"),n.languages.js=n.languages.javascript,"undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(e){e=e||document;var t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"};Array.prototype.slice.call(e.querySelectorAll("pre[data-src]")).forEach(function(e){if(!e.hasAttribute("data-src-loaded")){for(var i,r=e.getAttribute("data-src"),o=e,a=/\blang(?:uage)?-([\w-]+)\b/i;o&&!a.test(o.className);)o=o.parentNode;if(o&&(i=(e.className.match(a)||[,""])[1]),!i){var s=(r.match(/\.(\w+)$/)||[,""])[1];i=t[s]||s}var l=document.createElement("code");l.className="language-"+i,e.textContent="",l.textContent="Loading…",e.appendChild(l);var c=new XMLHttpRequest;c.open("GET",r,!0),c.onreadystatechange=function(){4==c.readyState&&(c.status<400&&c.responseText?(l.textContent=c.responseText,n.highlightElement(l),e.setAttribute("data-src-loaded","")):c.status>=400?l.textContent="✖ Error "+c.status+" while fetching file: "+c.statusText:l.textContent="✖ Error: File does not exist or is empty")},c.send(null)}}),n.plugins.toolbar&&n.plugins.toolbar.registerButton("download-file",function(e){var t=e.element.parentNode;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-src")&&t.hasAttribute("data-download-link")){var n=t.getAttribute("data-src"),i=document.createElement("a");return i.textContent=t.getAttribute("data-download-link-label")||"Download",i.setAttribute("download",""),i.href=n,i}})},document.addEventListener("DOMContentLoaded",function(){self.Prism.fileHighlight()}))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],94:[function(e,t,n){var i,r,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(i===setTimeout)return setTimeout(e,0);if((i===a||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:a}catch(e){i=a}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var c,u=[],d=!1,p=-1;function f(){d&&c&&(d=!1,c.length?u=c.concat(u):p=-1,u.length&&h())}function h(){if(!d){var e=l(f);d=!0;for(var t=u.length;t;){for(c=u,u=[];++p<t;)c&&c[p].run();p=-1,t=u.length}c=null,d=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new m(e,t)),1!==u.length||d||l(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],95:[function(e,t,n){(function(e){var i,r;i="undefined"!=typeof self?self:this,r=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},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=109)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(17),r=n(18),o=n(19),a=n(45),s=n(46),l=n(47),c=n(48),u=n(49),d=n(12),p=n(32),f=n(33),h=n(31),m=n(1),g={Scope:m.Scope,create:m.create,find:m.find,query:m.query,register:m.register,Container:i.default,Format:r.default,Leaf:o.default,Embed:c.default,Scroll:a.default,Block:l.default,Inline:s.default,Text:u.default,Attributor:{Attribute:d.default,Class:p.default,Style:f.default,Store:h.default}};t.default=g},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var n=this;return t="[Parchment] "+t,(n=e.call(this,t)||this).message=t,n.name=n.constructor.name,n}return r(t,e),t}(Error);t.ParchmentError=o;var a,s={},l={},c={},u={};function d(e,t){var n;if(void 0===t&&(t=a.ANY),"string"==typeof e)n=u[e]||s[e];else if(e instanceof Text||e.nodeType===Node.TEXT_NODE)n=u.text;else if("number"==typeof e)e&a.LEVEL&a.BLOCK?n=u.block:e&a.LEVEL&a.INLINE&&(n=u.inline);else if(e instanceof HTMLElement){var i=(e.getAttribute("class")||"").split(/\s+/);for(var r in i)if(n=l[i[r]])break;n=n||c[e.tagName]}return null==n?null:t&a.LEVEL&n.scope&&t&a.TYPE&n.scope?n:null}t.DATA_KEY="__blot",function(e){e[e.TYPE=3]="TYPE",e[e.LEVEL=12]="LEVEL",e[e.ATTRIBUTE=13]="ATTRIBUTE",e[e.BLOT=14]="BLOT",e[e.INLINE=7]="INLINE",e[e.BLOCK=11]="BLOCK",e[e.BLOCK_BLOT=10]="BLOCK_BLOT",e[e.INLINE_BLOT=6]="INLINE_BLOT",e[e.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",e[e.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",e[e.ANY=15]="ANY"}(a=t.Scope||(t.Scope={})),t.create=function(e,t){var n=d(e);if(null==n)throw new o("Unable to create "+e+" blot");var i=n;return new i(e instanceof Node||e.nodeType===Node.TEXT_NODE?e:i.create(t),t)},t.find=function e(n,i){return void 0===i&&(i=!1),null==n?null:null!=n[t.DATA_KEY]?n[t.DATA_KEY].blot:i?e(n.parentNode,i):null},t.query=d,t.register=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(t.length>1)return t.map(function(t){return e(t)});var i=t[0];if("string"!=typeof i.blotName&&"string"!=typeof i.attrName)throw new o("Invalid definition");if("abstract"===i.blotName)throw new o("Cannot register abstract class");u[i.blotName||i.attrName]=i,"string"==typeof i.keyName?s[i.keyName]=i:(null!=i.className&&(l[i.className]=i),null!=i.tagName&&(Array.isArray(i.tagName)?i.tagName=i.tagName.map(function(e){return e.toUpperCase()}):i.tagName=i.tagName.toUpperCase(),(Array.isArray(i.tagName)?i.tagName:[i.tagName]).forEach(function(e){null!=c[e]&&null!=i.className||(c[e]=i)})));return i}},function(e,t,n){var i=n(51),r=n(11),o=n(3),a=n(20),s=String.fromCharCode(0),l=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};l.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},l.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},l.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},l.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=o(!0,{},e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(r(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},l.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},l.prototype.filter=function(e){return this.ops.filter(e)},l.prototype.forEach=function(e){this.ops.forEach(e)},l.prototype.map=function(e){return this.ops.map(e)},l.prototype.partition=function(e){var t=[],n=[];return this.forEach(function(i){(e(i)?t:n).push(i)}),[t,n]},l.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},l.prototype.changeLength=function(){return this.reduce(function(e,t){return t.insert?e+a.length(t):t.delete?e-t.delete:e},0)},l.prototype.length=function(){return this.reduce(function(e,t){return e+a.length(t)},0)},l.prototype.slice=function(e,t){e=e||0,"number"!=typeof t&&(t=1/0);for(var n=[],i=a.iterator(this.ops),r=0;r<t&&i.hasNext();){var o;r<e?o=i.next(e-r):(o=i.next(t-r),n.push(o)),r+=a.length(o)}return new l(n)},l.prototype.compose=function(e){var t=a.iterator(this.ops),n=a.iterator(e.ops),i=[],o=n.peek();if(null!=o&&"number"==typeof o.retain&&null==o.attributes){for(var s=o.retain;"insert"===t.peekType()&&t.peekLength()<=s;)s-=t.peekLength(),i.push(t.next());o.retain-s>0&&n.next(o.retain-s)}for(var c=new l(i);t.hasNext()||n.hasNext();)if("insert"===n.peekType())c.push(n.next());else if("delete"===t.peekType())c.push(t.next());else{var u=Math.min(t.peekLength(),n.peekLength()),d=t.next(u),p=n.next(u);if("number"==typeof p.retain){var f={};"number"==typeof d.retain?f.retain=u:f.insert=d.insert;var h=a.attributes.compose(d.attributes,p.attributes,"number"==typeof d.retain);if(h&&(f.attributes=h),c.push(f),!n.hasNext()&&r(c.ops[c.ops.length-1],f)){var m=new l(t.rest());return c.concat(m).chop()}}else"number"==typeof p.delete&&"number"==typeof d.retain&&c.push(p)}return c.chop()},l.prototype.concat=function(e){var t=new l(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},l.prototype.diff=function(e,t){if(this.ops===e.ops)return new l;var n=[this,e].map(function(t){return t.map(function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:s;throw new Error("diff() called "+(t===e?"on":"with")+" non-document")}).join("")}),o=new l,c=i(n[0],n[1],t),u=a.iterator(this.ops),d=a.iterator(e.ops);return c.forEach(function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case i.INSERT:n=Math.min(d.peekLength(),t),o.push(d.next(n));break;case i.DELETE:n=Math.min(t,u.peekLength()),u.next(n),o.delete(n);break;case i.EQUAL:n=Math.min(u.peekLength(),d.peekLength(),t);var s=u.next(n),l=d.next(n);r(s.insert,l.insert)?o.retain(n,a.attributes.diff(s.attributes,l.attributes)):o.push(l).delete(n)}t-=n}}),o.chop()},l.prototype.eachLine=function(e,t){t=t||"\n";for(var n=a.iterator(this.ops),i=new l,r=0;n.hasNext();){if("insert"!==n.peekType())return;var o=n.peek(),s=a.length(o)-n.peekLength(),c="string"==typeof o.insert?o.insert.indexOf(t,s)-s:-1;if(c<0)i.push(n.next());else if(c>0)i.push(n.next(c));else{if(!1===e(i,n.next(1).attributes||{},r))return;r+=1,i=new l}}i.length()>0&&e(i,{},r)},l.prototype.transform=function(e,t){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);for(var n=a.iterator(this.ops),i=a.iterator(e.ops),r=new l;n.hasNext()||i.hasNext();)if("insert"!==n.peekType()||!t&&"insert"===i.peekType())if("insert"===i.peekType())r.push(i.next());else{var o=Math.min(n.peekLength(),i.peekLength()),s=n.next(o),c=i.next(o);if(s.delete)continue;c.delete?r.push(c):r.retain(o,a.attributes.transform(s.attributes,c.attributes,t))}else r.retain(a.length(n.next()));return r.chop()},l.prototype.transformPosition=function(e,t){t=!!t;for(var n=a.iterator(this.ops),i=0;n.hasNext()&&i<=e;){var r=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(i<e||!t)&&(e+=r),i+=r):e-=Math.min(r,e-i)}return e},e.exports=l},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},s=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t,r=n.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!o)return!1;for(t in e);return void 0===t||n.call(e,t)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(o)return o(e,t).value}return e[t]};e.exports=function e(){var t,n,i,r,o,u,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(n in t)i=c(d,n),d!==(r=c(t,n))&&(h&&r&&(s(r)||(o=a(r)))?(o?(o=!1,u=i&&a(i)?i:[]):u=i&&s(i)?i:{},l(d,{name:n,newValue:e(h,u,r)})):void 0!==r&&l(d,{name:n,newValue:r}));return d}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockEmbed=t.bubbleFormats=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=d(n(3)),a=d(n(2)),s=d(n(0)),l=d(n(16)),c=d(n(6)),u=d(n(7));function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=function(e){function t(){return p(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,s.default.Embed),i(t,[{key:"attach",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"attach",this).call(this),this.attributes=new s.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new a.default).insert(this.value(),(0,o.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(e,t){var n=s.default.query(e,s.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}},{key:"formatAt",value:function(e,t,n,i){this.format(n,i)}},{key:"insertAt",value:function(e,n,i){if("string"==typeof n&&n.endsWith("\n")){var o=s.default.create(g.blotName);this.parent.insertBefore(o,0===e?this:this.next),o.insertAt(0,n.slice(0,-1))}else r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,i)}}]),t}();m.scope=s.default.Scope.BLOCK_BLOT;var g=function(e){function t(e){p(this,t);var n=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.cache={},n}return h(t,s.default.Block),i(t,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(s.default.Leaf).reduce(function(e,t){return 0===t.length()?e:e.insert(t.value(),v(t))},new a.default).insert("\n",v(this))),this.cache.delta}},{key:"deleteAt",value:function(e,n){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),this.cache={}}},{key:"formatAt",value:function(e,n,i,o){n<=0||(s.default.query(i,s.default.Scope.BLOCK)?e+n===this.length()&&this.format(i,o):r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,Math.min(n,this.length()-e-1),i,o),this.cache={})}},{key:"insertAt",value:function(e,n,i){if(null!=i)return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,i);if(0!==n.length){var o=n.split("\n"),a=o.shift();a.length>0&&(e<this.length()-1||null==this.children.tail?r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,Math.min(e,this.length()-1),a):this.children.tail.insertAt(this.children.tail.length(),a),this.cache={});var s=this;o.reduce(function(e,t){return(s=s.split(e,!0)).insertAt(0,t),t.length},e+a.length)}}},{key:"insertBefore",value:function(e,n){var i=this.children.head;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n),i instanceof l.default&&i.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(e,n){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"moveChildren",this).call(this,e,n),this.cache={}}},{key:"optimize",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.cache={}}},{key:"path",value:function(e){return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e,!0)}},{key:"removeChild",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeChild",this).call(this,e),this.cache={}}},{key:"split",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-1)){var i=this.clone();return 0===e?(this.parent.insertBefore(i,this),this):(this.parent.insertBefore(i,this.next),i)}var o=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},o}}]),t}();function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"==typeof e.formats&&(t=(0,o.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:v(e.parent,t))}g.blotName="block",g.tagName="P",g.defaultChild="break",g.allowedChildren=[c.default,s.default.Embed,u.default],t.bubbleFormats=v,t.BlockEmbed=m,t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var i="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},r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n(50);var a=g(n(2)),s=g(n(14)),l=g(n(8)),c=g(n(9)),u=g(n(0)),d=n(15),p=g(d),f=g(n(3)),h=g(n(10)),m=g(n(34));function g(e){return e&&e.__esModule?e:{default:e}}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=(0,h.default)("quill"),y=function(){function e(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=_(t,i),this.container=this.options.container,null==this.container)return b.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new l.default,this.scroll=u.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new p.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(l.default.events.EDITOR_CHANGE,function(e){e===l.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())}),this.emitter.on(l.default.events.SCROLL_UPDATE,function(e,t){var i=n.selection.lastRange,r=i&&0===i.length?i.index:void 0;w.call(n,function(){return n.editor.update(null,t,r)},e)});var o=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+r+"<p><br></p></div>");this.setContents(o),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return o(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),h.default.level(e)}},{key:"find",value:function(e){return e.__quill||u.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&b.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof e){var r=e.attrName||e.blotName;"string"==typeof r?this.register("formats/"+r,e,t):Object.keys(e).forEach(function(i){n.register(i,e[i],t)})}else null==this.imports[e]||i||b.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?u.default.register(t):e.startsWith("modules")&&"function"==typeof t.register&&t.register()}}]),o(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e){var n=e;(e=document.createElement("div")).classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var i=this,o=x(e,t,n),a=r(o,4);return e=a[0],t=a[1],n=a[3],w.call(this,function(){return i.editor.deleteText(e,t)},n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;return w.call(this,function(){var i=n.getSelection(!0),r=new a.default;if(null==i)return r;if(u.default.query(e,u.default.Scope.BLOCK))r=n.editor.formatLine(i.index,i.length,v({},e,t));else{if(0===i.length)return n.selection.format(e,t),r;r=n.editor.formatText(i.index,i.length,v({},e,t))}return n.setSelection(i,l.default.sources.SILENT),r},i)}},{key:"formatLine",value:function(e,t,n,i,o){var a,s=this,l=x(e,t,n,i,o),c=r(l,4);return e=c[0],t=c[1],a=c[2],o=c[3],w.call(this,function(){return s.editor.formatLine(e,t,a)},o,e,0)}},{key:"formatText",value:function(e,t,n,i,o){var a,s=this,l=x(e,t,n,i,o),c=r(l,4);return e=c[0],t=c[1],a=c[2],o=c[3],w.call(this,function(){return s.editor.formatText(e,t,a)},o,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var i=this.container.getBoundingClientRect();return{bottom:n.bottom-i.top,height:n.height,left:n.left-i.left,right:n.right-i.left,top:n.top-i.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=x(e,t),i=r(n,2);return e=i[0],t=i[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=x(e,t),i=r(n,2);return e=i[0],t=i[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,i){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return w.call(this,function(){return r.editor.insertEmbed(t,n,i)},o,t)}},{key:"insertText",value:function(e,t,n,i,o){var a,s=this,l=x(e,0,n,i,o),c=r(l,4);return e=c[0],a=c[2],o=c[3],w.call(this,function(){return s.editor.insertText(e,t,a)},o,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var i=this,o=x(e,t,n),a=r(o,4);return e=a[0],t=a[1],n=a[3],w.call(this,function(){return i.editor.removeFormat(e,t)},n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return w.call(this,function(){e=new a.default(e);var n=t.getLength(),i=t.editor.deleteText(0,n),r=t.editor.applyDelta(e),o=r.ops[r.ops.length-1];return null!=o&&"string"==typeof o.insert&&"\n"===o.insert[o.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),r.delete(1)),i.compose(r)},n)}},{key:"setSelection",value:function(t,n,i){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var o=x(t,n,i),a=r(o,4);t=a[0],n=a[1],i=a[3],this.selection.setRange(new d.Range(t,n),i),i!==l.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API,n=(new a.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return w.call(this,function(){return e=new a.default(e),t.editor.applyDelta(e,n)},n,!0)}}]),e}();function _(e,t){if((t=(0,f.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t)).theme&&t.theme!==y.DEFAULTS.theme){if(t.theme=y.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=m.default;var n=(0,f.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach(function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach(function(t){!0===e.modules[t]&&(e.modules[t]={})})});var i=Object.keys(n.modules).concat(Object.keys(t.modules)).reduce(function(e,t){var n=y.import("modules/"+t);return null==n?b.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e},{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,f.default)(!0,{},y.DEFAULTS,{modules:i},n,t),["bounds","container","scrollingContainer"].forEach(function(e){"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))}),t.modules=Object.keys(t.modules).reduce(function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e},{}),t}function w(e,t,n,i){if(this.options.strict&&!this.isEnabled()&&t===l.default.sources.USER)return new a.default;var r=null==n?null:this.getSelection(),o=this.editor.delta,s=e();if(null!=r&&(!0===n&&(n=r.index),null==i?r=k(r,s,t):0!==i&&(r=k(r,n,i,t)),this.setSelection(r,l.default.sources.SILENT)),s.length()>0){var c,u,d=[l.default.events.TEXT_CHANGE,s,o,t];if((c=this.emitter).emit.apply(c,[l.default.events.EDITOR_CHANGE].concat(d)),t!==l.default.sources.SILENT)(u=this.emitter).emit.apply(u,d)}return s}function x(e,t,n,r,o){var a={};return"number"==typeof e.index&&"number"==typeof e.length?"number"!=typeof t?(o=r,r=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!=typeof t&&(o=r,r=n,n=t,t=0),"object"===(void 0===n?"undefined":i(n))?(a=n,o=r):"string"==typeof n&&(null!=r?a[n]=r:o=n),[e,t,a,o=o||l.default.sources.API]}function k(e,t,n,i){if(null==e)return null;var o=void 0,s=void 0;if(t instanceof a.default){var c=[e.index,e.index+e.length].map(function(e){return t.transformPosition(e,i!==l.default.sources.USER)}),u=r(c,2);o=u[0],s=u[1]}else{var p=[e.index,e.index+e.length].map(function(e){return e<t||e===t&&i===l.default.sources.USER?e:n>=0?e+n:Math.max(t,e+n)}),f=r(p,2);o=f[0],s=f[1]}return new d.Range(o,s-o)}y.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},y.events=l.default.events,y.sources=l.default.sources,y.version="1.3.7",y.imports={delta:a.default,parchment:u.default,"core/module":c.default,"core/theme":m.default},t.expandConfig=_,t.overload=x,t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=s(n(7)),a=s(n(0));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Inline),i(t,[{key:"formatAt",value:function(e,n,i,o){if(t.compare(this.statics.blotName,i)<0&&a.default.query(i,a.default.Scope.BLOT)){var s=this.isolate(e,n);o&&s.wrap(i,o)}else r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,i,o)}},{key:"optimize",value:function(e){if(r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.parent instanceof t&&t.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var i=t.order.indexOf(e),r=t.order.indexOf(n);return i>=0||r>=0?i-r:e===n?0:e<n?-1:1}}]),t}();l.allowedChildren=[l,a.default.Embed,o.default],l.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(0),o=(i=r)&&i.__esModule?i:{default:i};var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Text),t}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=o(n(54));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,o(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach(function(e){document.addEventListener(e,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(e){var n;e.__quill&&e.__quill.emitter&&(n=e.__quill.emitter).handleDOM.apply(n,t)})})});var s=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.listeners={},e.on("error",a.error),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"emit",value:function(){a.log.apply(a,arguments),function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];(this.listeners[e.type]||[]).forEach(function(t){var i=t.node,r=t.handler;(e.target===i||i.contains(e.target))&&r.apply(void 0,[e].concat(n))})}},{key:"listenDOM",value:function(e,t,n){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({node:t,handler:n})}}]),t}();s.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},s.sources={API:"api",SILENT:"silent",USER:"user"},t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.options=n};i.DEFAULTS={},t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=["error","warn","log","info"],r="warn";function o(e){if(i.indexOf(e)<=i.indexOf(r)){for(var t,n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];(t=console)[e].apply(t,o)}}function a(e){return i.reduce(function(t,n){return t[n]=o.bind(console,n,e),t},{})}o.level=a.level=function(e){r=e},t.default=a},function(e,t,n){var i=Array.prototype.slice,r=n(52),o=n(53),a=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:function(e,t,n){var c,u;if(s(e)||s(t))return!1;if(e.prototype!==t.prototype)return!1;if(o(e))return!!o(t)&&(e=i.call(e),t=i.call(t),a(e,t,n));if(l(e)){if(!l(t))return!1;if(e.length!==t.length)return!1;for(c=0;c<e.length;c++)if(e[c]!==t[c])return!1;return!0}try{var d=r(e),p=r(t)}catch(e){return!1}if(d.length!=p.length)return!1;for(d.sort(),p.sort(),c=d.length-1;c>=0;c--)if(d[c]!=p[c])return!1;for(c=d.length-1;c>=0;c--)if(u=d[c],!a(e[u],t[u],n))return!1;return typeof e==typeof t}(e,t,n))};function s(e){return null==e}function l(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(e.length>0&&"number"!=typeof e[0]))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),r=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var r=i.Scope.TYPE&i.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&i.Scope.LEVEL|r:this.scope=i.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,function(e){return e.name})},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){return null!=i.query(e,i.Scope.BLOT&(this.scope|i.Scope.TYPE))&&(null==this.whitelist||("string"==typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},a=d(n(2)),s=d(n(0)),l=d(n(4)),c=d(n(6)),u=d(n(7));function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=function(e){function t(){return p(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,c.default),t}();m.blotName="code",m.tagName="CODE";var g=function(e){function t(){return p(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,l.default),r(t,[{key:"delta",value:function(){var e=this,t=this.domNode.textContent;return t.endsWith("\n")&&(t=t.slice(0,-1)),t.split("\n").reduce(function(t,n){return t.insert(n).insert("\n",e.formats())},new a.default)}},{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n){var r=this.descendant(u.default,this.length()-1),a=i(r,1)[0];null!=a&&a.deleteAt(a.length()-1,1),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}},{key:"formatAt",value:function(e,n,i,r){if(0!==n&&null!=s.default.query(i,s.default.Scope.BLOCK)&&(i!==this.statics.blotName||r!==this.statics.formats(this.domNode))){var o=this.newlineIndex(e);if(!(o<0||o>=e+n)){var a=this.newlineIndex(e,!0)+1,l=o-a+1,c=this.isolate(a,l),u=c.next;c.format(i,r),u instanceof t&&u.formatAt(0,e-a+n-l,i,r)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var r=this.descendant(u.default,e),o=i(r,2),a=o[0],s=o[1];a.insertAt(s,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var t=this.domNode.textContent.slice(e).indexOf("\n");return t>-1?e+t:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(e){var t=s.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof s.default.Embed?t.remove():t.unwrap()})}}],[{key:"create",value:function(e){var n=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}();g.blotName="code-block",g.tagName="PRE",g.TAB=" ",t.Code=m,t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="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},r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=v(n(2)),s=v(n(20)),l=v(n(0)),c=v(n(13)),u=v(n(24)),d=n(4),p=v(d),f=v(n(16)),h=v(n(21)),m=v(n(11)),g=v(n(3));function v(e){return e&&e.__esModule?e:{default:e}}var b=/^[ -~]*$/,y=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scroll=t,this.delta=this.getDelta()}return o(e,[{key:"applyDelta",value:function(e){var t=this,n=!1;this.scroll.update();var o=this.scroll.length();return this.scroll.batchStart(),(e=function(e){return e.reduce(function(e,t){if(1===t.insert){var n=(0,h.default)(t.attributes);return delete n.image,e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||((t=(0,h.default)(t)).attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"==typeof t.insert){var i=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(i,t.attributes)}return e.push(t)},new a.default)}(e)).reduce(function(e,a){var c=a.retain||a.delete||a.insert.length||1,u=a.attributes||{};if(null!=a.insert){if("string"==typeof a.insert){var f=a.insert;f.endsWith("\n")&&n&&(n=!1,f=f.slice(0,-1)),e>=o&&!f.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,f);var h=t.scroll.line(e),m=r(h,2),v=m[0],b=m[1],y=(0,g.default)({},(0,d.bubbleFormats)(v));if(v instanceof p.default){var _=v.descendant(l.default.Leaf,b),w=r(_,1)[0];y=(0,g.default)(y,(0,d.bubbleFormats)(w))}u=s.default.attributes.diff(y,u)||{}}else if("object"===i(a.insert)){var x=Object.keys(a.insert)[0];if(null==x)return e;t.scroll.insertAt(e,x,a.insert[x])}o+=c}return Object.keys(u).forEach(function(n){t.scroll.formatAt(e,c,n,u[n])}),e+c},0),e.reduce(function(e,n){return"number"==typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)},0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new a.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(i).forEach(function(r){if(null==n.scroll.whitelist||n.scroll.whitelist[r]){var o=n.scroll.lines(e,Math.max(t,1)),a=t;o.forEach(function(t){var o=t.length();if(t instanceof c.default){var s=e-t.offset(n.scroll),l=t.newlineIndex(s+a)-s+1;t.formatAt(s,l,r,i[r])}else t.format(r,i[r]);a-=o})}}),this.scroll.optimize(),this.update((new a.default).retain(e).retain(t,(0,h.default)(i)))}},{key:"formatText",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(i).forEach(function(r){n.scroll.formatAt(e,t,r,i[r])}),this.update((new a.default).retain(e).retain(t,(0,h.default)(i)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(e,t){return e.concat(t.delta())},new a.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],i=[];0===t?this.scroll.path(e).forEach(function(e){var t=r(e,1)[0];t instanceof p.default?n.push(t):t instanceof l.default.Leaf&&i.push(t)}):(n=this.scroll.lines(e,t),i=this.scroll.descendants(l.default.Leaf,e,t));var o=[n,i].map(function(e){if(0===e.length)return{};for(var t=(0,d.bubbleFormats)(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null==n)return t;t=_((0,d.bubbleFormats)(n),t)}return t});return g.default.apply(g.default,o)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter(function(e){return"string"==typeof e.insert}).map(function(e){return e.insert}).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new a.default).retain(e).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(i).forEach(function(r){n.scroll.formatAt(e,t.length,r,i[r])}),this.update((new a.default).retain(e).insert(t,(0,h.default)(i)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===p.default.blotName&&(!(e.children.length>1)&&e.children.head instanceof f.default)}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),i=this.scroll.line(e+t),o=r(i,2),s=o[0],l=o[1],u=0,d=new a.default;null!=s&&(u=s instanceof c.default?s.newlineIndex(l)-l+1:s.length()-l,d=s.delta().slice(l,l+u-1).insert("\n"));var p=this.getContents(e,t+u).diff((new a.default).insert(n).concat(d)),f=(new a.default).retain(e).concat(p);return this.applyDelta(f)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(b)&&l.default.find(t[0].target)){var r=l.default.find(t[0].target),o=(0,d.bubbleFormats)(r),s=r.offset(this.scroll),c=t[0].oldValue.replace(u.default.CONTENTS,""),p=(new a.default).insert(c),f=(new a.default).insert(r.value());e=(new a.default).retain(s).concat(p.diff(f,n)).reduce(function(e,t){return t.insert?e.insert(t.insert,o):e.push(t)},new a.default),this.delta=i.compose(e)}else this.delta=this.getDelta(),e&&(0,m.default)(i.compose(e),this.delta)||(e=i.diff(this.delta,n));return e}}]),e}();function _(e,t){return Object.keys(t).reduce(function(n,i){return null==e[i]?n:(t[i]===e[i]?n[i]=t[i]:Array.isArray(t[i])?t[i].indexOf(e[i])<0&&(n[i]=t[i].concat([e[i]])):n[i]=[t[i],e[i]],n)},{})}t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=c(n(0)),a=c(n(21)),s=c(n(11)),l=c(n(8));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var p=(0,c(n(10)).default)("quill:selection"),f=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;d(this,e),this.index=t,this.length=n},h=function(){function e(t,n){var i=this;d(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=o.default.create("cursor",this),this.lastRange=this.savedRange=new f(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){i.mouseDown||setTimeout(i.update.bind(i,l.default.sources.USER),1)}),this.emitter.on(l.default.events.EDITOR_CHANGE,function(e,t){e===l.default.events.TEXT_CHANGE&&t.length()>0&&i.update(l.default.sources.SILENT)}),this.emitter.on(l.default.events.SCROLL_BEFORE_UPDATE,function(){if(i.hasFocus()){var e=i.getNativeRange();null!=e&&e.start.node!==i.cursor.textNode&&i.emitter.once(l.default.events.SCROLL_UPDATE,function(){try{i.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(e){}})}}),this.emitter.on(l.default.events.SCROLL_OPTIMIZE,function(e,t){if(t.range){var n=t.range,r=n.startNode,o=n.startOffset,a=n.endNode,s=n.endOffset;i.setNativeRange(r,o,a,s)}}),this.update(l.default.sources.SILENT)}return r(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",function(){e.composing=!0}),this.root.addEventListener("compositionend",function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout(function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)},1)}})}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,function(){e.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){e.mouseDown=!1,e.update(l.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!o.default.query(e,o.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var i=o.default.find(n.start.node,!1);if(null==i)return;if(i instanceof o.default.Leaf){var r=i.split(n.start.offset);i.parent.insertBefore(this.cursor,r)}else i.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var r=void 0,o=this.scroll.leaf(e),a=i(o,2),s=a[0],l=a[1];if(null==s)return null;var c=s.position(l,!0),u=i(c,2);r=u[0],l=u[1];var d=document.createRange();if(t>0){d.setStart(r,l);var p=this.scroll.leaf(e+t),f=i(p,2);if(s=f[0],l=f[1],null==s)return null;var h=s.position(l,!0),m=i(h,2);return r=m[0],l=m[1],d.setEnd(r,l),d.getBoundingClientRect()}var g="left",v=void 0;return r instanceof Text?(l<r.data.length?(d.setStart(r,l),d.setEnd(r,l+1)):(d.setStart(r,l-1),d.setEnd(r,l),g="right"),v=d.getBoundingClientRect()):(v=s.domNode.getBoundingClientRect(),l>0&&(g="right")),{bottom:v.top+v.height,height:v.height,left:v[g],right:v[g],top:v.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return p.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var r=n.map(function(e){var n=i(e,2),r=n[0],a=n[1],s=o.default.find(r,!0),l=s.offset(t.scroll);return 0===a?l:s instanceof o.default.Container?l+s.length():l+s.index(r,a)}),a=Math.min(Math.max.apply(Math,u(r)),this.scroll.length()-1),s=Math.min.apply(Math,[a].concat(u(r)));return new f(s,a-s)}},{key:"normalizeNative",value:function(e){if(!m(this.root,e.startContainer)||!e.collapsed&&!m(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach(function(e){for(var t=e.node,n=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;n=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n}),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],r=[],o=this.scroll.length();return n.forEach(function(e,n){e=Math.min(o-1,e);var a,s=t.scroll.leaf(e),l=i(s,2),c=l[0],u=l[1],d=c.position(u,0!==n),p=i(d,2);a=p[0],u=p[1],r.push(a,u)}),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var r=this.scroll.length()-1,o=this.scroll.line(Math.min(t.index,r)),a=i(o,1)[0],s=a;if(t.length>0){var l=this.scroll.line(Math.min(t.index+t.length,r));s=i(l,1)[0]}if(null!=a&&null!=s){var c=e.getBoundingClientRect();n.top<c.top?e.scrollTop-=c.top-n.top:n.bottom>c.bottom&&(e.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(p.info("setNativeRange",e,t,n,i),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var o=document.getSelection();if(null!=o)if(null!=e){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||r||e!==a.startContainer||t!==a.startOffset||n!==a.endContainer||i!==a.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(i=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(e,t),s.setEnd(n,i),o.removeAllRanges(),o.addRange(s)}}else o.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;if("string"==typeof t&&(n=t,t=!1),p.info("setRange",e),null!=e){var i=this.rangeToNative(e);this.setNativeRange.apply(this,u(i).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,t=this.lastRange,n=this.getRange(),r=i(n,2),o=r[0],c=r[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,s.default)(t,this.lastRange)){var u;!this.composing&&null!=c&&c.native.collapsed&&c.start.node!==this.cursor.textNode&&this.cursor.restore();var d,p=[l.default.events.SELECTION_CHANGE,(0,a.default)(this.lastRange),(0,a.default)(t),e];if((u=this.emitter).emit.apply(u,[l.default.events.EDITOR_CHANGE].concat(p)),e!==l.default.sources.SILENT)(d=this.emitter).emit.apply(d,p)}}}]),e}();function m(e,t){try{t.parentNode}catch(e){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=f,t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=n(0),a=(i=o)&&i.__esModule?i:{default:i};var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Embed),r(t,[{key:"insertInto",value:function(e,n){0===e.children.length?function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertInto",this).call(this,e,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),t}();s.blotName="break",s.tagName="BR",t.default=s},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(44),a=n(30),s=n(1),l=function(e){function t(t){var n=e.call(this,t)||this;return n.build(),n}return r(t,e),t.prototype.appendChild=function(e){this.insertBefore(e)},t.prototype.attach=function(){e.prototype.attach.call(this),this.children.forEach(function(e){e.attach()})},t.prototype.build=function(){var e=this;this.children=new o.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(t){try{var n=c(t);e.insertBefore(n,e.children.head||void 0)}catch(e){if(e instanceof s.ParchmentError)return;throw e}})},t.prototype.deleteAt=function(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,function(e,t,n){e.deleteAt(t,n)})},t.prototype.descendant=function(e,n){var i=this.children.find(n),r=i[0],o=i[1];return null==e.blotName&&e(r)||null!=e.blotName&&r instanceof e?[r,o]:r instanceof t?r.descendant(e,o):[null,-1]},t.prototype.descendants=function(e,n,i){void 0===n&&(n=0),void 0===i&&(i=Number.MAX_VALUE);var r=[],o=i;return this.children.forEachAt(n,i,function(n,i,a){(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&r.push(n),n instanceof t&&(r=r.concat(n.descendants(e,i,o))),o-=a}),r},t.prototype.detach=function(){this.children.forEach(function(e){e.detach()}),e.prototype.detach.call(this)},t.prototype.formatAt=function(e,t,n,i){this.children.forEachAt(e,t,function(e,t,r){e.formatAt(t,r,n,i)})},t.prototype.insertAt=function(e,t,n){var i=this.children.find(e),r=i[0],o=i[1];if(r)r.insertAt(o,t,n);else{var a=null==n?s.create("text",t):s.create(t,n);this.appendChild(a)}},t.prototype.insertBefore=function(e,t){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(t){return e instanceof t}))throw new s.ParchmentError("Cannot insert "+e.statics.blotName+" into "+this.statics.blotName);e.insertInto(this,t)},t.prototype.length=function(){return this.children.reduce(function(e,t){return e+t.length()},0)},t.prototype.moveChildren=function(e,t){this.children.forEach(function(n){e.insertBefore(n,t)})},t.prototype.optimize=function(t){if(e.prototype.optimize.call(this,t),0===this.children.length)if(null!=this.statics.defaultChild){var n=s.create(this.statics.defaultChild);this.appendChild(n),n.optimize(t)}else this.remove()},t.prototype.path=function(e,n){void 0===n&&(n=!1);var i=this.children.find(e,n),r=i[0],o=i[1],a=[[this,e]];return r instanceof t?a.concat(r.path(o,n)):(null!=r&&a.push([r,o]),a)},t.prototype.removeChild=function(e){this.children.remove(e)},t.prototype.replace=function(n){n instanceof t&&n.moveChildren(this),e.prototype.replace.call(this,n)},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(e,this.length(),function(e,i,r){e=e.split(i,t),n.appendChild(e)}),n},t.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},t.prototype.update=function(e,t){var n=this,i=[],r=[];e.forEach(function(e){e.target===n.domNode&&"childList"===e.type&&(i.push.apply(i,e.addedNodes),r.push.apply(r,e.removedNodes))}),r.forEach(function(e){if(!(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var t=s.find(e);null!=t&&(null!=t.domNode.parentNode&&t.domNode.parentNode!==n.domNode||t.detach())}}),i.filter(function(e){return e.parentNode==n.domNode}).sort(function(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(e){var t=null;null!=e.nextSibling&&(t=s.find(e.nextSibling));var i=c(e);i.next==t&&null!=i.next||(null!=i.parent&&i.parent.removeChild(n),n.insertBefore(i,t||void 0))})},t}(a.default);function c(e){var t=s.find(e);if(null==t)try{t=s.create(e)}catch(n){t=s.create(s.Scope.INLINE),[].slice.call(e.childNodes).forEach(function(e){t.domNode.appendChild(e)}),e.parentNode&&e.parentNode.replaceChild(t.domNode,e),t.attach()}return t}t.default=l},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(12),a=n(31),s=n(17),l=n(1),c=function(e){function t(t){var n=e.call(this,t)||this;return n.attributes=new a.default(n.domNode),n}return r(t,e),t.formats=function(e){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?e.tagName.toLowerCase():void 0)},t.prototype.format=function(e,t){var n=l.query(e);n instanceof o.default?this.attributes.attribute(n,t):t&&(null==n||e===this.statics.blotName&&this.formats()[e]===t||this.replaceWith(e,t))},t.prototype.formats=function(){var e=this.attributes.values(),t=this.statics.formats(this.domNode);return null!=t&&(e[this.statics.blotName]=t),e},t.prototype.replaceWith=function(t,n){var i=e.prototype.replaceWith.call(this,t,n);return this.attributes.copy(i),i},t.prototype.update=function(t,n){var i=this;e.prototype.update.call(this,t,n),t.some(function(e){return e.target===i.domNode&&"attributes"===e.type})&&this.attributes.build()},t.prototype.wrap=function(n,i){var r=e.prototype.wrap.call(this,n,i);return r instanceof t&&r.statics.scope===this.statics.scope&&this.attributes.move(r),r},t}(s.default);t.default=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(30),a=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.value=function(e){return!0},t.prototype.index=function(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1},t.prototype.position=function(e,t){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=a.Scope.INLINE_BLOT,t}(o.default);t.default=s},function(e,t,n){var i=n(11),r=n(3),o={attributes:{compose:function(e,t,n){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var i=r(!0,{},t);for(var o in n||(i=Object.keys(i).reduce(function(e,t){return null!=i[t]&&(e[t]=i[t]),e},{})),e)void 0!==e[o]&&void 0===t[o]&&(i[o]=e[o]);return Object.keys(i).length>0?i:void 0},diff:function(e,t){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce(function(n,r){return i(e[r],t[r])||(n[r]=void 0===t[r]?null:t[r]),n},{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!=typeof e)return t;if("object"==typeof t){if(!n)return t;var i=Object.keys(t).reduce(function(n,i){return void 0===e[i]&&(n[i]=t[i]),n},{});return Object.keys(i).length>0?i:void 0}}},iterator:function(e){return new a(e)},length:function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}};function a(e){this.ops=e,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,i=o.length(t);if(e>=i-n?(e=i-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var r={};return t.attributes&&(r.attributes=t.attributes),"number"==typeof t.retain?r.retain=e:"string"==typeof t.insert?r.insert=t.insert.substr(n,e):r.insert=t.insert,r}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),i=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(i)}return[]},e.exports=o},function(t,n){var i=function(){"use strict";function t(e,t){return null!=t&&e instanceof t}var n,i,r;try{n=Map}catch(e){n=function(){}}try{i=Set}catch(e){i=function(){}}try{r=Promise}catch(e){r=function(){}}function o(a,l,c,u,d){"object"==typeof l&&(c=l.depth,u=l.prototype,d=l.includeNonEnumerable,l=l.circular);var p=[],f=[],h=void 0!==e;return void 0===l&&(l=!0),void 0===c&&(c=1/0),function a(c,m){if(null===c)return null;if(0===m)return c;var g,v;if("object"!=typeof c)return c;if(t(c,n))g=new n;else if(t(c,i))g=new i;else if(t(c,r))g=new r(function(e,t){c.then(function(t){e(a(t,m-1))},function(e){t(a(e,m-1))})});else if(o.__isArray(c))g=[];else if(o.__isRegExp(c))g=new RegExp(c.source,s(c)),c.lastIndex&&(g.lastIndex=c.lastIndex);else if(o.__isDate(c))g=new Date(c.getTime());else{if(h&&e.isBuffer(c))return g=e.allocUnsafe?e.allocUnsafe(c.length):new e(c.length),c.copy(g),g;t(c,Error)?g=Object.create(c):void 0===u?(v=Object.getPrototypeOf(c),g=Object.create(v)):(g=Object.create(u),v=u)}if(l){var b=p.indexOf(c);if(-1!=b)return f[b];p.push(c),f.push(g)}for(var y in t(c,n)&&c.forEach(function(e,t){var n=a(t,m-1),i=a(e,m-1);g.set(n,i)}),t(c,i)&&c.forEach(function(e){var t=a(e,m-1);g.add(t)}),c){var _;v&&(_=Object.getOwnPropertyDescriptor(v,y)),_&&null==_.set||(g[y]=a(c[y],m-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(c);for(y=0;y<w.length;y++){var x=w[y];(!(A=Object.getOwnPropertyDescriptor(c,x))||A.enumerable||d)&&(g[x]=a(c[x],m-1),A.enumerable||Object.defineProperty(g,x,{enumerable:!1}))}}if(d){var k=Object.getOwnPropertyNames(c);for(y=0;y<k.length;y++){var A,C=k[y];(A=Object.getOwnPropertyDescriptor(c,C))&&A.enumerable||(g[C]=a(c[C],m-1),Object.defineProperty(g,C,{enumerable:!1}))}}return g}(a,c)}function a(e){return Object.prototype.toString.call(e)}function s(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return o.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},o.__objToStr=a,o.__isDate=function(e){return"object"==typeof e&&"[object Date]"===a(e)},o.__isArray=function(e){return"object"==typeof e&&"[object Array]"===a(e)},o.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===a(e)},o.__getRegExpFlags=s,o}();"object"==typeof t&&t.exports&&(t.exports=i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},a=f(n(0)),s=f(n(8)),l=n(4),c=f(l),u=f(n(16)),d=f(n(13)),p=f(n(25));function f(e){return e&&e.__esModule?e:{default:e}}function h(e){return e instanceof c.default||e instanceof l.BlockEmbed}var m=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.emitter=n.emitter,Array.isArray(n.whitelist)&&(i.whitelist=n.whitelist.reduce(function(e,t){return e[t]=!0,e},{})),i.domNode.addEventListener("DOMNodeInserted",function(){}),i.optimize(),i.enable(),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Scroll),r(t,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(e,n){var r=this.line(e),a=i(r,2),s=a[0],c=a[1],p=this.line(e+n),f=i(p,1)[0];if(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),null!=f&&s!==f&&c>0){if(s instanceof l.BlockEmbed||f instanceof l.BlockEmbed)return void this.optimize();if(s instanceof d.default){var h=s.newlineIndex(s.length(),!0);if(h>-1&&(s=s.split(h+1))===f)return void this.optimize()}else if(f instanceof d.default){var m=f.newlineIndex(0);m>-1&&f.split(m+1)}var g=f.children.head instanceof u.default?null:f.children.head;s.moveChildren(f,g),s.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,i,r){(null==this.whitelist||this.whitelist[i])&&(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,i,r),this.optimize())}},{key:"insertAt",value:function(e,n,i){if(null==i||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==i||null==a.default.query(n,a.default.Scope.BLOCK)){var r=a.default.create(this.statics.defaultChild);this.appendChild(r),null==i&&n.endsWith("\n")&&(n=n.slice(0,-1)),r.insertAt(0,n,i)}else{var s=a.default.create(n,i);this.appendChild(s)}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,i);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===a.default.Scope.INLINE_BLOT){var i=a.default.create(this.statics.defaultChild);i.appendChild(e),e=i}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(h,e)}},{key:"lines",value:function(){return function e(t,n,i){var r=[],o=i;return t.children.forEachAt(n,i,function(t,n,i){h(t)?r.push(t):t instanceof a.default.Container&&(r=r.concat(e(t,n,o))),o-=i}),r}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=s.default.sources.USER;"string"==typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,n,e),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(s.default.events.SCROLL_UPDATE,n,e)}}}]),t}();m.blotName="scroll",m.className="ql-editor",m.tagName="DIV",m.defaultChild="block",m.allowedChildren=[c.default,l.BlockEmbed,p.default],t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var i="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},r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=m(n(21)),s=m(n(11)),l=m(n(3)),c=m(n(2)),u=m(n(20)),d=m(n(0)),p=m(n(5)),f=m(n(10)),h=m(n(9));function m(e){return e&&e.__esModule?e:{default: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}var v=(0,f.default)("quill:keyboard"),b=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",y=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.bindings={},Object.keys(i.options.bindings).forEach(function(t){("list autofill"!==t||null==e.scroll.whitelist||e.scroll.whitelist.list)&&i.options.bindings[t]&&i.addBinding(i.options.bindings[t])}),i.addBinding({key:t.keys.ENTER,shiftKey:null},A),i.addBinding({key:t.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(i.addBinding({key:t.keys.BACKSPACE},{collapsed:!0},w),i.addBinding({key:t.keys.DELETE},{collapsed:!0},x)):(i.addBinding({key:t.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},w),i.addBinding({key:t.keys.DELETE},{collapsed:!0,suffix:/^.?$/},x)),i.addBinding({key:t.keys.BACKSPACE},{collapsed:!1},k),i.addBinding({key:t.keys.DELETE},{collapsed:!1},k),i.addBinding({key:t.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},w),i.listen(),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,h.default),o(t,null,[{key:"match",value:function(e,t){return t=M(t),!["altKey","ctrlKey","metaKey","shiftKey"].some(function(n){return!!t[n]!==e[n]&&null!==t[n]})&&t.key===(e.which||e.keyCode)}}]),o(t,[{key:"addBinding",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=M(e);if(null==i||null==i.key)return v.warn("Attempted to add invalid keyboard binding",i);"function"==typeof t&&(t={handler:t}),"function"==typeof n&&(n={handler:n}),i=(0,l.default)(i,t,n),this.bindings[i.key]=this.bindings[i.key]||[],this.bindings[i.key].push(i)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",function(n){if(!n.defaultPrevented){var o=n.which||n.keyCode,a=(e.bindings[o]||[]).filter(function(e){return t.match(n,e)});if(0!==a.length){var l=e.quill.getSelection();if(null!=l&&e.quill.hasFocus()){var c=e.quill.getLine(l.index),u=r(c,2),p=u[0],f=u[1],h=e.quill.getLeaf(l.index),m=r(h,2),g=m[0],v=m[1],b=0===l.length?[g,v]:e.quill.getLeaf(l.index+l.length),y=r(b,2),_=y[0],w=y[1],x=g instanceof d.default.Text?g.value().slice(0,v):"",k=_ instanceof d.default.Text?_.value().slice(w):"",A={collapsed:0===l.length,empty:0===l.length&&p.length()<=1,format:e.quill.getFormat(l),offset:f,prefix:x,suffix:k};a.some(function(t){if(null!=t.collapsed&&t.collapsed!==A.collapsed)return!1;if(null!=t.empty&&t.empty!==A.empty)return!1;if(null!=t.offset&&t.offset!==A.offset)return!1;if(Array.isArray(t.format)){if(t.format.every(function(e){return null==A.format[e]}))return!1}else if("object"===i(t.format)&&!Object.keys(t.format).every(function(e){return!0===t.format[e]?null!=A.format[e]:!1===t.format[e]?null==A.format[e]:(0,s.default)(t.format[e],A.format[e])}))return!1;return!(null!=t.prefix&&!t.prefix.test(A.prefix))&&(!(null!=t.suffix&&!t.suffix.test(A.suffix))&&!0!==t.handler.call(e,l,A))})&&n.preventDefault()}}}})}}]),t}();function _(e,t){var n,i=e===y.keys.LEFT?"prefix":"suffix";return g(n={key:e,shiftKey:t,altKey:null},i,/^$/),g(n,"handler",function(n){var i=n.index;e===y.keys.RIGHT&&(i+=n.length+1);var o=this.quill.getLeaf(i);return!(r(o,1)[0]instanceof d.default.Embed)||(e===y.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,p.default.sources.USER):this.quill.setSelection(n.index-1,p.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,p.default.sources.USER):this.quill.setSelection(n.index+n.length+1,p.default.sources.USER),!1)}),n}function w(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),i=r(n,1)[0],o={};if(0===t.offset){var a=this.quill.getLine(e.index-1),s=r(a,1)[0];if(null!=s&&s.length()>1){var l=i.formats(),c=this.quill.getFormat(e.index-1,1);o=u.default.attributes.diff(l,c)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-d,d,p.default.sources.USER),Object.keys(o).length>0&&this.quill.formatLine(e.index-d,d,o,p.default.sources.USER),this.quill.focus()}}function x(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var i={},o=0,a=this.quill.getLine(e.index),s=r(a,1)[0];if(t.offset>=s.length()-1){var l=this.quill.getLine(e.index+1),c=r(l,1)[0];if(c){var d=s.formats(),f=this.quill.getFormat(e.index,1);i=u.default.attributes.diff(d,f)||{},o=c.length()}}this.quill.deleteText(e.index,n,p.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(e.index+o-1,n,i,p.default.sources.USER)}}function k(e){var t=this.quill.getLines(e),n={};if(t.length>1){var i=t[0].formats(),r=t[t.length-1].formats();n=u.default.attributes.diff(r,i)||{}}this.quill.deleteText(e,p.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,p.default.sources.USER),this.quill.setSelection(e.index,p.default.sources.SILENT),this.quill.focus()}function A(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var i=Object.keys(t.format).reduce(function(e,n){return d.default.query(n,d.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e},{});this.quill.insertText(e.index,"\n",i,p.default.sources.USER),this.quill.setSelection(e.index+1,p.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach(function(e){null==i[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],p.default.sources.USER))})}function C(e){return{key:y.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=d.default.query("code-block"),i=t.index,o=t.length,a=this.quill.scroll.descendant(n,i),s=r(a,2),l=s[0],c=s[1];if(null!=l){var u=this.quill.getIndex(l),f=l.newlineIndex(c,!0)+1,h=l.newlineIndex(u+c+o),m=l.domNode.textContent.slice(f,h).split("\n");c=0,m.forEach(function(t,r){e?(l.insertAt(f+c,n.TAB),c+=n.TAB.length,0===r?i+=n.TAB.length:o+=n.TAB.length):t.startsWith(n.TAB)&&(l.deleteAt(f+c,n.TAB.length),c-=n.TAB.length,0===r?i-=n.TAB.length:o-=n.TAB.length),c+=t.length+1}),this.quill.update(p.default.sources.USER),this.quill.setSelection(i,o,p.default.sources.SILENT)}}}}function S(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],p.default.sources.USER)}}}function M(e){if("string"==typeof e||"number"==typeof e)return M({key:e});if("object"===(void 0===e?"undefined":i(e))&&(e=(0,a.default)(e,!1)),"string"==typeof e.key)if(null!=y.keys[e.key.toUpperCase()])e.key=y.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[b]=e.shortKey,delete e.shortKey),e}y.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},y.DEFAULTS={bindings:{bold:S("bold"),italic:S("italic"),underline:S("underline"),indent:{key:y.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",p.default.sources.USER)}},outdent:{key:y.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",p.default.sources.USER)}},"outdent backspace":{key:y.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",p.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,p.default.sources.USER)}},"indent code-block":C(!0),"outdent code-block":C(!1),"remove tab":{key:y.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,p.default.sources.USER)}},tab:{key:y.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new c.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,p.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,p.default.sources.SILENT)}},"list empty enter":{key:y.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,p.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,p.default.sources.USER)}},"checklist enter":{key:y.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=r(t,2),i=n[0],o=n[1],a=(0,l.default)({},i.formats(),{list:"checked"}),s=(new c.default).retain(e.index).insert("\n",a).retain(i.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,p.default.sources.USER),this.quill.setSelection(e.index+1,p.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:y.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),i=r(n,2),o=i[0],a=i[1],s=(new c.default).retain(e.index).insert("\n",t.format).retain(o.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,p.default.sources.USER),this.quill.setSelection(e.index+1,p.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,i=this.quill.getLine(e.index),o=r(i,2),a=o[0],s=o[1];if(s>n)return!0;var l=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(e.index," ",p.default.sources.USER),this.quill.history.cutoff();var u=(new c.default).retain(e.index-s).delete(n+1).retain(a.length()-2-s).retain(1,{list:l});this.quill.updateContents(u,p.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,p.default.sources.SILENT)}},"code exit":{key:y.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=r(t,2),i=n[0],o=n[1],a=(new c.default).retain(e.index+i.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,p.default.sources.USER)}},"embed left":_(y.keys.LEFT,!1),"embed left shift":_(y.keys.LEFT,!0),"embed right":_(y.keys.RIGHT,!1),"embed right shift":_(y.keys.RIGHT,!0)}},t.default=y,t.SHORTKEY=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=l(n(0)),s=l(n(7));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.selection=n,i.textNode=document.createTextNode(t.CONTENTS),i.domNode.appendChild(i.textNode),i._length=0,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Embed),o(t,null,[{key:"value",value:function(){}}]),o(t,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(e,n){if(0!==this._length)return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);for(var i=this,o=0;null!=i&&i.statics.scope!==a.default.Scope.BLOCK_BLOT;)o+=i.offset(i.parent),i=i.parent;null!=i&&(this._length=t.CONTENTS.length,i.optimize(),i.formatAt(o,t.CONTENTS.length,e,n),this._length=0)}},{key:"index",value:function(e,n){return e===this.textNode?0:r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var e=this.textNode,n=this.selection.getNativeRange(),r=void 0,o=void 0,l=void 0;if(null!=n&&n.start.node===e&&n.end.node===e){var c=[e,n.start.offset,n.end.offset];r=c[0],o=c[1],l=c[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==t.CONTENTS){var u=this.textNode.data.split(t.CONTENTS).join("");this.next instanceof s.default?(r=this.next.domNode,this.next.insertAt(0,u),this.textNode.data=t.CONTENTS):(this.textNode.data=u,this.parent.insertBefore(a.default.create(this.textNode),this),this.textNode=document.createTextNode(t.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=o){var d=[o,l].map(function(e){return Math.max(0,Math.min(r.data.length,e-1))}),p=i(d,2);return o=p[0],l=p[1],{startNode:r,startOffset:o,endNode:r,endOffset:l}}}}},{key:"update",value:function(e,t){var n=this;if(e.some(function(e){return"characterData"===e.type&&e.target===n.textNode})){var i=this.restore();i&&(t.range=i)}}},{key:"value",value:function(){return""}}]),t}();c.blotName="cursor",c.className="ql-cursor",c.tagName="span",c.CONTENTS="\ufeff",t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(0)),r=n(4),o=a(r);function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.default.Container),t}();s.allowedChildren=[o.default,r.BlockEmbed,s],t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorStyle=t.ColorClass=t.ColorAttributor=void 0;var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=n(0),a=(i=o)&&i.__esModule?i:{default:i};var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Attributor.Style),r(t,[{key:"value",value:function(e){var n=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map(function(e){return("00"+parseInt(e).toString(16)).slice(-2)}).join("")):n}}]),t}(),l=new a.default.Attributor.Class("color","ql-color",{scope:a.default.Scope.INLINE}),c=new s("color","color",{scope:a.default.Scope.INLINE});t.ColorAttributor=s,t.ColorClass=l,t.ColorStyle=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitize=t.default=void 0;var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},a=n(6),s=(i=a)&&i.__esModule?i:{default:i};var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default),r(t,[{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n)return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(e){var n=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return e=this.sanitize(e),n.setAttribute("href",e),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(e){return e.getAttribute("href")}},{key:"sanitize",value:function(e){return c(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}}]),t}();function c(e,t){var n=document.createElement("a");n.href=e;var i=n.href.slice(0,n.href.indexOf(":"));return t.indexOf(i)>-1}l.blotName="link",l.tagName="A",l.SANITIZED_URL="about:blank",l.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=l,t.sanitize=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="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},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=s(n(23)),a=s(n(107));function s(e){return e&&e.__esModule?e:{default:e}}var l=0;function c(e,t){e.setAttribute(t,!("true"===e.getAttribute(t)))}var u=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.select=t,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",function(){n.togglePicker()}),this.label.addEventListener("keydown",function(e){switch(e.keyCode){case o.default.keys.ENTER:n.togglePicker();break;case o.default.keys.ESCAPE:n.escape(),e.preventDefault()}}),this.select.addEventListener("change",this.update.bind(this))}return r(e,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),c(this.label,"aria-expanded"),c(this.options,"aria-hidden")}},{key:"buildItem",value:function(e){var t=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),e.hasAttribute("value")&&n.setAttribute("data-value",e.getAttribute("value")),e.textContent&&n.setAttribute("data-label",e.textContent),n.addEventListener("click",function(){t.selectItem(n,!0)}),n.addEventListener("keydown",function(e){switch(e.keyCode){case o.default.keys.ENTER:t.selectItem(n,!0),e.preventDefault();break;case o.default.keys.ESCAPE:t.escape(),e.preventDefault()}}),n}},{key:"buildLabel",value:function(){var e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=a.default,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}},{key:"buildOptions",value:function(){var e=this,t=document.createElement("span");t.classList.add("ql-picker-options"),t.setAttribute("aria-hidden","true"),t.tabIndex="-1",t.id="ql-picker-options-"+l,l+=1,this.label.setAttribute("aria-controls",t.id),this.options=t,[].slice.call(this.select.options).forEach(function(n){var i=e.buildItem(n);t.appendChild(i),!0===n.selected&&e.selectItem(i)}),this.container.appendChild(t)}},{key:"buildPicker",value:function(){var e=this;[].slice.call(this.select.attributes).forEach(function(t){e.container.setAttribute(t.name,t.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var e=this;this.close(),setTimeout(function(){return e.label.focus()},1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":i(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=v(n(0)),r=v(n(5)),o=n(4),a=v(o),s=v(n(16)),l=v(n(25)),c=v(n(24)),u=v(n(35)),d=v(n(6)),p=v(n(22)),f=v(n(7)),h=v(n(55)),m=v(n(42)),g=v(n(23));function v(e){return e&&e.__esModule?e:{default:e}}r.default.register({"blots/block":a.default,"blots/block/embed":o.BlockEmbed,"blots/break":s.default,"blots/container":l.default,"blots/cursor":c.default,"blots/embed":u.default,"blots/inline":d.default,"blots/scroll":p.default,"blots/text":f.default,"modules/clipboard":h.default,"modules/history":m.default,"modules/keyboard":g.default}),i.default.register(a.default,s.default,c.default,d.default,p.default,f.default),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),r=function(){function e(e){this.domNode=e,this.domNode[i.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new i.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"==typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"==typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return i.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[i.DATA_KEY]},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,n,r){var o=this.isolate(e,t);if(null!=i.query(n,i.Scope.BLOT)&&r)o.wrap(n,r);else if(null!=i.query(n,i.Scope.ATTRIBUTE)){var a=i.create(this.statics.scope);o.wrap(a),a.format(n,r)}},e.prototype.insertAt=function(e,t,n){var r=null==n?i.create("text",t):i.create(t,n),o=this.split(e);this.parent.insertBefore(r,o)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[i.DATA_KEY]&&delete this.domNode[i.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"==typeof e?i.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"==typeof e?i.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),r=n(32),o=n(33),a=n(1),s=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=i.default.keys(this.domNode),n=r.default.keys(this.domNode),s=o.default.keys(this.domNode);t.concat(n).concat(s).forEach(function(t){var n=a.query(t,a.Scope.ATTRIBUTE);n instanceof i.default&&(e.attributes[n.attrName]=n)})},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach(function(n){var i=t.attributes[n].value(t.domNode);e.format(n,i)})},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach(function(e){t.attributes[e].remove(t.domNode)}),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce(function(t,n){return t[n]=e.attributes[n].value(e.domNode),t},{})},e}();t.default=s},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function o(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter(function(e){return 0===e.indexOf(t+"-")})}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map(function(e){return e.split("-").slice(0,-1).join("-")})},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){o(e,this.keyName).forEach(function(t){e.classList.remove(t)}),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(o(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=a},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function o(e){var t=e.split("-"),n=t.slice(1).map(function(e){return e[0].toUpperCase()+e.slice(1)}).join("");return t[0]+n}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map(function(e){return e.split(":")[0].trim()})},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[o(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[o(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[o(this.keyName)];return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var r=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.options=n,this.modules={}}return i(e,[{key:"init",value:function(){var e=this;Object.keys(this.options.modules).forEach(function(t){null==e.modules[t]&&e.addModule(t)})}},{key:"addModule",value:function(e){var t=this.quill.constructor.import("modules/"+e);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}}]),e}();r.DEFAULTS={modules:{}},r.themes={default:r},t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=a(n(0)),o=a(n(7));function a(e){return e&&e.__esModule?e:{default:e}}var s="\ufeff",l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach(function(e){n.contentNode.appendChild(e)}),n.leftGuard=document.createTextNode(s),n.rightGuard=document.createTextNode(s),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default.Embed),i(t,[{key:"index",value:function(e,n){return e===this.leftGuard?0:e===this.rightGuard?1:function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"restore",value:function(e){var t=void 0,n=void 0,i=e.data.split(s).join("");if(e===this.leftGuard)if(this.prev instanceof o.default){var a=this.prev.length();this.prev.insertAt(a,i),t={startNode:this.prev.domNode,startOffset:a+i.length}}else n=document.createTextNode(i),this.parent.insertBefore(r.default.create(n),this),t={startNode:n,startOffset:i.length};else e===this.rightGuard&&(this.next instanceof o.default?(this.next.insertAt(0,i),t={startNode:this.next.domNode,startOffset:i.length}):(n=document.createTextNode(i),this.parent.insertBefore(r.default.create(n),this.next),t={startNode:n,startOffset:i.length}));return e.data=s,t}},{key:"update",value:function(e,t){var n=this;e.forEach(function(e){if("characterData"===e.type&&(e.target===n.leftGuard||e.target===n.rightGuard)){var i=n.restore(e.target);i&&(t.range=i)}})}}]),t}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlignStyle=t.AlignClass=t.AlignAttribute=void 0;var i,r=n(0),o=(i=r)&&i.__esModule?i:{default:i};var a={scope:o.default.Scope.BLOCK,whitelist:["right","center","justify"]},s=new o.default.Attributor.Attribute("align","align",a),l=new o.default.Attributor.Class("align","ql-align",a),c=new o.default.Attributor.Style("align","text-align",a);t.AlignAttribute=s,t.AlignClass=l,t.AlignStyle=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundStyle=t.BackgroundClass=void 0;var i,r=n(0),o=(i=r)&&i.__esModule?i:{default:i},a=n(26);var s=new o.default.Attributor.Class("background","ql-bg",{scope:o.default.Scope.INLINE}),l=new a.ColorAttributor("background","background-color",{scope:o.default.Scope.INLINE});t.BackgroundClass=s,t.BackgroundStyle=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionStyle=t.DirectionClass=t.DirectionAttribute=void 0;var i,r=n(0),o=(i=r)&&i.__esModule?i:{default:i};var a={scope:o.default.Scope.BLOCK,whitelist:["rtl"]},s=new o.default.Attributor.Attribute("direction","dir",a),l=new o.default.Attributor.Class("direction","ql-direction",a),c=new o.default.Attributor.Style("direction","direction",a);t.DirectionAttribute=s,t.DirectionClass=l,t.DirectionStyle=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontClass=t.FontStyle=void 0;var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=n(0),a=(i=o)&&i.__esModule?i:{default:i};var s={scope:a.default.Scope.INLINE,whitelist:["serif","monospace"]},l=new a.default.Attributor.Class("font","ql-font",s),c=new(function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Attributor.Style),r(t,[{key:"value",value:function(e){return function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e).replace(/["']/g,"")}}]),t}())("font","font-family",s);t.FontStyle=c,t.FontClass=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SizeStyle=t.SizeClass=void 0;var i,r=n(0),o=(i=r)&&i.__esModule?i:{default:i};var a=new o.default.Attributor.Class("size","ql-size",{scope:o.default.Scope.INLINE,whitelist:["small","large","huge"]}),s=new o.default.Attributor.Style("size","font-size",{scope:o.default.Scope.INLINE,whitelist:["10px","18px","32px"]});t.SizeClass=a,t.SizeStyle=s},function(e,t,n){"use strict";e.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLastChangeIndex=t.default=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=s(n(0)),o=s(n(5)),a=s(n(9));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.lastRecorded=0,i.ignoreChange=!1,i.clear(),i.quill.on(o.default.events.EDITOR_CHANGE,function(e,t,n,r){e!==o.default.events.TEXT_CHANGE||i.ignoreChange||(i.options.userOnly&&r!==o.default.sources.USER?i.transform(t):i.record(t,n))}),i.quill.keyboard.addBinding({key:"Z",shortKey:!0},i.undo.bind(i)),i.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},i.redo.bind(i)),/Win/i.test(navigator.platform)&&i.quill.keyboard.addBinding({key:"Y",shortKey:!0},i.redo.bind(i)),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default),i(t,[{key:"change",value:function(e,t){if(0!==this.stack[e].length){var n=this.stack[e].pop();this.stack[t].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[e],o.default.sources.USER),this.ignoreChange=!1;var i=c(n[e]);this.quill.setSelection(i)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(e,t){if(0!==e.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(t),i=Date.now();if(this.lastRecorded+this.options.delay>i&&this.stack.undo.length>0){var r=this.stack.undo.pop();n=n.compose(r.undo),e=r.redo.compose(e)}else this.lastRecorded=i;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach(function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}),this.stack.redo.forEach(function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}();function c(e){var t=e.reduce(function(e,t){return e+=t.delete||0},0),n=e.length()-t;return function(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"==typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some(function(e){return null!=r.default.query(e,r.default.Scope.BLOCK)}))}(e)&&(n-=1),n}l.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=l,t.getLastChangeIndex=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=f(n(3)),o=f(n(2)),a=f(n(8)),s=f(n(23)),l=f(n(34)),c=f(n(59)),u=f(n(60)),d=f(n(28)),p=f(n(61));function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=[!1,"center","right","justify"],b=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],y=[!1,"serif","monospace"],_=["1","2","3",!1],w=["small",!1,"large","huge"],x=function(e){function t(e,n){h(this,t);var i=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return e.emitter.listenDOM("click",document.body,function t(n){if(!document.body.contains(e.root))return document.body.removeEventListener("click",t);null==i.tooltip||i.tooltip.root.contains(n.target)||document.activeElement===i.tooltip.textbox||i.quill.hasFocus()||i.tooltip.hide(),null!=i.pickers&&i.pickers.forEach(function(e){e.container.contains(n.target)||e.close()})}),i}return g(t,l.default),i(t,[{key:"addModule",value:function(e){var n=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addModule",this).call(this,e);return"toolbar"===e&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(e,t){e.forEach(function(e){(e.getAttribute("class")||"").split(/\s+/).forEach(function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=t[n]))if("direction"===n)e.innerHTML=t[n][""]+t[n].rtl;else if("string"==typeof t[n])e.innerHTML=t[n];else{var i=e.value||"";null!=i&&t[n][i]&&(e.innerHTML=t[n][i])}})})}},{key:"buildPickers",value:function(e,t){var n=this;this.pickers=e.map(function(e){if(e.classList.contains("ql-align"))return null==e.querySelector("option")&&A(e,v),new u.default(e,t.align);if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){var n=e.classList.contains("ql-background")?"background":"color";return null==e.querySelector("option")&&A(e,b,"background"===n?"#ffffff":"#000000"),new c.default(e,t[n])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?A(e,y):e.classList.contains("ql-header")?A(e,_):e.classList.contains("ql-size")&&A(e,w)),new d.default(e)});this.quill.on(a.default.events.EDITOR_CHANGE,function(){n.pickers.forEach(function(e){e.update()})})}}]),t}();x.DEFAULTS=(0,r.default)(!0,{},l.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var e=this,t=this.container.querySelector("input.ql-image[type=file]");null==t&&((t=document.createElement("input")).setAttribute("type","file"),t.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),t.classList.add("ql-image"),t.addEventListener("change",function(){if(null!=t.files&&null!=t.files[0]){var n=new FileReader;n.onload=function(n){var i=e.quill.getSelection(!0);e.quill.updateContents((new o.default).retain(i.index).delete(i.length).insert({image:n.target.result}),a.default.sources.USER),e.quill.setSelection(i.index+1,a.default.sources.SILENT),t.value=""},n.readAsDataURL(t.files[0])}}),this.container.appendChild(t)),t.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var k=function(e){function t(e,n){h(this,t);var i=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.textbox=i.root.querySelector('input[type="text"]'),i.listen(),i}return g(t,p.default),i(t,[{key:"listen",value:function(){var e=this;this.textbox.addEventListener("keydown",function(t){s.default.match(t,"enter")?(e.save(),t.preventDefault()):s.default.match(t,"escape")&&(e.cancel(),t.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,a.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,a.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=function(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);if(t)return(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0";if(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))return(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/";return e}(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var i=n.index+n.length;this.quill.insertEmbed(i,this.root.getAttribute("data-mode"),e,a.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(i+1," ",a.default.sources.USER),this.quill.setSelection(i+2,a.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}();function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach(function(t){var i=document.createElement("option");t===n?i.setAttribute("selected","selected"):i.setAttribute("value",t),e.appendChild(i)})}t.BaseTooltip=k,t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.insertBefore(e[0],null),e.length>1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){for(var t,n=this.iterator();t=n();)if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){for(var t=0,n=this.head;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);for(var n,i=this.iterator();n=i();){var r=n.length();if(e<r||t&&e===r&&(null==n.next||0!==n.next.length()))return[n,e];e-=r}return[null,0]},e.prototype.forEach=function(e){for(var t,n=this.iterator();t=n();)e(t)},e.prototype.forEachAt=function(e,t,n){if(!(t<=0))for(var i,r=this.find(e),o=r[0],a=e-r[1],s=this.iterator(o);(i=s())&&a<e+t;){var l=i.length();e>a?n(i,e-a,Math.min(t,a+l-e)):n(i,0,Math.min(l,e+t-a)),a+=l}},e.prototype.map=function(e){return this.reduce(function(t,n){return t.push(e(n)),t},[])},e.prototype.reduce=function(e,t){for(var n,i=this.iterator();n=i();)t=e(t,n);return t},e}();t.default=i},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(17),a=n(1),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},l=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver(function(e){n.update(e)}),n.observer.observe(n.domNode,s),n.attach(),n}return r(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach(function(e){e.remove()}):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,i,r){this.update(),e.prototype.formatAt.call(this,t,n,i,r)},t.prototype.insertAt=function(t,n,i){this.update(),e.prototype.insertAt.call(this,t,n,i)},t.prototype.optimize=function(t,n){var i=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);for(var r=[].slice.call(this.observer.takeRecords());r.length>0;)t.push(r.pop());for(var s=function(e,t){void 0===t&&(t=!0),null!=e&&e!==i&&null!=e.domNode.parentNode&&(null==e.domNode[a.DATA_KEY].mutations&&(e.domNode[a.DATA_KEY].mutations=[]),t&&s(e.parent))},l=function(e){null!=e.domNode[a.DATA_KEY]&&null!=e.domNode[a.DATA_KEY].mutations&&(e instanceof o.default&&e.children.forEach(l),e.optimize(n))},c=t,u=0;c.length>0;u+=1){if(u>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach(function(e){var t=a.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(s(a.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,function(e){var t=a.find(e,!1);s(t,!1),t instanceof o.default&&t.children.forEach(function(e){s(e,!1)})})):"attributes"===e.type&&s(t.prev)),s(t))}),this.children.forEach(l),r=(c=[].slice.call(this.observer.takeRecords())).slice();r.length>0;)t.push(r.pop())}},t.prototype.update=function(t,n){var i=this;void 0===n&&(n={}),(t=t||this.observer.takeRecords()).map(function(e){var t=a.find(e.target,!0);return null==t?null:null==t.domNode[a.DATA_KEY].mutations?(t.domNode[a.DATA_KEY].mutations=[e],t):(t.domNode[a.DATA_KEY].mutations.push(e),null)}).forEach(function(e){null!=e&&e!==i&&null!=e.domNode[a.DATA_KEY]&&e.update(e.domNode[a.DATA_KEY].mutations||[],n)}),null!=this.domNode[a.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[a.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="DIV",t}(o.default);t.default=l},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),a=n(1);var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,i){var r=this;n!==this.statics.blotName||i?e.prototype.format.call(this,n,i):(this.children.forEach(function(e){e instanceof o.default||(e=e.wrap(t.blotName,!0)),r.attributes.copy(e)}),this.unwrap())},t.prototype.formatAt=function(t,n,i,r){null!=this.formats()[i]||a.query(i,a.Scope.ATTRIBUTE)?this.isolate(t,n).format(i,r):e.prototype.formatAt.call(this,t,n,i,r)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var i=this.formats();if(0===Object.keys(i).length)return this.unwrap();var r=this.next;r instanceof t&&r.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(i,r.formats())&&(r.moveChildren(this),r.remove())},t.blotName="inline",t.scope=a.Scope.INLINE_BLOT,t.tagName="SPAN",t}(o.default);t.default=s},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),a=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){var i=a.query(t.blotName).tagName;if(n.tagName!==i)return e.formats.call(this,n)},t.prototype.format=function(n,i){null!=a.query(n,a.Scope.BLOCK)&&(n!==this.statics.blotName||i?e.prototype.format.call(this,n,i):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,i,r){null!=a.query(i,a.Scope.BLOCK)?this.format(i,r):e.prototype.formatAt.call(this,t,n,i,r)},t.prototype.insertAt=function(t,n,i){if(null==i||null!=a.query(n,a.Scope.INLINE))e.prototype.insertAt.call(this,t,n,i);else{var r=this.split(t),o=a.create(n,i);r.parent.insertBefore(o,r)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="P",t}(o.default);t.default=s},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,i,r){0===t&&n===this.length()?this.format(i,r):e.prototype.formatAt.call(this,t,n,i,r)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(n(19).default);t.default=o},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(19),a=n(1),s=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return r(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t.normalize&&(t=t.normalize()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,i){null==i?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,i)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=a.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some(function(e){return"characterData"===e.type&&e.target===n.domNode})&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=a.Scope.INLINE_BLOT,t}(o.default);t.default=s},function(e,t,n){"use strict";var i=document.createElement("div");if(i.classList.toggle("test-class",!1),i.classList.contains("test-class")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)==!t?t:r.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var i=n.indexOf(e,t);return-1!==i&&i===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),i=n.length>>>0,r=arguments[1],o=0;o<i;o++)if(t=n[o],e.call(r,t,o,n))return t}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(e,t){var n=-1,i=1,r=0;function o(e,t,c){if(e==t)return e?[[r,e]]:[];(c<0||e.length<c)&&(c=null);var d=s(e,t),p=e.substring(0,d);d=l(e=e.substring(d),t=t.substring(d));var f=e.substring(e.length-d),h=function(e,t){var c;if(!e)return[[i,t]];if(!t)return[[n,e]];var u=e.length>t.length?e:t,d=e.length>t.length?t:e,p=u.indexOf(d);if(-1!=p)return c=[[i,u.substring(0,p)],[r,d],[i,u.substring(p+d.length)]],e.length>t.length&&(c[0][0]=c[2][0]=n),c;if(1==d.length)return[[n,e],[i,t]];var f=function(e,t){var n=e.length>t.length?e:t,i=e.length>t.length?t:e;if(n.length<4||2*i.length<n.length)return null;function r(e,t,n){for(var i,r,o,a,c=e.substring(n,n+Math.floor(e.length/4)),u=-1,d="";-1!=(u=t.indexOf(c,u+1));){var p=s(e.substring(n),t.substring(u)),f=l(e.substring(0,n),t.substring(0,u));d.length<f+p&&(d=t.substring(u-f,u)+t.substring(u,u+p),i=e.substring(0,n-f),r=e.substring(n+p),o=t.substring(0,u-f),a=t.substring(u+p))}return 2*d.length>=e.length?[i,r,o,a,d]:null}var o,a,c,u,d,p=r(n,i,Math.ceil(n.length/4)),f=r(n,i,Math.ceil(n.length/2));if(!p&&!f)return null;o=f?p&&p[4].length>f[4].length?p:f:p;e.length>t.length?(a=o[0],c=o[1],u=o[2],d=o[3]):(u=o[0],d=o[1],a=o[2],c=o[3]);var h=o[4];return[a,c,u,d,h]}(e,t);if(f){var h=f[0],m=f[1],g=f[2],v=f[3],b=f[4],y=o(h,g),_=o(m,v);return y.concat([[r,b]],_)}return function(e,t){for(var r=e.length,o=t.length,s=Math.ceil((r+o)/2),l=s,c=2*s,u=new Array(c),d=new Array(c),p=0;p<c;p++)u[p]=-1,d[p]=-1;u[l+1]=0,d[l+1]=0;for(var f=r-o,h=f%2!=0,m=0,g=0,v=0,b=0,y=0;y<s;y++){for(var _=-y+m;_<=y-g;_+=2){for(var w=l+_,x=(M=_==-y||_!=y&&u[w-1]<u[w+1]?u[w+1]:u[w-1]+1)-_;M<r&&x<o&&e.charAt(M)==t.charAt(x);)M++,x++;if(u[w]=M,M>r)g+=2;else if(x>o)m+=2;else if(h){var k=l+f-_;if(k>=0&&k<c&&-1!=d[k]){var A=r-d[k];if(M>=A)return a(e,t,M,x)}}}for(var C=-y+v;C<=y-b;C+=2){for(var k=l+C,S=(A=C==-y||C!=y&&d[k-1]<d[k+1]?d[k+1]:d[k-1]+1)-C;A<r&&S<o&&e.charAt(r-A-1)==t.charAt(o-S-1);)A++,S++;if(d[k]=A,A>r)b+=2;else if(S>o)v+=2;else if(!h){var w=l+f-C;if(w>=0&&w<c&&-1!=u[w]){var M=u[w],x=l+M-w;if(M>=(A=r-A))return a(e,t,M,x)}}}}return[[n,e],[i,t]]}(e,t)}(e=e.substring(0,e.length-d),t=t.substring(0,t.length-d));return p&&h.unshift([r,p]),f&&h.push([r,f]),function e(t){t.push([r,""]);var o=0;var a=0;var c=0;var u="";var d="";var p;for(;o<t.length;)switch(t[o][0]){case i:c++,d+=t[o][1],o++;break;case n:a++,u+=t[o][1],o++;break;case r:a+c>1?(0!==a&&0!==c&&(0!==(p=s(d,u))&&(o-a-c>0&&t[o-a-c-1][0]==r?t[o-a-c-1][1]+=d.substring(0,p):(t.splice(0,0,[r,d.substring(0,p)]),o++),d=d.substring(p),u=u.substring(p)),0!==(p=l(d,u))&&(t[o][1]=d.substring(d.length-p)+t[o][1],d=d.substring(0,d.length-p),u=u.substring(0,u.length-p))),0===a?t.splice(o-c,a+c,[i,d]):0===c?t.splice(o-a,a+c,[n,u]):t.splice(o-a-c,a+c,[n,u],[i,d]),o=o-a-c+(a?1:0)+(c?1:0)+1):0!==o&&t[o-1][0]==r?(t[o-1][1]+=t[o][1],t.splice(o,1)):o++,c=0,a=0,u="",d=""}""===t[t.length-1][1]&&t.pop();var f=!1;o=1;for(;o<t.length-1;)t[o-1][0]==r&&t[o+1][0]==r&&(t[o][1].substring(t[o][1].length-t[o-1][1].length)==t[o-1][1]?(t[o][1]=t[o-1][1]+t[o][1].substring(0,t[o][1].length-t[o-1][1].length),t[o+1][1]=t[o-1][1]+t[o+1][1],t.splice(o-1,1),f=!0):t[o][1].substring(0,t[o+1][1].length)==t[o+1][1]&&(t[o-1][1]+=t[o+1][1],t[o][1]=t[o][1].substring(t[o+1][1].length)+t[o+1][1],t.splice(o+1,1),f=!0)),o++;f&&e(t)}(h),null!=c&&(h=function(e,t){var i=function(e,t){if(0===t)return[r,e];for(var i=0,o=0;o<e.length;o++){var a=e[o];if(a[0]===n||a[0]===r){var s=i+a[1].length;if(t===s)return[o+1,e];if(t<s){e=e.slice();var l=t-i,c=[a[0],a[1].slice(0,l)],u=[a[0],a[1].slice(l)];return e.splice(o,1,c,u),[o+1,e]}i=s}}throw new Error("cursor_pos is out of bounds!")}(e,t),o=i[1],a=i[0],s=o[a],l=o[a+1];if(null==s)return e;if(s[0]!==r)return e;if(null!=l&&s[1]+l[1]===l[1]+s[1])return o.splice(a,2,l,s),u(o,a,2);if(null!=l&&0===l[1].indexOf(s[1])){o.splice(a,2,[l[0],s[1]],[0,s[1]]);var c=l[1].slice(s[1].length);return c.length>0&&o.splice(a+2,0,[l[0],c]),u(o,a,3)}return e}(h,c)),h=function(e){for(var t=!1,o=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},a=2;a<e.length;a+=1)e[a-2][0]===r&&((s=e[a-2][1]).charCodeAt(s.length-1)>=55296&&s.charCodeAt(s.length-1)<=56319)&&e[a-1][0]===n&&o(e[a-1][1])&&e[a][0]===i&&o(e[a][1])&&(t=!0,e[a-1][1]=e[a-2][1].slice(-1)+e[a-1][1],e[a][1]=e[a-2][1].slice(-1)+e[a][1],e[a-2][1]=e[a-2][1].slice(0,-1));var s;if(!t)return e;for(var l=[],a=0;a<e.length;a+=1)e[a][1].length>0&&l.push(e[a]);return l}(h)}function a(e,t,n,i){var r=e.substring(0,n),a=t.substring(0,i),s=e.substring(n),l=t.substring(i),c=o(r,a),u=o(s,l);return c.concat(u)}function s(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,i=Math.min(e.length,t.length),r=i,o=0;n<r;)e.substring(o,r)==t.substring(o,r)?o=n=r:i=r,r=Math.floor((i-n)/2+n);return r}function l(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var n=0,i=Math.min(e.length,t.length),r=i,o=0;n<r;)e.substring(e.length-r,e.length-o)==t.substring(t.length-r,t.length-o)?o=n=r:i=r,r=Math.floor((i-n)/2+n);return r}var c=o;function u(e,t,n){for(var i=t+n-1;i>=0&&i>=t-1;i--)if(i+1<e.length){var r=e[i],o=e[i+1];r[0]===o[1]&&e.splice(i,2,[r[0],r[1]+o[1]])}return e}c.INSERT=i,c.DELETE=n,c.EQUAL=r,e.exports=c},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}(e.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(e,t){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function i(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}(t=e.exports=n?i:r).supported=i,t.unsupported=r},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,i="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(i=!1)),a.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},a.prototype.listeners=function(e,t){var n=i?i+e:e,r=this._events[n];if(t)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var o=0,a=r.length,s=new Array(a);o<a;o++)s[o]=r[o].fn;return s},a.prototype.emit=function(e,t,n,r,o,a){var s=i?i+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,r),!0;case 5:return u.fn.call(u.context,t,n,r,o),!0;case 6:return u.fn.call(u.context,t,n,r,o,a),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var p,f=u.length;for(c=0;c<f;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,n);break;case 4:u[c].fn.call(u[c].context,t,n,r);break;default:if(!l)for(p=1,l=new Array(d-1);p<d;p++)l[p-1]=arguments[p];u[c].fn.apply(u[c].context,l)}}return!0},a.prototype.on=function(e,t,n){var r=new o(t,n||this),a=i?i+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],r]:this._events[a].push(r):(this._events[a]=r,this._eventsCount++),this},a.prototype.once=function(e,t,n){var r=new o(t,n||this,!0),a=i?i+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],r]:this._events[a].push(r):(this._events[a]=r,this._eventsCount++),this},a.prototype.removeListener=function(e,t,n,o){var a=i?i+e:e;if(!this._events[a])return this;if(!t)return 0==--this._eventsCount?this._events=new r:delete this._events[a],this;var s=this._events[a];if(s.fn)s.fn!==t||o&&!s.once||n&&s.context!==n||(0==--this._eventsCount?this._events=new r:delete this._events[a]);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||o&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[a]=1===c.length?c[0]:c:0==--this._eventsCount?this._events=new r:delete this._events[a]}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=i?i+e:e,this._events[t]&&(0==--this._eventsCount?this._events=new r:delete this._events[t])):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prototype.setMaxListeners=function(){return this},a.prefixed=i,a.EventEmitter=a,void 0!==e&&(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchText=t.matchSpacing=t.matchNewline=t.matchBlot=t.matchAttributor=t.default=void 0;var i="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},r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=y(n(3)),s=y(n(2)),l=y(n(0)),c=y(n(5)),u=y(n(10)),d=y(n(9)),p=n(36),f=n(37),h=y(n(13)),m=n(26),g=n(38),v=n(39),b=n(40);function y(e){return e&&e.__esModule?e:{default:e}}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=(0,u.default)("quill:clipboard"),x="__ql-matcher",k=[[Node.TEXT_NODE,D],[Node.TEXT_NODE,$],["br",function(e,t){T(t,"\n")||t.insert("\n");return t}],[Node.ELEMENT_NODE,$],[Node.ELEMENT_NODE,N],[Node.ELEMENT_NODE,L],[Node.ELEMENT_NODE,j],[Node.ELEMENT_NODE,function(e,t){var n={},i=e.style||{};i.fontStyle&&"italic"===O(e).fontStyle&&(n.italic=!0);i.fontWeight&&(O(e).fontWeight.startsWith("bold")||parseInt(O(e).fontWeight)>=700)&&(n.bold=!0);Object.keys(n).length>0&&(t=M(t,n));parseFloat(i.textIndent||0)>0&&(t=(new s.default).insert("\t").concat(t));return t}],["li",function(e,t){var n=l.default.query(e);if(null==n||"list-item"!==n.blotName||!T(t,"\n"))return t;var i=-1,r=e.parentNode;for(;!r.classList.contains("ql-clipboard");)"list"===(l.default.query(r)||{}).blotName&&(i+=1),r=r.parentNode;return i<=0?t:t.compose((new s.default).retain(t.length()-1).retain(1,{indent:i}))}],["b",P.bind(P,"bold")],["i",P.bind(P,"italic")],["style",function(){return new s.default}]],A=[p.AlignAttribute,g.DirectionAttribute].reduce(function(e,t){return e[t.keyName]=t,e},{}),C=[p.AlignStyle,f.BackgroundStyle,m.ColorStyle,g.DirectionStyle,v.FontStyle,b.SizeStyle].reduce(function(e,t){return e[t.keyName]=t,e},{}),S=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.quill.root.addEventListener("paste",i.onPaste.bind(i)),i.container=i.quill.addContainer("ql-clipboard"),i.container.setAttribute("contenteditable",!0),i.container.setAttribute("tabindex",-1),i.matchers=[],k.concat(i.options.matchers).forEach(function(e){var t=r(e,2),o=t[0],a=t[1];(n.matchVisual||a!==L)&&i.addMatcher(o,a)}),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,d.default),o(t,[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"convert",value:function(e){if("string"==typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\</g,"><"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[h.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(n,_({},h.default.blotName,t[h.default.blotName]))}var i=this.prepareMatching(),o=r(i,2),a=o[0],l=o[1],c=function e(t,n,i){return t.nodeType===t.TEXT_NODE?i.reduce(function(e,n){return n(t,e)},new s.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],function(r,o){var a=e(o,n,i);return o.nodeType===t.ELEMENT_NODE&&(a=n.reduce(function(e,t){return t(o,e)},a),a=(o[x]||[]).reduce(function(e,t){return t(o,e)},a)),r.concat(a)},new s.default):new s.default}(this.container,a,l);return T(c,"\n")&&null==c.ops[c.ops.length-1].attributes&&(c=c.compose((new s.default).retain(c.length()-1).delete(1))),w.log("convert",this.container.innerHTML,c),this.container.innerHTML="",c}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;if("string"==typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,c.default.sources.SILENT);else{var i=this.convert(t);this.quill.updateContents((new s.default).retain(e).concat(i),n),this.quill.setSelection(e+i.length(),c.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),i=(new s.default).retain(n.index),r=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(c.default.sources.SILENT),setTimeout(function(){i=i.concat(t.convert()).delete(n.length),t.quill.updateContents(i,c.default.sources.USER),t.quill.setSelection(i.length()-n.length,c.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=r,t.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach(function(i){var o=r(i,2),a=o[0],s=o[1];switch(a){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:t.push(s);break;default:[].forEach.call(e.container.querySelectorAll(a),function(e){e[x]=e[x]||[],e[x].push(s)})}}),[t,n]}}]),t}();function M(e,t,n){return"object"===(void 0===t?"undefined":i(t))?Object.keys(t).reduce(function(e,n){return M(e,n,t[n])},e):e.reduce(function(e,i){return i.attributes&&i.attributes[t]?e.push(i):e.insert(i.insert,(0,a.default)({},_({},t,n),i.attributes))},new s.default)}function O(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};return e["__ql-computed-style"]||(e["__ql-computed-style"]=window.getComputedStyle(e))}function T(e,t){for(var n="",i=e.ops.length-1;i>=0&&n.length<t.length;--i){var r=e.ops[i];if("string"!=typeof r.insert)break;n=r.insert+n}return n.slice(-1*t.length)===t}function E(e){if(0===e.childNodes.length)return!1;var t=O(e);return["block","list-item"].indexOf(t.display)>-1}function P(e,t,n){return M(n,e,!0)}function j(e,t){var n=l.default.Attributor.Attribute.keys(e),i=l.default.Attributor.Class.keys(e),r=l.default.Attributor.Style.keys(e),o={};return n.concat(i).concat(r).forEach(function(t){var n=l.default.query(t,l.default.Scope.ATTRIBUTE);null!=n&&(o[n.attrName]=n.value(e),o[n.attrName])||(null==(n=A[t])||n.attrName!==t&&n.keyName!==t||(o[n.attrName]=n.value(e)||void 0),null==(n=C[t])||n.attrName!==t&&n.keyName!==t||(n=C[t],o[n.attrName]=n.value(e)||void 0))}),Object.keys(o).length>0&&(t=M(t,o)),t}function N(e,t){var n=l.default.query(e);if(null==n)return t;if(n.prototype instanceof l.default.Embed){var i={},r=n.value(e);null!=r&&(i[n.blotName]=r,t=(new s.default).insert(i,n.formats(e)))}else"function"==typeof n.formats&&(t=M(t,n.blotName,n.formats(e)));return t}function $(e,t){return T(t,"\n")||(E(e)||t.length()>0&&e.nextSibling&&E(e.nextSibling))&&t.insert("\n"),t}function L(e,t){if(E(e)&&null!=e.nextElementSibling&&!T(t,"\n\n")){var n=e.offsetHeight+parseFloat(O(e).marginTop)+parseFloat(O(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function D(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!O(e.parentNode).whiteSpace.startsWith("pre")){var i=function(e,t){return(t=t.replace(/[^\u00a0]/g,"")).length<1&&e?" ":t};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,i.bind(i,!0)),(null==e.previousSibling&&E(e.parentNode)||null!=e.previousSibling&&E(e.previousSibling))&&(n=n.replace(/^\s+/,i.bind(i,!1))),(null==e.nextSibling&&E(e.parentNode)||null!=e.nextSibling&&E(e.nextSibling))&&(n=n.replace(/\s+$/,i.bind(i,!1)))}return t.insert(n)}S.DEFAULTS={matchers:[],matchVisual:!0},t.default=S,t.matchAttributor=j,t.matchBlot=N,t.matchNewline=$,t.matchSpacing=L,t.matchText=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},a=n(6),s=(i=a)&&i.__esModule?i:{default:i};var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default),r(t,[{key:"optimize",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),t}();l.blotName="bold",l.tagName=["STRONG","B"],t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addControls=t.default=void 0;var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=u(n(2)),a=u(n(0)),s=u(n(5)),l=u(n(10)),c=u(n(9));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=(0,l.default)("quill:toolbar"),f=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r,o=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(Array.isArray(o.options.container)){var a=document.createElement("div");m(a,o.options.container),e.container.parentNode.insertBefore(a,e.container),o.container=a}else"string"==typeof o.options.container?o.container=document.querySelector(o.options.container):o.container=o.options.container;return o.container instanceof HTMLElement?(o.container.classList.add("ql-toolbar"),o.controls=[],o.handlers={},Object.keys(o.options.handlers).forEach(function(e){o.addHandler(e,o.options.handlers[e])}),[].forEach.call(o.container.querySelectorAll("button, select"),function(e){o.attach(e)}),o.quill.on(s.default.events.EDITOR_CHANGE,function(e,t){e===s.default.events.SELECTION_CHANGE&&o.update(t)}),o.quill.on(s.default.events.SCROLL_OPTIMIZE,function(){var e=o.quill.selection.getRange(),t=i(e,1)[0];o.update(t)}),o):(r=p.error("Container required for toolbar",o.options),d(o,r))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,c.default),r(t,[{key:"addHandler",value:function(e,t){this.handlers[e]=t}},{key:"attach",value:function(e){var t=this,n=[].find.call(e.classList,function(e){return 0===e.indexOf("ql-")});if(n){if(n=n.slice("ql-".length),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void p.warn("ignoring attaching to disabled format",n,e);if(null==a.default.query(n))return void p.warn("ignoring attaching to nonexistent format",n,e)}var r="SELECT"===e.tagName?"change":"click";e.addEventListener(r,function(r){var l=void 0;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;var c=e.options[e.selectedIndex];l=!c.hasAttribute("selected")&&(c.value||!1)}else l=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),r.preventDefault();t.quill.focus();var u=t.quill.selection.getRange(),d=i(u,1)[0];if(null!=t.handlers[n])t.handlers[n].call(t,l);else if(a.default.query(n).prototype instanceof a.default.Embed){if(!(l=prompt("Enter "+n)))return;t.quill.updateContents((new o.default).retain(d.index).delete(d.length).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,l)),s.default.sources.USER)}else t.quill.format(n,l,s.default.sources.USER);t.update(d)}),this.controls.push([n,e])}}},{key:"update",value:function(e){var t=null==e?{}:this.quill.getFormat(e);this.controls.forEach(function(n){var r=i(n,2),o=r[0],a=r[1];if("SELECT"===a.tagName){var s=void 0;if(null==e)s=null;else if(null==t[o])s=a.querySelector("option[selected]");else if(!Array.isArray(t[o])){var l=t[o];"string"==typeof l&&(l=l.replace(/\"/g,'\\"')),s=a.querySelector('option[value="'+l+'"]')}null==s?(a.value="",a.selectedIndex=-1):s.selected=!0}else if(null==e)a.classList.remove("ql-active");else if(a.hasAttribute("value")){var c=t[o]===a.getAttribute("value")||null!=t[o]&&t[o].toString()===a.getAttribute("value")||null==t[o]&&!a.getAttribute("value");a.classList.toggle("ql-active",c)}else a.classList.toggle("ql-active",null!=t[o])})}}]),t}();function h(e,t,n){var i=document.createElement("button");i.setAttribute("type","button"),i.classList.add("ql-"+t),null!=n&&(i.value=n),e.appendChild(i)}function m(e,t){Array.isArray(t[0])||(t=[t]),t.forEach(function(t){var n=document.createElement("span");n.classList.add("ql-formats"),t.forEach(function(e){if("string"==typeof e)h(n,e);else{var t=Object.keys(e)[0],i=e[t];Array.isArray(i)?function(e,t,n){var i=document.createElement("select");i.classList.add("ql-"+t),n.forEach(function(e){var t=document.createElement("option");!1!==e?t.setAttribute("value",e):t.setAttribute("selected","selected"),i.appendChild(t)}),e.appendChild(i)}(n,t,i):h(n,t,i)}}),e.appendChild(n)})}f.DEFAULTS={},f.DEFAULTS={container:null,handlers:{clean:function(){var e=this,t=this.quill.getSelection();if(null!=t)if(0==t.length){var n=this.quill.getFormat();Object.keys(n).forEach(function(t){null!=a.default.query(t,a.default.Scope.INLINE)&&e.quill.format(t,!1)})}else this.quill.removeFormat(t,s.default.sources.USER)},direction:function(e){var t=this.quill.getFormat().align;"rtl"===e&&null==t?this.quill.format("align","right",s.default.sources.USER):e||"right"!==t||this.quill.format("align",!1,s.default.sources.USER),this.quill.format("direction",e,s.default.sources.USER)},indent:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t),i=parseInt(n.indent||0);if("+1"===e||"-1"===e){var r="+1"===e?1:-1;"rtl"===n.direction&&(r*=-1),this.quill.format("indent",i+r,s.default.sources.USER)}},link:function(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,s.default.sources.USER)},list:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t);"check"===e?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,s.default.sources.USER):this.quill.format("list","unchecked",s.default.sources.USER):this.quill.format("list",e,s.default.sources.USER)}}},t.default=f,t.addControls=m},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},a=n(28),s=(i=a)&&i.__esModule?i:{default:i};var l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.label.innerHTML=n,i.container.classList.add("ql-color-picker"),[].slice.call(i.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(e){e.classList.add("ql-primary")}),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default),r(t,[{key:"buildItem",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"buildItem",this).call(this,e);return n.style.backgroundColor=e.getAttribute("value")||"",n}},{key:"selectItem",value:function(e,n){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n);var i=this.label.querySelector(".ql-color-label"),r=e&&e.getAttribute("data-value")||"";i&&("line"===i.tagName?i.style.stroke=r:i.style.fill=r)}}]),t}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=n(28),a=(i=o)&&i.__esModule?i:{default:i};var s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.container.classList.add("ql-icon-picker"),[].forEach.call(i.container.querySelectorAll(".ql-picker-item"),function(e){e.innerHTML=n[e.getAttribute("data-value")||""]}),i.defaultItem=i.container.querySelector(".ql-selected"),i.selectItem(i.defaultItem),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default),r(t,[{key:"selectItem",value:function(e,n){(function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0})(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n),e=e||this.defaultItem,this.label.innerHTML=e.innerHTML}}]),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var r=function(){function e(t,n){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.boundsContainer=n||document.body,this.root=t.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){i.root.style.marginTop=-1*i.quill.root.scrollTop+"px"}),this.hide()}return i(e,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(e){var t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=t+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var i=this.boundsContainer.getBoundingClientRect(),r=this.root.getBoundingClientRect(),o=0;if(r.right>i.right&&(o=i.right-r.right,this.root.style.left=t+o+"px"),r.left<i.left&&(o=i.left-r.left,this.root.style.left=t+o+"px"),r.bottom>i.bottom){var a=r.bottom-r.top,s=e.bottom-e.top+a;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return o}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=f(n(3)),s=f(n(8)),l=n(43),c=f(l),u=f(n(27)),d=n(15),p=f(n(41));function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],b=function(e){function t(e,n){h(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var i=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.quill.container.classList.add("ql-snow"),i}return g(t,c.default),o(t,[{key:"extendToolbar",value:function(e){e.container.classList.add("ql-snow"),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),p.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),p.default),this.tooltip=new y(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(t,n){e.handlers.link.call(e,!n.format.link)})}}]),t}();b.DEFAULTS=(0,a.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){if(e){var t=this.quill.getSelection();if(null==t||0==t.length)return;var n=this.quill.getText(t);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var y=function(e){function t(e,n){h(this,t);var i=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.preview=i.root.querySelector("a.ql-preview"),i}return g(t,l.BaseTooltip),o(t,[{key:"listen",value:function(){var e=this;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(t){e.root.classList.contains("ql-editing")?e.save():e.edit("link",e.preview.textContent),t.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(t){if(null!=e.linkRange){var n=e.linkRange;e.restoreFocus(),e.quill.formatText(n,"link",!1,s.default.sources.USER),delete e.linkRange}t.preventDefault(),e.hide()}),this.quill.on(s.default.events.SELECTION_CHANGE,function(t,n,r){if(null!=t){if(0===t.length&&r===s.default.sources.USER){var o=e.quill.scroll.descendant(u.default,t.index),a=i(o,2),l=a[0],c=a[1];if(null!=l){e.linkRange=new d.Range(t.index-c,l.length());var p=u.default.formats(l.domNode);return e.preview.textContent=p,e.preview.setAttribute("href",p),e.show(),void e.position(e.quill.getBounds(e.linkRange))}}else delete e.linkRange;e.hide()}})}},{key:"show",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),t}();y.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=L(n(29)),r=n(36),o=n(38),a=n(64),s=L(n(65)),l=L(n(66)),c=n(67),u=L(c),d=n(37),p=n(26),f=n(39),h=n(40),m=L(n(56)),g=L(n(68)),v=L(n(27)),b=L(n(69)),y=L(n(70)),_=L(n(71)),w=L(n(72)),x=L(n(73)),k=n(13),A=L(k),C=L(n(74)),S=L(n(75)),M=L(n(57)),O=L(n(41)),T=L(n(28)),E=L(n(59)),P=L(n(60)),j=L(n(61)),N=L(n(108)),$=L(n(62));function L(e){return e&&e.__esModule?e:{default:e}}i.default.register({"attributors/attribute/direction":o.DirectionAttribute,"attributors/class/align":r.AlignClass,"attributors/class/background":d.BackgroundClass,"attributors/class/color":p.ColorClass,"attributors/class/direction":o.DirectionClass,"attributors/class/font":f.FontClass,"attributors/class/size":h.SizeClass,"attributors/style/align":r.AlignStyle,"attributors/style/background":d.BackgroundStyle,"attributors/style/color":p.ColorStyle,"attributors/style/direction":o.DirectionStyle,"attributors/style/font":f.FontStyle,"attributors/style/size":h.SizeStyle},!0),i.default.register({"formats/align":r.AlignClass,"formats/direction":o.DirectionClass,"formats/indent":a.IndentClass,"formats/background":d.BackgroundStyle,"formats/color":p.ColorStyle,"formats/font":f.FontClass,"formats/size":h.SizeClass,"formats/blockquote":s.default,"formats/code-block":A.default,"formats/header":l.default,"formats/list":u.default,"formats/bold":m.default,"formats/code":k.Code,"formats/italic":g.default,"formats/link":v.default,"formats/script":b.default,"formats/strike":y.default,"formats/underline":_.default,"formats/image":w.default,"formats/video":x.default,"formats/list/item":c.ListItem,"modules/formula":C.default,"modules/syntax":S.default,"modules/toolbar":M.default,"themes/bubble":N.default,"themes/snow":$.default,"ui/icons":O.default,"ui/picker":T.default,"ui/icon-picker":P.default,"ui/color-picker":E.default,"ui/tooltip":j.default},!0),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},a=n(0),s=(i=a)&&i.__esModule?i:{default:i};var l=new(function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default.Attributor.Class),r(t,[{key:"add",value:function(e,n){if("+1"===n||"-1"===n){var i=this.value(e)||0;n="+1"===n?i+1:i-1}return 0===n?(this.remove(e),!0):o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"add",this).call(this,e,n)}},{key:"canAdd",value:function(e,n){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,n)||o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,parseInt(n))}},{key:"value",value:function(e){return parseInt(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e))||void 0}}]),t}())("indent","ql-indent",{scope:s.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});t.IndentClass=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(4),o=(i=r)&&i.__esModule?i:{default:i};var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),t}();a.blotName="blockquote",a.tagName="blockquote",t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=n(4),a=(i=o)&&i.__esModule?i:{default:i};var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default),r(t,null,[{key:"formats",value:function(e){return this.tagName.indexOf(e.tagName)+1}}]),t}();s.blotName="header",s.tagName=["H1","H2","H3","H4","H5","H6"],t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ListItem=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=l(n(0)),a=l(n(4)),s=l(n(25));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,a.default),i(t,[{key:"format",value:function(e,n){e!==f.blotName||n?r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n):this.replaceWith(o.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(e,n){return this.parent.isolate(this.offset(this.parent),this.length()),e===this.parent.statics.blotName?(this.parent.replaceWith(e,n),this):(this.parent.unwrap(),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e,n))}}],[{key:"formats",value:function(e){return e.tagName===this.tagName?void 0:r(t.__proto__||Object.getPrototypeOf(t),"formats",this).call(this,e)}}]),t}();p.blotName="list-item",p.tagName="LI";var f=function(e){function t(e){c(this,t);var n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),i=function(t){if(t.target.parentNode===e){var i=n.statics.formats(e),r=o.default.find(t.target);"checked"===i?r.format("list","unchecked"):"unchecked"===i&&r.format("list","checked")}};return e.addEventListener("touchstart",i),e.addEventListener("mousedown",i),n}return d(t,s.default),i(t,null,[{key:"create",value:function(e){var n="ordered"===e?"OL":"UL",i=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,n);return"checked"!==e&&"unchecked"!==e||i.setAttribute("data-checked","checked"===e),i}},{key:"formats",value:function(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),i(t,[{key:"format",value:function(e,t){this.children.length>0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return e={},t=this.statics.blotName,n=this.statics.formats(this.domNode),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"insertBefore",value:function(e,n){if(e instanceof p)r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var i=null==n?this.length():n.offset(this),o=this.split(i);o.parent.insertBefore(e,o)}}},{key:"optimize",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=o.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}();f.blotName="list",f.scope=o.default.Scope.BLOCK_BLOT,f.tagName=["OL","UL"],f.defaultChild="list-item",f.allowedChildren=[p],t.ListItem=p,t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(56),o=(i=r)&&i.__esModule?i:{default:i};var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),t}();a.blotName="italic",a.tagName=["EM","I"],t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=n(6),a=(i=o)&&i.__esModule?i:{default:i};var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default),r(t,null,[{key:"create",value:function(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0}(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e)}},{key:"formats",value:function(e){return"SUB"===e.tagName?"sub":"SUP"===e.tagName?"super":void 0}}]),t}();s.blotName="script",s.tagName=["SUB","SUP"],t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(6),o=(i=r)&&i.__esModule?i:{default:i};var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),t}();a.blotName="strike",a.tagName="S",t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(6),o=(i=r)&&i.__esModule?i:{default:i};var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),t}();a.blotName="underline",a.tagName="U",t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},a=n(0),s=(i=a)&&i.__esModule?i:{default:i},l=n(27);var c=["alt","height","width"],u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default.Embed),r(t,[{key:"format",value:function(e,n){c.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return c.reduce(function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t},{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,l.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}();u.blotName="image",u.tagName="IMG",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},a=n(4),s=n(27),l=(i=s)&&i.__esModule?i:{default:i};var c=["height","width"],u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.BlockEmbed),r(t,[{key:"format",value:function(e,n){c.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return c.reduce(function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t},{})}},{key:"sanitize",value:function(e){return l.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}();u.blotName="video",u.className="ql-video",u.tagName="IFRAME",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=s(n(35)),o=s(n(5)),a=s(n(9));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return u(t,r.default),i(t,null,[{key:"create",value:function(e){var n=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0}(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&(window.katex.render(e,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",e)),n}},{key:"value",value:function(e){return e.getAttribute("data-value")}}]),t}();d.blotName="formula",d.className="ql-formula",d.tagName="SPAN";var p=function(e){function t(){l(this,t);var e=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return e}return u(t,a.default),i(t,null,[{key:"register",value:function(){o.default.register(d,!0)}}]),t}();t.FormulaBlot=d,t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CodeToken=t.CodeBlock=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=l(n(0)),o=l(n(5)),a=l(n(9)),s=l(n(13));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,s.default),i(t,[{key:"replaceWith",value:function(e){this.domNode.textContent=this.domNode.textContent,this.attach(),function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e)}},{key:"highlight",value:function(e){var t=this.domNode.textContent;this.cachedText!==t&&((t.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}();p.className="ql-syntax";var f=new r.default.Attributor.Class("token","hljs",{scope:r.default.Scope.INLINE}),h=function(e){function t(e,n){c(this,t);var i=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!=typeof i.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var r=null;return i.quill.on(o.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(r),r=setTimeout(function(){i.highlight(),r=null},i.options.interval)}),i.highlight(),i}return d(t,a.default),i(t,null,[{key:"register",value:function(){o.default.register(f,!0),o.default.register(p,!0)}}]),i(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(o.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(p).forEach(function(t){t.highlight(e.options.highlight)}),this.quill.update(o.default.sources.SILENT),null!=t&&this.quill.setSelection(t,o.default.sources.SILENT)}}}]),t}();h.DEFAULTS={highlight:null==window.hljs?null:function(e){return window.hljs.highlightAuto(e).value},interval:1e3},t.CodeBlock=p,t.CodeToken=f,t.default=h},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var i=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=d(n(3)),a=d(n(8)),s=n(43),l=d(s),c=n(15),u=d(n(41));function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],g=function(e){function t(e,n){p(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=m);var i=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.quill.container.classList.add("ql-bubble"),i}return h(t,l.default),r(t,[{key:"extendToolbar",value:function(e){this.tooltip=new v(this.quill,this.options.bounds),this.tooltip.root.appendChild(e.container),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),u.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),u.default)}}]),t}();g.DEFAULTS=(0,o.default)(!0,{},l.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var v=function(e){function t(e,n){p(this,t);var i=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.quill.on(a.default.events.EDITOR_CHANGE,function(e,t,n,r){if(e===a.default.events.SELECTION_CHANGE)if(null!=t&&t.length>0&&r===a.default.sources.USER){i.show(),i.root.style.left="0px",i.root.style.width="",i.root.style.width=i.root.offsetWidth+"px";var o=i.quill.getLines(t.index,t.length);if(1===o.length)i.position(i.quill.getBounds(t));else{var s=o[o.length-1],l=i.quill.getIndex(s),u=Math.min(s.length()-1,t.index+t.length-l),d=i.quill.getBounds(new c.Range(l,u));i.position(d)}}else document.activeElement!==i.textbox&&i.quill.hasFocus()&&i.hide()}),i}return h(t,s.BaseTooltip),r(t,[{key:"listen",value:function(){var e=this;i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){e.root.classList.remove("ql-editing")}),this.quill.on(a.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),t}();v.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),t.BubbleTooltip=v,t.default=g},function(e,t,n){e.exports=n(63)}]).default},"object"==typeof n&&"object"==typeof t?t.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof n?n.Quill=r():i.Quill=r()}).call(this,e("buffer").Buffer)},{buffer:36}],96:[function(e,t,n){var i,r;i=this,r=function(){if("WebSocket"in window)return e.prototype.onopen=function(e){},e.prototype.onclose=function(e){},e.prototype.onconnecting=function(e){},e.prototype.onmessage=function(e){},e.prototype.onerror=function(e){},e.debugAll=!1,e.CONNECTING=WebSocket.CONNECTING,e.OPEN=WebSocket.OPEN,e.CLOSING=WebSocket.CLOSING,e.CLOSED=WebSocket.CLOSED,e;function e(t,n,i){var r={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};for(var o in i||(i={}),r)void 0!==i[o]?this[o]=i[o]:this[o]=r[o];this.url=t,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var a,s=this,l=!1,c=!1,u=document.createElement("div");function d(e,t){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!1,!1,t),n}u.addEventListener("open",function(e){s.onopen(e)}),u.addEventListener("close",function(e){s.onclose(e)}),u.addEventListener("connecting",function(e){s.onconnecting(e)}),u.addEventListener("message",function(e){s.onmessage(e)}),u.addEventListener("error",function(e){s.onerror(e)}),this.addEventListener=u.addEventListener.bind(u),this.removeEventListener=u.removeEventListener.bind(u),this.dispatchEvent=u.dispatchEvent.bind(u),this.open=function(t){if(a=new WebSocket(s.url,n||[]),t){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else u.dispatchEvent(d("connecting")),this.reconnectAttempts=0;(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",s.url);var i=a,r=setTimeout(function(){(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",s.url),c=!0,i.close(),c=!1},s.timeoutInterval);a.onopen=function(n){clearTimeout(r),(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onopen",s.url),s.protocol=a.protocol,s.readyState=WebSocket.OPEN,s.reconnectAttempts=0;var i=d("open");i.isReconnect=t,t=!1,u.dispatchEvent(i)},a.onclose=function(n){if(clearTimeout(r),a=null,l)s.readyState=WebSocket.CLOSED,u.dispatchEvent(d("close"));else{s.readyState=WebSocket.CONNECTING;var i=d("connecting");i.code=n.code,i.reason=n.reason,i.wasClean=n.wasClean,u.dispatchEvent(i),t||c||((s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onclose",s.url),u.dispatchEvent(d("close")));var r=s.reconnectInterval*Math.pow(s.reconnectDecay,s.reconnectAttempts);setTimeout(function(){s.reconnectAttempts++,s.open(!0)},r>s.maxReconnectInterval?s.maxReconnectInterval:r)}},a.onmessage=function(t){(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",s.url,t.data);var n=d("message");n.data=t.data,u.dispatchEvent(n)},a.onerror=function(t){(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onerror",s.url,t),u.dispatchEvent(d("error"))}},1==this.automaticOpen&&this.open(!1),this.send=function(t){if(a)return(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","send",s.url,t),a.send(t);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(e,t){void 0===e&&(e=1e3),l=!0,a&&a.close(e,t)},this.refresh=function(){a&&a.close()}}},"function"==typeof define&&define.amd?define([],r):void 0!==t&&t.exports?t.exports=r():i.ReconnectingWebSocket=r()},{}],97:[function(e,t,n){(function(e,n){"use strict";function i(e,t){if(!e)throw"First parameter is required.";t=new r(e,t=t||{type:"video"});var n=this;function o(n){n&&(t.initCallback=function(){n(),n=t.initCallback=null});var i=new function(e,t){var n;(m||p||f)&&(n=S);"undefined"!=typeof MediaRecorder&&"requestData"in MediaRecorder.prototype&&!m&&(n=C);"video"===t.type&&(m||f)&&(n=O,"undefined"!=typeof ReadableStream&&(n=$));"gif"===t.type&&(n=P);"canvas"===t.type&&(n=M);A()&&n!==M&&n!==P&&"undefined"!=typeof MediaRecorder&&"requestData"in MediaRecorder.prototype&&(w(e,"video").length||w(e,"audio").length)&&("audio"===t.type?"function"==typeof MediaRecorder.isTypeSupported&&MediaRecorder.isTypeSupported("audio/webm")&&(n=C):"function"==typeof MediaRecorder.isTypeSupported&&MediaRecorder.isTypeSupported("video/webm")&&(n=C));e instanceof Array&&e.length&&(n=N);t.recorderType&&(n=t.recorderType);!t.disableLogs&&n&&n.name&&console.log("Using recorderType:",n.name||n.constructor.name);!n&&g&&(n=C);return n}(e,t);(h=new i(e,t)).record(),u("recording"),t.disableLogs||console.log("Initialized recorderType:",h.constructor.name,"for output-type:",t.type)}function a(e){if(e=e||function(){},h){if("paused"===n.state)return n.resumeRecording(),void setTimeout(function(){a(e)},1);"recording"===n.state||t.disableLogs||console.warn('Recording state should be: "recording", however current state is: ',n.state),t.disableLogs||console.log("Stopped recording "+t.type+" stream."),"gif"!==t.type?h.stop(i):(h.stop(),i()),u("stopped")}else _();function i(i){if(h){Object.keys(h).forEach(function(e){"function"!=typeof h[e]&&(n[e]=h[e])});var r=h.blob;if(!r){if(!i)throw"Recording failed.";h.blob=r=i}if(r&&!t.disableLogs&&console.log(r.type,"->",b(r.size)),e){var o;try{o=d.createObjectURL(r)}catch(e){}"function"==typeof e.call?e.call(n,o):e(o)}t.autoWriteToDisk&&l(function(e){var n={};n[t.type+"Blob"]=e,E.Store(n)})}else"function"==typeof e.call?e.call(n,""):e("")}}function s(e){postMessage((new FileReaderSync).readAsDataURL(e))}function l(e,n){if(!e)throw"Pass a callback function over getDataURL.";var i=n?n.blob:(h||{}).blob;if(!i)return t.disableLogs||console.warn("Blob encoder did not finish its job yet."),void setTimeout(function(){l(e,n)},1e3);if("undefined"==typeof Worker||navigator.mozGetUserMedia){var r=new FileReader;r.readAsDataURL(i),r.onload=function(t){e(t.target.result)}}else{var o=function(e){try{var t=d.createObjectURL(new Blob([e.toString(),"this.onmessage = function (eee) {"+e.name+"(eee.data);}"],{type:"application/javascript"})),n=new Worker(t);return d.revokeObjectURL(t),n}catch(e){}}(s);o.onmessage=function(t){e(t.data)},o.postMessage(i)}}function c(e){e=e||0,"paused"!==n.state?"stopped"!==n.state&&(e>=n.recordingDuration?a(n.onRecordingStopped):(e+=1e3,setTimeout(function(){c(e)},1e3))):setTimeout(function(){c(e)},1e3)}function u(e){n&&(n.state=e,"function"==typeof n.onStateChanged.call?n.onStateChanged.call(n,e):n.onStateChanged(e))}var h,v='It seems that recorder is destroyed or "startRecording" is not invoked for '+t.type+" recorder.";function _(){!0!==t.disableLogs&&console.warn(v)}var x={startRecording:function(i){return t.disableLogs||console.log("RecordRTC version: ",n.version),i&&(t=new r(e,i)),t.disableLogs||console.log("started recording "+t.type+" stream."),h?(h.clearRecordedData(),h.record(),u("recording"),n.recordingDuration&&c(),n):(o(function(){n.recordingDuration&&c()}),n)},stopRecording:a,pauseRecording:function(){h?"recording"===n.state?(u("paused"),h.pause(),t.disableLogs||console.log("Paused recording.")):t.disableLogs||console.warn("Unable to pause the recording. Recording state: ",n.state):_()},resumeRecording:function(){h?"paused"===n.state?(u("recording"),h.resume(),t.disableLogs||console.log("Resumed recording.")):t.disableLogs||console.warn("Unable to resume the recording. Recording state: ",n.state):_()},initRecorder:o,setRecordingDuration:function(e,t){if(void 0===e)throw"recordingDuration is required.";if("number"!=typeof e)throw"recordingDuration must be a number.";return n.recordingDuration=e,n.onRecordingStopped=t||function(){},{onRecordingStopped:function(e){n.onRecordingStopped=e}}},clearRecordedData:function(){h?(h.clearRecordedData(),t.disableLogs||console.log("Cleared old recorded data.")):_()},getBlob:function(){if(h)return h.blob;_()},getDataURL:l,toURL:function(){if(h)return d.createObjectURL(h.blob);_()},getInternalRecorder:function(){return h},save:function(e){h?y(h.blob,e):_()},getFromDisk:function(e){h?i.getFromDisk(t.type,e):_()},setAdvertisementArray:function(e){t.advertisement=[];for(var n=e.length,i=0;i<n;i++)t.advertisement.push({duration:i,image:e[i]})},blob:null,bufferSize:0,sampleRate:0,buffer:null,reset:function(){"recording"!==n.state||t.disableLogs||console.warn("Stop an active recorder."),h&&"function"==typeof h.clearRecordedData&&h.clearRecordedData(),h=null,u("inactive"),n.blob=null},onStateChanged:function(e){t.disableLogs||console.log("Recorder state changed:",e)},state:"inactive",getState:function(){return n.state},destroy:function(){var e=t.disableLogs;t={disableLogs:!0},n.reset(),u("destroyed"),x=n=null,k.AudioContextConstructor&&(k.AudioContextConstructor.close(),k.AudioContextConstructor=null),t.disableLogs=e,t.disableLogs||console.log("RecordRTC is destroyed.")},version:"5.5.8"};if(!this)return n=x,x;for(var T in x)this[T]=x[T];return n=this,x}function r(e,t){return t.recorderType||t.type||(t.audio&&t.video?t.type="video":t.audio&&!t.video&&(t.type="audio")),t.recorderType&&!t.type&&(t.recorderType===O||t.recorderType===M||t.recorderType===$?t.type="video":t.recorderType===P?t.type="gif":t.recorderType===S?t.type="audio":t.recorderType===C&&(w(e,"audio").length&&w(e,"video").length?t.type="video":!w(e,"audio").length&&w(e,"video").length?t.type="video":w(e,"audio").length&&!w(e,"video").length&&(t.type="audio"))),"undefined"!=typeof MediaRecorder&&"requestData"in MediaRecorder.prototype&&(t.mimeType||(t.mimeType="video/webm"),t.type||(t.type=t.mimeType.split("/")[0]),t.bitsPerSecond),t.type||(t.mimeType&&(t.type=t.mimeType.split("/")[0]),t.type||(t.type="audio")),t}function o(e){this.addStream=function(t){t&&(e=t)},this.mediaType={audio:!0,video:!0},this.startRecording=function(){var t,n=this.mediaType,r=this.mimeType||{audio:null,video:null,gif:null};if("function"!=typeof n.audio&&A()&&!w(e,"audio").length&&(n.audio=!1),"function"!=typeof n.video&&A()&&!w(e,"video").length&&(n.video=!1),"function"!=typeof n.gif&&A()&&!w(e,"video").length&&(n.gif=!1),!n.audio&&!n.video&&!n.gif)throw"MediaStream must have either audio or video tracks.";if(n.audio&&(t=null,"function"==typeof n.audio&&(t=n.audio),this.audioRecorder=new i(e,{type:"audio",bufferSize:this.bufferSize,sampleRate:this.sampleRate,numberOfAudioChannels:this.numberOfAudioChannels||2,disableLogs:this.disableLogs,recorderType:t,mimeType:r.audio,timeSlice:this.timeSlice,onTimeStamp:this.onTimeStamp}),n.video||this.audioRecorder.startRecording()),n.video){t=null,"function"==typeof n.video&&(t=n.video);var o=e;if(A()&&n.audio&&"function"==typeof n.audio){var a=w(e,"video")[0];h?((o=new v).addTrack(a),t&&t===O&&(t=C)):(o=new v).addTrack(a)}this.videoRecorder=new i(o,{type:"video",video:this.video,canvas:this.canvas,frameInterval:this.frameInterval||10,disableLogs:this.disableLogs,recorderType:t,mimeType:r.video,timeSlice:this.timeSlice,onTimeStamp:this.onTimeStamp,workerPath:this.workerPath,webAssemblyPath:this.webAssemblyPath,frameRate:this.frameRate,bitrate:this.bitrate}),n.audio||this.videoRecorder.startRecording()}if(n.audio&&n.video){var s=this,l=!0===A();n.audio instanceof S&&n.video?l=!1:!0!==n.audio&&!0!==n.video&&n.audio!==n.video&&(l=!1),!0===l?(s.audioRecorder=null,s.videoRecorder.startRecording()):s.videoRecorder.initRecorder(function(){s.audioRecorder.initRecorder(function(){s.videoRecorder.startRecording(),s.audioRecorder.startRecording()})})}n.gif&&(t=null,"function"==typeof n.gif&&(t=n.gif),this.gifRecorder=new i(e,{type:"gif",frameRate:this.frameRate||200,quality:this.quality||10,disableLogs:this.disableLogs,recorderType:t,mimeType:r.gif}),this.gifRecorder.startRecording())},this.stopRecording=function(e){e=e||function(){},this.audioRecorder&&this.audioRecorder.stopRecording(function(t){e(t,"audio")}),this.videoRecorder&&this.videoRecorder.stopRecording(function(t){e(t,"video")}),this.gifRecorder&&this.gifRecorder.stopRecording(function(t){e(t,"gif")})},this.pauseRecording=function(){this.audioRecorder&&this.audioRecorder.pauseRecording(),this.videoRecorder&&this.videoRecorder.pauseRecording(),this.gifRecorder&&this.gifRecorder.pauseRecording()},this.resumeRecording=function(){this.audioRecorder&&this.audioRecorder.resumeRecording(),this.videoRecorder&&this.videoRecorder.resumeRecording(),this.gifRecorder&&this.gifRecorder.resumeRecording()},this.getBlob=function(e){var t={};return this.audioRecorder&&(t.audio=this.audioRecorder.getBlob()),this.videoRecorder&&(t.video=this.videoRecorder.getBlob()),this.gifRecorder&&(t.gif=this.gifRecorder.getBlob()),e&&e(t),t},this.destroy=function(){this.audioRecorder&&(this.audioRecorder.destroy(),this.audioRecorder=null),this.videoRecorder&&(this.videoRecorder.destroy(),this.videoRecorder=null),this.gifRecorder&&(this.gifRecorder.destroy(),this.gifRecorder=null)},this.getDataURL=function(e){function t(e,t){if("undefined"!=typeof Worker){var n=function(e){var t,n=d.createObjectURL(new Blob([e.toString(),"this.onmessage = function (eee) {"+e.name+"(eee.data);}"],{type:"application/javascript"})),i=new Worker(n);if(void 0!==d)t=d;else{if("undefined"==typeof webkitURL)throw"Neither URL nor webkitURL detected.";t=webkitURL}return t.revokeObjectURL(n),i}(function(e){postMessage((new FileReaderSync).readAsDataURL(e))});n.onmessage=function(e){t(e.data)},n.postMessage(e)}else{var i=new FileReader;i.readAsDataURL(e),i.onload=function(e){t(e.target.result)}}}this.getBlob(function(n){n.audio&&n.video?t(n.audio,function(i){t(n.video,function(t){e({audio:i,video:t})})}):n.audio?t(n.audio,function(t){e({audio:t})}):n.video&&t(n.video,function(t){e({video:t})})})},this.writeToDisk=function(){i.writeToDisk({audio:this.audioRecorder,video:this.videoRecorder,gif:this.gifRecorder})},this.save=function(e){(e=e||{audio:!0,video:!0,gif:!0}).audio&&this.audioRecorder&&this.audioRecorder.save("string"==typeof e.audio?e.audio:""),e.video&&this.videoRecorder&&this.videoRecorder.save("string"==typeof e.video?e.video:""),e.gif&&this.gifRecorder&&this.gifRecorder.save("string"==typeof e.gif?e.gif:"")}}i.version="5.5.8",void 0!==t&&(t.exports=i),"function"==typeof define&&define.amd&&define("RecordRTC",[],function(){return i}),i.getFromDisk=function(e,t){if(!t)throw"callback is mandatory.";console.log("Getting recorded "+("all"===e?"blobs":e+" blob ")+" from disk!"),E.Fetch(function(n,i){"all"!==e&&i===e+"Blob"&&t&&t(n),"all"===e&&t&&t(n,i.replace("Blob",""))})},i.writeToDisk=function(e){console.log("Writing recorded blob(s) to disk!"),(e=e||{}).audio&&e.video&&e.gif?e.audio.getDataURL(function(t){e.video.getDataURL(function(n){e.gif.getDataURL(function(e){E.Store({audioBlob:t,videoBlob:n,gifBlob:e})})})}):e.audio&&e.video?e.audio.getDataURL(function(t){e.video.getDataURL(function(e){E.Store({audioBlob:t,videoBlob:e})})}):e.audio&&e.gif?e.audio.getDataURL(function(t){e.gif.getDataURL(function(e){E.Store({audioBlob:t,gifBlob:e})})}):e.video&&e.gif?e.video.getDataURL(function(t){e.gif.getDataURL(function(e){E.Store({videoBlob:t,gifBlob:e})})}):e.audio?e.audio.getDataURL(function(e){E.Store({audioBlob:e})}):e.video?e.video.getDataURL(function(e){E.Store({videoBlob:e})}):e.gif&&e.gif.getDataURL(function(e){E.Store({gifBlob:e})})},o.getFromDisk=i.getFromDisk,o.writeToDisk=i.writeToDisk,i.MRecordRTC=o;var a;(a=void 0!==n?n:null)&&"undefined"==typeof window&&void 0!==n&&(n.navigator={userAgent:"Fake/5.0 (FakeOS) AppleWebKit/123 (KHTML, like Gecko) Fake/12.3.4567.89 Fake/123.45",getUserMedia:function(){}},n.console||(n.console={}),void 0!==n.console.log&&void 0!==n.console.error||(n.console.error=n.console.log=n.console.log||function(){console.log(arguments)}),"undefined"==typeof document&&(a.document={documentElement:{appendChild:function(){return""}}},document.createElement=document.captureStream=document.mozCaptureStream=function(){var e={getContext:function(){return e},play:function(){},pause:function(){},drawImage:function(){},toDataURL:function(){return""},style:{}};return e},a.HTMLVideoElement=function(){}),"undefined"==typeof location&&(a.location={protocol:"file:",href:"",hash:""}),"undefined"==typeof screen&&(a.screen={width:0,height:0}),void 0===d&&(a.URL={createObjectURL:function(){return""},revokeObjectURL:function(){return""}}),a.window=n);var s=window.requestAnimationFrame;if(void 0===s)if("undefined"!=typeof webkitRequestAnimationFrame)s=webkitRequestAnimationFrame;else if("undefined"!=typeof mozRequestAnimationFrame)s=mozRequestAnimationFrame;else if("undefined"!=typeof msRequestAnimationFrame)s=msRequestAnimationFrame;else if(void 0===s){var l=0;s=function(e,t){var n=(new Date).getTime(),i=Math.max(0,16-(n-l)),r=setTimeout(function(){e(n+i)},i);return l=n+i,r}}var c=window.cancelAnimationFrame;void 0===c&&("undefined"!=typeof webkitCancelAnimationFrame?c=webkitCancelAnimationFrame:"undefined"!=typeof mozCancelAnimationFrame?c=mozCancelAnimationFrame:"undefined"!=typeof msCancelAnimationFrame?c=msCancelAnimationFrame:void 0===c&&(c=function(e){clearTimeout(e)}));var u=window.AudioContext;void 0===u&&("undefined"!=typeof webkitAudioContext&&(u=webkitAudioContext),"undefined"!=typeof mozAudioContext&&(u=mozAudioContext));var d=window.URL;void 0===d&&"undefined"!=typeof webkitURL&&(d=webkitURL),"undefined"!=typeof navigator&&void 0===navigator.getUserMedia&&(void 0!==navigator.webkitGetUserMedia&&(navigator.getUserMedia=navigator.webkitGetUserMedia),void 0!==navigator.mozGetUserMedia&&(navigator.getUserMedia=navigator.mozGetUserMedia));var p=!(-1===navigator.userAgent.indexOf("Edge")||!navigator.msSaveBlob&&!navigator.msSaveOrOpenBlob),f=!!window.opera||-1!==navigator.userAgent.indexOf("OPR/"),h=navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&"netscape"in window&&/ rv:/.test(navigator.userAgent),m=!f&&!p&&!!navigator.webkitGetUserMedia||_()||-1!==navigator.userAgent.toLowerCase().indexOf("chrome/"),g=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);g&&!m&&-1!==navigator.userAgent.indexOf("CriOS")&&(g=!1,m=!0);var v=window.MediaStream;function b(e){if(0===e)return"0 Bytes";var t=parseInt(Math.floor(Math.log(e)/Math.log(1e3)),10);return(e/Math.pow(1e3,t)).toPrecision(3)+" "+["Bytes","KB","MB","GB","TB"][t]}function y(e,t){if(!e)throw"Blob object is required.";if(!e.type)try{e.type="video/webm"}catch(e){}var n=(e.type||"video/webm").split("/")[1];if(t&&-1!==t.indexOf(".")){var i=t.split(".");t=i[0],n=i[1]}var r=(t||Math.round(9999999999*Math.random())+888888888)+"."+n;if(void 0!==navigator.msSaveOrOpenBlob)return navigator.msSaveOrOpenBlob(e,r);if(void 0!==navigator.msSaveBlob)return navigator.msSaveBlob(e,r);var o=document.createElement("a");o.href=d.createObjectURL(e),o.download=r,o.style="display:none;opacity:0;color:transparent;",(document.body||document.documentElement).appendChild(o),"function"==typeof o.click?o.click():(o.target="_blank",o.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))),d.revokeObjectURL(o.href)}function _(){return"undefined"!=typeof window&&"object"==typeof window.process&&"renderer"===window.process.type||(!(void 0===e||"object"!=typeof e.versions||!e.versions.electron)||"object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron")>=0)}function w(e,t){return e&&e.getTracks?e.getTracks().filter(function(e){return e.kind===(t||"audio")}):[]}function x(e,t){"srcObject"in t?t.srcObject=e:"mozSrcObject"in t?t.mozSrcObject=e:t.srcObject=e}void 0===v&&"undefined"!=typeof webkitMediaStream&&(v=webkitMediaStream),void 0!==v&&void 0===v.prototype.stop&&(v.prototype.stop=function(){this.getTracks().forEach(function(e){e.stop()})}),i.invokeSaveAsDialog=y,i.getTracks=w,i.getSeekableBlob=function(e,t){if("undefined"==typeof EBML)throw new Error("Please link: https://cdn.webrtc-experiment.com/EBML.js");var n=new EBML.Reader,i=new EBML.Decoder,r=EBML.tools,o=new FileReader;o.onload=function(e){i.decode(this.result).forEach(function(e){n.read(e)}),n.stop();var o=r.makeMetadataSeekable(n.metadatas,n.duration,n.cues),a=this.result.slice(n.metadataSize),s=new Blob([o,a],{type:"video/webm"});t(s)},o.readAsArrayBuffer(e)},i.bytesToSize=b,i.isElectron=_;var k={};function A(){if(h||g||p)return!0;navigator.appVersion;var e,t,n=navigator.userAgent,i=""+parseFloat(navigator.appVersion),r=parseInt(navigator.appVersion,10);return(m||f)&&(e=n.indexOf("Chrome"),i=n.substring(e+7)),-1!==(t=i.indexOf(";"))&&(i=i.substring(0,t)),-1!==(t=i.indexOf(" "))&&(i=i.substring(0,t)),r=parseInt(""+i,10),isNaN(r)&&(i=""+parseFloat(navigator.appVersion),r=parseInt(navigator.appVersion,10)),r>=49}function C(e,t){var n=this;if(void 0===e)throw'First argument "MediaStream" is required.';if("undefined"==typeof MediaRecorder)throw"Your browser does not support the Media Recorder API. Please try other modules e.g. WhammyRecorder or StereoAudioRecorder.";if("audio"===(t=t||{mimeType:"video/webm"}).type){var i;if(w(e,"video").length&&w(e,"audio").length)navigator.mozGetUserMedia?(i=new v).addTrack(w(e,"audio")[0]):i=new v(w(e,"audio")),e=i;t.mimeType&&-1!==t.mimeType.toString().toLowerCase().indexOf("audio")||(t.mimeType=m?"audio/webm":"audio/ogg"),t.mimeType&&"audio/ogg"!==t.mimeType.toString().toLowerCase()&&navigator.mozGetUserMedia&&(t.mimeType="audio/ogg")}var r,o=[];function a(){n.timestamps.push((new Date).getTime()),"function"==typeof t.onTimeStamp&&t.onTimeStamp(n.timestamps[n.timestamps.length-1],n.timestamps)}function s(e){return r&&r.mimeType?r.mimeType:e.mimeType||"video/webm"}function l(){o=[],r=null,n.timestamps=[]}this.getArrayOfBlobs=function(){return o},this.record=function(){n.blob=null,n.clearRecordedData(),n.timestamps=[],c=[],o=[];var i=t;t.disableLogs||console.log("Passing following config over MediaRecorder API.",i),r&&(r=null),m&&!A()&&(i="video/vp8"),"function"==typeof MediaRecorder.isTypeSupported&&i.mimeType&&(MediaRecorder.isTypeSupported(i.mimeType)||(t.disableLogs||console.warn("MediaRecorder API seems unable to record mimeType:",i.mimeType),i.mimeType="audio"===t.type?"audio/webm":"video/webm"));try{r=new MediaRecorder(e,i),t.mimeType=i.mimeType}catch(t){r=new MediaRecorder(e)}i.mimeType&&!MediaRecorder.isTypeSupported&&"canRecordMimeType"in r&&!1===r.canRecordMimeType(i.mimeType)&&(t.disableLogs||console.warn("MediaRecorder API seems unable to record mimeType:",i.mimeType)),r.ondataavailable=function(e){if(e.data&&c.push("ondataavailable: "+b(e.data.size)),"number"!=typeof t.timeSlice)!e.data||!e.data.size||e.data.size<100||n.blob?n.recordingCallback&&(n.recordingCallback(new Blob([],{type:s(i)})),n.recordingCallback=null):(n.blob=t.getNativeBlob?e.data:new Blob([e.data],{type:s(i)}),n.recordingCallback&&(n.recordingCallback(n.blob),n.recordingCallback=null));else if(e.data&&e.data.size&&e.data.size>100&&(o.push(e.data),a(),"function"==typeof t.ondataavailable)){var r=t.getNativeBlob?e.data:new Blob([e.data],{type:s(i)});t.ondataavailable(r)}},r.onstart=function(){c.push("started")},r.onpause=function(){c.push("paused")},r.onresume=function(){c.push("resumed")},r.onstop=function(){c.push("stopped")},r.onerror=function(e){e&&(e.name||(e.name="UnknownError"),c.push("error: "+e),t.disableLogs||(-1!==e.name.toString().toLowerCase().indexOf("invalidstate")?console.error("The MediaRecorder is not in a state in which the proposed operation is allowed to be executed.",e):-1!==e.name.toString().toLowerCase().indexOf("notsupported")?console.error("MIME type (",i.mimeType,") is not supported.",e):-1!==e.name.toString().toLowerCase().indexOf("security")?console.error("MediaRecorder security error",e):"OutOfMemory"===e.name?console.error("The UA has exhaused the available memory. User agents SHOULD provide as much additional information as possible in the message attribute.",e):"IllegalStreamModification"===e.name?console.error("A modification to the stream has occurred that makes it impossible to continue recording. An example would be the addition of a Track while recording is occurring. User agents SHOULD provide as much additional information as possible in the message attribute.",e):"OtherRecordingError"===e.name?console.error("Used for an fatal error other than those listed above. User agents SHOULD provide as much additional information as possible in the message attribute.",e):"GenericError"===e.name?console.error("The UA cannot provide the codec or recording option that has been requested.",e):console.error("MediaRecorder Error",e)),function(e){if(!n.manuallyStopped&&r&&"inactive"===r.state)return delete t.timeslice,void r.start(6e5);setTimeout(void 0,1e3)}(),"inactive"!==r.state&&"stopped"!==r.state&&r.stop())},"number"==typeof t.timeSlice?(a(),r.start(t.timeSlice)):r.start(36e5),t.initCallback&&t.initCallback()},this.timestamps=[],this.stop=function(e){e=e||function(){},n.manuallyStopped=!0,r&&(this.recordingCallback=e,"recording"===r.state&&r.stop(),"number"==typeof t.timeSlice&&setTimeout(function(){n.blob=new Blob(o,{type:s(t)}),n.recordingCallback(n.blob)},100))},this.pause=function(){r&&"recording"===r.state&&r.pause()},this.resume=function(){r&&"paused"===r.state&&r.resume()},this.clearRecordedData=function(){r&&"recording"===r.state&&n.stop(l),l()},this.getInternalRecorder=function(){return r},this.blob=null,this.getState=function(){return r&&r.state||"inactive"};var c=[];this.getAllStates=function(){return c},void 0===t.checkForInactiveTracks&&(t.checkForInactiveTracks=!1);n=this;!function i(){if(r&&!1!==t.checkForInactiveTracks)return!1===function(){if("active"in e){if(!e.active)return!1}else if("ended"in e&&e.ended)return!1;return!0}()?(t.disableLogs||console.log("MediaStream seems stopped."),void n.stop()):void setTimeout(i,1e3)}(),this.name="MediaStreamRecorder",this.toString=function(){return this.name}}function S(e,t){if(!w(e,"audio").length)throw"Your stream has no audio tracks.";var n,i=this,r=[],o=[],a=!1,s=0,l=2,c=(t=t||{}).desiredSampRate;function u(){if(!1===t.checkForInactiveTracks)return!0;if("active"in e){if(!e.active)return!1}else if("ended"in e&&e.ended)return!1;return!0}function p(e,t){function n(e,t){var n,i=e.numberOfAudioChannels,r=e.leftBuffers.slice(0),o=e.rightBuffers.slice(0),a=e.sampleRate,s=e.internalInterleavedLength,l=e.desiredSampRate;function c(e,t,n){var i=Math.round(e.length*(t/n)),r=[],o=Number((e.length-1)/(i-1));r[0]=e[0];for(var a=1;a<i-1;a++){var s=a*o,l=Number(Math.floor(s)).toFixed(),c=Number(Math.ceil(s)).toFixed(),d=s-l;r[a]=u(e[l],e[c],d)}return r[i-1]=e[e.length-1],r}function u(e,t,n){return e+(t-e)*n}function d(e,t){for(var n=new Float64Array(t),i=0,r=e.length,o=0;o<r;o++){var a=e[o];n.set(a,i),i+=a.length}return n}function p(e,t,n){for(var i=n.length,r=0;r<i;r++)e.setUint8(t+r,n.charCodeAt(r))}2===i&&(r=d(r,s),o=d(o,s),l&&(r=c(r,l,a),o=c(o,l,a))),1===i&&(r=d(r,s),l&&(r=c(r,l,a))),l&&(a=l),2===i&&(n=function(e,t){for(var n=e.length+t.length,i=new Float64Array(n),r=0,o=0;o<n;)i[o++]=e[r],i[o++]=t[r],r++;return i}(r,o)),1===i&&(n=r);var f=n.length,h=new ArrayBuffer(44+2*f),m=new DataView(h);p(m,0,"RIFF"),m.setUint32(4,36+2*f,!0),p(m,8,"WAVE"),p(m,12,"fmt "),m.setUint32(16,16,!0),m.setUint16(20,1,!0),m.setUint16(22,i,!0),m.setUint32(24,a,!0),m.setUint32(28,2*a,!0),m.setUint16(32,2*i,!0),m.setUint16(34,16,!0),p(m,36,"data"),m.setUint32(40,2*f,!0);for(var g=f,v=44,b=0;b<g;b++)m.setInt16(v,32767*n[b],!0),v+=2;if(t)return t({buffer:h,view:m});postMessage({buffer:h,view:m})}if(e.noWorker)n(e,function(e){t(e.buffer,e.view)});else{var i,r,o,a=(i=n,r=d.createObjectURL(new Blob([i.toString(),";this.onmessage = function (eee) {"+i.name+"(eee.data);}"],{type:"application/javascript"})),(o=new Worker(r)).workerURL=r,o);a.onmessage=function(e){t(e.data.buffer,e.data.view),d.revokeObjectURL(a.workerURL),a.terminate()},a.postMessage(e)}}if(!0===t.leftChannel&&(l=1),1===t.numberOfAudioChannels&&(l=1),(!l||l<1)&&(l=2),t.disableLogs||console.log("StereoAudioRecorder is set to record number of channels: "+l),void 0===t.checkForInactiveTracks&&(t.checkForInactiveTracks=!0),this.record=function(){if(!1===u())throw"Please make sure MediaStream is active.";_(),k=y=!1,a=!0,void 0!==t.timeSlice&&C()},this.stop=function(e){e=e||function(){},a=!1,p({desiredSampRate:c,sampleRate:b,numberOfAudioChannels:l,internalInterleavedLength:s,leftBuffers:r,rightBuffers:1===l?[]:o,noWorker:t.noWorker},function(t,n){i.blob=new Blob([n],{type:"audio/wav"}),i.buffer=new ArrayBuffer(n.buffer.byteLength),i.view=n,i.sampleRate=c||b,i.bufferSize=v,i.length=s,k=!1,e&&e(i.blob)})},void 0===f)var f={AudioContextConstructor:null,AudioContext:window.AudioContext||window.webkitAudioContext};f.AudioContextConstructor||(f.AudioContextConstructor=new f.AudioContext);var h=f.AudioContextConstructor,m=h.createMediaStreamSource(e),g=[0,256,512,1024,2048,4096,8192,16384],v=void 0===t.bufferSize?4096:t.bufferSize;if(-1===g.indexOf(v)&&(t.disableLogs||console.log("Legal values for buffer-size are "+JSON.stringify(g,null,"\t"))),h.createJavaScriptNode)n=h.createJavaScriptNode(v,l,l);else{if(!h.createScriptProcessor)throw"WebAudio API has no support on this browser.";n=h.createScriptProcessor(v,l,l)}m.connect(n),t.bufferSize||(v=n.bufferSize);var b=void 0!==t.sampleRate?t.sampleRate:h.sampleRate||44100;(b<22050||b>96e3)&&(t.disableLogs||console.log("sample-rate must be under range 22050 and 96000.")),t.disableLogs||t.desiredSampRate&&console.log("Desired sample-rate: "+t.desiredSampRate);var y=!1;function _(){r=[],o=[],s=0,k=!1,a=!1,y=!1,h=null,i.leftchannel=r,i.rightchannel=o,i.numberOfAudioChannels=l,i.desiredSampRate=c,i.sampleRate=b,i.recordingLength=s,A={left:[],right:[],recordingLength:0}}function x(){n&&(n.onaudioprocess=null,n.disconnect(),n=null),m&&(m.disconnect(),m=null),_()}this.pause=function(){y=!0},this.resume=function(){if(!1===u())throw"Please make sure MediaStream is active.";if(!a)return t.disableLogs||console.log("Seems recording has been restarted."),void this.record();y=!1},this.clearRecordedData=function(){t.checkForInactiveTracks=!1,a&&this.stop(x),x()},this.name="StereoAudioRecorder",this.toString=function(){return this.name};var k=!1;n.onaudioprocess=function(e){if(!y)if(!1===u()&&(t.disableLogs||console.log("MediaStream seems stopped."),n.disconnect(),a=!1),a){k||(k=!0,t.onAudioProcessStarted&&t.onAudioProcessStarted(),t.initCallback&&t.initCallback());var c=e.inputBuffer.getChannelData(0),d=new Float32Array(c);if(r.push(d),2===l){var p=e.inputBuffer.getChannelData(1),f=new Float32Array(p);o.push(f)}s+=v,i.recordingLength=s,void 0!==t.timeSlice&&(A.recordingLength+=v,A.left.push(d),2===l&&A.right.push(f))}else m&&(m.disconnect(),m=null)},h.createMediaStreamDestination?n.connect(h.createMediaStreamDestination()):n.connect(h.destination),this.leftchannel=r,this.rightchannel=o,this.numberOfAudioChannels=l,this.desiredSampRate=c,this.sampleRate=b,i.recordingLength=s;var A={left:[],right:[],recordingLength:0};function C(){a&&"function"==typeof t.ondataavailable&&void 0!==t.timeSlice&&(A.left.length?(p({desiredSampRate:c,sampleRate:b,numberOfAudioChannels:l,internalInterleavedLength:A.recordingLength,leftBuffers:A.left,rightBuffers:1===l?[]:A.right},function(e,n){var i=new Blob([n],{type:"audio/wav"});t.ondataavailable(i),setTimeout(C,t.timeSlice)}),A={left:[],right:[],recordingLength:0}):setTimeout(C,t.timeSlice))}}function M(e,t){if("undefined"==typeof html2canvas)throw"Please link: https://cdn.webrtc-experiment.com/screenshot.js";(t=t||{}).frameInterval||(t.frameInterval=10);var n=!1;["captureStream","mozCaptureStream","webkitCaptureStream"].forEach(function(e){e in document.createElement("canvas")&&(n=!0)});var i,r,o,a=!(!window.webkitRTCPeerConnection&&!window.webkitGetUserMedia||!window.chrome),s=50,l=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(a&&l&&l[2]&&(s=parseInt(l[2],10)),a&&s<52&&(n=!1),t.useWhammyRecorder&&(n=!1),n)if(t.disableLogs||console.log("Your browser supports both MediRecorder API and canvas.captureStream!"),e instanceof HTMLCanvasElement)i=e;else{if(!(e instanceof CanvasRenderingContext2D))throw"Please pass either HTMLCanvasElement or CanvasRenderingContext2D.";i=e.canvas}else navigator.mozGetUserMedia&&(t.disableLogs||console.error("Canvas recording is NOT supported in Firefox."));this.record=function(){if(o=!0,n&&!t.useWhammyRecorder){var e;"captureStream"in i?e=i.captureStream(25):"mozCaptureStream"in i?e=i.mozCaptureStream(25):"webkitCaptureStream"in i&&(e=i.webkitCaptureStream(25));try{var a=new v;a.addTrack(w(e,"video")[0]),e=a}catch(e){}if(!e)throw"captureStream API are NOT available.";(r=new C(e,{mimeType:t.mimeType||"video/webm"})).record()}else f.frames=[],p=(new Date).getTime(),d();t.initCallback&&t.initCallback()},this.getWebPImages=function(n){if("canvas"===e.nodeName.toLowerCase()){var i=f.frames.length;f.frames.forEach(function(e,n){var r=i-n;t.disableLogs||console.log(r+"/"+i+" frames remaining"),t.onEncodingCallback&&t.onEncodingCallback(r,i);var o=e.image.toDataURL("image/webp",1);f.frames[n].image=o}),t.disableLogs||console.log("Generating WebM"),n()}else n()},this.stop=function(e){o=!1;var i=this;n&&r?r.stop(e):this.getWebPImages(function(){f.compile(function(n){t.disableLogs||console.log("Recording finished!"),i.blob=n,i.blob.forEach&&(i.blob=new Blob([],{type:"video/webm"})),e&&e(i.blob),f.frames=[]})})};var c=!1;function u(){f.frames=[],o=!1,c=!1}function d(){if(c)return p=(new Date).getTime(),setTimeout(d,500);if("canvas"===e.nodeName.toLowerCase()){var n=(new Date).getTime()-p;return p=(new Date).getTime(),f.frames.push({image:(i=document.createElement("canvas"),r=i.getContext("2d"),i.width=e.width,i.height=e.height,r.drawImage(e,0,0),i),duration:n}),void(o&&setTimeout(d,t.frameInterval))}var i,r;html2canvas(e,{grabMouse:void 0===t.showMousePointer||t.showMousePointer,onrendered:function(e){var n=(new Date).getTime()-p;if(!n)return setTimeout(d,t.frameInterval);p=(new Date).getTime(),f.frames.push({image:e.toDataURL("image/webp",1),duration:n}),o&&setTimeout(d,t.frameInterval)}})}this.pause=function(){c=!0,r instanceof C&&r.pause()},this.resume=function(){c=!1,r instanceof C?r.resume():o||this.record()},this.clearRecordedData=function(){o&&this.stop(u),u()},this.name="CanvasRecorder",this.toString=function(){return this.name};var p=(new Date).getTime(),f=new T.Video(100)}function O(e,t){function n(e){e=void 0!==e?e:10;var t=(new Date).getTime()-l;return t?o?(l=(new Date).getTime(),setTimeout(n,100)):(l=(new Date).getTime(),s.paused&&s.play(),d.drawImage(s,0,0,u.width,u.height),c.frames.push({duration:t,image:u.toDataURL("image/webp")}),void(r||setTimeout(n,e,e))):setTimeout(n,e,e)}function i(e,t,n,i,r){var o=document.createElement("canvas");o.width=u.width,o.height=u.height;var a,s,l,c=o.getContext("2d"),d=[],p=-1===t,f=t&&t>0&&t<=e.length?t:e.length,h=0,m=0,g=0,v=Math.sqrt(Math.pow(255,2)+Math.pow(255,2)+Math.pow(255,2)),b=n&&n>=0&&n<=1?n:0,y=i&&i>=0&&i<=1?i:0,_=!1;s=-1,l=(a={length:f,functionToLoop:function(t,n){var i,r,o,a=function(){!_&&o-i<=o*y||(p&&(_=!0),d.push(e[n])),t()};if(_)a();else{var s=new Image;s.onload=function(){c.drawImage(s,0,0,u.width,u.height);var e=c.getImageData(0,0,u.width,u.height);i=0,r=e.data.length,o=e.data.length/4;for(var t=0;t<r;t+=4){var n={r:e.data[t],g:e.data[t+1],b:e.data[t+2]};Math.sqrt(Math.pow(n.r-h,2)+Math.pow(n.g-m,2)+Math.pow(n.b-g,2))<=v*b&&i++}a()},s.src=e[n].image}},callback:function(){(d=d.concat(e.slice(f))).length<=0&&d.push(e[e.length-1]),r(d)}}).length,function e(){++s!==l?setTimeout(function(){a.functionToLoop(e,s)},1):a.callback()}()}(t=t||{}).frameInterval||(t.frameInterval=10),t.disableLogs||console.log("Using frames-interval:",t.frameInterval),this.record=function(){t.width||(t.width=320),t.height||(t.height=240),t.video||(t.video={width:t.width,height:t.height}),t.canvas||(t.canvas={width:t.width,height:t.height}),u.width=t.canvas.width||320,u.height=t.canvas.height||240,d=u.getContext("2d"),t.video&&t.video instanceof HTMLVideoElement?(s=t.video.cloneNode(),t.initCallback&&t.initCallback()):(s=document.createElement("video"),x(e,s),s.onloadedmetadata=function(){t.initCallback&&t.initCallback()},s.width=t.video.width,s.height=t.video.height),s.muted=!0,s.play(),l=(new Date).getTime(),c=new T.Video,t.disableLogs||(console.log("canvas resolutions",u.width,"*",u.height),console.log("video width/height",s.width||u.width,"*",s.height||u.height)),n(t.frameInterval)};var r=!1;this.stop=function(e){e=e||function(){},r=!0;var n=this;setTimeout(function(){i(c.frames,-1,null,null,function(i){c.frames=i,t.advertisement&&t.advertisement.length&&(c.frames=t.advertisement.concat(c.frames)),c.compile(function(t){n.blob=t,n.blob.forEach&&(n.blob=new Blob([],{type:"video/webm"})),e&&e(n.blob)})})},10)};var o=!1;function a(){c.frames=[],r=!0,o=!1}this.pause=function(){o=!0},this.resume=function(){o=!1,r&&this.record()},this.clearRecordedData=function(){r||this.stop(a),a()},this.name="WhammyRecorder",this.toString=function(){return this.name};var s,l,c,u=document.createElement("canvas"),d=u.getContext("2d")}void 0!==u?k.AudioContext=u:"undefined"!=typeof webkitAudioContext&&(k.AudioContext=webkitAudioContext),i.Storage=k,i.MediaStreamRecorder=C,i.StereoAudioRecorder=S,i.CanvasRecorder=M,i.WhammyRecorder=O;var T=function(){function e(e){this.frames=[],this.duration=e||1,this.quality=.8}function t(e){function t(e,t,n){return[{data:e,id:231}].concat(n.map(function(e){var n=function(e){var t=0;e.keyframe&&(t|=128);e.invisible&&(t|=8);e.lacing&&(t|=e.lacing<<1);e.discardable&&(t|=1);if(e.trackNum>127)throw"TrackNumber > 127 not supported";return[128|e.trackNum,e.timecode>>8,255&e.timecode,t].map(function(e){return String.fromCharCode(e)}).join("")+e.frame}({discardable:0,frame:e.data.slice(4),invisible:0,keyframe:1,lacing:0,trackNum:1,timecode:Math.round(t)});return t+=e.duration,{data:n,id:163}}))}function n(e){for(var t=[];e>0;)t.push(255&e),e>>=8;return new Uint8Array(t.reverse())}function i(e){var t=[];e=(e.length%8?new Array(9-e.length%8).join("0"):"")+e;for(var n=0;n<e.length;n+=8)t.push(parseInt(e.substr(n,8),2));return new Uint8Array(t)}function r(e,t){return parseInt(e.substr(t+4,4).split("").map(function(e){var t=e.charCodeAt(0).toString(2);return new Array(8-t.length+1).join("0")+t}).join(""),2)}var o=new function(e){var r=function(e){if(e[0]){for(var t=e[0].width,n=e[0].height,i=e[0].duration,r=1;r<e.length;r++)i+=e[r].duration;return{duration:i,width:t,height:n}}postMessage({error:"Something went wrong. Maybe WebP format is not supported in the current browser."})}(e);if(!r)return[];for(var o,a=[{id:440786851,data:[{data:1,id:17030},{data:1,id:17143},{data:4,id:17138},{data:8,id:17139},{data:"webm",id:17026},{data:2,id:17031},{data:2,id:17029}]},{id:408125543,data:[{id:357149030,data:[{data:1e6,id:2807729},{data:"whammy",id:19840},{data:"whammy",id:22337},{data:(o=r.duration,[].slice.call(new Uint8Array(new Float64Array([o]).buffer),0).map(function(e){return String.fromCharCode(e)}).reverse().join("")),id:17545}]},{id:374648427,data:[{id:174,data:[{data:1,id:215},{data:1,id:29637},{data:0,id:156},{data:"und",id:2274716},{data:"V_VP8",id:134},{data:"VP8",id:2459272},{data:1,id:131},{id:224,data:[{data:r.width,id:176},{data:r.height,id:186}]}]}]}]}],s=0,l=0;s<e.length;){var c=[],u=0;do{c.push(e[s]),u+=e[s].duration,s++}while(s<e.length&&u<3e4);var d={id:524531317,data:t(l,0,c)};a[1].data.push(d),l+=u}return function e(t){for(var r=[],o=0;o<t.length;o++){var a=t[o].data;"object"==typeof a&&(a=e(a)),"number"==typeof a&&(a=i(a.toString(2))),"string"==typeof a&&(a=new Uint8Array(a.split("").map(function(e){return e.charCodeAt(0)})));var s=a.size||a.byteLength||a.length,l=Math.ceil(Math.ceil(Math.log(s)/Math.log(2))/8),c=s.toString(2),u=new Array(7*l+7+1-c.length).join("0")+c,d=new Array(l).join("0")+"1"+u;r.push(n(t[o].id)),r.push(i(d)),r.push(a)}return new Blob(r,{type:"video/webm"})}(a)}(e.map(function(e){var t=function(e){for(var t=e.RIFF[0].WEBP[0],n=t.indexOf("*"),i=0,r=[];i<4;i++)r[i]=t.charCodeAt(n+3+i);return{width:16383&(r[1]<<8|r[0]),height:16383&(r[3]<<8|r[2]),data:t,riff:e}}(function e(t){for(var n=0,i={};n<t.length;){var o=t.substr(n,4),a=r(t,n),s=t.substr(n+4+4,a);n+=8+a,i[o]=i[o]||[],"RIFF"===o||"LIST"===o?i[o].push(e(s)):i[o].push(s)}return i}(atob(e.image.slice(23))));return t.duration=e.duration,t}));postMessage(o)}return e.prototype.add=function(e,t){if("canvas"in e&&(e=e.canvas),"toDataURL"in e&&(e=e.toDataURL("image/webp",this.quality)),!/^data:image\/webp;base64,/gi.test(e))throw"Input must be formatted properly as a base64 encoded DataURI of type image/webp";this.frames.push({image:e,duration:t||this.duration})},e.prototype.compile=function(e){var n,i,r,o=(n=t,i=d.createObjectURL(new Blob([n.toString(),"this.onmessage = function (eee) {"+n.name+"(eee.data);}"],{type:"application/javascript"})),r=new Worker(i),d.revokeObjectURL(i),r);o.onmessage=function(t){t.data.error?console.error(t.data.error):e(t.data)},o.postMessage(this.frames)},{Video:e}}();i.Whammy=T;var E={init:function(){var e=this;if("undefined"!=typeof indexedDB&&void 0!==indexedDB.open){var t,n=this.dbName||location.href.replace(/\/|:|#|%|\.|\[|\]/g,""),i=indexedDB.open(n,1);i.onerror=e.onError,i.onsuccess=function(){((t=i.result).onerror=e.onError,t.setVersion)?1!==t.version?t.setVersion(1).onsuccess=function(){r(t),o()}:o():o()},i.onupgradeneeded=function(e){r(e.target.result)}}else console.error("IndexedDB API are not available in this browser.");function r(t){t.createObjectStore(e.dataStoreName)}function o(){var n=t.transaction([e.dataStoreName],"readwrite");function i(t){n.objectStore(e.dataStoreName).get(t).onsuccess=function(n){e.callback&&e.callback(n.target.result,t)}}e.videoBlob&&n.objectStore(e.dataStoreName).put(e.videoBlob,"videoBlob"),e.gifBlob&&n.objectStore(e.dataStoreName).put(e.gifBlob,"gifBlob"),e.audioBlob&&n.objectStore(e.dataStoreName).put(e.audioBlob,"audioBlob"),i("audioBlob"),i("videoBlob"),i("gifBlob")}},Fetch:function(e){return this.callback=e,this.init(),this},Store:function(e){return this.audioBlob=e.audioBlob,this.videoBlob=e.videoBlob,this.gifBlob=e.gifBlob,this.init(),this},onError:function(e){console.error(JSON.stringify(e,null,"\t"))},dataStoreName:"recordRTC",dbName:null};function P(e,t){if("undefined"==typeof GIFEncoder){var n=document.createElement("script");n.src="https://cdn.webrtc-experiment.com/gif-recorder.js",(document.body||document.documentElement).appendChild(n)}t=t||{};var i=e instanceof CanvasRenderingContext2D||e instanceof HTMLCanvasElement;this.record=function(){"undefined"!=typeof GIFEncoder&&l?(i||(t.width||(t.width=u.offsetWidth||320),t.height||(t.height=u.offsetHeight||240),t.video||(t.video={width:t.width,height:t.height}),t.canvas||(t.canvas={width:t.width,height:t.height}),o.width=t.canvas.width||320,o.height=t.canvas.height||240,u.width=t.video.width||320,u.height=t.video.height||240),(p=new GIFEncoder).setRepeat(0),p.setDelay(t.frameRate||200),p.setQuality(t.quality||10),p.start(),"function"==typeof t.onGifRecordingStarted&&t.onGifRecordingStarted(),Date.now(),f=s(function e(n){if(!0!==h.clearedRecordedData){if(r)return setTimeout(function(){e(n)},100);f=s(e),void 0===typeof d&&(d=n),n-d<90||(!i&&u.paused&&u.play(),i||a.drawImage(u,0,0,o.width,o.height),t.onGifPreview&&t.onGifPreview(o.toDataURL("image/png")),p.addFrame(a),d=n)}}),t.initCallback&&t.initCallback()):setTimeout(h.record,1e3)},this.stop=function(e){e=e||function(){},f&&c(f),Date.now(),this.blob=new Blob([new Uint8Array(p.stream().bin)],{type:"image/gif"}),e(this.blob),p.stream().bin=[]};var r=!1;this.pause=function(){r=!0},this.resume=function(){r=!1},this.clearRecordedData=function(){h.clearedRecordedData=!0,p&&(p.stream().bin=[])},this.name="GifRecorder",this.toString=function(){return this.name};var o=document.createElement("canvas"),a=o.getContext("2d");i&&(e instanceof CanvasRenderingContext2D?o=(a=e).canvas:e instanceof HTMLCanvasElement&&(a=e.getContext("2d"),o=e));var l=!0;if(!i){var u=document.createElement("video");u.muted=!0,u.autoplay=!0,l=!1,u.onloadedmetadata=function(){l=!0},x(e,u),u.play()}var d,p,f=null,h=this}function j(e,t){t=t||"multi-streams-mixer";var n=[],i=!1,r=document.createElement("canvas"),o=r.getContext("2d");r.style.opacity=0,r.style.position="absolute",r.style.zIndex=-1,r.style.top="-1000em",r.style.left="-1000em",r.className=t,(document.body||document.documentElement).appendChild(r),this.disableLogs=!1,this.frameInterval=10,this.width=360,this.height=240,this.useGainNode=!0;var a=this,s=window.AudioContext;void 0===s&&("undefined"!=typeof webkitAudioContext&&(s=webkitAudioContext),"undefined"!=typeof mozAudioContext&&(s=mozAudioContext));var l=window.URL;void 0===l&&"undefined"!=typeof webkitURL&&(l=webkitURL),"undefined"!=typeof navigator&&void 0===navigator.getUserMedia&&(void 0!==navigator.webkitGetUserMedia&&(navigator.getUserMedia=navigator.webkitGetUserMedia),void 0!==navigator.mozGetUserMedia&&(navigator.getUserMedia=navigator.mozGetUserMedia));var c=window.MediaStream;void 0===c&&"undefined"!=typeof webkitMediaStream&&(c=webkitMediaStream),void 0!==c&&void 0===c.prototype.stop&&(c.prototype.stop=function(){this.getTracks().forEach(function(e){e.stop()})});var u={};function d(){if(!i){var e=n.length,t=!1,o=[];if(n.forEach(function(e){e.stream||(e.stream={}),e.stream.fullcanvas?t=e:o.push(e)}),t)r.width=t.stream.width,r.height=t.stream.height;else if(o.length){r.width=e>1?2*o[0].width:o[0].width;var s=1;3!==e&&4!==e||(s=2),5!==e&&6!==e||(s=3),7!==e&&8!==e||(s=4),9!==e&&10!==e||(s=5),r.height=o[0].height*s}else r.width=a.width||360,r.height=a.height||240;t&&t instanceof HTMLVideoElement&&p(t),o.forEach(function(e,t){p(e,t)}),setTimeout(d,a.frameInterval)}}function p(e,t){if(!i){var n=0,r=0,a=e.width,s=e.height;1===t&&(n=e.width),2===t&&(r=e.height),3===t&&(n=e.width,r=e.height),4===t&&(r=2*e.height),5===t&&(n=e.width,r=2*e.height),6===t&&(r=3*e.height),7===t&&(n=e.width,r=3*e.height),void 0!==e.stream.left&&(n=e.stream.left),void 0!==e.stream.top&&(r=e.stream.top),void 0!==e.stream.width&&(a=e.stream.width),void 0!==e.stream.height&&(s=e.stream.height),o.drawImage(e,n,r,a,s),"function"==typeof e.stream.onRender&&e.stream.onRender(o,n,r,a,s,t)}}function f(e){var n=document.createElement("video");return function(e,t){"srcObject"in t?t.srcObject=e:"mozSrcObject"in t?t.mozSrcObject=e:t.srcObject=e}(e,n),n.className=t,n.muted=!0,n.volume=0,n.width=e.width||a.width||360,n.height=e.height||a.height||240,n.play(),n}function h(t){n=[],(t=t||e).forEach(function(e){if(e.getTracks().filter(function(e){return"video"===e.kind}).length){var t=f(e);t.stream=e,n.push(t)}})}void 0!==s?u.AudioContext=s:"undefined"!=typeof webkitAudioContext&&(u.AudioContext=webkitAudioContext),this.startDrawingFrames=function(){d()},this.appendStreams=function(t){if(!t)throw"First parameter is required.";t instanceof Array||(t=[t]),t.forEach(function(t){var i=new c;if(t.getTracks().filter(function(e){return"video"===e.kind}).length){var r=f(t);r.stream=t,n.push(r),i.addTrack(t.getTracks().filter(function(e){return"video"===e.kind})[0])}if(t.getTracks().filter(function(e){return"audio"===e.kind}).length){var o=a.audioContext.createMediaStreamSource(t);a.audioDestination=a.audioContext.createMediaStreamDestination(),o.connect(a.audioDestination),i.addTrack(a.audioDestination.stream.getTracks().filter(function(e){return"audio"===e.kind})[0])}e.push(i)})},this.releaseStreams=function(){n=[],i=!0,a.gainNode&&(a.gainNode.disconnect(),a.gainNode=null),a.audioSources.length&&(a.audioSources.forEach(function(e){e.disconnect()}),a.audioSources=[]),a.audioDestination&&(a.audioDestination.disconnect(),a.audioDestination=null),a.audioContext&&a.audioContext.close(),a.audioContext=null,o.clearRect(0,0,r.width,r.height),r.stream&&(r.stream.stop(),r.stream=null)},this.resetVideoStreams=function(e){!e||e instanceof Array||(e=[e]),h(e)},this.name="MultiStreamsMixer",this.toString=function(){return this.name},this.getMixedStream=function(){i=!1;var t=function(){var e;h(),"captureStream"in r?e=r.captureStream():"mozCaptureStream"in r?e=r.mozCaptureStream():a.disableLogs||console.error("Upgrade to latest Chrome or otherwise enable this flag: chrome://flags/#enable-experimental-web-platform-features");var t=new c;return e.getTracks().filter(function(e){return"video"===e.kind}).forEach(function(e){t.addTrack(e)}),r.stream=t,t}(),n=function(){u.AudioContextConstructor||(u.AudioContextConstructor=new u.AudioContext),a.audioContext=u.AudioContextConstructor,a.audioSources=[],!0===a.useGainNode&&(a.gainNode=a.audioContext.createGain(),a.gainNode.connect(a.audioContext.destination),a.gainNode.gain.value=0);var t=0;if(e.forEach(function(e){if(e.getTracks().filter(function(e){return"audio"===e.kind}).length){t++;var n=a.audioContext.createMediaStreamSource(e);!0===a.useGainNode&&n.connect(a.gainNode),a.audioSources.push(n)}}),t)return a.audioDestination=a.audioContext.createMediaStreamDestination(),a.audioSources.forEach(function(e){e.connect(a.audioDestination)}),a.audioDestination.stream}();return n&&n.getTracks().filter(function(e){return"audio"===e.kind}).forEach(function(e){t.addTrack(e)}),e.forEach(function(e){e.fullcanvas}),t}}function N(e,t){e=e||[];var n,i,r=this;(t=t||{elementClass:"multi-streams-mixer",mimeType:"video/webm",video:{width:360,height:240}}).frameInterval||(t.frameInterval=10),t.video||(t.video={}),t.video.width||(t.video.width=360),t.video.height||(t.video.height=240),this.record=function(){var r;n=new j(e,t.elementClass||"multi-streams-mixer"),(r=[],e.forEach(function(e){w(e,"video").forEach(function(e){r.push(e)})}),r).length&&(n.frameInterval=t.frameInterval||10,n.width=t.video.width||360,n.height=t.video.height||240,n.startDrawingFrames()),t.previewStream&&"function"==typeof t.previewStream&&t.previewStream(n.getMixedStream()),(i=new C(n.getMixedStream(),t)).record()},this.stop=function(e){i&&i.stop(function(t){r.blob=t,e(t),r.clearRecordedData()})},this.pause=function(){i&&i.pause()},this.resume=function(){i&&i.resume()},this.clearRecordedData=function(){i&&(i.clearRecordedData(),i=null),n&&(n.releaseStreams(),n=null)},this.addStreams=function(r){if(!r)throw"First parameter is required.";r instanceof Array||(r=[r]),e.concat(r),i&&n&&(n.appendStreams(r),t.previewStream&&"function"==typeof t.previewStream&&t.previewStream(n.getMixedStream()))},this.resetVideoStreams=function(e){n&&(!e||e instanceof Array||(e=[e]),n.resetVideoStreams(e))},this.getMixer=function(e){return n},this.name="MultiStreamRecorder",this.toString=function(){return this.name}}function $(e,t){function n(){return new ReadableStream({start:function(n){var i=document.createElement("canvas"),r=document.createElement("video");r.srcObject=e,r.onplaying=function(){i.width=t.width,i.height=t.height;var e=i.getContext("2d"),o=1e3/t.frameRate;setTimeout(function i(){e.drawImage(r,0,0),n.enqueue(e.getImageData(0,0,t.width,t.height)),setTimeout(i,o)},o)},r.play()}})}var i,r;"undefined"!=typeof ReadableStream&&"undefined"!=typeof WritableStream||console.error("Following polyfill is strongly recommended: https://unpkg.com/@mattiasbuelens/web-streams-polyfill/dist/polyfill.min.js"),(t=t||{}).width=t.width||640,t.height=t.height||480,t.frameRate=t.frameRate||30,t.bitrate=t.bitrate||1200,this.record=function(){o=[],r=!1,this.blob=null,function e(a,s){if(t.workerPath||s){if(!t.workerPath&&s instanceof ArrayBuffer){var l=new Blob([s],{type:"text/javascript"});t.workerPath=d.createObjectURL(l)}t.workerPath||console.error("workerPath parameter is missing."),(i=new Worker(t.workerPath)).postMessage(t.webAssemblyPath||"https://unpkg.com/webm-wasm@latest/dist/webm-wasm.wasm"),i.addEventListener("message",function(e){"READY"===e.data?(i.postMessage({width:t.width,height:t.height,bitrate:t.bitrate||1200,timebaseDen:t.frameRate||30,realtime:!0}),n().pipeTo(new WritableStream({write:function(e){i&&i.postMessage(e.data.buffer,[e.data.buffer])}}))):e.data&&(r||o.push(e.data))})}else fetch("https://unpkg.com/webm-wasm@latest/dist/webm-worker.js").then(function(t){t.arrayBuffer().then(function(t){e(a,t)})})}(e),"function"==typeof t.initCallback&&t.initCallback()},this.pause=function(){r=!0},this.resume=function(){r=!1};var o=[];this.stop=function(e){i&&(i.postMessage(null),i.terminate(),i=null),this.blob=new Blob(o,{type:"video/webm"}),e(this.blob)},this.name="WebAssemblyRecorder",this.toString=function(){return this.name},this.clearRecordedData=function(){o=[],r=!1,this.blob=null},this.blob=null}i.DiskStorage=E,i.GifRecorder=P,i.MultiStreamRecorder=N,i.RecordRTCPromisesHandler=function(e,t){if(!this)throw'Use "new RecordRTCPromisesHandler()"';if(void 0===e)throw'First argument "MediaStream" is required.';var n=this;n.recordRTC=new i(e,t),this.startRecording=function(){return new Promise(function(e,t){try{n.recordRTC.startRecording(),e()}catch(e){t(e)}})},this.stopRecording=function(){return new Promise(function(e,t){try{n.recordRTC.stopRecording(function(i){n.blob=n.recordRTC.getBlob(),n.blob&&n.blob.size?e(i):t("Empty blob.",n.blob)})}catch(e){t(e)}})},this.pauseRecording=function(){return new Promise(function(e,t){try{n.recordRTC.pauseRecording(),e()}catch(e){t(e)}})},this.resumeRecording=function(){return new Promise(function(e,t){try{n.recordRTC.resumeRecording(),e()}catch(e){t(e)}})},this.getDataURL=function(e){return new Promise(function(e,t){try{n.recordRTC.getDataURL(function(t){e(t)})}catch(e){t(e)}})},this.getBlob=function(){return new Promise(function(e,t){try{e(n.recordRTC.getBlob())}catch(e){t(e)}})},this.getInternalRecorder=function(){return new Promise(function(e,t){try{e(n.recordRTC.getInternalRecorder())}catch(e){t(e)}})},this.reset=function(){return new Promise(function(e,t){try{e(n.recordRTC.reset())}catch(e){t(e)}})},this.destroy=function(){return new Promise(function(e,t){try{e(n.recordRTC.destroy())}catch(e){t(e)}})},this.getState=function(){return new Promise(function(e,t){try{e(n.recordRTC.getState())}catch(e){t(e)}})},this.blob=null,this.version="5.5.8"},i.WebAssemblyRecorder=$}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:94}],98:[function(e,t,n){"use strict";var i=Object,r=TypeError;t.exports=function(){if(null!=this&&this!==i(this))throw new r("RegExp.prototype.flags getter called on non-object");var e="";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e}},{}],99:[function(e,t,n){"use strict";var i=e("define-properties"),r=e("./implementation"),o=e("./polyfill"),a=e("./shim"),s=Function.call.bind(r);i(s,{getPolyfill:o,implementation:r,shim:a}),t.exports=s},{"./implementation":98,"./polyfill":100,"./shim":101,"define-properties":48}],100:[function(e,t,n){"use strict";var i=e("./implementation"),r=e("define-properties").supportsDescriptors,o=Object.getOwnPropertyDescriptor,a=TypeError;t.exports=function(){if(!r)throw new a("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");if("gim"===/a/gim.flags){var e=o(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof/a/.dotAll)return e.get}return i}},{"./implementation":98,"define-properties":48}],101:[function(e,t,n){"use strict";var i=e("define-properties").supportsDescriptors,r=e("./polyfill"),o=Object.getOwnPropertyDescriptor,a=Object.defineProperty,s=TypeError,l=Object.getPrototypeOf,c=/a/;t.exports=function(){if(!i||!l)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=r(),t=l(c),n=o(t,"flags");return n&&n.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},{"./polyfill":100,"define-properties":48}],102:[function(e,t,n){t.exports=e("./lib/type")},{"./lib/type":103}],103:[function(e,t,n){var i=e("quill-delta");t.exports={Delta:i,type:{name:"rich-text",uri:"http://sharejs.org/types/rich-text/v1",create:function(e){return new i(e)},apply:function(e,t){return e=new i(e),t=new i(t),e.compose(t)},compose:function(e,t){return e=new i(e),t=new i(t),e.compose(t)},diff:function(e,t){return e=new i(e),t=new i(t),e.diff(t)},transform:function(e,t,n){return e=new i(e),(t=new i(t)).transform(e,"left"===n)},transformCursor:function(e,t,n){return t.transformPosition(e,!n)},normalize:function(e){return e},serialize:function(e){return e.ops},deserialize:function(e){return new i(e)}}}},{"quill-delta":106}],104:[function(e,t,n){var i=-1,r=1,o=0;function a(e,t,n,u){if(e===t)return e?[[o,e]]:[];if(null!=n){var d=function(e,t,n){var i="number"==typeof n?{index:n,length:0}:n.oldRange,r="number"==typeof n?null:n.newRange,o=e.length,a=t.length;if(0===i.length&&(null===r||0===r.length)){var s=i.index,l=e.slice(0,s),c=e.slice(s),u=r?r.index:null,d=s+a-o;if((null===u||u===d)&&!(d<0||d>a)){var p=t.slice(0,d),f=t.slice(d);if(f===c){var m=Math.min(s,d),g=l.slice(0,m),v=p.slice(0,m);if(g===v){var b=l.slice(m),y=p.slice(m);return h(g,b,y,c)}}}if(null===u||u===s){var _=s,p=t.slice(0,_),f=t.slice(_);if(p===l){var w=Math.min(o-_,a-_),x=c.slice(c.length-w),k=f.slice(f.length-w);if(x===k){var b=c.slice(0,c.length-w),y=f.slice(0,f.length-w);return h(l,b,y,x)}}}}if(i.length>0&&r&&0===r.length){var g=e.slice(0,i.index),x=e.slice(i.index+i.length),m=g.length,w=x.length;if(!(a<m+w)){var v=t.slice(0,m),k=t.slice(a-w);if(g===v&&x===k){var b=e.slice(m,o-w),y=t.slice(m,a-w);return h(g,b,y,x)}}}return null}(e,t,n);if(d)return d}var m=l(e,t),g=e.substring(0,m);m=c(e=e.substring(m),t=t.substring(m));var v=e.substring(e.length-m),b=function(e,t){var n;if(!e)return[[r,t]];if(!t)return[[i,e]];var u=e.length>t.length?e:t,d=e.length>t.length?t:e,p=u.indexOf(d);if(-1!==p)return n=[[r,u.substring(0,p)],[o,d],[r,u.substring(p+d.length)]],e.length>t.length&&(n[0][0]=n[2][0]=i),n;if(1===d.length)return[[i,e],[r,t]];var f=function(e,t){var n=e.length>t.length?e:t,i=e.length>t.length?t:e;if(n.length<4||2*i.length<n.length)return null;function r(e,t,n){for(var i,r,o,a,s=e.substring(n,n+Math.floor(e.length/4)),u=-1,d="";-1!==(u=t.indexOf(s,u+1));){var p=l(e.substring(n),t.substring(u)),f=c(e.substring(0,n),t.substring(0,u));d.length<f+p&&(d=t.substring(u-f,u)+t.substring(u,u+p),i=e.substring(0,n-f),r=e.substring(n+p),o=t.substring(0,u-f),a=t.substring(u+p))}return 2*d.length>=e.length?[i,r,o,a,d]:null}var o,a,s,u,d,p=r(n,i,Math.ceil(n.length/4)),f=r(n,i,Math.ceil(n.length/2));if(!p&&!f)return null;o=f?p&&p[4].length>f[4].length?p:f:p;e.length>t.length?(a=o[0],s=o[1],u=o[2],d=o[3]):(u=o[0],d=o[1],a=o[2],s=o[3]);var h=o[4];return[a,s,u,d,h]}(e,t);if(f){var h=f[0],m=f[1],g=f[2],v=f[3],b=f[4],y=a(h,g),_=a(m,v);return y.concat([[o,b]],_)}return function(e,t){for(var n=e.length,o=t.length,a=Math.ceil((n+o)/2),l=a,c=2*a,u=new Array(c),d=new Array(c),p=0;p<c;p++)u[p]=-1,d[p]=-1;u[l+1]=0,d[l+1]=0;for(var f=n-o,h=f%2!=0,m=0,g=0,v=0,b=0,y=0;y<a;y++){for(var _=-y+m;_<=y-g;_+=2){for(var w=l+_,x=(M=_===-y||_!==y&&u[w-1]<u[w+1]?u[w+1]:u[w-1]+1)-_;M<n&&x<o&&e.charAt(M)===t.charAt(x);)M++,x++;if(u[w]=M,M>n)g+=2;else if(x>o)m+=2;else if(h){var k=l+f-_;if(k>=0&&k<c&&-1!==d[k]){var A=n-d[k];if(M>=A)return s(e,t,M,x)}}}for(var C=-y+v;C<=y-b;C+=2){for(var k=l+C,S=(A=C===-y||C!==y&&d[k-1]<d[k+1]?d[k+1]:d[k-1]+1)-C;A<n&&S<o&&e.charAt(n-A-1)===t.charAt(o-S-1);)A++,S++;if(d[k]=A,A>n)b+=2;else if(S>o)v+=2;else if(!h){var w=l+f-C;if(w>=0&&w<c&&-1!==u[w]){var M=u[w],x=l+M-w;if(M>=(A=n-A))return s(e,t,M,x)}}}}return[[i,e],[r,t]]}(e,t)}(e=e.substring(0,e.length-m),t=t.substring(0,t.length-m));return g&&b.unshift([o,g]),v&&b.push([o,v]),function e(t,n){t.push([o,""]);var a=0;var s=0;var u=0;var d="";var h="";var m;for(;a<t.length;)if(a<t.length-1&&!t[a][1])t.splice(a,1);else switch(t[a][0]){case r:u++,h+=t[a][1],a++;break;case i:s++,d+=t[a][1],a++;break;case o:var g=a-u-s-1;if(n){if(g>=0&&f(t[g][1])){var v=t[g][1].slice(-1);if(t[g][1]=t[g][1].slice(0,-1),d=v+d,h=v+h,!t[g][1]){t.splice(g,1),a--;var b=g-1;t[b]&&t[b][0]===r&&(u++,h=t[b][1]+h,b--),t[b]&&t[b][0]===i&&(s++,d=t[b][1]+d,b--),g=b}}if(p(t[a][1])){var v=t[a][1].charAt(0);t[a][1]=t[a][1].slice(1),d+=v,h+=v}}if(a<t.length-1&&!t[a][1]){t.splice(a,1);break}if(d.length>0||h.length>0){d.length>0&&h.length>0&&(0!==(m=l(h,d))&&(g>=0?t[g][1]+=h.substring(0,m):(t.splice(0,0,[o,h.substring(0,m)]),a++),h=h.substring(m),d=d.substring(m)),0!==(m=c(h,d))&&(t[a][1]=h.substring(h.length-m)+t[a][1],h=h.substring(0,h.length-m),d=d.substring(0,d.length-m)));var y=u+s;0===d.length&&0===h.length?(t.splice(a-y,y),a-=y):0===d.length?(t.splice(a-y,y,[r,h]),a=a-y+1):0===h.length?(t.splice(a-y,y,[i,d]),a=a-y+1):(t.splice(a-y,y,[i,d],[r,h]),a=a-y+2)}0!==a&&t[a-1][0]===o?(t[a-1][1]+=t[a][1],t.splice(a,1)):a++,u=0,s=0,d="",h=""}""===t[t.length-1][1]&&t.pop();var _=!1;a=1;for(;a<t.length-1;)t[a-1][0]===o&&t[a+1][0]===o&&(t[a][1].substring(t[a][1].length-t[a-1][1].length)===t[a-1][1]?(t[a][1]=t[a-1][1]+t[a][1].substring(0,t[a][1].length-t[a-1][1].length),t[a+1][1]=t[a-1][1]+t[a+1][1],t.splice(a-1,1),_=!0):t[a][1].substring(0,t[a+1][1].length)==t[a+1][1]&&(t[a-1][1]+=t[a+1][1],t[a][1]=t[a][1].substring(t[a+1][1].length)+t[a+1][1],t.splice(a+1,1),_=!0)),a++;_&&e(t,n)}(b,u),b}function s(e,t,n,i){var r=e.substring(0,n),o=t.substring(0,i),s=e.substring(n),l=t.substring(i),c=a(r,o),u=a(s,l);return c.concat(u)}function l(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;for(var n=0,i=Math.min(e.length,t.length),r=i,o=0;n<r;)e.substring(o,r)==t.substring(o,r)?o=n=r:i=r,r=Math.floor((i-n)/2+n);return u(e.charCodeAt(r-1))&&r--,r}function c(e,t){if(!e||!t||e.slice(-1)!==t.slice(-1))return 0;for(var n=0,i=Math.min(e.length,t.length),r=i,o=0;n<r;)e.substring(e.length-r,e.length-o)==t.substring(t.length-r,t.length-o)?o=n=r:i=r,r=Math.floor((i-n)/2+n);return d(e.charCodeAt(e.length-r))&&r--,r}function u(e){return e>=55296&&e<=56319}function d(e){return e>=56320&&e<=57343}function p(e){return d(e.charCodeAt(0))}function f(e){return u(e.charCodeAt(e.length-1))}function h(e,t,n,a){return f(e)||p(a)?null:function(e){for(var t=[],n=0;n<e.length;n++)e[n][1].length>0&&t.push(e[n]);return t}([[o,e],[i,t],[r,n],[o,a]])}function m(e,t,n){return a(e,t,n,!0)}m.INSERT=r,m.DELETE=i,m.EQUAL=o,t.exports=m},{}],105:[function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0});var r,o=i(e("deep-equal")),a=i(e("extend"));!function(e){e.compose=function(e,t,n){void 0===e&&(e={}),void 0===t&&(t={}),"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var i=a.default(!0,{},t);for(var r in n||(i=Object.keys(i).reduce(function(e,t){return null!=i[t]&&(e[t]=i[t]),e},{})),e)void 0!==e[r]&&void 0===t[r]&&(i[r]=e[r]);return Object.keys(i).length>0?i:void 0},e.diff=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce(function(n,i){return o.default(e[i],t[i])||(n[i]=void 0===t[i]?null:t[i]),n},{});return Object.keys(n).length>0?n:void 0},e.invert=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),e=e||{};var n=Object.keys(t).reduce(function(n,i){return t[i]!==e[i]&&void 0!==e[i]&&(n[i]=t[i]),n},{});return Object.keys(e).reduce(function(n,i){return e[i]!==t[i]&&void 0===t[i]&&(n[i]=null),n},n)},e.transform=function(e,t,n){if(void 0===n&&(n=!1),"object"!=typeof e)return t;if("object"==typeof t){if(!n)return t;var i=Object.keys(t).reduce(function(n,i){return void 0===e[i]&&(n[i]=t[i]),n},{});return Object.keys(i).length>0?i:void 0}}}(r||(r={})),n.default=r},{"deep-equal":44,extend:62}],106:[function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},r=i(e("deep-equal")),o=i(e("extend")),a=i(e("fast-diff")),s=i(e("./AttributeMap")),l=i(e("./Op")),c=String.fromCharCode(0),u=function(){function e(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]}return e.prototype.insert=function(e,t){var n={};return"string"==typeof e&&0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},e.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},e.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},e.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=o.default(!0,{},e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(r.default(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},e.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},e.prototype.filter=function(e){return this.ops.filter(e)},e.prototype.forEach=function(e){this.ops.forEach(e)},e.prototype.map=function(e){return this.ops.map(e)},e.prototype.partition=function(e){var t=[],n=[];return this.forEach(function(i){(e(i)?t:n).push(i)}),[t,n]},e.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},e.prototype.changeLength=function(){return this.reduce(function(e,t){return t.insert?e+l.default.length(t):t.delete?e-t.delete:e},0)},e.prototype.length=function(){return this.reduce(function(e,t){return e+l.default.length(t)},0)},e.prototype.slice=function(t,n){void 0===t&&(t=0),void 0===n&&(n=1/0);for(var i=[],r=l.default.iterator(this.ops),o=0;o<n&&r.hasNext();){var a=void 0;o<t?a=r.next(t-o):(a=r.next(n-o),i.push(a)),o+=l.default.length(a)}return new e(i)},e.prototype.compose=function(t){var n=l.default.iterator(this.ops),i=l.default.iterator(t.ops),o=[],a=i.peek();if(null!=a&&"number"==typeof a.retain&&null==a.attributes){for(var c=a.retain;"insert"===n.peekType()&&n.peekLength()<=c;)c-=n.peekLength(),o.push(n.next());a.retain-c>0&&i.next(a.retain-c)}for(var u=new e(o);n.hasNext()||i.hasNext();)if("insert"===i.peekType())u.push(i.next());else if("delete"===n.peekType())u.push(n.next());else{var d=Math.min(n.peekLength(),i.peekLength()),p=n.next(d),f=i.next(d);if("number"==typeof f.retain){var h={};"number"==typeof p.retain?h.retain=d:h.insert=p.insert;var m=s.default.compose(p.attributes,f.attributes,"number"==typeof p.retain);if(m&&(h.attributes=m),u.push(h),!i.hasNext()&&r.default(u.ops[u.ops.length-1],h)){var g=new e(n.rest());return u.concat(g).chop()}}else"number"==typeof f.delete&&"number"==typeof p.retain&&u.push(f)}return u.chop()},e.prototype.concat=function(t){var n=new e(this.ops.slice());return t.ops.length>0&&(n.push(t.ops[0]),n.ops=n.ops.concat(t.ops.slice(1))),n},e.prototype.diff=function(t,n){if(this.ops===t.ops)return new e;var i=[this,t].map(function(e){return e.map(function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:c;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")}).join("")}),o=new e,u=a.default(i[0],i[1],n),d=l.default.iterator(this.ops),p=l.default.iterator(t.ops);return u.forEach(function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case a.default.INSERT:n=Math.min(p.peekLength(),t),o.push(p.next(n));break;case a.default.DELETE:n=Math.min(t,d.peekLength()),d.next(n),o.delete(n);break;case a.default.EQUAL:n=Math.min(d.peekLength(),p.peekLength(),t);var i=d.next(n),l=p.next(n);r.default(i.insert,l.insert)?o.retain(n,s.default.diff(i.attributes,l.attributes)):o.push(l).delete(n)}t-=n}}),o.chop()},e.prototype.eachLine=function(t,n){void 0===n&&(n="\n");for(var i=l.default.iterator(this.ops),r=new e,o=0;i.hasNext();){if("insert"!==i.peekType())return;var a=i.peek(),s=l.default.length(a)-i.peekLength(),c="string"==typeof a.insert?a.insert.indexOf(n,s)-s:-1;if(c<0)r.push(i.next());else if(c>0)r.push(i.next(c));else{if(!1===t(r,i.next(1).attributes||{},o))return;o+=1,r=new e}}r.length()>0&&t(r,{},o)},e.prototype.invert=function(t){var n=new e;return this.reduce(function(e,i){if(i.insert)n.delete(l.default.length(i));else{if(i.retain&&null==i.attributes)return n.retain(i.retain),e+i.retain;if(i.delete||i.retain&&i.attributes){var r=i.delete||i.retain;return t.slice(e,e+r).forEach(function(e){i.delete?n.push(e):i.retain&&i.attributes&&n.retain(l.default.length(e),s.default.invert(i.attributes,e.attributes))}),e+r}}return e},0),n.chop()},e.prototype.transform=function(t,n){if(void 0===n&&(n=!1),n=!!n,"number"==typeof t)return this.transformPosition(t,n);for(var i=t,r=l.default.iterator(this.ops),o=l.default.iterator(i.ops),a=new e;r.hasNext()||o.hasNext();)if("insert"!==r.peekType()||!n&&"insert"===o.peekType())if("insert"===o.peekType())a.push(o.next());else{var c=Math.min(r.peekLength(),o.peekLength()),u=r.next(c),d=o.next(c);if(u.delete)continue;d.delete?a.push(d):a.retain(c,s.default.transform(u.attributes,d.attributes,n))}else a.retain(l.default.length(r.next()));return a.chop()},e.prototype.transformPosition=function(e,t){void 0===t&&(t=!1),t=!!t;for(var n=l.default.iterator(this.ops),i=0;n.hasNext()&&i<=e;){var r=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(i<e||!t)&&(e+=r),i+=r):e-=Math.min(r,e-i)}return e},e.Op=l.default,e.AttributeMap=s.default,e}();t.exports=u},{"./AttributeMap":105,"./Op":108,"deep-equal":44,extend:62,"fast-diff":104}],107:[function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0});var r=i(e("./Op")),o=function(){function e(e){this.ops=e,this.index=0,this.offset=0}return e.prototype.hasNext=function(){return this.peekLength()<1/0},e.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,i=r.default.length(t);if(e>=i-n?(e=i-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var o={};return t.attributes&&(o.attributes=t.attributes),"number"==typeof t.retain?o.retain=e:"string"==typeof t.insert?o.insert=t.insert.substr(n,e):o.insert=t.insert,o}return{retain:1/0}},e.prototype.peek=function(){return this.ops[this.index]},e.prototype.peekLength=function(){return this.ops[this.index]?r.default.length(this.ops[this.index])-this.offset:1/0},e.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},e.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),i=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(i)}return[]},e}();n.default=o},{"./Op":108}],108:[function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0});var r,o=i(e("./Iterator"));!function(e){e.iterator=function(e){return new o.default(e)},e.length=function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}}(r||(r={})),n.default=r},{"./Iterator":107}],109:[function(e,t,n){(function(e,n){"use strict";var i=function(i,r){var o;function a(e,t){function n(e){return!e.audio&&!e.video&&!e.screen&&e.data}var i="";i+="?userid="+e.userid,i+="&sessionid="+e.sessionid,i+="&msgEvent="+e.socketMessageEvent,i+="&socketCustomEvent="+e.socketCustomEvent,i+="&autoCloseEntireSession="+!!e.autoCloseEntireSession,!0===e.session.broadcast&&(i+="&oneToMany=true"),i+="&maxParticipantsAllowed="+e.maxParticipantsAllowed,e.enableScalableBroadcast&&(i+="&enableScalableBroadcast=true",i+="&maxRelayLimitPerUser="+(e.maxRelayLimitPerUser||2)),i+="&extra="+JSON.stringify(e.extra||{}),e.socketCustomParameters&&(i+=e.socketCustomParameters);try{io.sockets={}}catch(e){}if(e.socketURL||(e.socketURL="/"),"/"!=e.socketURL.substr(e.socketURL.length-1,1))throw'"socketURL" MUST end with a slash.';e.enableLogs&&("/"==e.socketURL?console.info("socket.io url is: ",location.origin+"/"):console.info("socket.io url is: ",e.socketURL));try{e.socket=io(e.socketURL+i)}catch(t){e.socket=io.connect(e.socketURL+i,e.socketOptions)}var r=e.multiPeersHandler;function o(t,n){e.peersBackup[t]||(e.peersBackup[t]={userid:t,extra:{}}),e.peersBackup[t].extra=n}e.socket.on("extra-data-updated",function(t,n){e.peers[t]&&(e.peers[t].extra=n,e.onExtraDataUpdated({userid:t,extra:n}),o(t,n))}),e.socket.on(e.socketMessageEvent,function t(i){if(i.remoteUserId==e.userid)if(e.peers[i.sender]&&e.peers[i.sender].extra!=i.message.extra&&(e.peers[i.sender].extra=i.extra,e.onExtraDataUpdated({userid:i.sender,extra:i.extra}),o(i.sender,i.extra)),i.message.streamSyncNeeded&&e.peers[i.sender]){var a=e.streamEvents[i.message.streamid];if(!a||!a.stream)return;var s=i.message.action;if("ended"===s||"inactive"===s||"stream-removed"===s)return e.peersBackup[a.userid]&&(a.extra=e.peersBackup[a.userid].extra),void e.onstreamended(a);var l="both"!=i.message.type?i.message.type:null;"function"==typeof a.stream[s]&&a.stream[s](l)}else if("dropPeerConnection"!==i.message){if(i.message.allParticipants)return-1===i.message.allParticipants.indexOf(i.sender)&&i.message.allParticipants.push(i.sender),void i.message.allParticipants.forEach(function(t){r[e.peers[t]?"renegotiatePeer":"createNewPeer"](t,{localPeerSdpConstraints:{OfferToReceiveAudio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.sdpConstraints.mandatory.OfferToReceiveVideo},remotePeerSdpConstraints:{OfferToReceiveAudio:e.session.oneway?!!e.session.audio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.session.oneway?!!e.session.video||!!e.session.screen:e.sdpConstraints.mandatory.OfferToReceiveVideo},isOneWay:!!e.session.oneway||"one-way"===e.direction,isDataOnly:n(e.session)})});if(i.message.newParticipant){if(i.message.newParticipant==e.userid)return;if(e.peers[i.message.newParticipant])return;r.createNewPeer(i.message.newParticipant,i.message.userPreferences||{localPeerSdpConstraints:{OfferToReceiveAudio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.sdpConstraints.mandatory.OfferToReceiveVideo},remotePeerSdpConstraints:{OfferToReceiveAudio:e.session.oneway?!!e.session.audio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.session.oneway?!!e.session.video||!!e.session.screen:e.sdpConstraints.mandatory.OfferToReceiveVideo},isOneWay:!!e.session.oneway||"one-way"===e.direction,isDataOnly:n(e.session)})}else if(i.message.readyForOffer&&(e.attachStreams.length&&(e.waitingForLocalMedia=!1),e.waitingForLocalMedia))setTimeout(function(){t(i)},1);else if(i.message.newParticipationRequest&&i.sender!==e.userid){e.peers[i.sender]&&e.deletePeer(i.sender);var c={extra:i.extra||{},localPeerSdpConstraints:i.message.remotePeerSdpConstraints||{OfferToReceiveAudio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.sdpConstraints.mandatory.OfferToReceiveVideo},remotePeerSdpConstraints:i.message.localPeerSdpConstraints||{OfferToReceiveAudio:e.session.oneway?!!e.session.audio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.session.oneway?!!e.session.video||!!e.session.screen:e.sdpConstraints.mandatory.OfferToReceiveVideo},isOneWay:void 0!==i.message.isOneWay?i.message.isOneWay:!!e.session.oneway||"one-way"===e.direction,isDataOnly:void 0!==i.message.isDataOnly?i.message.isDataOnly:n(e.session),dontGetRemoteStream:void 0!==i.message.isOneWay?i.message.isOneWay:!!e.session.oneway||"one-way"===e.direction,dontAttachLocalStream:!!i.message.dontGetRemoteStream,connectionDescription:i,successCallback:function(){}};e.onNewParticipant(i.sender,c)}else{if(i.message.changedUUID&&e.peers[i.message.oldUUID]&&(e.peers[i.message.newUUID]=e.peers[i.message.oldUUID],delete e.peers[i.message.oldUUID]),i.message.userLeft)return r.onUserLeft(i.sender),void(i.message.autoCloseEntireSession&&e.leave());r.addNegotiatedMessage(i.message,i.sender)}}else e.deletePeer(i.sender)});var a=!1;e.socket.resetProps=function(){a=!1},e.socket.on("connect",function(){a||(a=!0,e.enableLogs&&console.info("socket.io connection is opened."),setTimeout(function(){e.socket.emit("extra-data-updated",e.extra)},1e3),t&&t(e.socket))}),e.socket.on("disconnect",function(t){e.onSocketDisconnect(t)}),e.socket.on("error",function(t){e.onSocketError(t)}),e.socket.on("user-disconnected",function(t){t!==e.userid&&(e.onUserStatusChanged({userid:t,status:"offline",extra:e.peers[t]&&e.peers[t].extra||{}}),e.deletePeer(t))}),e.socket.on("user-connected",function(t){t!==e.userid&&e.onUserStatusChanged({userid:t,status:"online",extra:e.peers[t]&&e.peers[t].extra||{}})}),e.socket.on("closed-entire-session",function(t,n){e.leave(),e.onEntireSessionClosed({sessionid:t,userid:t,extra:n})}),e.socket.on("userid-already-taken",function(t,n){e.onUserIdAlreadyTaken(t,n)}),e.socket.on("logs",function(t){e.enableLogs&&console.debug("server-logs",t)}),e.socket.on("number-of-broadcast-viewers-updated",function(t){e.onNumberOfBroadcastViewersUpdated(t)}),e.socket.on("set-isInitiator-true",function(t){t==e.sessionid&&(e.isInitiator=!0)})}function s(e){var t=this,n=["getAllParticipants","getLength","selectFirst","streams","send","forEach"];function i(){e.fbr=new FileBufferReader,e.fbr.onProgress=function(t){e.onFileProgress(t)},e.fbr.onBegin=function(t){e.onFileStart(t)},e.fbr.onEnd=function(t){e.onFileEnd(t)}}e.peers={getLength:function(){var e=0;for(var t in this)-1==n.indexOf(t)&&e++;return e},selectFirst:function(){var e;for(var t in this)-1==n.indexOf(t)&&(e=this[t]);return e},getAllParticipants:function(e){var t=[];for(var i in this)-1==n.indexOf(i)&&i!=e&&t.push(i);return t},forEach:function(t){this.getAllParticipants().forEach(function(n){t(e.peers[n])})},send:function(n,i){var r=this;if(!m(n.size)&&!m(n.type)){if(e.enableFileSharing)return void t.shareFile(n,i);"string"!=typeof n&&(n=JSON.stringify(n))}if("text"===n.type||n instanceof ArrayBuffer||n instanceof DataView){if("text"===n.type&&(n=JSON.stringify(n)),i){var o=e.peers[i];if(o)return o.channels.length?void o.channels.forEach(function(e){e.send(n)}):(e.peers[i].createDataChannel(),e.renegotiate(i),void setTimeout(function(){r.send(n,i)},3e3))}this.getAllParticipants().forEach(function(t){if(!r[t].channels.length)return e.peers[t].createDataChannel(),e.renegotiate(t),void setTimeout(function(){r[t].channels.forEach(function(e){e.send(n)})},3e3);r[t].channels.forEach(function(e){e.send(n)})})}else N.send({text:n,channel:this,connection:e,remoteUserId:i})}},this.uuid=e.userid,this.getLocalConfig=function(n,r,o){return o||(o={}),{streamsToShare:o.streamsToShare||{},rtcMultiConnection:e,connectionDescription:o.connectionDescription,userid:r,localPeerSdpConstraints:o.localPeerSdpConstraints,remotePeerSdpConstraints:o.remotePeerSdpConstraints,dontGetRemoteStream:!!o.dontGetRemoteStream,dontAttachLocalStream:!!o.dontAttachLocalStream,renegotiatingPeer:!!o.renegotiatingPeer,peerRef:o.peerRef,channels:o.channels||[],onLocalSdp:function(e){t.onNegotiationNeeded(e,r)},onLocalCandidate:function(n){(n=T.processCandidates(e,n))&&t.onNegotiationNeeded(n,r)},remoteSdp:n,onDataChannelMessage:function(n){if(!e.fbr&&e.enableFileSharing&&i(),"string"!=typeof n&&e.enableFileSharing){var o=this;n instanceof ArrayBuffer||n instanceof DataView?e.fbr.convertToObject(n,function(e){o.onDataChannelMessage(e)}):n.readyForNextChunk?e.fbr.getNextChunk(n,function(t,n){e.peers[r].channels.forEach(function(e){e.send(t)})},r):n.chunkMissing?e.fbr.chunkMissing(n):e.fbr.addChunk(n,function(t){e.peers[r].peer.channel.send(t)})}else t.onDataChannelMessage(n,r)},onDataChannelError:function(e){t.onDataChannelError(e,r)},onDataChannelOpened:function(e){t.onDataChannelOpened(e,r)},onDataChannelClosed:function(e){t.onDataChannelClosed(e,r)},onRemoteStream:function(n){e.peers[r]&&e.peers[r].streams.push(n),t.onGettingRemoteMedia(n,r)},onRemoteStreamRemoved:function(e){t.onRemovingRemoteMedia(e,r)},onPeerStateChanged:function(e){t.onPeerStateChanged(e),"new"===e.iceConnectionState&&t.onNegotiationStarted(r,e),"connected"===e.iceConnectionState&&t.onNegotiationCompleted(r,e),-1!==e.iceConnectionState.search(/closed|failed/gi)&&(t.onUserLeft(r),t.disconnectWith(r))}}},this.createNewPeer=function(t,n){if(!(e.maxParticipantsAllowed<=e.getAllParticipants().length)){if(n=n||{},e.isInitiator&&e.session.audio&&"two-way"===e.session.audio&&!n.streamsToShare&&(n.isOneWay=!1,n.isDataOnly=!1,n.session=e.session),!n.isOneWay&&!n.isDataOnly)return n.isOneWay=!0,void this.onNegotiationNeeded({enableMedia:!0,userPreferences:n},t);n=e.setUserPreferences(n,t);var i=this.getLocalConfig(null,t,n);e.peers[t]=new M(i)}},this.createAnsweringPeer=function(t,n,i){i=e.setUserPreferences(i||{},n);var r=this.getLocalConfig(t,n,i);e.peers[n]=new M(r)},this.renegotiatePeer=function(t,n,i){if(e.peers[t]){n||(n={}),n.renegotiatingPeer=!0,n.peerRef=e.peers[t].peer,n.channels=e.peers[t].channels;var r=this.getLocalConfig(i,t,n);e.peers[t]=new M(r)}else e.enableLogs&&console.error("Peer ("+t+") does not exist. Renegotiation skipped.")},this.replaceTrack=function(t,n,i){if(!e.peers[n])throw"This peer ("+n+") does not exist.";var r=e.peers[n].peer;r.getSenders&&"function"==typeof r.getSenders&&r.getSenders().length?r.getSenders().forEach(function(r){i&&"video"===r.track.kind&&(e.peers[n].peer.lastVideoTrack=r.track,r.replaceTrack(t)),i||"audio"!==r.track.kind||(e.peers[n].peer.lastAudioTrack=r.track,r.replaceTrack(t))}):(console.warn("RTPSender.replaceTrack is NOT supported."),this.renegotiatePeer(n))},this.onNegotiationNeeded=function(e,t){},this.addNegotiatedMessage=function(n,i){if(n.type&&n.sdp)return"answer"==n.type&&e.peers[i]&&e.peers[i].addRemoteSdp(n),"offer"==n.type&&(n.renegotiatingPeer?this.renegotiatePeer(i,null,n):this.createAnsweringPeer(n,i)),void(e.enableLogs&&console.log("Remote peer's sdp:",n.sdp));if(n.candidate)return e.peers[i]&&e.peers[i].addRemoteCandidate(n),void(e.enableLogs&&console.log("Remote peer's candidate pairs:",n.candidate));if(n.enableMedia){e.session=n.userPreferences.session||e.session,e.session.oneway&&e.attachStreams.length&&(e.attachStreams=[]),n.userPreferences.isDataOnly&&e.attachStreams.length&&(e.attachStreams.length=[]);var r={};e.attachStreams.forEach(function(e){r[e.streamid]={isAudio:!!e.isAudio,isVideo:!!e.isVideo,isScreen:!!e.isScreen}}),n.userPreferences.streamsToShare=r,t.onNegotiationNeeded({readyForOffer:!0,userPreferences:n.userPreferences},i)}n.readyForOffer&&e.onReadyForOffer(i,n.userPreferences)},this.onGettingRemoteMedia=function(e,t){},this.onRemovingRemoteMedia=function(e,t){},this.onGettingLocalMedia=function(e){},this.onLocalMediaError=function(t,n){e.onMediaError(t,n)},this.shareFile=function(t,n){i(),e.fbr.readAsArrayBuffer(t,function(t){var i=e.getAllParticipants();n&&(i=[n]),i.forEach(function(n){e.fbr.getNextChunk(t,function(t){e.peers[n].channels.forEach(function(e){e.send(t)})},n)})},{userid:e.userid,chunkSize:"Firefox"===DetectRTC.browser.name?15e3:e.chunkSize||0})};var r=new function(e){var t={};return{receive:function(n,i,r){var o=n.uuid;t[o]||(t[o]=[]);if(t[o].push(n.message),n.last){var a=t[o].join("");n.isobject&&(a=JSON.parse(a));var s=(new Date).getTime(),l=s-n.sendingTime,c={data:a,userid:i,extra:r,latency:l};e.autoTranslateText?(c.original=c.data,e.Translator.TranslateText(c.data,function(t){c.data=t,e.onmessage(c)})):e.onmessage(c),delete t[o]}}}}(e);this.onDataChannelMessage=function(t,n){r.receive(JSON.parse(t),n,e.peers[n]?e.peers[n].extra:{})},this.onDataChannelClosed=function(t,n){t.userid=n,t.extra=e.peers[n]?e.peers[n].extra:{},e.onclose(t)},this.onDataChannelError=function(t,n){t.userid=n,event.extra=e.peers[n]?e.peers[n].extra:{},e.onerror(t)},this.onDataChannelOpened=function(t,n){e.peers[n].channels.length?e.peers[n].channels=[t]:(e.peers[n].channels.push(t),e.onopen({userid:n,extra:e.peers[n]?e.peers[n].extra:{},channel:t}))},this.onPeerStateChanged=function(t){e.onPeerStateChanged(t)},this.onNegotiationStarted=function(e,t){},this.onNegotiationCompleted=function(e,t){},this.getRemoteStreams=function(t){return t=t||e.peers.getAllParticipants()[0],e.peers[t]?e.peers[t].streams:[]}}function l(e,t,n){if("undefined"!=typeof CustomEvent){var i=new CustomEvent(t,{arguments:n,__exposedProps__:n});e.dispatchEvent(i)}}function c(e,t){t.stream&&t.stream&&t.stream.addEventListener&&(t.stream.addEventListener("mute",function(n){(n=e.streamEvents[t.streamid]).session={audio:"audio"===n.muteType,video:"video"===n.muteType},e.onmute(n)},!1),t.stream.addEventListener("unmute",function(n){(n=e.streamEvents[t.streamid]).session={audio:"audio"===n.unmuteType,video:"video"===n.unmuteType},e.onunmute(n)},!1))}function u(){if(window.crypto&&window.crypto.getRandomValues&&-1===navigator.userAgent.indexOf("Safari")){for(var e=window.crypto.getRandomValues(new Uint32Array(3)),t="",n=0,i=e.length;n<i;n++)t+=e[n].toString(36);return t}return(Math.random()*(new Date).getTime()).toString(36).replace(/\./g,"")}function d(e,t,n){if(n.autoCreateMediaElement){var i=!1;b(e,"video").length||e.isVideo||e.isScreen||(i=!0),"Firefox"===DetectRTC.browser.name&&(n.session.video||n.session.screen)&&(i=!1);var r=document.createElement(i?"audio":"video");if(r.srcObject=e,r.setAttribute("autoplay",!0),r.setAttribute("playsinline",!0),r.setAttribute("controls",!0),r.setAttribute("muted",!1),r.setAttribute("volume",1),"Firefox"===DetectRTC.browser.name){var o="ended";"oninactive"in r&&(o="inactive"),r.addEventListener(o,function(){if(currentUserMediaRequest.remove(e.idInstance),"local"===e.type){o="ended","oninactive"in e&&(o="inactive"),j.onSyncNeeded(e.streamid,o),n.attachStreams.forEach(function(t,i){e.streamid===t.streamid&&delete n.attachStreams[i]});var t=[];n.attachStreams.forEach(function(e){e&&t.push(e)}),n.attachStreams=t;var i=n.streamEvents[e.streamid];if(i)return void n.onstreamended(i);this.parentNode&&this.parentNode.removeChild(this)}},!1)}var a=r.play();if(void 0!==a){var s=!1;setTimeout(function(){s||(s=!0,t(r))},1e3),a.then(function(){s||(s=!0,t(r))}).catch(function(e){s||(s=!0,t(r))})}else t(r)}else t({})}function p(e,t){window.removeEventListener(e,t),window.addEventListener(e,t,!1)}function f(e){var t=[];return e.forEach(function(e){e&&t.push(e)}),t}function h(e){return!e.audio&&!e.video&&!e.screen&&e.data}function m(e){return void 0===e}(o=void 0!==n?n:null)&&"undefined"==typeof window&&void 0!==n&&(n.navigator={userAgent:"Fake/5.0 (FakeOS) AppleWebKit/123 (KHTML, like Gecko) Fake/12.3.4567.89 Fake/123.45",getUserMedia:function(){}},n.console||(n.console={}),void 0===n.console.debug&&(n.console.debug=n.console.info=n.console.error=n.console.log=n.console.log||function(){console.log(arguments)}),"undefined"==typeof document&&(o.document={},document.createElement=document.captureStream=document.mozCaptureStream=function(){var e={getContext:function(){return e},play:function(){},pause:function(){},drawImage:function(){},toDataURL:function(){return""}};return e},document.addEventListener=document.removeEventListener=o.addEventListener=o.removeEventListener=function(){},o.HTMLVideoElement=o.HTMLMediaElement=function(){}),"undefined"==typeof io&&(o.io=function(){return{on:function(e,t){t=t||function(){},"connect"===e&&t()},emit:function(e,t,n){n=n||function(){},"open-room"!==e&&"join-room"!==e||n(!0,t.sessionid,null)}}}),"undefined"==typeof location&&(o.location={protocol:"file:",href:"",hash:"",origin:"self"}),"undefined"==typeof screen&&(o.screen={width:0,height:0}),"undefined"==typeof URL&&(o.URL={createObjectURL:function(){return""},revokeObjectURL:function(){return""}}),o.window=n),function(){var i,r="Fake/5.0 (FakeOS) AppleWebKit/123 (KHTML, like Gecko) Fake/12.3.4567.89 Fake/123.45";if(w="object"==typeof e&&"object"==typeof e.versions&&e.versions.node&&!e.browser){var o=e.versions.node.toString().replace("v","");r="Nodejs/"+o+" (NodeOS) AppleWebKit/"+o+" (KHTML, like Gecko) Nodejs/"+o+" Nodejs/"+o}i=void 0!==n?n:window,"undefined"==typeof window&&("undefined"==typeof window&&void 0!==n&&(n.navigator={userAgent:r,getUserMedia:function(){}},i.window=n),"undefined"==typeof location&&(i.location={protocol:"file:",href:"",hash:""}),"undefined"==typeof screen&&(i.screen={width:0,height:0}));var a=window.navigator;void 0!==a?(void 0!==a.webkitGetUserMedia&&(a.getUserMedia=a.webkitGetUserMedia),void 0!==a.mozGetUserMedia&&(a.getUserMedia=a.mozGetUserMedia)):a={getUserMedia:function(){},userAgent:r};var s=!!/Android|webOS|iPhone|iPad|iPod|BB10|BlackBerry|IEMobile|Opera Mini|Mobile|mobile/i.test(a.userAgent||""),l=!(-1===a.userAgent.indexOf("Edge")||!a.msSaveOrOpenBlob&&!a.msSaveBlob),c=!!window.opera||a.userAgent.indexOf(" OPR/")>=0,u=void 0!==window.InstallTrigger,d=/^((?!chrome|android).)*safari/i.test(a.userAgent),p=!!window.chrome&&!c,f="undefined"!=typeof document&&!!document.documentMode&&!l;function h(e,t){var n=0,i=!1,r=window.setInterval(function(){e()&&(window.clearInterval(r),t(i)),n++>50&&(window.clearInterval(r),t(i=!0))},10)}var m={Android:function(){return a.userAgent.match(/Android/i)},BlackBerry:function(){return a.userAgent.match(/BlackBerry|BB10/i)},iOS:function(){return a.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return a.userAgent.match(/Opera Mini/i)},Windows:function(){return a.userAgent.match(/IEMobile/i)},any:function(){return m.Android()||m.BlackBerry()||m.iOS()||m.Opera()||m.Windows()},getOsName:function(){var e="Unknown OS";return m.Android()&&(e="Android"),m.BlackBerry()&&(e="BlackBerry"),m.iOS()&&(e="iOS"),m.Opera()&&(e="Opera Mini"),m.Windows()&&(e="Windows"),e}};var g="Unknown OS",v="Unknown OS Version";var b,y,_=function(){for(var e,t=a.appVersion,n=a.userAgent,i="-",r=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Linux",r:/(Linux|X11)/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}],o=0;e=r[o];o++)if(e.r.test(n)){i=e.s;break}var s="-";switch(/Windows/.test(i)&&(/Windows (.*)/.test(i)&&(s=/Windows (.*)/.exec(i)[1]),i="Windows"),i){case"Mac OS X":/Mac OS X (10[\.\_\d]+)/.test(n)&&(s=/Mac OS X (10[\.\_\d]+)/.exec(n)[1]);break;case"Android":/Android ([\.\_\d]+)/.test(n)&&(s=/Android ([\.\_\d]+)/.exec(n)[1]);break;case"iOS":/OS (\d+)_(\d+)_?(\d+)?/.test(n)&&(s=(s=/OS (\d+)_(\d+)_?(\d+)?/.exec(t))[1]+"."+s[2]+"."+(0|s[3]))}return{osName:i,osVersion:s}}();_&&_.osName&&"-"!=_.osName?(g=_.osName,v=_.osVersion):m.any()&&"Android"==(g=m.getOsName())&&(v=!!(y=(b=(b||a.userAgent).toLowerCase()).match(/android\s([0-9\.]*)/))&&y[1]);var w="object"==typeof e&&"object"==typeof e.versions&&e.versions.node;"Unknown OS"===g&&w&&(g="Nodejs",v=e.versions.node.toString().replace("v",""));var x=!1,k=!1;["captureStream","mozCaptureStream","webkitCaptureStream"].forEach(function(e){"undefined"!=typeof document&&"function"==typeof document.createElement&&(!x&&e in document.createElement("canvas")&&(x=!0),!k&&e in document.createElement("video")&&(k=!0))});var A=/^(192\.168\.|169\.254\.|10\.|172\.(1[6-9]|2\d|3[01]))/,C=/([0-9]{1,3}(\.[0-9]{1,3}){3})/,M=/[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7}/;var O=[],T=[],E=[],P=[];a.mediaDevices&&a.mediaDevices.enumerateDevices&&(a.enumerateDevices=function(e){var t=a.mediaDevices.enumerateDevices();t&&t.then?a.mediaDevices.enumerateDevices().then(e).catch(function(){e([])}):e([])});var j=!1;void 0!==S&&"getSources"in S?j=!0:a.mediaDevices&&a.mediaDevices.enumerateDevices&&(j=!0);var N=!1,$=!1,L=!1,D=!1,q=!1;function R(e){if(j)if(!a.enumerateDevices&&window.MediaStreamTrack&&window.MediaStreamTrack.getSources&&(a.enumerateDevices=window.MediaStreamTrack.getSources.bind(window.MediaStreamTrack)),!a.enumerateDevices&&a.enumerateDevices&&(a.enumerateDevices=a.enumerateDevices.bind(a)),a.enumerateDevices){O=[],T=[],E=[],P=[],N=!1,$=!1,L=!1,D=!1,q=!1;var t={};a.enumerateDevices(function(n){n.forEach(function(e){var n={};for(var i in e)try{"function"!=typeof e[i]&&(n[i]=e[i])}catch(e){}t[n.deviceId+n.label+n.kind]||("audio"===n.kind&&(n.kind="audioinput"),"video"===n.kind&&(n.kind="videoinput"),n.deviceId||(n.deviceId=n.id),n.id||(n.id=n.deviceId),n.label?("videoinput"!==n.kind||q||(q=!0),"audioinput"!==n.kind||D||(D=!0)):(n.isCustomLabel=!0,"videoinput"===n.kind?n.label="Camera "+(P.length+1):"audioinput"===n.kind?n.label="Microphone "+(T.length+1):"audiooutput"===n.kind?n.label="Speaker "+(E.length+1):n.label="Please invoke getUserMedia once.",void 0!==F&&F.browser.isChrome&&F.browser.version>=46&&!/^(https:|chrome-extension:)$/g.test(location.protocol||"")&&"undefined"!=typeof document&&"string"==typeof document.domain&&document.domain.search&&-1===document.domain.search(/localhost|127.0./g)&&(n.label="HTTPs is required to get label of this "+n.kind+" device.")),"audioinput"===n.kind&&(N=!0,-1===T.indexOf(n)&&T.push(n)),"audiooutput"===n.kind&&($=!0,-1===E.indexOf(n)&&E.push(n)),"videoinput"===n.kind&&(L=!0,-1===P.indexOf(n)&&P.push(n)),O.push(n),t[n.deviceId+n.label+n.kind]=n)}),void 0!==F&&(F.MediaDevices=O,F.hasMicrophone=N,F.hasSpeakers=$,F.hasWebcam=L,F.isWebsiteHasWebcamPermissions=q,F.isWebsiteHasMicrophonePermissions=D,F.audioInputDevices=T,F.audioOutputDevices=E,F.videoInputDevices=P),e&&e()})}else e&&e();else e&&e()}var F=window.DetectRTC||{};F.browser=function(){a.appVersion;var e,t,n,i=a.userAgent,r=a.appName,o=""+parseFloat(a.appVersion),s=parseInt(a.appVersion,10);if(d&&!p&&-1!==i.indexOf("CriOS")&&(d=!1,p=!0),c){r="Opera";try{s=(o=a.userAgent.split("OPR/")[1].split(" ")[0]).split(".")[0]}catch(e){o="0.0.0.0",s=0}}else f?((t=i.indexOf("rv:"))>0?o=i.substring(t+3):(t=i.indexOf("MSIE"),o=i.substring(t+5)),r="IE"):p?(t=i.indexOf("Chrome"),r="Chrome",o=i.substring(t+7)):d?(t=i.indexOf("Safari"),r="Safari",o=i.substring(t+7),-1!==(t=i.indexOf("Version"))&&(o=i.substring(t+8)),-1!==a.userAgent.indexOf("Version/")&&(o=a.userAgent.split("Version/")[1].split(" ")[0])):u?(t=i.indexOf("Firefox"),r="Firefox",o=i.substring(t+8)):(e=i.lastIndexOf(" ")+1)<(t=i.lastIndexOf("/"))&&(r=i.substring(e,t),o=i.substring(t+1),r.toLowerCase()===r.toUpperCase()&&(r=a.appName));return l&&(r="Edge",o=a.userAgent.split("Edge/")[1]),-1!==(n=o.search(/[; \)]/))&&(o=o.substring(0,n)),s=parseInt(""+o,10),isNaN(s)&&(o=""+parseFloat(a.appVersion),s=parseInt(a.appVersion,10)),{fullVersion:o,version:s,name:r,isPrivateBrowsing:!1}}(),function(e){var t;try{if(window.webkitRequestFileSystem)window.webkitRequestFileSystem(window.TEMPORARY,1,function(){t=!1},function(e){t=!0});else if(window.indexedDB&&/Firefox/.test(window.navigator.userAgent)){var n;try{(n=window.indexedDB.open("test")).onerror=function(){return!0}}catch(e){t=!0}void 0===t&&h(function(){return"done"===n.readyState},function(e){e||(t=!n.result)})}else if(function(e){var t=e.toLowerCase();if(0===t.indexOf("msie")&&0===t.indexOf("trident"))return!1;var n=/(?:msie|rv:)\s?([\d\.]+)/.exec(t);return!!(n&&parseInt(n[1],10)>=10)}(window.navigator.userAgent)){t=!1;try{window.indexedDB||(t=!0)}catch(e){t=!0}}else if(window.localStorage&&/Safari/.test(window.navigator.userAgent)){try{window.localStorage.setItem("test",1)}catch(e){t=!0}void 0===t&&(t=!1,window.localStorage.removeItem("test"))}}catch(e){t=!1}h(function(){return void 0!==t},function(n){e(t)})}(function(e){F.browser.isPrivateBrowsing=!!e}),F.browser["is"+F.browser.name]=!0,F.osName=g,F.osVersion=v;"object"==typeof e&&"object"==typeof e.versions&&e.versions["node-webkit"];var I=!1;["RTCPeerConnection","webkitRTCPeerConnection","mozRTCPeerConnection","RTCIceGatherer"].forEach(function(e){I||e in window&&(I=!0)}),F.isWebRTCSupported=I,F.isORTCSupported="undefined"!=typeof RTCIceGatherer;var B=!1;(F.browser.isChrome&&F.browser.version>=35?B=!0:F.browser.isFirefox&&F.browser.version>=34?B=!0:F.browser.isEdge&&F.browser.version>=17?B=!0:"Android"===F.osName&&F.browser.isChrome&&(B=!0),/^(https:|chrome-extension:)$/g.test(location.protocol||""))||("undefined"!=typeof document&&"string"==typeof document.domain&&document.domain.search&&-1===document.domain.search(/localhost|127.0./g)&&(F.browser.isChrome||F.browser.isEdge||F.browser.isOpera)?B=!1:F.browser.isFirefox&&(B=!1));F.isScreenCapturingSupported=B;var z={isSupported:!1,isCreateMediaStreamSourceSupported:!1};["AudioContext","webkitAudioContext","mozAudioContext","msAudioContext"].forEach(function(e){z.isSupported||e in window&&(z.isSupported=!0,window[e]&&"createMediaStreamSource"in window[e].prototype&&(z.isCreateMediaStreamSourceSupported=!0))}),F.isAudioContextSupported=z.isSupported,F.isCreateMediaStreamSourceSupported=z.isCreateMediaStreamSourceSupported;var H=!1;F.browser.isChrome&&F.browser.version>31&&(H=!0),F.isRtpDataChannelsSupported=H;var U=!1;F.browser.isFirefox&&F.browser.version>28?U=!0:F.browser.isChrome&&F.browser.version>25?U=!0:F.browser.isOpera&&F.browser.version>=11&&(U=!0),F.isSctpDataChannelsSupported=U,F.isMobileDevice=s;var V=!1;a.getUserMedia?V=!0:a.mediaDevices&&a.mediaDevices.getUserMedia&&(V=!0),F.browser.isChrome&&F.browser.version>=46&&!/^(https:|chrome-extension:)$/g.test(location.protocol||"")&&"undefined"!=typeof document&&"string"==typeof document.domain&&document.domain.search&&-1===document.domain.search(/localhost|127.0./g)&&(V="Requires HTTPs"),"Nodejs"===F.osName&&(V=!1),F.isGetUserMediaSupported=V;var W,Y,G,K="";screen.width&&(K+=(screen.width?screen.width:"")+" x "+(screen.height?screen.height:""));F.displayResolution=K,F.displayAspectRatio=(W=screen.width,Y=screen.height,G=function e(t,n){return 0==n?t:e(n,t%n)}(W,Y),W/G/(Y/G)).toFixed(2),F.isCanvasSupportsStreamCapturing=x,F.isVideoSupportsStreamCapturing=k,"Chrome"==F.browser.name&&F.browser.version>=53&&(F.isCanvasSupportsStreamCapturing||(F.isCanvasSupportsStreamCapturing="Requires chrome flag: enable-experimental-web-platform-features"),F.isVideoSupportsStreamCapturing||(F.isVideoSupportsStreamCapturing="Requires chrome flag: enable-experimental-web-platform-features")),F.DetectLocalIPAddress=function(e,t){if(F.isWebRTCSupported){var n=!0,i=!0;!function(e,t){if("undefined"!=typeof document&&"function"==typeof document.getElementById){var n={},i=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;if(!i){var r=document.getElementById("iframe");if(!r)return;var o=r.contentWindow;i=o.RTCPeerConnection||o.mozRTCPeerConnection||o.webkitRTCPeerConnection}if(i){var a=null;"Chrome"===F.browser&&F.browser.version<58&&(a={optional:[{RtpDataChannels:!0}]});var s=new i({iceServers:[{urls:"stun:stun.l.google.com:19302"}]},a);if(t&&(s.addStream?s.addStream(t):s.addTrack&&t.getTracks()[0]&&s.addTrack(t.getTracks()[0],t)),s.onicecandidate=function(e){e.candidate&&e.candidate.candidate?l(e.candidate.candidate):l()},!t)try{s.createDataChannel("sctp",{})}catch(e){}F.isPromisesSupported?s.createOffer().then(function(e){s.setLocalDescription(e).then(c)}):s.createOffer(function(e){s.setLocalDescription(e,c,function(){})},function(){})}}function l(t){if(t){var i=C.exec(t);if(i){var r=i[1],o=t.match(A);void 0===n[r]&&e(r,o,!0),n[r]=!0}}else e()}function c(){var e=s.localDescription.sdp.split("\n");e.forEach(function(e){e&&0===e.indexOf("a=candidate:")&&l(e)})}}(function(t){t?t.match(A)?e("Local: "+t,n=!1,i):t.match(M)?e("Public: "+t,n,i=!1):e("Public: "+t,n,i):e()},t)}},F.isWebSocketsSupported="WebSocket"in window&&2===window.WebSocket.CLOSING,F.isWebSocketsBlocked=!F.isWebSocketsSupported,"Nodejs"===F.osName&&(F.isWebSocketsSupported=!0,F.isWebSocketsBlocked=!1),F.checkWebSocketsSupport=function(e){e=e||function(){};try{var t,n=new WebSocket("wss://echo.websocket.org:443/");n.onopen=function(){F.isWebSocketsBlocked=!1,t=(new Date).getTime(),n.send("ping")},n.onmessage=function(){F.WebsocketLatency=(new Date).getTime()-t+"ms",e(),n.close(),n=null},n.onerror=function(){F.isWebSocketsBlocked=!0,e()}}catch(t){F.isWebSocketsBlocked=!0,e()}},F.load=function(e){R(e=e||function(){})},F.MediaDevices=void 0!==O?O:[],F.hasMicrophone=N,F.hasSpeakers=$,F.hasWebcam=L,F.isWebsiteHasWebcamPermissions=q,F.isWebsiteHasMicrophonePermissions=D,F.audioInputDevices=T,F.audioOutputDevices=E,F.videoInputDevices=P;var Q=!1;"undefined"!=typeof document&&"function"==typeof document.createElement&&"setSinkId"in document.createElement("video")&&(Q=!0),F.isSetSinkIdSupported=Q;var J=!1;F.browser.isFirefox&&"undefined"!=typeof mozRTCPeerConnection?"getSenders"in mozRTCPeerConnection.prototype&&(J=!0):F.browser.isChrome&&"undefined"!=typeof webkitRTCPeerConnection&&"getSenders"in webkitRTCPeerConnection.prototype&&(J=!0),F.isRTPSenderReplaceTracksSupported=J;var X=!1;F.browser.isFirefox&&F.browser.version>38&&(X=!0),F.isRemoteStreamProcessingSupported=X;var Z=!1;void 0!==S&&"applyConstraints"in S.prototype&&(Z=!0),F.isApplyConstraintsSupported=Z;var ee=!1;F.browser.isFirefox&&F.browser.version>=43&&(ee=!0),F.isMultiMonitorScreenCapturingSupported=ee,F.isPromisesSupported=!!("Promise"in window),F.version="1.3.9",void 0===F&&(window.DetectRTC={});var te=window.MediaStream;void 0===te&&"undefined"!=typeof webkitMediaStream&&(te=webkitMediaStream),F.MediaStream=void 0!==te&&"function"==typeof te&&Object.keys(te.prototype),F.MediaStreamTrack=void 0!==S&&Object.keys(S.prototype);var ne=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;F.RTCPeerConnection=void 0!==ne&&Object.keys(ne.prototype),window.DetectRTC=F,void 0!==t&&(t.exports=F),"function"==typeof define&&define.amd&&define("DetectRTC",[],function(){return F})}(),"undefined"!=typeof cordova&&(DetectRTC.isMobileDevice=!0,DetectRTC.browser.name="Chrome"),navigator&&navigator.userAgent&&-1!==navigator.userAgent.indexOf("Crosswalk")&&(DetectRTC.isMobileDevice=!0,DetectRTC.browser.name="Chrome"),window.addEventListener||(window.addEventListener=function(e,t,n){e.attachEvent&&e.attachEvent("on"+t,n)}),window.attachEventListener=function(e,t,n,i){e.addEventListener(t,n,i)};var g=window.MediaStream;function v(e,t){return(!e.session.audio||"two-way"!==e.session.audio)&&("Firefox"===DetectRTC.browser.name&&!1!==t||!("Chrome"!==DetectRTC.browser.name||DetectRTC.browser.version<50)&&(!0===typeof t||!(void 0!==t||!e.session.audio||!e.session.screen||e.session.video)&&(t=!0,!0)))}function b(e,t){return e&&e.getTracks?e.getTracks().filter(function(e){return e.kind===(t||"audio")}):[]}function y(){var e=!1;try{if("undefined"==typeof RTCRtpTransceiver)return!1;if(!("currentDirection"in RTCRtpTransceiver.prototype))return!1;var t=new w;try{t.addTransceiver("audio"),e=!0}catch(e){}t.close()}catch(t){e=!1}return e&&function(){var e=!1;try{var t=new w({sdpSemantics:"unified-plan"});try{var n=t.getConfiguration();e="unified-plan"==n.sdpSemantics||(n.sdpSemantics,!1)}catch(t){e=!1}}catch(t){e=!1}return e}()}function _(){if("undefined"!=typeof cordova&&void 0!==cordova.plugins&&void 0!==cordova.plugins.iosrtc){var e=cordova.plugins.iosrtc;window.webkitRTCPeerConnection=e.RTCPeerConnection,window.RTCSessionDescription=e.RTCSessionDescription,window.RTCIceCandidate=e.RTCIceCandidate,window.MediaStream=e.MediaStream,window.MediaStreamTrack=e.MediaStreamTrack,navigator.getUserMedia=navigator.webkitGetUserMedia=e.getUserMedia,e.debug.enable("iosrtc*"),"function"==typeof e.selectAudioOutput&&e.selectAudioOutput(window.iOSDefaultAudioOutputDevice||"speaker"),e.registerGlobals()}}void 0===g&&"undefined"!=typeof webkitMediaStream&&(g=webkitMediaStream),void 0!==g&&("stop"in g.prototype||(g.prototype.stop=function(){this.getTracks().forEach(function(e){e.stop()})})),window.iOSDefaultAudioOutputDevice=window.iOSDefaultAudioOutputDevice||"speaker",document.addEventListener("deviceready",_,!1),_();var w,x={};function k(e){return{OfferToReceiveAudio:!!e.OfferToReceiveAudio,OfferToReceiveVideo:!!e.OfferToReceiveVideo}}void 0!==window.RTCPeerConnection?w=window.RTCPeerConnection:"undefined"!=typeof mozRTCPeerConnection?w=mozRTCPeerConnection:"undefined"!=typeof webkitRTCPeerConnection&&(w=webkitRTCPeerConnection);var A=window.RTCSessionDescription||window.mozRTCSessionDescription,C=window.RTCIceCandidate||window.mozRTCIceCandidate,S=window.MediaStreamTrack;function M(e){if(void 0!==window.RTCPeerConnection?w=window.RTCPeerConnection:"undefined"!=typeof mozRTCPeerConnection?w=mozRTCPeerConnection:"undefined"!=typeof webkitRTCPeerConnection&&(w=webkitRTCPeerConnection),A=window.RTCSessionDescription||window.mozRTCSessionDescription,C=window.RTCIceCandidate||window.mozRTCIceCandidate,S=window.MediaStreamTrack,!w)throw"WebRTC 1.0 (RTCPeerConnection) API are NOT available in this browser.";var t=e.rtcMultiConnection;this.extra=e.remoteSdp?e.remoteSdp.extra:t.extra,this.userid=e.userid,this.streams=[],this.channels=e.channels||[],this.connectionDescription=e.connectionDescription,this.addStream=function(e){t.addStream(e,n.userid)},this.removeStream=function(e){t.removeStream(e,n.userid)};var n=this;e.remoteSdp&&(this.connectionDescription=e.remoteSdp.connectionDescription);var i,r={};x.sdpConstraints=k({OfferToReceiveAudio:!0,OfferToReceiveVideo:!0});var o=!!e.renegotiatingPeer;e.remoteSdp&&(o=!!e.remoteSdp.renegotiatingPeer);var a=[];if(t.attachStreams.forEach(function(e){e&&a.push(e)}),o)i=e.peerRef;else{var s="all";(t.candidates.turn||t.candidates.relay)&&(t.candidates.stun||t.candidates.reflexive||t.candidates.host||(s="relay"));try{var l={iceServers:t.iceServers,iceTransportPolicy:t.iceTransportPolicy||s};void 0!==t.iceCandidatePoolSize&&(l.iceCandidatePoolSize=t.iceCandidatePoolSize),void 0!==t.bundlePolicy&&(l.bundlePolicy=t.bundlePolicy),void 0!==t.rtcpMuxPolicy&&(l.rtcpMuxPolicy=t.rtcpMuxPolicy),t.sdpSemantics&&(l.sdpSemantics=t.sdpSemantics||"unified-plan"),t.iceServers&&t.iceServers.length||(l=null,t.optionalArgument=null),i=new w(l,t.optionalArgument)}catch(e){try{l={iceServers:t.iceServers};i=new w(l)}catch(e){i=new w}}}!i.getRemoteStreams&&i.getReceivers&&(i.getRemoteStreams=function(){var e=new g;return i.getReceivers().forEach(function(t){e.addTrack(t.track)}),[e]}),!i.getLocalStreams&&i.getSenders&&(i.getLocalStreams=function(){var e=new g;return i.getSenders().forEach(function(t){e.addTrack(t.track)}),[e]}),i.onicecandidate=function(r){if(r.candidate)t.trickleIce&&e.onLocalCandidate({candidate:r.candidate.candidate,sdpMid:r.candidate.sdpMid,sdpMLineIndex:r.candidate.sdpMLineIndex});else if(!t.trickleIce){var o=i.localDescription;e.onLocalSdp({type:o.type,sdp:o.sdp,remotePeerSdpConstraints:e.remotePeerSdpConstraints||!1,renegotiatingPeer:!!e.renegotiatingPeer||!1,connectionDescription:n.connectionDescription,dontGetRemoteStream:!!e.dontGetRemoteStream,extra:t?t.extra:{},streamsToShare:f})}},a.forEach(function(r){e.remoteSdp&&e.remoteSdp.remotePeerSdpConstraints&&e.remoteSdp.remotePeerSdpConstraints.dontGetRemoteStream||e.dontAttachLocalStream||(r=t.beforeAddingStream(r,n))&&(i.getLocalStreams().forEach(function(e){r&&e.id==r.id&&(r=null)}),r&&r.getTracks&&r.getTracks().forEach(function(e){try{i.addTrack(e,r)}catch(e){}}))}),i.oniceconnectionstatechange=i.onsignalingstatechange=function(){var r=n.extra;t.peers[n.userid]&&(r=t.peers[n.userid].extra||r),i&&(e.onPeerStateChanged({iceConnectionState:i.iceConnectionState,iceGatheringState:i.iceGatheringState,signalingState:i.signalingState,extra:r,userid:n.userid}),i&&i.iceConnectionState&&-1!==i.iceConnectionState.search(/closed|failed/gi)&&n.streams instanceof Array&&n.streams.forEach(function(e){var n=t.streamEvents[e.id]||{streamid:e.id,stream:e,type:"remote"};t.onstreamended(n)}))};var c={OfferToReceiveAudio:!!a.length,OfferToReceiveVideo:!!a.length};e.localPeerSdpConstraints&&(c=e.localPeerSdpConstraints),x.sdpConstraints=k(c);var u={};i.ontrack=function(t){if(t&&"track"===t.type)if(t.stream=t.streams[t.streams.length-1],t.stream.id||(t.stream.id=t.track.id),u[t.stream.id]&&"Safari"!==DetectRTC.browser.name)t.track&&(t.track.onended=function(){i&&i.onremovestream(t)});else{u[t.stream.id]=t.stream.id;var n={};e.remoteSdp&&e.remoteSdp.streamsToShare?n=e.remoteSdp.streamsToShare:e.streamsToShare&&(n=e.streamsToShare);var o=n[t.stream.id];o?(t.stream.isAudio=o.isAudio,t.stream.isVideo=o.isVideo,t.stream.isScreen=o.isScreen):(t.stream.isVideo=!!b(t.stream,"video").length,t.stream.isAudio=!t.stream.isVideo,t.stream.isScreen=!1),t.stream.streamid=t.stream.id,r[t.stream.id]=t.stream,e.onRemoteStream(t.stream),t.stream.getTracks().forEach(function(e){e.onended=function(){i&&i.onremovestream(t)}}),t.stream.onremovetrack=function(){i&&i.onremovestream(t)}}},i.onremovestream=function(t){t.stream.streamid=t.stream.id,r[t.stream.id]&&delete r[t.stream.id],e.onRemoteStreamRemoved(t.stream)},"function"!=typeof i.removeStream&&(i.removeStream=function(e){e.getTracks().forEach(function(t){i.removeTrack(t,e)})}),this.addRemoteCandidate=function(e){i.addIceCandidate(new C(e))},this.addRemoteSdp=function(e,n){n=n||function(){},"Safari"!==DetectRTC.browser.name&&(e.sdp=t.processSdp(e.sdp)),i.setRemoteDescription(new A(e)).then(n,function(i){t.enableLogs&&console.error("setRemoteDescription failed","\n",i,"\n",e.sdp),n()}).catch(function(i){t.enableLogs&&console.error("setRemoteDescription failed","\n",i,"\n",e.sdp),n()})};var d=!0;function p(t){t.binaryType="arraybuffer",t.onmessage=function(t){e.onDataChannelMessage(t.data)},t.onopen=function(){e.onDataChannelOpened(t)},t.onerror=function(t){e.onDataChannelError(t)},t.onclose=function(t){e.onDataChannelClosed(t)},t.internalSend=t.send,t.send=function(e){"open"===t.readyState&&t.internalSend(e)},i.channel=t}e.remoteSdp&&(d=!1),this.createDataChannel=function(){p(i.createDataChannel("sctp",{}))},!0!==t.session.data||o||(d?this.createDataChannel():i.ondatachannel=function(e){p(e.channel)}),this.enableDisableVideoEncoding=function(e){var t;if(i.getSenders().forEach(function(e){t||"video"!==e.track.kind||(t=e)}),t&&t.getParameters){var n=t.getParameters();n.encodings[1]&&(n.encodings[1].active=!!e),n.encodings[2]&&(n.encodings[2].active=!!e),t.setParameters(n)}},e.remoteSdp&&(e.remoteSdp.remotePeerSdpConstraints&&(c=e.remoteSdp.remotePeerSdpConstraints),x.sdpConstraints=k(c),this.addRemoteSdp(e.remoteSdp,function(){h("createAnswer")})),"two-way"!=t.session.audio&&"two-way"!=t.session.video&&"two-way"!=t.session.screen||(x.sdpConstraints=k({OfferToReceiveAudio:"two-way"==t.session.audio||e.remoteSdp&&e.remoteSdp.remotePeerSdpConstraints&&e.remoteSdp.remotePeerSdpConstraints.OfferToReceiveAudio,OfferToReceiveVideo:"two-way"==t.session.video||"two-way"==t.session.screen||e.remoteSdp&&e.remoteSdp.remotePeerSdpConstraints&&e.remoteSdp.remotePeerSdpConstraints.OfferToReceiveAudio}));var f={};function h(r){i[r](x.sdpConstraints).then(function(r){"Safari"!==DetectRTC.browser.name&&(r.sdp=t.processSdp(r.sdp)),i.setLocalDescription(r).then(function(){t.trickleIce&&(e.onLocalSdp({type:r.type,sdp:r.sdp,remotePeerSdpConstraints:e.remotePeerSdpConstraints||!1,renegotiatingPeer:!!e.renegotiatingPeer||!1,connectionDescription:n.connectionDescription,dontGetRemoteStream:!!e.dontGetRemoteStream,extra:t?t.extra:{},streamsToShare:f}),t.onSettingLocalDescription(n))},function(e){t.enableLogs&&console.error("setLocalDescription error",e)})},function(e){t.enableLogs&&console.error("sdp-error",e)})}i.getLocalStreams().forEach(function(e){f[e.streamid]={isAudio:!!e.isAudio,isVideo:!!e.isVideo,isScreen:!!e.isScreen}}),d&&h("createOffer"),i.nativeClose=i.close,i.close=function(){if(i){try{i.nativeClose!==i.close&&i.nativeClose()}catch(e){}i=null,n.peer=null}},this.peer=i}var O=function(){function e(e,i){var r=n(e);return r.videoCodecNumbers?"vp8"===i&&r.vp8LineNumber===r.videoCodecNumbers[0]?e:"vp9"===i&&r.vp9LineNumber===r.videoCodecNumbers[0]?e:"h264"===i&&r.h264LineNumber===r.videoCodecNumbers[0]?e:e=t(e,i,r):e}function t(e,t,n,i){var r="";if("vp8"===t){if(!n.vp8LineNumber)return e;r=n.vp8LineNumber}if("vp9"===t){if(!n.vp9LineNumber)return e;r=n.vp9LineNumber}if("h264"===t){if(!n.h264LineNumber)return e;r=n.h264LineNumber}var o=n.videoCodecNumbersOriginal.split("SAVPF")[0]+"SAVPF ",a=[r];return i&&(a=[]),n.videoCodecNumbers.forEach(function(e){e!==r&&a.push(e)}),o+=a.join(" "),e=e.replace(n.videoCodecNumbersOriginal,o)}function n(e){var t={};return e.split("\n").forEach(function(e){0===e.indexOf("m=video")&&(t.videoCodecNumbers=[],e.split("SAVPF")[1].split(" ").forEach(function(n){(n=n.trim())&&n.length&&(t.videoCodecNumbers.push(n),t.videoCodecNumbersOriginal=e)})),-1===e.indexOf("VP8/90000")||t.vp8LineNumber||(t.vp8LineNumber=e.replace("a=rtpmap:","").split(" ")[0]),-1===e.indexOf("VP9/90000")||t.vp9LineNumber||(t.vp9LineNumber=e.replace("a=rtpmap:","").split(" ")[0]),-1===e.indexOf("H264/90000")||t.h264LineNumber||(t.h264LineNumber=e.replace("a=rtpmap:","").split(" ")[0])}),t}function i(e,t,n){return function(e,t,n,i,r){for(var o=-1!==n?n:e.length,a=t;a<o;++a)if(0===e[a].indexOf(i)&&(!r||-1!==e[a].toLowerCase().indexOf(r.toLowerCase())))return a;return null}(e,0,-1,t,n)}function r(e){var t=new RegExp("a=rtpmap:(\\d+) \\w+\\/\\d+"),n=e.match(t);return n&&2===n.length?n[1]:null}return{removeVPX:function(e){var i=n(e);return e=t(e=t(e,"vp9",i,!0),"vp8",i,!0)},disableNACK:function(e){if(!e||"string"!=typeof e)throw"Invalid arguments.";return e=(e=(e=(e=e.replace("a=rtcp-fb:126 nack\r\n","")).replace("a=rtcp-fb:126 nack pli\r\n","a=rtcp-fb:126 pli\r\n")).replace("a=rtcp-fb:97 nack\r\n","")).replace("a=rtcp-fb:97 nack pli\r\n","a=rtcp-fb:97 pli\r\n")},prioritize:function(e,t){if(t&&t.getSenders&&t.getSenders().length){if(!e||"string"!=typeof e)throw"Invalid arguments.";t.getSenders().forEach(function(t){for(var n=t.getParameters(),i=0;i<n.codecs.length;i++)if(n.codecs[i].mimeType==e){n.codecs.unshift(n.codecs.splice(i,1));break}t.setParameters(n)})}},removeNonG722:function(e){return e.replace(/m=audio ([0-9]+) RTP\/SAVPF ([0-9 ]*)/g,"m=audio $1 RTP/SAVPF 9")},setApplicationSpecificBandwidth:function(e,t,n){return function(e,t,n){return t?"undefined"!=typeof isFirefox&&isFirefox?e:(n&&(t.screen?t.screen<300&&console.warn("It seems that you are using wrong bandwidth value for screen. Screen sharing is expected to fail."):console.warn("It seems that you are not using bandwidth for screen. Screen sharing is expected to fail.")),t.screen&&n&&(e=(e=e.replace(/b=AS([^\r\n]+\r\n)/g,"")).replace(/a=mid:video\r\n/g,"a=mid:video\r\nb=AS:"+t.screen+"\r\n")),(t.audio||t.video)&&(e=e.replace(/b=AS([^\r\n]+\r\n)/g,"")),t.audio&&(e=e.replace(/a=mid:audio\r\n/g,"a=mid:audio\r\nb=AS:"+t.audio+"\r\n")),t.screen?e=e.replace(/a=mid:video\r\n/g,"a=mid:video\r\nb=AS:"+t.screen+"\r\n"):t.video&&(e=e.replace(/a=mid:video\r\n/g,"a=mid:video\r\nb=AS:"+t.video+"\r\n")),e):e}(e,t,n)},setVideoBitrates:function(e,t){return function(e,t){var n,o=(t=t||{}).min,a=t.max,s=e.split("\r\n"),l=i(s,"a=rtpmap","VP8/90000");if(l&&(n=r(s[l])),!n)return e;var c,u=i(s,"a=rtpmap","rtx/90000");if(u&&(c=r(s[u])),!u)return e;var d=i(s,"a=fmtp:"+c.toString());if(null!==d){var p="\r\n";p+="a=fmtp:"+n+" x-google-min-bitrate="+(o||"228")+"; x-google-max-bitrate="+(a||"228"),s[d]=s[d].concat(p),e=s.join("\r\n")}return e}(e,t)},setOpusAttributes:function(e,t){return function(e,t){t=t||{};var n,o=e.split("\r\n"),a=i(o,"a=rtpmap","opus/48000");if(a&&(n=r(o[a])),!n)return e;var s=i(o,"a=fmtp:"+n.toString());if(null===s)return e;var l="";return l+="; stereo="+(void 0!==t.stereo?t.stereo:"1"),l+="; sprop-stereo="+(void 0!==t["sprop-stereo"]?t["sprop-stereo"]:"1"),void 0!==t.maxaveragebitrate&&(l+="; maxaveragebitrate="+(t.maxaveragebitrate||1048576)),void 0!==t.maxplaybackrate&&(l+="; maxplaybackrate="+(t.maxplaybackrate||1048576)),void 0!==t.cbr&&(l+="; cbr="+(void 0!==t.cbr?t.cbr:"1")),void 0!==t.useinbandfec&&(l+="; useinbandfec="+t.useinbandfec),void 0!==t.usedtx&&(l+="; usedtx="+t.usedtx),void 0!==t.maxptime&&(l+="\r\na=maxptime:"+t.maxptime),o[s]=o[s].concat(l),e=o.join("\r\n")}(e,t)},preferVP9:function(t){return e(t,"vp9")},preferCodec:e,forceStereoAudio:function(e){for(var t=e.split("\r\n"),n=null,i=0;i<t.length;i++)if(-1!==t[i].search("opus/48000")){var r=extractSdp(t[i],/:(\d+) opus\/48000/i);break}for(i=0;i<t.length;i++)if(-1!==t[i].search("a=fmtp")&&extractSdp(t[i],/a=fmtp:(\d+)/)===r){n=i;break}return null===n?e:(t[n]=t[n].concat("; stereo=1; sprop-stereo=1"),e=t.join("\r\n"))}}}();window.BandwidthHandler=O;var T=function(){return{processCandidates:function(e,t){var n=t.candidate,i=e.candidates,r=i.stun,o=i.turn;if(m(i.reflexive)||(r=i.reflexive),m(i.relay)||(o=i.relay),(i.host||!n.match(/typ host/g))&&(o||!n.match(/typ relay/g))&&(r||!n.match(/typ srflx/g))){var a=e.iceProtocols;if((a.udp||!n.match(/ udp /g))&&(a.tcp||!n.match(/ tcp /g)))return e.enableLogs&&console.debug("Your candidate pairs:",n),{candidate:n,sdpMid:t.sdpMid,sdpMLineIndex:t.sdpMLineIndex}}}}}(),E=function(){return{getIceServers:function(e){return[{urls:["stun:stun.l.google.com:19302","stun:stun1.l.google.com:19302","stun:stun2.l.google.com:19302","stun:stun.l.google.com:19302?transport=udp"]}]}}}();function P(e){if(!0!==currentUserMediaRequest.mutex){currentUserMediaRequest.mutex=!0;var t=JSON.stringify(e.localMediaConstraints);if(currentUserMediaRequest.streams[t])o(currentUserMediaRequest.streams[t].stream,!0);else{if(!!/BB10|BlackBerry/i.test(navigator.userAgent||"")||void 0===navigator.mediaDevices||"function"!=typeof navigator.mediaDevices.getUserMedia)return navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia,void navigator.getUserMedia(e.localMediaConstraints,function(e){e.streamid=e.streamid||e.id||u(),e.idInstance=t,o(e)},function(t){e.onLocalMediaError(t,e.localMediaConstraints)});if(void 0===navigator.mediaDevices){navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;var n,i,r=function(){};navigator.mediaDevices={getUserMedia:function(e){return navigator.getUserMedia(e,function(e){e(stream),n=stream},function(e){r(e),i=e}),{then:function(e){if(!n)return e,{then:function(e){i?e(i):r=e}};e(n)}}}}}if(!0===e.localMediaConstraints.isScreen){if(navigator.mediaDevices.getDisplayMedia)navigator.mediaDevices.getDisplayMedia(e.localMediaConstraints).then(function(e){e.streamid=e.streamid||e.id||u(),e.idInstance=t,o(e)}).catch(function(t){e.onLocalMediaError(t,e.localMediaConstraints)});else{if(!navigator.getDisplayMedia)throw new Error("getDisplayMedia API is not availabe in this browser.");navigator.getDisplayMedia(e.localMediaConstraints).then(function(e){e.streamid=e.streamid||e.id||u(),e.idInstance=t,o(e)}).catch(function(t){e.onLocalMediaError(t,e.localMediaConstraints)})}return}navigator.mediaDevices.getUserMedia(e.localMediaConstraints).then(function(e){e.streamid=e.streamid||e.id||u(),e.idInstance=t,o(e)}).catch(function(t){e.onLocalMediaError(t,e.localMediaConstraints)})}}else currentUserMediaRequest.queueRequests.push(e);function o(n,i){!function(e,t){e.mandatory&&e.mandatory.chromeMediaSource?t.isScreen=!0:e.mozMediaSource||e.mediaSource?t.isScreen=!0:e.video?t.isVideo=!0:e.audio&&(t.isAudio=!0)}(e.localMediaConstraints,n);var r="ended";"oninactive"in n&&(r="inactive"),n.addEventListener(r,function(){delete currentUserMediaRequest.streams[t],currentUserMediaRequest.mutex=!1,currentUserMediaRequest.queueRequests.indexOf(e)&&(delete currentUserMediaRequest.queueRequests[currentUserMediaRequest.queueRequests.indexOf(e)],currentUserMediaRequest.queueRequests=f(currentUserMediaRequest.queueRequests))},!1),currentUserMediaRequest.streams[t]={stream:n},currentUserMediaRequest.mutex=!1,currentUserMediaRequest.queueRequests.length&&P(currentUserMediaRequest.queueRequests.shift()),e.onGettingLocalMedia(n,i)}}window.currentUserMediaRequest={streams:[],mutex:!1,queueRequests:[],remove:function(e){this.mutex=!1;var t=this.streams[e];if(t){var n=(t=t.stream).currentUserMediaRequestOptions;this.queueRequests.indexOf(n)&&(delete this.queueRequests[this.queueRequests.indexOf(n)],this.queueRequests=f(this.queueRequests)),this.streams[e].stream=null,delete this.streams[e]}}};var j=function(){function e(e){if(e)return"string"==typeof e||void 0===e?e:e.audio&&e.video?null:e.audio?"audio":e.video?"video":void 0}return{setHandlers:function(t,n,i){if(t&&t.addEventListener){if(void 0===n||1==n){var r="ended";"oninactive"in t&&(r="inactive"),t.addEventListener(r,function(){j.onSyncNeeded(this.streamid,r)},!1)}t.mute=function(r,o){r=e(r),void 0!==o&&(n=o),void 0!==r&&"audio"!=r||b(t,"audio").forEach(function(e){e.enabled=!1,i.streamEvents[t.streamid].isAudioMuted=!0}),void 0!==r&&"video"!=r||b(t,"video").forEach(function(e){e.enabled=!1}),void 0!==n&&1!=n||j.onSyncNeeded(t.streamid,"mute",r),i.streamEvents[t.streamid].muteType=r||"both",l(t,"mute",r)},t.unmute=function(r,o){r=e(r),void 0!==o&&(n=o),function(){if(i.streamEvents[t.streamid].mediaElement){var e=i.streamEvents[t.streamid].mediaElement;e.volume=0,function e(t,n,i,r){(r=(r||0)+1)>=n||setTimeout(function(){i(),e(t,n,i,r)},t)}(200,5,function(){try{e.volume+=.2}catch(t){e.volume=1}})}}(),void 0!==r&&"audio"!=r||b(t,"audio").forEach(function(e){e.enabled=!0,i.streamEvents[t.streamid].isAudioMuted=!1}),void 0!==r&&"video"!=r||(b(t,"video").forEach(function(e){e.enabled=!0}),void 0!==r&&"video"==r&&i.streamEvents[t.streamid].isAudioMuted&&function e(n){n||(n=0),++n<100&&i.streamEvents[t.streamid].isAudioMuted&&(t.mute("audio"),setTimeout(function(){e(n)},50))}()),void 0!==n&&1!=n||j.onSyncNeeded(t.streamid,"unmute",r),i.streamEvents[t.streamid].unmuteType=r||"both",l(t,"unmute",r)}}},onSyncNeeded:function(e,t,n){}}}();var N={send:function(e){var t=e.connection,n=e.channel,i=e.remoteUserId,r=e.text,o=t.chunkSize||1e3,a="",s=!1;"string"!=typeof r&&(s=!0,r=JSON.stringify(r));var l=u(),c=(new Date).getTime();!function e(r,u){var d={type:"text",uuid:l,sendingTime:c};r&&(u=r,d.packets=parseInt(u.length/o));u.length>o?d.message=u.slice(0,o):(d.message=u,d.last=!0,d.isobject=s);n.send(d,i);a=u.slice(d.message.length);a.length&&setTimeout(function(){e(null,a)},t.chunkInterval||100)}(r)}},$=function(){return{handle:function(e){var t={};e.onFileStart=function(n){var i=document.createElement("div");if(i.title=n.name,i.innerHTML="<label>0%</label> <progress></progress>",n.remoteUserId&&(i.innerHTML+=" (Sharing with:"+n.remoteUserId+")"),e.filesContainer||(e.filesContainer=document.body||document.documentElement),e.filesContainer.insertBefore(i,e.filesContainer.firstChild),!n.remoteUserId)return t[n.uuid]={div:i,progress:i.querySelector("progress"),label:i.querySelector("label")},void(t[n.uuid].progress.max=n.maxChunks);t[n.uuid]||(t[n.uuid]={}),t[n.uuid][n.remoteUserId]={div:i,progress:i.querySelector("progress"),label:i.querySelector("label")},t[n.uuid][n.remoteUserId].progress.max=n.maxChunks},e.onFileProgress=function(e){var n=t[e.uuid];n&&(e.remoteUserId&&!(n=t[e.uuid][e.remoteUserId])||(n.progress.value=e.currentPosition||e.maxChunks||n.progress.max,function(e,t){if(-1!==e.position){var n=+e.position.toFixed(2).split(".")[1]||100;t.innerHTML=n+"%"}}(n.progress,n.label)))},e.onFileEnd=function(e){var n=t[e.uuid];if(n){if(!e.remoteUserId||(n=t[e.uuid][e.remoteUserId])){var i=n.div;-1!=e.type.indexOf("image")?i.innerHTML='<a href="'+e.url+'" download="'+e.name+'">Download <strong style="color:red;">'+e.name+'</strong> </a><br /><img src="'+e.url+'" title="'+e.name+'" style="max-width: 80%;">':i.innerHTML='<a href="'+e.url+'" download="'+e.name+'">Download <strong style="color:red;">'+e.name+'</strong> </a><br /><iframe src="'+e.url+'" title="'+e.name+'" style="width: 80%;border: 0;height: inherit;margin-top:1em;"></iframe>'}}else console.error("No such progress-helper element exist.",e)}}}}(),L=function(){return{handle:function(e){e.autoTranslateText=!1,e.language="en",e.googKey="AIzaSyCgB5hmFY74WYB-EoWkhr9cAGr6TiTHrEE",e.Translator={TranslateText:function(t,n){var i=document.createElement("script");i.type="text/javascript";var r=encodeURIComponent(t),o="method"+e.token();window[o]=function(e){e.data&&e.data.translations[0]&&n?n(e.data.translations[0].translatedText):e.error&&"Daily Limit Exceeded"===e.error.message?console.error('Text translation failed. Error message: "Daily Limit Exceeded."'):e.error?console.error(e.error.message):console.error(e)};var a="https://www.googleapis.com/language/translate/v2?key="+e.googKey+"&target="+(e.language||"en-US")+"&callback=window."+o+"&q="+r;i.src=a,document.getElementsByTagName("head")[0].appendChild(i)},getListOfLanguages:function(t){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(n.readyState==XMLHttpRequest.DONE){var e=JSON.parse(n.responseText);if(e&&e.data&&e.data.languages)return void t(e.data.languages);if(e.error&&"Daily Limit Exceeded"===e.error.message)return void console.error('Text translation failed. Error message: "Daily Limit Exceeded."');if(e.error)return void console.error(e.error.message);console.error(e)}};var i="https://www.googleapis.com/language/translate/v2/languages?key="+e.googKey+"&target=en";n.open("GET",i,!0),n.send(null)}}}}}();!function(e){r=r||{useDefaultDevices:!0},e.channel=e.sessionid=(i||location.href.replace(/\/|:|#|\?|\$|\^|%|\.|`|~|!|\+|@|\[|\||]|\|*. /g,"").split("\n").join("").split("\r").join(""))+"";var t=new s(e),n={};function o(t){if(e.socketAutoReConnect=!0,e.socket)t&&t(e.socket);else{if(void 0===a)if("undefined"!=typeof FirebaseConnection)window.SocketConnection=FirebaseConnection;else{if("undefined"==typeof PubNubConnection)throw"SocketConnection.js seems missed.";window.SocketConnection=PubNubConnection}new a(e,function(n){t&&t(e.socket)})}}function l(n,i){e.socket.emit("join-room",{sessionid:e.sessionid,session:e.session,mediaConstraints:e.mediaConstraints,sdpConstraints:e.sdpConstraints,streams:m(),extra:e.extra,password:void 0!==e.password&&"object"!=typeof e.password?e.password:""},function(r,o){if(!0===r){if(e.enableLogs&&console.log("isRoomJoined: ",r," roomid: ",e.sessionid),e.peers[e.sessionid])return;t.onNegotiationNeeded(n)}!1===r&&e.enableLogs&&console.warn("isRoomJoined: ",o," roomid: ",e.sessionid),i(r,e.sessionid,o)})}function f(t){e.enableLogs&&console.log("Sending open-room signal to socket.io"),e.waitingForLocalMedia=!1,e.socket.emit("open-room",{sessionid:e.sessionid,session:e.session,mediaConstraints:e.mediaConstraints,sdpConstraints:e.sdpConstraints,streams:m(),extra:e.extra,identifier:e.publicRoomIdentifier,password:void 0!==e.password&&"object"!=typeof e.password?e.password:""},function(n,i){!0===n&&(e.enableLogs&&console.log("isRoomOpened: ",n," roomid: ",e.sessionid),t(n,e.sessionid)),!1===n&&(e.enableLogs&&console.warn("isRoomOpened: ",i," roomid: ",e.sessionid),t(n,e.sessionid,i))})}function m(){try{return e.streamEvents.selectAll("local").map(function(e){return{streamid:e.streamid,tracks:e.stream.getTracks().length}})}catch(e){return[]}}function _(n,i){if(e.dontCaptureUserMedia||n.isDataOnly)i();else{var r={};n.localPeerSdpConstraints.OfferToReceiveAudio&&(r.audio=e.mediaConstraints.audio),n.localPeerSdpConstraints.OfferToReceiveVideo&&(r.video=e.mediaConstraints.video);var o=n.session||e.session;o.oneway&&"two-way"!==o.audio&&"two-way"!==o.video&&"two-way"!==o.screen?i():(o.oneway&&o.audio&&"two-way"===o.audio&&(o={audio:!0}),(o.audio||o.video||o.screen)&&(o.screen?"Edge"===DetectRTC.browser.name?navigator.getDisplayMedia({video:!0,audio:v(e)}).then(function(n){n.isScreen=!0,t.onGettingLocalMedia(n),!o.audio&&!o.video||v(e)?i(n):e.invokeGetUserMedia(null,i)},function(e){console.error("Unable to capture screen on Edge. HTTPs and version 17+ is required.")}):e.invokeGetUserMedia({audio:v(e),video:!0,isScreen:!0},!o.audio&&!o.video||v(e)?i:e.invokeGetUserMedia(null,i)):(o.audio||o.video)&&e.invokeGetUserMedia(null,i,o)))}}function x(t,n){t?(n.audio&&b(t,"audio").forEach(function(e){e.applyConstraints(n.audio)}),n.video&&b(t,"video").forEach(function(e){e.applyConstraints(n.video)})):e.enableLogs&&console.error("No stream to applyConstraints.")}function k(n,i,r){i?t.replaceTrack(n,i,r):e.peers.getAllParticipants().forEach(function(e){t.replaceTrack(n,e,r)})}t.onGettingLocalMedia=function(t,i){if(i=i||function(){},n[t.streamid])i();else{n[t.streamid]=!0;try{t.type="local"}catch(e){}e.setStreamEndHandler(t),d(t,function(n){n.id=t.streamid,n.muted=!0,n.volume=0,-1===e.attachStreams.indexOf(t)&&e.attachStreams.push(t),void 0!==j&&j.setHandlers(t,!0,e),e.streamEvents[t.streamid]={stream:t,type:"local",mediaElement:n,userid:e.userid,extra:e.extra,streamid:t.streamid,isAudioMuted:!0};try{!function(e,t){if(t.stream&&b(t.stream,"audio").length){if(!e||!t)throw"Both arguments are required.";if(e.onspeaking&&e.onsilence){if("undefined"==typeof hark)throw"hark.js not found.";hark(t.stream,{onspeaking:function(){e.onspeaking(t)},onsilence:function(){e.onsilence(t)},onvolumechange:function(n,i){e.onvolumechange&&e.onvolumechange(merge({volume:n,threshold:i},t))}})}}}(e,e.streamEvents[t.streamid]),c(e,e.streamEvents[t.streamid]),e.onstream(e.streamEvents[t.streamid])}catch(e){}i()},e)}},t.onGettingRemoteMedia=function(t,n){try{t.type="remote"}catch(e){}e.setStreamEndHandler(t,"remote-stream"),d(t,function(i){i.id=t.streamid,void 0!==j&&j.setHandlers(t,!1,e),e.streamEvents[t.streamid]={stream:t,type:"remote",userid:n,extra:e.peers[n]?e.peers[n].extra:{},mediaElement:i,streamid:t.streamid},c(e,e.streamEvents[t.streamid]),e.onstream(e.streamEvents[t.streamid])},e)},t.onRemovingRemoteMedia=function(t,n){var i=e.streamEvents[t.streamid];i||(i={stream:t,type:"remote",userid:n,extra:e.peers[n]?e.peers[n].extra:{},streamid:t.streamid,mediaElement:e.streamEvents[t.streamid]?e.streamEvents[t.streamid].mediaElement:null}),e.peersBackup[i.userid]&&(i.extra=e.peersBackup[i.userid].extra),e.onstreamended(i),delete e.streamEvents[t.streamid]},t.onNegotiationNeeded=function(t,n,i){i=i||function(){};var r={remoteUserId:n=n||t.remoteUserId,message:t=t||"",sender:e.userid};t.remoteUserId&&t.message&&t.sender&&(r=t),o(function(){e.socket.emit(e.socketMessageEvent,r,i)})},t.onUserLeft=function(t){e.deletePeer(t)},t.disconnectWith=function(t,n){e.socket&&e.socket.emit("disconnect-with",t,n||function(){}),e.deletePeer(t)},e.socketOptions={transport:"polling"},e.openOrJoin=function(t,n){n=n||function(){},e.checkPresence(t,function(t,i){if(t){e.sessionid=i;var r,o,a=!!e.session.oneway,s=h(e.session);o={OfferToReceiveAudio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.sdpConstraints.mandatory.OfferToReceiveVideo},r={OfferToReceiveAudio:a?!!e.session.audio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:a?!!e.session.video||!!e.session.screen:e.sdpConstraints.mandatory.OfferToReceiveVideo};var c={remoteUserId:e.sessionid,message:{newParticipationRequest:!0,isOneWay:a,isDataOnly:s,localPeerSdpConstraints:r,remotePeerSdpConstraints:o},sender:e.userid};_(c.message,function(){l(c,n)})}else e.waitingForLocalMedia=!0,e.isInitiator=!0,e.sessionid=i||e.sessionid,h(e.session)?f(n):e.captureUserMedia(function(){f(n)})})},e.waitingForLocalMedia=!1,e.open=function(t,n){n=n||function(){},e.waitingForLocalMedia=!0,e.isInitiator=!0,e.sessionid=t||e.sessionid,o(function(){h(e.session)?f(n):e.captureUserMedia(function(){f(n)})})},e.peersBackup={},e.deletePeer=function(t){if(t&&e.peers[t]){var n={userid:t,extra:e.peers[t]?e.peers[t].extra:{}};if(e.peersBackup[n.userid]&&(n.extra=e.peersBackup[n.userid].extra),e.onleave(n),e.peers[t]){e.peers[t].streams.forEach(function(e){e.stop()});var i=e.peers[t].peer;if(i&&"closed"!==i.iceConnectionState)try{i.close()}catch(e){}e.peers[t]&&(e.peers[t].peer=null,delete e.peers[t])}}},e.rejoin=function(t){if(!e.isInitiator&&t&&Object.keys(t).length){var n={};e.peers[t.remoteUserId]&&(n=e.peers[t.remoteUserId].extra,e.deletePeer(t.remoteUserId)),t&&t.remoteUserId&&(e.join(t.remoteUserId),e.onReConnecting({userid:t.remoteUserId,extra:n}))}},e.join=function(t,n){e.sessionid=!!t&&(t.sessionid||t.remoteUserId||t)||e.sessionid,e.sessionid+="";var i=!1,r=!1,a=!1,s=!1;if(t&&t.session||!t||"string"==typeof t){var c=t&&t.session||e.session;a=!!c.oneway,s=h(c),r={OfferToReceiveAudio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.sdpConstraints.mandatory.OfferToReceiveVideo},i={OfferToReceiveAudio:a?!!e.session.audio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:a?!!e.session.video||!!e.session.screen:e.sdpConstraints.mandatory.OfferToReceiveVideo}}var u=function(){};"function"==typeof(n=n||{})&&(u=n,n={}),void 0!==n.localPeerSdpConstraints&&(i=n.localPeerSdpConstraints),void 0!==n.remotePeerSdpConstraints&&(r=n.remotePeerSdpConstraints),void 0!==n.isOneWay&&(a=n.isOneWay),void 0!==n.isDataOnly&&(s=n.isDataOnly);var d={remoteUserId:e.sessionid,message:{newParticipationRequest:!0,isOneWay:a,isDataOnly:s,localPeerSdpConstraints:i,remotePeerSdpConstraints:r},sender:e.userid};return _(d.message,function(){o(function(){l(d,u)})}),d},e.publicRoomIdentifier="",e.getUserMedia=e.captureUserMedia=function(n,i){n=n||function(){};var r=i||e.session;e.dontCaptureUserMedia||h(r)?n():(r.audio||r.video||r.screen)&&(r.screen?"Edge"===DetectRTC.browser.name?navigator.getDisplayMedia({video:!0,audio:v(e)}).then(function(o){if(o.isScreen=!0,t.onGettingLocalMedia(o),!r.audio&&!r.video||v(e))n(o);else{var a={};for(var s in r)"screen"!==s&&(a[s]=r[s]);e.invokeGetUserMedia(i,n,a)}},function(e){console.error("Unable to capture screen on Edge. HTTPs and version 17+ is required.")}):e.invokeGetUserMedia({audio:v(e),video:!0,isScreen:!0},function(t){if(!r.audio&&!r.video||v(e))n(t);else{var o={};for(var a in r)"screen"!==a&&(o[a]=r[a]);e.invokeGetUserMedia(i,n,o)}}):(r.audio||r.video)&&e.invokeGetUserMedia(i,n,r))},e.onbeforeunload=function(n,i){e.closeBeforeUnload&&(e.peers.getAllParticipants().forEach(function(n){t.onNegotiationNeeded({userLeft:!0},n),e.peers[n]&&e.peers[n].peer&&e.peers[n].peer.close(),delete e.peers[n]}),i||e.closeSocket(),e.isInitiator=!1)},window.ignoreBeforeUnload?e.closeBeforeUnload=!1:(e.closeBeforeUnload=!0,window.addEventListener("beforeunload",e.onbeforeunload,!1)),e.userid=u(),e.changeUserId=function(t,n){n=n||function(){},e.userid=t||u(),e.socket.emit("changed-uuid",e.userid,n)},e.extra={},e.attachStreams=[],e.session={audio:!0,video:!0},e.enableFileSharing=!1,e.bandwidth={screen:!1,audio:!1,video:!1},e.codecs={audio:"opus",video:"VP9"},e.processSdp=function(t){return y()?t:"Safari"===DetectRTC.browser.name?t:("VP8"===e.codecs.video.toUpperCase()&&(t=O.preferCodec(t,"vp8")),"VP9"===e.codecs.video.toUpperCase()&&(t=O.preferCodec(t,"vp9")),"H264"===e.codecs.video.toUpperCase()&&(t=O.preferCodec(t,"h264")),"G722"===e.codecs.audio&&(t=O.removeNonG722(t)),"Firefox"===DetectRTC.browser.name?t:((e.bandwidth.video||e.bandwidth.screen)&&(t=O.setApplicationSpecificBandwidth(t,e.bandwidth,!!e.session.screen)),e.bandwidth.video&&(t=O.setVideoBitrates(t,{min:8*e.bandwidth.video*1024,max:8*e.bandwidth.video*1024})),e.bandwidth.audio&&(t=O.setOpusAttributes(t,{maxaveragebitrate:8*e.bandwidth.audio*1024,maxplaybackrate:8*e.bandwidth.audio*1024,stereo:1,maxptime:3})),t))},void 0!==O&&(e.BandwidthHandler=e.CodecsHandler=O),e.mediaConstraints={audio:{mandatory:{},optional:e.bandwidth.audio?[{bandwidth:8*e.bandwidth.audio*1024||1048576}]:[]},video:{mandatory:{},optional:e.bandwidth.video?[{bandwidth:8*e.bandwidth.video*1024||1048576},{facingMode:"user"}]:[{facingMode:"user"}]}},"Firefox"===DetectRTC.browser.name&&(e.mediaConstraints={audio:!0,video:!0}),r.useDefaultDevices||DetectRTC.isMobileDevice||DetectRTC.load(function(){var t,n;if(DetectRTC.MediaDevices.forEach(function(i){"audioinput"===i.kind&&!1!==e.mediaConstraints.audio&&(t=i),"videoinput"===i.kind&&!1!==e.mediaConstraints.video&&(n=i)}),t){if("Firefox"===DetectRTC.browser.name)return void(!0!==e.mediaConstraints.audio?e.mediaConstraints.audio.deviceId=t.id:e.mediaConstraints.audio={deviceId:t.id});1==e.mediaConstraints.audio&&(e.mediaConstraints.audio={mandatory:{},optional:[]}),e.mediaConstraints.audio.optional||(e.mediaConstraints.audio.optional=[]);var i=[{sourceId:t.id}];e.mediaConstraints.audio.optional=i.concat(e.mediaConstraints.audio.optional)}if(n){if("Firefox"===DetectRTC.browser.name)return void(!0!==e.mediaConstraints.video?e.mediaConstraints.video.deviceId=n.id:e.mediaConstraints.video={deviceId:n.id});1==e.mediaConstraints.video&&(e.mediaConstraints.video={mandatory:{},optional:[]}),e.mediaConstraints.video.optional||(e.mediaConstraints.video.optional=[]);i=[{sourceId:n.id}];e.mediaConstraints.video.optional=i.concat(e.mediaConstraints.video.optional)}}),e.sdpConstraints={mandatory:{OfferToReceiveAudio:!0,OfferToReceiveVideo:!0},optional:[{VoiceActivityDetection:!1}]},e.sdpSemantics=null,e.iceCandidatePoolSize=null,e.bundlePolicy=null,e.rtcpMuxPolicy=null,e.iceTransportPolicy=null,e.optionalArgument={optional:[{DtlsSrtpKeyAgreement:!0},{googImprovedWifiBwe:!0},{googScreencastMinBitrate:300},{googIPv6:!0},{googDscp:!0},{googCpuUnderuseThreshold:55},{googCpuOveruseThreshold:85},{googSuspendBelowMinBitrate:!0},{googCpuOveruseDetection:!0}],mandatory:{}},e.iceServers=E.getIceServers(e),e.candidates={host:!0,stun:!0,turn:!0},e.iceProtocols={tcp:!0,udp:!0},e.onopen=function(t){e.enableLogs&&console.info("Data connection has been opened between you & ",t.userid)},e.onclose=function(t){e.enableLogs&&console.warn("Data connection has been closed between you & ",t.userid)},e.onerror=function(t){e.enableLogs&&console.error(t.userid,"data-error",t)},e.onmessage=function(t){e.enableLogs&&console.debug("data-message",t.userid,t.data)},e.send=function(t,n){e.peers.send(t,n)},e.close=e.disconnect=e.leave=function(){e.onbeforeunload(!1,!0)},e.closeEntireSession=function(t){t=t||function(){},e.socket.emit("close-entire-session",function n(){e.getAllParticipants().length?setTimeout(n,100):(e.onEntireSessionClosed({sessionid:e.sessionid,userid:e.userid,extra:e.extra}),e.changeUserId(null,function(){e.close(),t()}))})},e.onEntireSessionClosed=function(t){e.enableLogs&&console.info("Entire session is closed: ",t.sessionid,t.extra)},e.onstream=function(t){var n=e.videosContainer;n.insertBefore(t.mediaElement,n.firstChild);var i=t.mediaElement.play();void 0===i?setTimeout(function(){t.mediaElement.play()},2e3):i.catch(function(){}).then(function(){setTimeout(function(){t.mediaElement.play()},2e3)})},e.onstreamended=function(e){e.mediaElement||(e.mediaElement=document.getElementById(e.streamid)),e.mediaElement&&e.mediaElement.parentNode&&e.mediaElement.parentNode.removeChild(e.mediaElement)},e.direction="many-to-many",e.removeStream=function(t,n){var i;e.attachStreams.forEach(function(e){e.id===t&&(i=e)}),i?(e.peers.getAllParticipants().forEach(function(t){if(!n||t===n){var r=e.peers[t];try{r.peer.removeStream(i)}catch(e){}}}),e.renegotiate()):console.warn("No such stream exist.",t)},e.addStream=function(n,i){if(n.getTracks)return-1===e.attachStreams.indexOf(n)&&(n.streamid||(n.streamid=n.id),e.attachStreams.push(n)),void e.renegotiate(i);function r(t){n.streamCallback&&n.streamCallback(t),e.renegotiate(i)}h(n)?e.renegotiate(i):(n.audio||n.video||n.screen)&&(n.screen?"Edge"===DetectRTC.browser.name?navigator.getDisplayMedia({video:!0,audio:v(e)}).then(function(i){i.isScreen=!0,t.onGettingLocalMedia(i),!n.audio&&!n.video||v(e)?r(i):e.invokeGetUserMedia(null,function(e){r(e)})},function(e){console.error("Unable to capture screen on Edge. HTTPs and version 17+ is required.")}):e.invokeGetUserMedia({audio:v(e),video:!0,isScreen:!0},function(t){!n.audio&&!n.video||v(e)?r(t):e.invokeGetUserMedia(null,function(e){r(e)})}):(n.audio||n.video)&&e.invokeGetUserMedia(null,r))},e.invokeGetUserMedia=function(n,i,r){r||(r=e.session),n||(n=e.mediaConstraints),P({onGettingLocalMedia:function(e){var r=n.video;r&&(r.mediaSource||r.mozMediaSource?e.isScreen=!0:r.mandatory&&r.mandatory.chromeMediaSource&&(e.isScreen=!0)),e.isScreen||(e.isVideo=!!b(e,"video").length,e.isAudio=!e.isVideo&&b(e,"audio").length),t.onGettingLocalMedia(e,function(){"function"==typeof i&&i(e)})},onLocalMediaError:function(e,n){t.onLocalMediaError(e,n)},localMediaConstraints:n||{audio:!!r.audio&&n.audio,video:!!r.video&&n.video}})},e.applyConstraints=function(t,n){if(S&&S.prototype.applyConstraints){var i;if(n)return e.streamEvents[n]&&(i=e.streamEvents[n].stream),void x(i,t);e.attachStreams.forEach(function(e){x(e,t)})}else alert("track.applyConstraints is NOT supported in your browser.")},e.replaceTrack=function(n,i,r){if(n=n||{},w.prototype.getSenders)if(n instanceof S)k(n,i,r);else{if(n instanceof g)return b(n,"video").length&&k(b(n,"video")[0],i,!0),void(b(n,"audio").length&&k(b(n,"audio")[0],i,!1));if(h(n))throw"connection.replaceTrack requires audio and/or video and/or screen.";(n.audio||n.video||n.screen)&&(n.screen?"Edge"===DetectRTC.browser.name?navigator.getDisplayMedia({video:!0,audio:v(e)}).then(function(i){i.isScreen=!0,t.onGettingLocalMedia(i),!n.audio&&!n.video||v(e)?o(i):e.invokeGetUserMedia(null,o)},function(e){console.error("Unable to capture screen on Edge. HTTPs and version 17+ is required.")}):e.invokeGetUserMedia({audio:v(e),video:!0,isScreen:!0},!n.audio&&!n.video||v(e)?o:e.invokeGetUserMedia(null,o)):(n.audio||n.video)&&e.invokeGetUserMedia(null,o))}else e.addStream(n);function o(t){e.replaceTrack(t,i,r||n.video||n.screen)}},e.resetTrack=function(t,n){t||(t=e.getAllParticipants()),"string"==typeof t&&(t=[t]),t.forEach(function(t){var i=e.peers[t].peer;void 0!==n&&!0!==n||!i.lastVideoTrack||e.replaceTrack(i.lastVideoTrack,t,!0),void 0!==n&&!1!==n||!i.lastAudioTrack||e.replaceTrack(i.lastAudioTrack,t,!1)})},e.renegotiate=function(n){n?t.renegotiatePeer(n):e.peers.getAllParticipants().forEach(function(e){t.renegotiatePeer(e)})},e.setStreamEndHandler=function(t,n){if(t&&t.addEventListener&&(n=!!n,!t.alreadySetEndHandler)){t.alreadySetEndHandler=!0;var i="ended";"oninactive"in t&&(i="inactive"),t.addEventListener(i,function(){if(t.idInstance&¤tUserMediaRequest.remove(t.idInstance),!n){var i=[];e.attachStreams.forEach(function(e){e.id!=t.id&&i.push(e)}),e.attachStreams=i}var r=e.streamEvents[t.streamid];if(r||(r={stream:t,streamid:t.streamid,type:n?"remote":"local",userid:e.userid,extra:e.extra,mediaElement:e.streamEvents[t.streamid]?e.streamEvents[t.streamid].mediaElement:null}),n&&e.peers[r.userid]){var o=e.peers[r.userid].peer;i=[];o.getRemoteStreams().forEach(function(e){e.id!=t.id&&i.push(e)}),e.peers[r.userid].streams=i}r.userid===e.userid&&"remote"===r.type||(e.peersBackup[r.userid]&&(r.extra=e.peersBackup[r.userid].extra),e.onstreamended(r),delete e.streamEvents[t.streamid])},!1)}},e.onMediaError=function(t,n){e.enableLogs&&console.error(t,n)},e.autoCloseEntireSession=!1,e.filesContainer=e.videosContainer=document.body||document.documentElement,e.isInitiator=!1,e.shareFile=t.shareFile,void 0!==$&&$.handle(e),void 0!==L&&L.handle(e),e.token=u,e.onNewParticipant=function(t,n){e.acceptParticipationRequest(t,n)},e.acceptParticipationRequest=function(e,n){n.successCallback&&(n.successCallback(),delete n.successCallback),t.createNewPeer(e,n)},void 0!==j&&(e.StreamsHandler=j),e.onleave=function(e){},e.invokeSelectFileDialog=function(e){var t=new FileSelector;t.accept="*.*",t.selectSingleFile(e)},e.onmute=function(e){if(e&&e.mediaElement)if("both"===e.muteType||"video"===e.muteType){e.mediaElement.src=null;var t=e.mediaElement.pause();void 0!==t?t.then(function(){e.mediaElement.poster=e.snapshot||"https://cdn.webrtc-experiment.com/images/muted.png"}):e.mediaElement.poster=e.snapshot||"https://cdn.webrtc-experiment.com/images/muted.png"}else"audio"===e.muteType&&(e.mediaElement.muted=!0)},e.onunmute=function(e){e&&e.mediaElement&&e.stream&&("both"===e.unmuteType||"video"===e.unmuteType?(e.mediaElement.poster=null,e.mediaElement.srcObject=e.stream,e.mediaElement.play()):"audio"===e.unmuteType&&(e.mediaElement.muted=!1))},e.onExtraDataUpdated=function(t){t.status="online",e.onUserStatusChanged(t,!0)},e.getAllParticipants=function(t){return e.peers.getAllParticipants(t)},void 0!==j&&(j.onSyncNeeded=function(n,i,r){e.peers.getAllParticipants().forEach(function(e){t.onNegotiationNeeded({streamid:n,action:i,streamSyncNeeded:!0,type:r||"both"},e)})}),e.connectSocket=function(e){o(e)},e.closeSocket=function(){try{io.sockets={}}catch(e){}e.socket&&("function"==typeof e.socket.disconnect&&e.socket.disconnect(),"function"==typeof e.socket.resetProps&&e.socket.resetProps(),e.socket=null)},e.getSocket=function(t){return!t&&e.enableLogs&&console.warn("getSocket.callback paramter is required."),t=t||function(){},e.socket?t(e.socket):o(function(){t(e.socket)}),e.socket},e.getRemoteStreams=t.getRemoteStreams;var A=["selectFirst","selectAll","forEach"];if(e.streamEvents={selectFirst:function(t){return e.streamEvents.selectAll(t)[0]},selectAll:function(t){t||(t={local:!0,remote:!0,isScreen:!0,isAudio:!0,isVideo:!0}),"local"==t&&(t={local:!0}),"remote"==t&&(t={remote:!0}),"screen"==t&&(t={isScreen:!0}),"audio"==t&&(t={isAudio:!0}),"video"==t&&(t={isVideo:!0});var n=[];return Object.keys(e.streamEvents).forEach(function(i){var r=e.streamEvents[i];if(-1===A.indexOf(i)){var o=!0;t.local&&"local"===r.type&&(o=!1),t.remote&&"remote"===r.type&&(o=!1),t.isScreen&&r.stream.isScreen&&(o=!1),t.isVideo&&r.stream.isVideo&&(o=!1),t.isAudio&&r.stream.isAudio&&(o=!1),t.userid&&r.userid===t.userid&&(o=!1),!1===o&&n.push(r)}}),n}},e.socketURL="/",e.socketMessageEvent="RTCMultiConnection-Message",e.socketCustomEvent="RTCMultiConnection-Custom-Message",e.DetectRTC=DetectRTC,e.setCustomSocketEvent=function(t){t&&(e.socketCustomEvent=t),e.socket&&e.socket.emit("set-custom-socket-event-listener",e.socketCustomEvent)},e.getNumberOfBroadcastViewers=function(t,n){e.socket&&t&&n&&e.socket.emit("get-number-of-users-in-specific-broadcast",t,n)},e.onNumberOfBroadcastViewersUpdated=function(t){e.enableLogs&&e.isInitiator&&console.info("Number of broadcast (",t.broadcastId,") viewers",t.numberOfBroadcastViewers)},e.onUserStatusChanged=function(t,n){e.enableLogs&&!n&&console.info(t.userid,t.status)},e.getUserMediaHandler=P,e.multiPeersHandler=t,e.enableLogs=!0,e.setCustomSocketHandler=function(e){void 0!==a&&(a=e)},e.chunkSize=4e4,e.maxParticipantsAllowed=1e3,e.disconnectWith=t.disconnectWith,e.checkPresence=function(t,n){t=t||e.sessionid,"SSEConnection"!==a.name?e.socket?e.socket.emit("check-presence",t+"",function(t,i,r){e.enableLogs&&console.log("checkPresence.isRoomExist: ",t," roomid: ",i),n(t,i,r)}):e.connectSocket(function(){e.checkPresence(t,n)}):SSEConnection.checkPresence(t,function(t,i,r){if(!e.socket)return t||(e.userid=i),void e.connectSocket(function(){n(t,i,r)});n(t,i)})},e.onReadyForOffer=function(t,n){e.multiPeersHandler.createNewPeer(t,n)},e.setUserPreferences=function(t){return e.dontAttachStream&&(t.dontAttachLocalStream=!0),e.dontGetRemoteStream&&(t.dontGetRemoteStream=!0),t},e.updateExtraData=function(){e.socket.emit("extra-data-updated",e.extra)},e.enableScalableBroadcast=!1,e.maxRelayLimitPerUser=3,e.dontCaptureUserMedia=!1,e.dontAttachStream=!1,e.dontGetRemoteStream=!1,e.onReConnecting=function(t){e.enableLogs&&console.info("ReConnecting with",t.userid,"...")},e.beforeAddingStream=function(e){return e},e.beforeRemovingStream=function(e){return e},"undefined"!=typeof isChromeExtensionAvailable&&(e.checkIfChromeExtensionAvailable=isChromeExtensionAvailable),"undefined"!=typeof isFirefoxExtensionAvailable&&(e.checkIfChromeExtensionAvailable=isFirefoxExtensionAvailable),"undefined"!=typeof getChromeExtensionStatus&&(e.getChromeExtensionStatus=getChromeExtensionStatus),e.modifyScreenConstraints=function(e){return e},e.onPeerStateChanged=function(t){e.enableLogs&&-1!==t.iceConnectionState.search(/closed|failed/gi)&&console.error("Peer connection is closed between you & ",t.userid,t.extra,"state:",t.iceConnectionState)},e.isOnline=!0,p("online",function(){e.isOnline=!0}),p("offline",function(){e.isOnline=!1}),e.isLowBandwidth=!1,navigator&&navigator.connection&&navigator.connection.type&&(e.isLowBandwidth=-1!==navigator.connection.type.toString().toLowerCase().search(/wifi|cell/g),e.isLowBandwidth)){if(e.bandwidth={audio:!1,video:!1,screen:!1},e.mediaConstraints.audio&&e.mediaConstraints.audio.optional&&e.mediaConstraints.audio.optional.length){var C=[];e.mediaConstraints.audio.optional.forEach(function(e){void 0===e.bandwidth&&C.push(e)}),e.mediaConstraints.audio.optional=C}if(e.mediaConstraints.video&&e.mediaConstraints.video.optional&&e.mediaConstraints.video.optional.length){C=[];e.mediaConstraints.video.optional.forEach(function(e){void 0===e.bandwidth&&C.push(e)}),e.mediaConstraints.video.optional=C}}e.getExtraData=function(t,n){if(!t)throw"remoteUserId is required.";if("function"!=typeof n)return e.peers[t]?e.peers[t].extra:e.peersBackup[t]?e.peersBackup[t].extra:{};e.socket.emit("get-remote-user-extra-data",t,function(e,t,i){n(e,t,i)})},r.autoOpenOrJoin&&e.openOrJoin(e.sessionid),e.onUserIdAlreadyTaken=function(t,n){e.close(),e.closeSocket(),e.isInitiator=!1,e.userid=e.token(),e.join(e.sessionid),e.enableLogs&&console.warn("Userid already taken.",t,"Your new userid:",e.userid)},e.trickleIce=!0,e.version="3.6.9",e.onSettingLocalDescription=function(t){e.enableLogs&&console.info("Set local description for remote user",t.userid)},e.resetScreen=function(){sourceId=null,DetectRTC&&DetectRTC.screen&&delete DetectRTC.screen.sourceId,currentUserMediaRequest={streams:[],mutex:!1,queueRequests:[]}},e.autoCreateMediaElement=!0,e.password=null,e.setPassword=function(t,n){n=n||function(){},e.socket?e.socket.emit("set-password",t,n):(e.password=t,n(!0,e.sessionid,null))},e.onSocketDisconnect=function(t){e.enableLogs&&console.warn("socket.io connection is closed")},e.onSocketError=function(t){e.enableLogs&&console.warn("socket.io connection is failed")},e.errors={ROOM_NOT_AVAILABLE:"Room not available",INVALID_PASSWORD:"Invalid password",USERID_NOT_AVAILABLE:"User ID does not exist",ROOM_PERMISSION_DENIED:"Room permission denied",ROOM_FULL:"Room full",DID_NOT_JOIN_ANY_ROOM:"Did not join any room yet",INVALID_SOCKET:"Invalid socket",PUBLIC_IDENTIFIER_MISSING:"publicRoomIdentifier is required",INVALID_ADMIN_CREDENTIAL:"Invalid username or password attempted"}}(this)};void 0!==t&&(t.exports=i),"function"==typeof define&&define.amd&&define("RTCMultiConnection",[],function(){return i})}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:94}],110:[function(e,t,n){"use strict";var i={generateIdentifier:function(){return Math.random().toString(36).substr(2,10)}};i.localCName=i.generateIdentifier(),i.splitLines=function(e){return e.trim().split("\n").map(function(e){return e.trim()})},i.splitSections=function(e){return e.split("\nm=").map(function(e,t){return(t>0?"m="+e:e).trim()+"\r\n"})},i.matchPrefix=function(e,t){return i.splitLines(e).filter(function(e){return 0===e.indexOf(t)})},i.parseCandidate=function(e){for(var t,n={foundation:(t=0===e.indexOf("a=candidate:")?e.substring(12).split(" "):e.substring(10).split(" "))[0],component:t[1],protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],port:parseInt(t[5],10),type:t[7]},i=8;i<t.length;i+=2)switch(t[i]){case"raddr":n.relatedAddress=t[i+1];break;case"rport":n.relatedPort=parseInt(t[i+1],10);break;case"tcptype":n.tcpType=t[i+1];break;default:n[t[i]]=t[i+1]}return n},i.writeCandidate=function(e){var t=[];t.push(e.foundation),t.push(e.component),t.push(e.protocol.toUpperCase()),t.push(e.priority),t.push(e.ip),t.push(e.port);var n=e.type;return t.push("typ"),t.push(n),"host"!==n&&e.relatedAddress&&e.relatedPort&&(t.push("raddr"),t.push(e.relatedAddress),t.push("rport"),t.push(e.relatedPort)),e.tcpType&&"tcp"===e.protocol.toLowerCase()&&(t.push("tcptype"),t.push(e.tcpType)),"candidate:"+t.join(" ")},i.parseIceOptions=function(e){return e.substr(14).split(" ")},i.parseRtpMap=function(e){var t=e.substr(9).split(" "),n={payloadType:parseInt(t.shift(),10)};return t=t[0].split("/"),n.name=t[0],n.clockRate=parseInt(t[1],10),n.numChannels=3===t.length?parseInt(t[2],10):1,n},i.writeRtpMap=function(e){var t=e.payloadType;return void 0!==e.preferredPayloadType&&(t=e.preferredPayloadType),"a=rtpmap:"+t+" "+e.name+"/"+e.clockRate+(1!==e.numChannels?"/"+e.numChannels:"")+"\r\n"},i.parseExtmap=function(e){var t=e.substr(9).split(" ");return{id:parseInt(t[0],10),direction:t[0].indexOf("/")>0?t[0].split("/")[1]:"sendrecv",uri:t[1]}},i.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+"\r\n"},i.parseFmtp=function(e){for(var t,n={},i=e.substr(e.indexOf(" ")+1).split(";"),r=0;r<i.length;r++)n[(t=i[r].trim().split("="))[0].trim()]=t[1];return n},i.writeFmtp=function(e){var t="",n=e.payloadType;if(void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.parameters&&Object.keys(e.parameters).length){var i=[];Object.keys(e.parameters).forEach(function(t){i.push(t+"="+e.parameters[t])}),t+="a=fmtp:"+n+" "+i.join(";")+"\r\n"}return t},i.parseRtcpFb=function(e){var t=e.substr(e.indexOf(" ")+1).split(" ");return{type:t.shift(),parameter:t.join(" ")}},i.writeRtcpFb=function(e){var t="",n=e.payloadType;return void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.rtcpFeedback&&e.rtcpFeedback.length&&e.rtcpFeedback.forEach(function(e){t+="a=rtcp-fb:"+n+" "+e.type+(e.parameter&&e.parameter.length?" "+e.parameter:"")+"\r\n"}),t},i.parseSsrcMedia=function(e){var t=e.indexOf(" "),n={ssrc:parseInt(e.substr(7,t-7),10)},i=e.indexOf(":",t);return i>-1?(n.attribute=e.substr(t+1,i-t-1),n.value=e.substr(i+1)):n.attribute=e.substr(t+1),n},i.getMid=function(e){var t=i.matchPrefix(e,"a=mid:")[0];if(t)return t.substr(6)},i.parseFingerprint=function(e){var t=e.substr(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1]}},i.getDtlsParameters=function(e,t){return{role:"auto",fingerprints:i.matchPrefix(e+t,"a=fingerprint:").map(i.parseFingerprint)}},i.writeDtlsParameters=function(e,t){var n="a=setup:"+t+"\r\n";return e.fingerprints.forEach(function(e){n+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"}),n},i.getIceParameters=function(e,t){var n=i.splitLines(e);return{usernameFragment:(n=n.concat(i.splitLines(t))).filter(function(e){return 0===e.indexOf("a=ice-ufrag:")})[0].substr(12),password:n.filter(function(e){return 0===e.indexOf("a=ice-pwd:")})[0].substr(10)}},i.writeIceParameters=function(e){return"a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n"},i.parseRtpParameters=function(e){for(var t={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},n=i.splitLines(e)[0].split(" "),r=3;r<n.length;r++){var o=n[r],a=i.matchPrefix(e,"a=rtpmap:"+o+" ")[0];if(a){var s=i.parseRtpMap(a),l=i.matchPrefix(e,"a=fmtp:"+o+" ");switch(s.parameters=l.length?i.parseFmtp(l[0]):{},s.rtcpFeedback=i.matchPrefix(e,"a=rtcp-fb:"+o+" ").map(i.parseRtcpFb),t.codecs.push(s),s.name.toUpperCase()){case"RED":case"ULPFEC":t.fecMechanisms.push(s.name.toUpperCase())}}}return i.matchPrefix(e,"a=extmap:").forEach(function(e){t.headerExtensions.push(i.parseExtmap(e))}),t},i.writeRtpDescription=function(e,t){var n="";n+="m="+e+" ",n+=t.codecs.length>0?"9":"0",n+=" UDP/TLS/RTP/SAVPF ",n+=t.codecs.map(function(e){return void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType}).join(" ")+"\r\n",n+="c=IN IP4 0.0.0.0\r\n",n+="a=rtcp:9 IN IP4 0.0.0.0\r\n",t.codecs.forEach(function(e){n+=i.writeRtpMap(e),n+=i.writeFmtp(e),n+=i.writeRtcpFb(e)});var r=0;return t.codecs.forEach(function(e){e.maxptime>r&&(r=e.maxptime)}),r>0&&(n+="a=maxptime:"+r+"\r\n"),n+="a=rtcp-mux\r\n",t.headerExtensions.forEach(function(e){n+=i.writeExtmap(e)}),n},i.parseRtpEncodingParameters=function(e){var t,n=[],r=i.parseRtpParameters(e),o=-1!==r.fecMechanisms.indexOf("RED"),a=-1!==r.fecMechanisms.indexOf("ULPFEC"),s=i.matchPrefix(e,"a=ssrc:").map(function(e){return i.parseSsrcMedia(e)}).filter(function(e){return"cname"===e.attribute}),l=s.length>0&&s[0].ssrc,c=i.matchPrefix(e,"a=ssrc-group:FID").map(function(e){var t=e.split(" ");return t.shift(),t.map(function(e){return parseInt(e,10)})});c.length>0&&c[0].length>1&&c[0][0]===l&&(t=c[0][1]),r.codecs.forEach(function(e){if("RTX"===e.name.toUpperCase()&&e.parameters.apt){var i={ssrc:l,codecPayloadType:parseInt(e.parameters.apt,10),rtx:{ssrc:t}};n.push(i),o&&((i=JSON.parse(JSON.stringify(i))).fec={ssrc:t,mechanism:a?"red+ulpfec":"red"},n.push(i))}}),0===n.length&&l&&n.push({ssrc:l});var u=i.matchPrefix(e,"b=");return u.length&&(0===u[0].indexOf("b=TIAS:")?u=parseInt(u[0].substr(7),10):0===u[0].indexOf("b=AS:")&&(u=parseInt(u[0].substr(5),10)),n.forEach(function(e){e.maxBitrate=u})),n},i.parseRtcpParameters=function(e){var t={},n=i.matchPrefix(e,"a=ssrc:").map(function(e){return i.parseSsrcMedia(e)}).filter(function(e){return"cname"===e.attribute})[0];n&&(t.cname=n.value,t.ssrc=n.ssrc);var r=i.matchPrefix(e,"a=rtcp-rsize");t.reducedSize=r.length>0,t.compound=0===r.length;var o=i.matchPrefix(e,"a=rtcp-mux");return t.mux=o.length>0,t},i.parseMsid=function(e){var t,n=i.matchPrefix(e,"a=msid:");if(1===n.length)return{stream:(t=n[0].substr(7).split(" "))[0],track:t[1]};var r=i.matchPrefix(e,"a=ssrc:").map(function(e){return i.parseSsrcMedia(e)}).filter(function(e){return"msid"===e.attribute});return r.length>0?{stream:(t=r[0].value.split(" "))[0],track:t[1]}:void 0},i.writeSessionBoilerplate=function(){return"v=0\r\no=thisisadapterortc 8169639915646943137 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},i.writeMediaSection=function(e,t,n,r){var o=i.writeRtpDescription(e.kind,t);if(o+=i.writeIceParameters(e.iceGatherer.getLocalParameters()),o+=i.writeDtlsParameters(e.dtlsTransport.getLocalParameters(),"offer"===n?"actpass":"active"),o+="a=mid:"+e.mid+"\r\n",e.direction?o+="a="+e.direction+"\r\n":e.rtpSender&&e.rtpReceiver?o+="a=sendrecv\r\n":e.rtpSender?o+="a=sendonly\r\n":e.rtpReceiver?o+="a=recvonly\r\n":o+="a=inactive\r\n",e.rtpSender){var a="msid:"+r.id+" "+e.rtpSender.track.id+"\r\n";o+="a="+a,o+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" "+a,e.sendEncodingParameters[0].rtx&&(o+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" "+a,o+="a=ssrc-group:FID "+e.sendEncodingParameters[0].ssrc+" "+e.sendEncodingParameters[0].rtx.ssrc+"\r\n")}return o+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" cname:"+i.localCName+"\r\n",e.rtpSender&&e.sendEncodingParameters[0].rtx&&(o+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" cname:"+i.localCName+"\r\n"),o},i.getDirection=function(e,t){for(var n=i.splitLines(e),r=0;r<n.length;r++)switch(n[r]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return n[r].substr(2)}return t?i.getDirection(t):"sendrecv"},i.getKind=function(e){return i.splitLines(e)[0].split(" ")[0].substr(2)},i.isRejected=function(e){return"0"===e.split(" ",2)[1]},t.exports=i},{}],111:[function(e,t,n){(function(n){var i=e("./doc"),r=e("./query"),o=e("./snapshot-request/snapshot-version-request"),a=e("./snapshot-request/snapshot-timestamp-request"),s=e("../emitter"),l=e("../error"),c=e("../types"),u=e("../util"),d=e("../logger"),p=l.CODES;function f(e){return 0===e.readyState||1===e.readyState?"connecting":"disconnected"}function h(e){s.EventEmitter.call(this),this.collections={},this.nextQueryId=1,this.nextSnapshotRequestId=1,this.queries={},this._snapshotRequests={},this.seq=1,this.id=null,this.agent=null,this.debug=!1,this.state=f(e),this.bindToSocket(e)}function m(e,t){var n=new Error(e.message);return n.code=e.code,t&&(n.data=t),n}function g(e){return e.hasPending()}function v(e){return e.hasWritePending()}t.exports=h,s.mixin(h),h.prototype.bindToSocket=function(e){this.socket&&(this.socket.close(),this.socket.onmessage=null,this.socket.onopen=null,this.socket.onerror=null,this.socket.onclose=null),this.socket=e;var t=f(e);this._setState(t),this.canSend=!1;var i=this;e.onmessage=function(e){try{var t="string"==typeof e.data?JSON.parse(e.data):e.data}catch(t){return void d.warn("Failed to parse message",e)}i.debug&&d.info("RECV",JSON.stringify(t));var r={data:t};if(i.emit("receive",r),r.data)try{i.handleMessage(r.data)}catch(e){n.nextTick(function(){i.emit("error",e)})}},e.onopen=function(){i._setState("connecting")},e.onerror=function(e){i.emit("connection error",e)},e.onclose=function(e){"closed"===e||"Closed"===e?i._setState("closed",e):"stopped"===e||"Stopped by server"===e?i._setState("stopped",e):i._setState("disconnected",e)}},h.prototype.handleMessage=function(e){var t=null;switch(e.error&&(t=m(e.error,e),delete e.error),e.a){case"init":return 1!==e.protocol?(t=new l(p.ERR_PROTOCOL_VERSION_NOT_SUPPORTED,"Unsupported protocol version: "+e.protocol),this.emit("error",t)):c.map[e.type]!==c.defaultType?(t=new l(p.ERR_DEFAULT_TYPE_MISMATCH,e.type+" does not match the server default type"),this.emit("error",t)):"string"!=typeof e.id?(t=new l(p.ERR_CLIENT_ID_BADLY_FORMED,"Client id must be a string"),this.emit("error",t)):(this.id=e.id,void this._setState("connected"));case"qf":return void((n=this.queries[e.id])&&n._handleFetch(t,e.data,e.extra));case"qs":return void((n=this.queries[e.id])&&n._handleSubscribe(t,e.data,e.extra));case"qu":return;case"q":var n;if(!(n=this.queries[e.id]))return;return t?n._handleError(t):(e.diff&&n._handleDiff(e.diff),void(e.hasOwnProperty("extra")&&n._handleExtra(e.extra)));case"bf":return this._handleBulkMessage(t,e,"_handleFetch");case"bs":return this._handleBulkMessage(t,e,"_handleSubscribe");case"bu":return this._handleBulkMessage(t,e,"_handleUnsubscribe");case"nf":case"nt":return this._handleSnapshotFetch(t,e);case"f":return void((i=this.getExisting(e.c,e.d))&&i._handleFetch(t,e.data));case"s":return void((i=this.getExisting(e.c,e.d))&&i._handleSubscribe(t,e.data));case"u":return void((i=this.getExisting(e.c,e.d))&&i._handleUnsubscribe(t));case"op":var i;return void((i=this.getExisting(e.c,e.d))&&i._handleOp(t,e));default:d.warn("Ignoring unrecognized message",e)}},h.prototype._handleBulkMessage=function(e,t,n){if(t.data)for(var i in t.data){var r=t.data[i];(a=this.getExisting(t.c,i))&&(e?a[n](e):r.error?a[n](m(r.error)):a[n](null,r))}else if(Array.isArray(t.b))for(var o=0;o<t.b.length;o++){i=t.b[o];(a=this.getExisting(t.c,i))&&a[n](e)}else if(t.b)for(var i in t.b){var a;(a=this.getExisting(t.c,i))&&a[n](e)}else d.error("Invalid bulk message",t)},h.prototype._reset=function(){this.seq=1,this.id=null,this.agent=null},h.prototype._setState=function(e,t){if(this.state!==e){if("connecting"===e&&"disconnected"!==this.state&&"stopped"!==this.state&&"closed"!==this.state||"connected"===e&&"connecting"!==this.state){var n=new l(p.ERR_CONNECTION_STATE_TRANSITION_INVALID,"Cannot transition directly from "+this.state+" to "+e);return this.emit("error",n)}for(var i in this.state=e,this.canSend="connected"===e,"disconnected"!==e&&"stopped"!==e&&"closed"!==e||this._reset(),this.startBulk(),this.queries){this.queries[i]._onConnectionStateChanged()}for(var r in this.collections){var o=this.collections[r];for(var i in o)o[i]._onConnectionStateChanged()}for(var i in this._snapshotRequests){this._snapshotRequests[i]._onConnectionStateChanged()}this.endBulk(),this.emit(e,t),this.emit("state",e,t)}},h.prototype.startBulk=function(){this.bulk||(this.bulk={})},h.prototype.endBulk=function(){if(this.bulk)for(var e in this.bulk){var t=this.bulk[e];this._sendBulk("f",e,t.f),this._sendBulk("s",e,t.s),this._sendBulk("u",e,t.u)}this.bulk=null},h.prototype._sendBulk=function(e,t,n){if(n){var i,r=[],o={},a=0;for(var s in n){var l=n[s];null==l?r.push(s):(o[s]=l,i=s,a++)}if(1===r.length){s=r[0];this.send({a:e,c:t,d:s})}else r.length&&this.send({a:"b"+e,c:t,b:r});if(1===a){var c=o[i];this.send({a:e,c:t,d:i,v:c})}else a&&this.send({a:"b"+e,c:t,b:o})}},h.prototype._sendAction=function(e,t,n){if(this._addDoc(t),this.bulk){var i=this.bulk[t.collection]||(this.bulk[t.collection]={}),r=i[e]||(i[e]={}),o=r.hasOwnProperty(t.id);return r[t.id]=n,o}var a={a:e,c:t.collection,d:t.id,v:n};this.send(a)},h.prototype.sendFetch=function(e){return this._sendAction("f",e,e.version)},h.prototype.sendSubscribe=function(e){return this._sendAction("s",e,e.version)},h.prototype.sendUnsubscribe=function(e){return this._sendAction("u",e)},h.prototype.sendOp=function(e,t){this._addDoc(e);var n={a:"op",c:e.collection,d:e.id,v:e.version,src:t.src,seq:t.seq};t.op&&(n.op=t.op),t.create&&(n.create=t.create),t.del&&(n.del=t.del),this.send(n)},h.prototype.send=function(e){this.debug&&d.info("SEND",JSON.stringify(e)),this.emit("send",e),this.socket.send(JSON.stringify(e))},h.prototype.close=function(){this.socket.close()},h.prototype.getExisting=function(e,t){if(this.collections[e])return this.collections[e][t]},h.prototype.get=function(e,t){var n=this.collections[e]||(this.collections[e]={}),r=n[t];return r||(r=n[t]=new i(this,e,t),this.emit("doc",r)),r},h.prototype._destroyDoc=function(e){var t=this.collections[e.collection];t&&(delete t[e.id],u.hasKeys(t)||delete this.collections[e.collection])},h.prototype._addDoc=function(e){var t=this.collections[e.collection];t||(t=this.collections[e.collection]={}),t[e.id]!==e&&(t[e.id]=e)},h.prototype._createQuery=function(e,t,n,i,o){var a=this.nextQueryId++,s=new r(e,this,a,t,n,i,o);return this.queries[a]=s,s.send(),s},h.prototype._destroyQuery=function(e){delete this.queries[e.id]},h.prototype.createFetchQuery=function(e,t,n,i){return this._createQuery("qf",e,t,n,i)},h.prototype.createSubscribeQuery=function(e,t,n,i){return this._createQuery("qs",e,t,n,i)},h.prototype.hasPending=function(){return!!(this._firstDoc(g)||this._firstQuery(g)||this._firstSnapshotRequest())},h.prototype.hasWritePending=function(){return!!this._firstDoc(v)},h.prototype.whenNothingPending=function(e){var t=this._firstDoc(g);if(t)t.once("nothing pending",this._nothingPendingRetry(e));else{var i=this._firstQuery(g);if(i)i.once("ready",this._nothingPendingRetry(e));else{var r=this._firstSnapshotRequest();r?r.once("ready",this._nothingPendingRetry(e)):n.nextTick(e)}}},h.prototype._nothingPendingRetry=function(e){var t=this;return function(){n.nextTick(function(){t.whenNothingPending(e)})}},h.prototype._firstDoc=function(e){for(var t in this.collections){var n=this.collections[t];for(var i in n){var r=n[i];if(e(r))return r}}},h.prototype._firstQuery=function(e){for(var t in this.queries){var n=this.queries[t];if(e(n))return n}},h.prototype._firstSnapshotRequest=function(){for(var e in this._snapshotRequests)return this._snapshotRequests[e]},h.prototype.fetchSnapshot=function(e,t,n,i){"function"==typeof n&&(i=n,n=null);var r=this.nextSnapshotRequestId++,a=new o(this,r,e,t,n,i);this._snapshotRequests[a.requestId]=a,a.send()},h.prototype.fetchSnapshotByTimestamp=function(e,t,n,i){"function"==typeof n&&(i=n,n=null);var r=this.nextSnapshotRequestId++,o=new a(this,r,e,t,n,i);this._snapshotRequests[o.requestId]=o,o.send()},h.prototype._handleSnapshotFetch=function(e,t){var n=this._snapshotRequests[t.id];n&&(delete this._snapshotRequests[t.id],n._handleResponse(e,t))}}).call(this,e("_process"))},{"../emitter":118,"../error":119,"../logger":120,"../types":123,"../util":124,"./doc":112,"./query":114,"./snapshot-request/snapshot-timestamp-request":116,"./snapshot-request/snapshot-version-request":117,_process:94}],112:[function(e,t,n){(function(n){var i=e("../emitter"),r=e("../logger"),o=e("../error"),a=e("../types"),s=o.CODES;function l(e,t,n){i.EventEmitter.call(this),this.connection=e,this.collection=t,this.id=n,this.version=null,this.type=null,this.data=void 0,this.inflightFetch=[],this.inflightSubscribe=[],this.inflightUnsubscribe=[],this.pendingFetch=[],this.subscribed=!1,this.wantSubscribe=!1,this.inflightOp=null,this.pendingOps=[],this.type=null,this.applyStack=null,this.preventCompose=!1}function c(e,t,n){if(t){var i=e.pop();e.push(function(e){i&&i(e),n&&n(e)})}else e.push(n)}function u(e,t){if(e.del)return delete(n=t).op,delete n.create,void delete n.del;var n;if(t.del)return new o(s.ERR_DOC_WAS_DELETED,"Document was deleted");if(t.create)return new o(s.ERR_DOC_ALREADY_CREATED,"Document already created");if(t.op){if(e.create)return new o(s.ERR_DOC_ALREADY_CREATED,"Document already created");if(e.type.transformX){var i=e.type.transformX(e.op,t.op);e.op=i[0],t.op=i[1]}else{var r=e.type.transform(e.op,t.op,"left"),a=e.type.transform(t.op,e.op,"right");e.op=r,t.op=a}}}function d(e,t){for(var n=!1,i=0;i<e.length;i++){var r=e[i];r&&(r(t),n=!0)}return n}t.exports=l,i.mixin(l),l.prototype.destroy=function(e){var t=this;t.whenNothingPending(function(){t.wantSubscribe?t.unsubscribe(function(n){if(n)return e?e(n):t.emit("error",n);t.connection._destroyDoc(t),e&&e()}):(t.connection._destroyDoc(t),e&&e())})},l.prototype._setType=function(e){if("string"==typeof e&&(e=a.map[e]),e)this.type=e;else{if(null!==e){var t=new o(s.ERR_DOC_TYPE_NOT_RECOGNIZED,"Missing type "+e);return this.emit("error",t)}this.type=e,this.data=void 0}},l.prototype.ingestSnapshot=function(e,t){if(!e)return t&&t();if("number"!=typeof e.v){var n=new o(s.ERR_INGESTED_SNAPSHOT_HAS_NO_VERSION,"Missing version in ingested snapshot. "+this.collection+"."+this.id);return t?t(n):this.emit("error",n)}if(this.type||this.hasWritePending()){if(null==this.version){if(this.hasWritePending())return t&&this.once("no write pending",t);n=new o(s.ERR_DOC_MISSING_VERSION,"Cannot ingest snapshot in doc with null version. "+this.collection+"."+this.id);return t?t(n):this.emit("error",n)}return e.v>this.version?this.fetch(t):t&&t()}if(this.version>e.v)return t&&t();this.version=e.v;var i=void 0===e.type?a.defaultType:e.type;this._setType(i),this.data=this.type&&this.type.deserialize?this.type.deserialize(e.data):e.data,this.emit("load"),t&&t()},l.prototype.whenNothingPending=function(e){var t=this;n.nextTick(function(){t.hasPending()?t.once("nothing pending",e):e()})},l.prototype.hasPending=function(){return!!(this.inflightOp||this.pendingOps.length||this.inflightFetch.length||this.inflightSubscribe.length||this.inflightUnsubscribe.length||this.pendingFetch.length)},l.prototype.hasWritePending=function(){return!(!this.inflightOp&&!this.pendingOps.length)},l.prototype._emitNothingPending=function(){this.hasWritePending()||(this.emit("no write pending"),this.hasPending()||this.emit("nothing pending"))},l.prototype._emitResponseError=function(e,t){return e&&e.code===s.ERR_SNAPSHOT_READ_SILENT_REJECTION?(this.wantSubscribe=!1,t&&t(),void this._emitNothingPending()):t?(t(e),void this._emitNothingPending()):(this._emitNothingPending(),void this.emit("error",e))},l.prototype._handleFetch=function(e,t){var n=this.inflightFetch.shift();if(e)return this._emitResponseError(e,n);this.ingestSnapshot(t,n),this._emitNothingPending()},l.prototype._handleSubscribe=function(e,t){var n=this.inflightSubscribe.shift();if(e)return this._emitResponseError(e,n);this.wantSubscribe&&(this.subscribed=!0),this.ingestSnapshot(t,n),this._emitNothingPending()},l.prototype._handleUnsubscribe=function(e){var t=this.inflightUnsubscribe.shift();if(e)return this._emitResponseError(e,t);t&&t(),this._emitNothingPending()},l.prototype._handleOp=function(e,t){if(e)return this.inflightOp?(e.code===s.ERR_OP_SUBMIT_REJECTED&&(e=null),this._rollback(e)):this.emit("error",e);if(this.inflightOp&&t.src===this.inflightOp.src&&t.seq===this.inflightOp.seq)this._opAcknowledged(t);else if(null==this.version||t.v>this.version)this.fetch();else if(!(t.v<this.version)){if(this.inflightOp)if(i=u(this.inflightOp,t))return this._hardRollback(i);for(var n=0;n<this.pendingOps.length;n++){var i;if(i=u(this.pendingOps[n],t))return this._hardRollback(i)}this.version++;try{this._otApply(t,!1)}catch(e){return this._hardRollback(e)}}},l.prototype._onConnectionStateChanged=function(){if(this.connection.canSend)this.flush(),this._resubscribe();else if(this.inflightOp&&(this.pendingOps.unshift(this.inflightOp),this.inflightOp=null),this.subscribed=!1,(this.inflightFetch.length||this.inflightSubscribe.length)&&(this.pendingFetch=this.pendingFetch.concat(this.inflightFetch,this.inflightSubscribe),this.inflightFetch.length=0,this.inflightSubscribe.length=0),this.inflightUnsubscribe.length){var e=this.inflightUnsubscribe;this.inflightUnsubscribe=[],d(e)}},l.prototype._resubscribe=function(){var e=this.pendingFetch;if(this.pendingFetch=[],this.wantSubscribe)return e.length?void this.subscribe(function(t){d(e,t)}):void this.subscribe();e.length&&this.fetch(function(t){d(e,t)})},l.prototype.fetch=function(e){if(this.connection.canSend){var t=this.connection.sendFetch(this);c(this.inflightFetch,t,e)}else this.pendingFetch.push(e)},l.prototype.subscribe=function(e){if(this.wantSubscribe=!0,this.connection.canSend){var t=this.connection.sendSubscribe(this);c(this.inflightSubscribe,t,e)}else this.pendingFetch.push(e)},l.prototype.unsubscribe=function(e){if(this.wantSubscribe=!1,this.subscribed=!1,this.connection.canSend){var t=this.connection.sendUnsubscribe(this);c(this.inflightUnsubscribe,t,e)}else e&&n.nextTick(e)},l.prototype.flush=function(){this.connection.canSend&&!this.inflightOp&&!this.paused&&this.pendingOps.length&&this._sendOp()},l.prototype._otApply=function(e,t){if(e.op){if(!this.type)throw new o(s.ERR_DOC_DOES_NOT_EXIST,"Cannot apply op to uncreated document. "+this.collection+"."+this.id);if(!t&&this.type===a.defaultType&&e.op.length>1){this.applyStack||(this.applyStack=[]);for(var n=this.applyStack.length,i=0;i<e.op.length;i++){for(var r={op:[e.op[i]]},l=n;l<this.applyStack.length;l++){var c=u(this.applyStack[l],r);if(c)return this._hardRollback(c)}this.emit("before op",r.op,t),this.data=this.type.apply(this.data,r.op),this.emit("op",r.op,t)}return void this._popApplyStack(n)}return this.emit("before op",e.op,t),this.data=this.type.apply(this.data,e.op),void this.emit("op",e.op,t)}if(e.create)return this._setType(e.create.type),this.data=this.type.deserialize?this.type.createDeserialized?this.type.createDeserialized(e.create.data):this.type.deserialize(this.type.create(e.create.data)):this.type.create(e.create.data),void this.emit("create",t);if(e.del){var d=this.data;return this._setType(null),void this.emit("del",d,t)}},l.prototype._sendOp=function(){var e=this.connection.id;if(e){this.inflightOp||(this.inflightOp=this.pendingOps.shift());var t=this.inflightOp;if(!t){var n=new o(s.ERR_INFLIGHT_OP_MISSING,"No op to send on call to _sendOp");return this.emit("error",n)}t.sentAt=Date.now(),t.retries=null==t.retries?0:t.retries+1,null==t.seq&&(t.seq=this.connection.seq++),this.connection.sendOp(this,t),null==t.src&&(t.src=e)}},l.prototype._submit=function(e,t,i){if(t||(t=!0),e.op){if(!this.type){var r=new o(s.ERR_DOC_DOES_NOT_EXIST,"Cannot submit op. Document has not been created. "+this.collection+"."+this.id);return i?i(r):this.emit("error",r)}this.type.normalize&&(e.op=this.type.normalize(e.op))}try{this._pushOp(e,i),this._otApply(e,t)}catch(e){return this._hardRollback(e)}var a=this;n.nextTick(function(){a.flush()})},l.prototype._pushOp=function(e,t){if(this.applyStack)this.applyStack.push(e);else{var n=this._tryCompose(e);if(n)return void n.callbacks.push(t)}e.type=this.type,e.callbacks=[t],this.pendingOps.push(e)},l.prototype._popApplyStack=function(e){if(e>0)this.applyStack.length=e;else{var t=this.applyStack[0];if(this.applyStack=null,t)if(-1!==(i=this.pendingOps.indexOf(t)))for(var n=this.pendingOps.splice(i),i=0;i<n.length;i++){t=n[i];var r=this._tryCompose(t);r?r.callbacks=r.callbacks.concat(t.callbacks):this.pendingOps.push(t)}}},l.prototype._tryCompose=function(e){if(!this.preventCompose){var t=this.pendingOps[this.pendingOps.length-1];if(t&&!t.sentAt)return t.create&&e.op?(t.create.data=this.type.apply(t.create.data,e.op),t):t.op&&e.op&&this.type.compose?(t.op=this.type.compose(t.op,e.op),t):void 0}},l.prototype.submitOp=function(e,t,n){"function"==typeof t&&(n=t,t=null);var i={op:e},r=t&&t.source;this._submit(i,r,n)},l.prototype.create=function(e,t,n,i){if("function"==typeof t?(i=t,n=null,t=null):"function"==typeof n&&(i=n,n=null),t||(t=a.defaultType.uri),this.type){var r=new o(s.ERR_DOC_ALREADY_CREATED,"Document already exists");return i?i(r):this.emit("error",r)}var l={create:{type:t,data:e}},c=n&&n.source;this._submit(l,c,i)},l.prototype.del=function(e,t){if("function"==typeof e&&(t=e,e=null),!this.type){var n=new o(s.ERR_DOC_DOES_NOT_EXIST,"Document does not exist");return t?t(n):this.emit("error",n)}var i=e&&e.source;this._submit({del:!0},i,t)},l.prototype.pause=function(){this.paused=!0},l.prototype.resume=function(){this.paused=!1,this.flush()},l.prototype._opAcknowledged=function(e){if(this.inflightOp.create)this.version=e.v;else if(e.v!==this.version)return r.warn("Invalid version from server. Expected: "+this.version+" Received: "+e.v,e),this.fetch();this.version++,this._clearInflightOp()},l.prototype._rollback=function(e){var t=this.inflightOp;if(t.op&&t.type.invert){t.op=t.type.invert(t.op);for(var n=0;n<this.pendingOps.length;n++){var i=u(this.pendingOps[n],t);if(i)return this._hardRollback(i)}try{this._otApply(t,!1)}catch(e){return this._hardRollback(e)}this._clearInflightOp(e)}else this._hardRollback(e)},l.prototype._hardRollback=function(e){var t=[];this.inflightOp&&t.push(this.inflightOp),t=t.concat(this.pendingOps),this._setType(null),this.version=null,this.inflightOp=null,this.pendingOps=[];var n=this;this.fetch(function(){for(var i=!!t.length,r=0;r<t.length;r++)i=d(t[r].callbacks,e)&&i;if(e&&!i)return n.emit("error",e)})},l.prototype._clearInflightOp=function(e){var t=this.inflightOp;this.inflightOp=null;var n=d(t.callbacks,e);if(this.flush(),this._emitNothingPending(),e&&!n)return this.emit("error",e)}}).call(this,e("_process"))},{"../emitter":118,"../error":119,"../logger":120,"../types":123,_process:94}],113:[function(e,t,n){n.Connection=e("./connection"),n.Doc=e("./doc"),n.Error=e("../error"),n.Query=e("./query"),n.types=e("../types"),n.logger=e("../logger")},{"../error":119,"../logger":120,"../types":123,"./connection":111,"./doc":112,"./query":114}],114:[function(e,t,n){(function(n){var i=e("../emitter");function r(e,t,n,r,o,a,s){i.EventEmitter.call(this),this.action=e,this.connection=t,this.id=n,this.collection=r,this.query=o,this.results=null,a&&a.results&&(this.results=a.results,delete a.results),this.extra=void 0,this.options=a,this.callback=s,this.ready=!1,this.sent=!1}t.exports=r,i.mixin(r),r.prototype.hasPending=function(){return!this.ready},r.prototype.send=function(){if(this.connection.canSend){var e={a:this.action,id:this.id,c:this.collection,q:this.query};if(this.options&&(e.o=this.options),this.results){for(var t=[],n=0;n<this.results.length;n++){var i=this.results[n];t.push([i.id,i.version])}e.r=t}this.connection.send(e),this.sent=!0}},r.prototype.destroy=function(e){this.connection.canSend&&"qs"===this.action&&this.connection.send({a:"qu",id:this.id}),this.connection._destroyQuery(this),e&&n.nextTick(e)},r.prototype._onConnectionStateChanged=function(){this.connection.canSend&&!this.sent?this.send():this.sent=!1},r.prototype._handleFetch=function(e,t,n){this.connection._destroyQuery(this),this._handleResponse(e,t,n)},r.prototype._handleSubscribe=function(e,t,n){this._handleResponse(e,t,n)},r.prototype._handleResponse=function(e,t,n){var i=this.callback;if(this.callback=null,e)return this._finishResponse(e,i);if(!t)return this._finishResponse(null,i);var r=this,o=1,a=function(e){if(e)return r._finishResponse(e,i);--o||r._finishResponse(null,i)};if(Array.isArray(t))o+=t.length,this.results=this._ingestSnapshots(t,a),this.extra=n;else for(var s in t){o++;var l=t[s];this.connection.get(l.c||this.collection,s).ingestSnapshot(l,a)}a()},r.prototype._ingestSnapshots=function(e,t){for(var n=[],i=0;i<e.length;i++){var r=e[i],o=this.connection.get(r.c||this.collection,r.d);o.ingestSnapshot(r,t),n.push(o)}return n},r.prototype._finishResponse=function(e,t){if(this.emit("ready"),this.ready=!0,e)return this.connection._destroyQuery(this),t?t(e):this.emit("error",e);t&&t(null,this.results,this.extra)},r.prototype._handleError=function(e){this.emit("error",e)},r.prototype._handleDiff=function(e){for(var t=0;t<e.length;t++){"insert"===(n=e[t]).type&&(n.values=this._ingestSnapshots(n.values))}for(t=0;t<e.length;t++){var n;switch((n=e[t]).type){case"insert":var i=n.values;Array.prototype.splice.apply(this.results,[n.index,0].concat(i)),this.emit("insert",i,n.index);break;case"remove":var r=n.howMany||1,o=this.results.splice(n.index,r);this.emit("remove",o,n.index);break;case"move":r=n.howMany||1;var a=this.results.splice(n.from,r);Array.prototype.splice.apply(this.results,[n.to,0].concat(a)),this.emit("move",a,n.from,n.to)}}this.emit("changed",this.results)},r.prototype._handleExtra=function(e){this.extra=e,this.emit("extra",e)}}).call(this,e("_process"))},{"../emitter":118,_process:94}],115:[function(e,t,n){var i=e("../../snapshot"),r=e("../../emitter");function o(e,t,n,i,o){if(r.EventEmitter.call(this),"function"!=typeof o)throw new Error("Callback is required for SnapshotRequest");this.requestId=t,this.connection=e,this.id=i,this.collection=n,this.callback=o,this.sent=!1}t.exports=o,r.mixin(o),o.prototype.send=function(){this.connection.canSend&&(this.connection.send(this._message()),this.sent=!0)},o.prototype._onConnectionStateChanged=function(){this.connection.canSend?this.sent||this.send():this.sent=!1},o.prototype._handleResponse=function(e,t){if(this.emit("ready"),e)return this.callback(e);var n=t.meta?t.meta:null,r=new i(this.id,t.v,t.type,t.data,n);this.callback(null,r)}},{"../../emitter":118,"../../snapshot":122}],116:[function(e,t,n){var i=e("./snapshot-request"),r=e("../../util");function o(e,t,n,o,a,s){if(i.call(this,e,t,n,o,s),!r.isValidTimestamp(a))throw new Error("Snapshot timestamp must be a positive integer or null");this.timestamp=a}t.exports=o,o.prototype=Object.create(i.prototype),o.prototype._message=function(){return{a:"nt",id:this.requestId,c:this.collection,d:this.id,ts:this.timestamp}}},{"../../util":124,"./snapshot-request":115}],117:[function(e,t,n){var i=e("./snapshot-request"),r=e("../../util");function o(e,t,n,o,a,s){if(i.call(this,e,t,n,o,s),!r.isValidVersion(a))throw new Error("Snapshot version must be a positive integer or null");this.version=a}t.exports=o,o.prototype=Object.create(i.prototype),o.prototype._message=function(){return{a:"nf",id:this.requestId,c:this.collection,d:this.id,v:this.version}}},{"../../util":124,"./snapshot-request":115}],118:[function(e,t,n){var i=e("events").EventEmitter;n.EventEmitter=i,n.mixin=function(e){for(var t in i.prototype)e.prototype[t]=i.prototype[t]}},{events:61}],119:[function(e,t,n){function i(e,t){this.code=e,this.message=t||"",Error.captureStackTrace?Error.captureStackTrace(this,i):this.stack=(new Error).stack}i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i.prototype.name="ShareDBError",i.CODES={ERR_APPLY_OP_VERSION_DOES_NOT_MATCH_SNAPSHOT:"ERR_APPLY_OP_VERSION_DOES_NOT_MATCH_SNAPSHOT",ERR_APPLY_SNAPSHOT_NOT_PROVIDED:"ERR_APPLY_SNAPSHOT_NOT_PROVIDED",ERR_CLIENT_ID_BADLY_FORMED:"ERR_CLIENT_ID_BADLY_FORMED",ERR_CONNECTION_STATE_TRANSITION_INVALID:"ERR_CONNECTION_STATE_TRANSITION_INVALID",ERR_DATABASE_ADAPTER_NOT_FOUND:"ERR_DATABASE_ADAPTER_NOT_FOUND",ERR_DATABASE_DOES_NOT_SUPPORT_SUBSCRIBE:"ERR_DATABASE_DOES_NOT_SUPPORT_SUBSCRIBE",ERR_DATABASE_METHOD_NOT_IMPLEMENTED:"ERR_DATABASE_METHOD_NOT_IMPLEMENTED",ERR_DEFAULT_TYPE_MISMATCH:"ERR_DEFAULT_TYPE_MISMATCH",ERR_DOC_MISSING_VERSION:"ERR_DOC_MISSING_VERSION",ERR_DOC_ALREADY_CREATED:"ERR_DOC_ALREADY_CREATED",ERR_DOC_DOES_NOT_EXIST:"ERR_DOC_DOES_NOT_EXIST",ERR_DOC_TYPE_NOT_RECOGNIZED:"ERR_DOC_TYPE_NOT_RECOGNIZED",ERR_DOC_WAS_DELETED:"ERR_DOC_WAS_DELETED",ERR_INFLIGHT_OP_MISSING:"ERR_INFLIGHT_OP_MISSING",ERR_INGESTED_SNAPSHOT_HAS_NO_VERSION:"ERR_INGESTED_SNAPSHOT_HAS_NO_VERSION",ERR_MAX_SUBMIT_RETRIES_EXCEEDED:"ERR_MAX_SUBMIT_RETRIES_EXCEEDED",ERR_MESSAGE_BADLY_FORMED:"ERR_MESSAGE_BADLY_FORMED",ERR_MILESTONE_ARGUMENT_INVALID:"ERR_MILESTONE_ARGUMENT_INVALID",ERR_OP_ALREADY_SUBMITTED:"ERR_OP_ALREADY_SUBMITTED",ERR_OP_NOT_ALLOWED_IN_PROJECTION:"ERR_OP_NOT_ALLOWED_IN_PROJECTION",ERR_OP_SUBMIT_REJECTED:"ERR_OP_SUBMIT_REJECTED",ERR_OP_VERSION_MISMATCH_AFTER_TRANSFORM:"ERR_OP_VERSION_MISMATCH_AFTER_TRANSFORM",ERR_OP_VERSION_MISMATCH_DURING_TRANSFORM:"ERR_OP_VERSION_MISMATCH_DURING_TRANSFORM",ERR_OP_VERSION_NEWER_THAN_CURRENT_SNAPSHOT:"ERR_OP_VERSION_NEWER_THAN_CURRENT_SNAPSHOT",ERR_OT_OP_BADLY_FORMED:"ERR_OT_OP_BADLY_FORMED",ERR_OT_OP_NOT_PROVIDED:"ERR_OT_OP_NOT_PROVIDED",ERR_PROTOCOL_VERSION_NOT_SUPPORTED:"ERR_PROTOCOL_VERSION_NOT_SUPPORTED",ERR_QUERY_EMITTER_LISTENER_NOT_ASSIGNED:"ERR_QUERY_EMITTER_LISTENER_NOT_ASSIGNED",ERR_SNAPSHOT_READ_SILENT_REJECTION:"ERR_SNAPSHOT_READ_SILENT_REJECTION",ERR_SNAPSHOT_READS_REJECTED:"ERR_SNAPSHOT_READS_REJECTED",ERR_SUBMIT_TRANSFORM_OPS_NOT_FOUND:"ERR_SUBMIT_TRANSFORM_OPS_NOT_FOUND",ERR_TYPE_CANNOT_BE_PROJECTED:"ERR_TYPE_CANNOT_BE_PROJECTED",ERR_UNKNOWN_ERROR:"ERR_UNKNOWN_ERROR"},t.exports=i},{}],120:[function(e,t,n){var i=new(e("./logger"));t.exports=i},{"./logger":121}],121:[function(e,t,n){var i=["info","warn","error"];function r(){var e={};i.forEach(function(t){e[t]=console[t].bind(console)}),this.setMethods(e)}t.exports=r,r.prototype.setMethods=function(e){e=e||{};var t=this;i.forEach(function(n){"function"==typeof e[n]&&(t[n]=e[n])})}},{}],122:[function(e,t,n){t.exports=function(e,t,n,i,r){this.id=e,this.v=t,this.type=n,this.data=i,this.m=r}},{}],123:[function(e,t,n){n.defaultType=e("ot-json0").type,n.map={},n.register=function(e){e.name&&(n.map[e.name]=e),e.uri&&(n.map[e.uri]=e)},n.register(n.defaultType)},{"ot-json0":86}],124:[function(e,t,n){n.doNothing=function(){},n.hasKeys=function(e){for(var t in e)return!0;return!1},n.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},n.isValidVersion=function(e){return null===e||n.isInteger(e)&&e>=0},n.isValidTimestamp=function(e){return n.isValidVersion(e)}},{}],125:[function(e,t,n){!function(e){var n="-",i=/['"’‘”“]/g,r=!0;function o(e,t,o){-1!==[void 0,null].indexOf(e)&&(e=""),e="function"==typeof e.toString?e.toString():"";var s={};"object"==typeof t?s=t:(s.separator=t,s.toStrip=o,s.separator instanceof RegExp&&(s.toStrip=t,s.separator=n),void 0===s.toStrip&&(s.toStrip=/['"’‘”“]/g)),void 0===s.separator&&(s.separator=n),void 0===s.toStrip&&(s.toStrip=i),void 0===s.toLowerCase&&(s.toLowerCase=r),s.toLowerCase&&(e=e.toLowerCase());for(var l=0,c=e.length;l<c;l++)a[e.charAt(l)]&&(e=e.replace(e.charAt(l),a[e.charAt(l)]));return e=e.replace(s.toStrip,"").replace(/[\W|_]+/g,s.separator).replace(new RegExp("^"+s.separator+"+"),"").replace(new RegExp(s.separator+"+$"),"")}var a=o.chars={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ő":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ű":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ő":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ű":"u","ý":"y","þ":"th","ÿ":"y","ẞ":"SS","œ":"oe","Œ":"OE","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ά":"a","έ":"e","ί":"i","ό":"o","ύ":"y","ή":"h","ώ":"w","ς":"s","ϊ":"i","ΰ":"y","ϋ":"y","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ά":"A","Έ":"E","Ί":"I","Ό":"O","Ύ":"Y","Ή":"H","Ώ":"W","Ϊ":"I","Ϋ":"Y","ş":"s","Ş":"S","ı":"i","İ":"I","ğ":"g","Ğ":"G","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ё":"yo","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","э":"e","ю":"yu","я":"ya","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ё":"Yo","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Э":"E","Ю":"Yu","Я":"Ya","Є":"Ye","І":"I","Ї":"Yi","Ґ":"G","є":"ye","і":"i","ї":"yi","ґ":"g","č":"c","ď":"d","ě":"e","ň":"n","ř":"r","š":"s","ť":"t","ů":"u","ž":"z","Č":"C","Ď":"D","Ě":"E","Ň":"N","Ř":"R","Š":"S","Ť":"T","Ů":"U","Ž":"Z","ą":"a","ć":"c","ę":"e","ł":"l","ń":"n","ś":"s","ź":"z","ż":"z","Ą":"A","Ć":"C","Ę":"e","Ł":"L","Ń":"N","Ś":"S","Ź":"Z","Ż":"Z","ā":"a","ē":"e","ģ":"g","ī":"i","ķ":"k","ļ":"l","ņ":"n","ū":"u","Ā":"A","Ē":"E","Ģ":"G","Ī":"i","Ķ":"k","Ļ":"L","Ņ":"N","Ū":"u"};"undefined"!=typeof define&&define.amd?define([],function(){return o}):void 0!==t&&t.exports?t.exports=o:e.slugg=o}(this)},{}],126:[function(e,t,n){var i=e("./url"),r=e("socket.io-parser"),o=e("./manager"),a=e("debug")("socket.io-client");t.exports=n=l;var s=n.managers={};function l(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r=i(e),l=r.source,c=r.id,u=r.path,d=s[c]&&u in s[c].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||d?(a("ignoring socket cache for %s",l),n=o(l,t)):(s[c]||(a("new io instance for %s",l),s[c]=o(l,t)),n=s[c]),r.query&&!t.query&&(t.query=r.query),n.socket(r.path,t)}n.protocol=r.protocol,n.connect=l,n.Manager=e("./manager"),n.Socket=e("./socket")},{"./manager":127,"./socket":129,"./url":130,debug:42,"socket.io-parser":132}],127:[function(e,t,n){var i=e("engine.io-client"),r=e("./socket"),o=e("component-emitter"),a=e("socket.io-parser"),s=e("./on"),l=e("component-bind"),c=e("debug")("socket.io-client:manager"),u=e("indexof"),d=e("backo2"),p=Object.prototype.hasOwnProperty;function f(e,t){if(!(this instanceof f))return new f(e,t);e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.nsps={},this.subs=[],this.opts=t,this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(t.randomizationFactor||.5),this.backoff=new d({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this.readyState="closed",this.uri=e,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=t.parser||a;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==t.autoConnect,this.autoConnect&&this.open()}t.exports=f,f.prototype.emitAll=function(){for(var e in this.emit.apply(this,arguments),this.nsps)p.call(this.nsps,e)&&this.nsps[e].emit.apply(this.nsps[e],arguments)},f.prototype.updateSocketIds=function(){for(var e in this.nsps)p.call(this.nsps,e)&&(this.nsps[e].id=this.generateId(e))},f.prototype.generateId=function(e){return("/"===e?"":e+"#")+this.engine.id},o(f.prototype),f.prototype.reconnection=function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection},f.prototype.reconnectionAttempts=function(e){return arguments.length?(this._reconnectionAttempts=e,this):this._reconnectionAttempts},f.prototype.reconnectionDelay=function(e){return arguments.length?(this._reconnectionDelay=e,this.backoff&&this.backoff.setMin(e),this):this._reconnectionDelay},f.prototype.randomizationFactor=function(e){return arguments.length?(this._randomizationFactor=e,this.backoff&&this.backoff.setJitter(e),this):this._randomizationFactor},f.prototype.reconnectionDelayMax=function(e){return arguments.length?(this._reconnectionDelayMax=e,this.backoff&&this.backoff.setMax(e),this):this._reconnectionDelayMax},f.prototype.timeout=function(e){return arguments.length?(this._timeout=e,this):this._timeout},f.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},f.prototype.open=f.prototype.connect=function(e,t){if(c("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;c("opening %s",this.uri),this.engine=i(this.uri,this.opts);var n=this.engine,r=this;this.readyState="opening",this.skipReconnect=!1;var o=s(n,"open",function(){r.onopen(),e&&e()}),a=s(n,"error",function(t){if(c("connect_error"),r.cleanup(),r.readyState="closed",r.emitAll("connect_error",t),e){var n=new Error("Connection error");n.data=t,e(n)}else r.maybeReconnectOnOpen()});if(!1!==this._timeout){var l=this._timeout;c("connect attempt will timeout after %d",l);var u=setTimeout(function(){c("connect attempt timed out after %d",l),o.destroy(),n.close(),n.emit("error","timeout"),r.emitAll("connect_timeout",l)},l);this.subs.push({destroy:function(){clearTimeout(u)}})}return this.subs.push(o),this.subs.push(a),this},f.prototype.onopen=function(){c("open"),this.cleanup(),this.readyState="open",this.emit("open");var e=this.engine;this.subs.push(s(e,"data",l(this,"ondata"))),this.subs.push(s(e,"ping",l(this,"onping"))),this.subs.push(s(e,"pong",l(this,"onpong"))),this.subs.push(s(e,"error",l(this,"onerror"))),this.subs.push(s(e,"close",l(this,"onclose"))),this.subs.push(s(this.decoder,"decoded",l(this,"ondecoded")))},f.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},f.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},f.prototype.ondata=function(e){this.decoder.add(e)},f.prototype.ondecoded=function(e){this.emit("packet",e)},f.prototype.onerror=function(e){c("error",e),this.emitAll("error",e)},f.prototype.socket=function(e,t){var n=this.nsps[e];if(!n){n=new r(this,e,t),this.nsps[e]=n;var i=this;n.on("connecting",o),n.on("connect",function(){n.id=i.generateId(e)}),this.autoConnect&&o()}function o(){~u(i.connecting,n)||i.connecting.push(n)}return n},f.prototype.destroy=function(e){var t=u(this.connecting,e);~t&&this.connecting.splice(t,1),this.connecting.length||this.close()},f.prototype.packet=function(e){c("writing packet %j",e);var t=this;e.query&&0===e.type&&(e.nsp+="?"+e.query),t.encoding?t.packetBuffer.push(e):(t.encoding=!0,this.encoder.encode(e,function(n){for(var i=0;i<n.length;i++)t.engine.write(n[i],e.options);t.encoding=!1,t.processPacketQueue()}))},f.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var e=this.packetBuffer.shift();this.packet(e)}},f.prototype.cleanup=function(){c("cleanup");for(var e=this.subs.length,t=0;t<e;t++){this.subs.shift().destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},f.prototype.close=f.prototype.disconnect=function(){c("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},f.prototype.onclose=function(e){c("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()},f.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var e=this;if(this.backoff.attempts>=this._reconnectionAttempts)c("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var t=this.backoff.duration();c("will wait %dms before reconnect attempt",t),this.reconnecting=!0;var n=setTimeout(function(){e.skipReconnect||(c("attempting reconnect"),e.emitAll("reconnect_attempt",e.backoff.attempts),e.emitAll("reconnecting",e.backoff.attempts),e.skipReconnect||e.open(function(t){t?(c("reconnect attempt error"),e.reconnecting=!1,e.reconnect(),e.emitAll("reconnect_error",t.data)):(c("reconnect success"),e.onreconnect())}))},t);this.subs.push({destroy:function(){clearTimeout(n)}})}},f.prototype.onreconnect=function(){var e=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",e)}},{"./on":128,"./socket":129,backo2:32,"component-bind":38,"component-emitter":39,debug:42,"engine.io-client":49,indexof:71,"socket.io-parser":132}],128:[function(e,t,n){t.exports=function(e,t,n){return e.on(t,n),{destroy:function(){e.removeListener(t,n)}}}},{}],129:[function(e,t,n){var i=e("socket.io-parser"),r=e("component-emitter"),o=e("to-array"),a=e("./on"),s=e("component-bind"),l=e("debug")("socket.io-client:socket"),c=e("parseqs"),u=e("has-binary2");t.exports=f;var d={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},p=r.prototype.emit;function f(e,t,n){this.io=e,this.nsp=t,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}r(f.prototype),f.prototype.subEvents=function(){if(!this.subs){var e=this.io;this.subs=[a(e,"open",s(this,"onopen")),a(e,"packet",s(this,"onpacket")),a(e,"close",s(this,"onclose"))]}},f.prototype.open=f.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting"),this)},f.prototype.send=function(){var e=o(arguments);return e.unshift("message"),this.emit.apply(this,e),this},f.prototype.emit=function(e){if(d.hasOwnProperty(e))return p.apply(this,arguments),this;var t=o(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:u(t))?i.BINARY_EVENT:i.EVENT,data:t,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof t[t.length-1]&&(l("emitting packet with ack id %d",this.ids),this.acks[this.ids]=t.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},f.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e)},f.prototype.onopen=function(){if(l("transport is open - connecting"),"/"!==this.nsp)if(this.query){var e="object"==typeof this.query?c.encode(this.query):this.query;l("sending connect packet with query %s",e),this.packet({type:i.CONNECT,query:e})}else this.packet({type:i.CONNECT})},f.prototype.onclose=function(e){l("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",e)},f.prototype.onpacket=function(e){var t=e.nsp===this.nsp,n=e.type===i.ERROR&&"/"===e.nsp;if(t||n)switch(e.type){case i.CONNECT:this.onconnect();break;case i.EVENT:case i.BINARY_EVENT:this.onevent(e);break;case i.ACK:case i.BINARY_ACK:this.onack(e);break;case i.DISCONNECT:this.ondisconnect();break;case i.ERROR:this.emit("error",e.data)}},f.prototype.onevent=function(e){var t=e.data||[];l("emitting event %j",t),null!=e.id&&(l("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?p.apply(this,t):this.receiveBuffer.push(t)},f.prototype.ack=function(e){var t=this,n=!1;return function(){if(!n){n=!0;var r=o(arguments);l("sending ack %j",r),t.packet({type:u(r)?i.BINARY_ACK:i.ACK,id:e,data:r})}}},f.prototype.onack=function(e){var t=this.acks[e.id];"function"==typeof t?(l("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):l("bad ack %s",e.id)},f.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},f.prototype.emitBuffered=function(){var e;for(e=0;e<this.receiveBuffer.length;e++)p.apply(this,this.receiveBuffer[e]);for(this.receiveBuffer=[],e=0;e<this.sendBuffer.length;e++)this.packet(this.sendBuffer[e]);this.sendBuffer=[]},f.prototype.ondisconnect=function(){l("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},f.prototype.destroy=function(){if(this.subs){for(var e=0;e<this.subs.length;e++)this.subs[e].destroy();this.subs=null}this.io.destroy(this)},f.prototype.close=f.prototype.disconnect=function(){return this.connected&&(l("performing disconnect (%s)",this.nsp),this.packet({type:i.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},f.prototype.compress=function(e){return this.flags.compress=e,this},f.prototype.binary=function(e){return this.flags.binary=e,this}},{"./on":128,"component-bind":38,"component-emitter":39,debug:42,"has-binary2":65,parseqs:89,"socket.io-parser":132,"to-array":149}],130:[function(e,t,n){(function(n){var i=e("parseuri"),r=e("debug")("socket.io-client:url");t.exports=function(e,t){var o=e;t=t||n.location,null==e&&(e=t.protocol+"//"+t.host);"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?t.protocol+e:t.host+e),/^(https?|wss?):\/\//.test(e)||(r("protocol-less url %s",e),e=void 0!==t?t.protocol+"//"+e:"https://"+e),r("parse %s",e),o=i(e));o.port||(/^(http|ws)$/.test(o.protocol)?o.port="80":/^(http|ws)s$/.test(o.protocol)&&(o.port="443"));o.path=o.path||"/";var a=-1!==o.host.indexOf(":")?"["+o.host+"]":o.host;return o.id=o.protocol+"://"+a+":"+o.port,o.href=o.protocol+"://"+a+(t&&t.port===o.port?"":":"+o.port),o}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{debug:42,parseuri:90}],131:[function(e,t,n){(function(t){var i=e("isarray"),r=e("./is-buffer"),o=Object.prototype.toString,a="function"==typeof t.Blob||"[object BlobConstructor]"===o.call(t.Blob),s="function"==typeof t.File||"[object FileConstructor]"===o.call(t.File);n.deconstructPacket=function(e){var t=[],n=e.data,o=e;return o.data=function e(t,n){if(!t)return t;if(r(t)){var o={_placeholder:!0,num:n.length};return n.push(t),o}if(i(t)){for(var a=new Array(t.length),s=0;s<t.length;s++)a[s]=e(t[s],n);return a}if("object"==typeof t&&!(t instanceof Date)){var a={};for(var l in t)a[l]=e(t[l],n);return a}return t}(n,t),o.attachments=t.length,{packet:o,buffers:t}},n.reconstructPacket=function(e,t){return e.data=function e(t,n){if(!t)return t;if(t&&t._placeholder)return n[t.num];if(i(t))for(var r=0;r<t.length;r++)t[r]=e(t[r],n);else if("object"==typeof t)for(var o in t)t[o]=e(t[o],n);return t}(e.data,t),e.attachments=void 0,e},n.removeBlobs=function(e,t){var n=0,o=e;!function e(l,c,u){if(!l)return l;if(a&&l instanceof Blob||s&&l instanceof File){n++;var d=new FileReader;d.onload=function(){u?u[c]=this.result:o=this.result,--n||t(o)},d.readAsArrayBuffer(l)}else if(i(l))for(var p=0;p<l.length;p++)e(l[p],p,l);else if("object"==typeof l&&!r(l))for(var f in l)e(l[f],f,l)}(o),n||t(o)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./is-buffer":133,isarray:134}],132:[function(e,t,n){var i=e("debug")("socket.io-parser"),r=e("component-emitter"),o=e("./binary"),a=e("isarray"),s=e("./is-buffer");function l(){}n.protocol=4,n.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],n.CONNECT=0,n.DISCONNECT=1,n.EVENT=2,n.ACK=3,n.ERROR=4,n.BINARY_EVENT=5,n.BINARY_ACK=6,n.Encoder=l,n.Decoder=d;var c=n.ERROR+'"encode error"';function u(e){var t=""+e.type;if(n.BINARY_EVENT!==e.type&&n.BINARY_ACK!==e.type||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data){var r=function(e){try{return JSON.stringify(e)}catch(e){return!1}}(e.data);if(!1===r)return c;t+=r}return i("encoded %j as %s",e,t),t}function d(){this.reconstructor=null}function p(e){this.reconPack=e,this.buffers=[]}function f(e){return{type:n.ERROR,data:"parser error: "+e}}l.prototype.encode=function(e,t){(i("encoding packet %j",e),n.BINARY_EVENT===e.type||n.BINARY_ACK===e.type)?function(e,t){o.removeBlobs(e,function(e){var n=o.deconstructPacket(e),i=u(n.packet),r=n.buffers;r.unshift(i),t(r)})}(e,t):t([u(e)])},r(d.prototype),d.prototype.add=function(e){var t;if("string"==typeof e)t=function(e){var t=0,r={type:Number(e.charAt(0))};if(null==n.types[r.type])return f("unknown packet type "+r.type);if(n.BINARY_EVENT===r.type||n.BINARY_ACK===r.type){for(var o="";"-"!==e.charAt(++t)&&(o+=e.charAt(t),t!=e.length););if(o!=Number(o)||"-"!==e.charAt(t))throw new Error("Illegal attachments");r.attachments=Number(o)}if("/"===e.charAt(t+1))for(r.nsp="";++t;){var s=e.charAt(t);if(","===s)break;if(r.nsp+=s,t===e.length)break}else r.nsp="/";var l=e.charAt(t+1);if(""!==l&&Number(l)==l){for(r.id="";++t;){var s=e.charAt(t);if(null==s||Number(s)!=s){--t;break}if(r.id+=e.charAt(t),t===e.length)break}r.id=Number(r.id)}if(e.charAt(++t)){var c=function(e){try{return JSON.parse(e)}catch(e){return!1}}(e.substr(t)),u=!1!==c&&(r.type===n.ERROR||a(c));if(!u)return f("invalid payload");r.data=c}return i("decoded %s as %j",e,r),r}(e),n.BINARY_EVENT===t.type||n.BINARY_ACK===t.type?(this.reconstructor=new p(t),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",t)):this.emit("decoded",t);else{if(!s(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(t=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,this.emit("decoded",t))}},d.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},p.prototype.takeBinaryData=function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=o.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null},p.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},{"./binary":131,"./is-buffer":133,"component-emitter":39,debug:42,isarray:134}],133:[function(e,t,n){(function(e){t.exports=function(t){return n&&e.Buffer.isBuffer(t)||i&&(t instanceof e.ArrayBuffer||r(t))};var n="function"==typeof e.Buffer&&"function"==typeof e.Buffer.isBuffer,i="function"==typeof e.ArrayBuffer,r=i&&"function"==typeof e.ArrayBuffer.isView?e.ArrayBuffer.isView:function(t){return t.buffer instanceof e.ArrayBuffer}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],134:[function(e,t,n){arguments[4][66][0].apply(n,arguments)},{dup:66}],135:[function(e,t,n){!function(e){if("object"==typeof n)t.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var i;try{i=window}catch(e){i=self}i.SparkMD5=e()}}(function(e){"use strict";var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function n(e,t){var n=e[0],i=e[1],r=e[2],o=e[3];i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&r|~i&o)+t[0]-680876936|0)<<7|n>>>25)+i|0)&i|~n&r)+t[1]-389564586|0)<<12|o>>>20)+n|0)&n|~o&i)+t[2]+606105819|0)<<17|r>>>15)+o|0)&o|~r&n)+t[3]-1044525330|0)<<22|i>>>10)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&r|~i&o)+t[4]-176418897|0)<<7|n>>>25)+i|0)&i|~n&r)+t[5]+1200080426|0)<<12|o>>>20)+n|0)&n|~o&i)+t[6]-1473231341|0)<<17|r>>>15)+o|0)&o|~r&n)+t[7]-45705983|0)<<22|i>>>10)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&r|~i&o)+t[8]+1770035416|0)<<7|n>>>25)+i|0)&i|~n&r)+t[9]-1958414417|0)<<12|o>>>20)+n|0)&n|~o&i)+t[10]-42063|0)<<17|r>>>15)+o|0)&o|~r&n)+t[11]-1990404162|0)<<22|i>>>10)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&r|~i&o)+t[12]+1804603682|0)<<7|n>>>25)+i|0)&i|~n&r)+t[13]-40341101|0)<<12|o>>>20)+n|0)&n|~o&i)+t[14]-1502002290|0)<<17|r>>>15)+o|0)&o|~r&n)+t[15]+1236535329|0)<<22|i>>>10)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&o|r&~o)+t[1]-165796510|0)<<5|n>>>27)+i|0)&r|i&~r)+t[6]-1069501632|0)<<9|o>>>23)+n|0)&i|n&~i)+t[11]+643717713|0)<<14|r>>>18)+o|0)&n|o&~n)+t[0]-373897302|0)<<20|i>>>12)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&o|r&~o)+t[5]-701558691|0)<<5|n>>>27)+i|0)&r|i&~r)+t[10]+38016083|0)<<9|o>>>23)+n|0)&i|n&~i)+t[15]-660478335|0)<<14|r>>>18)+o|0)&n|o&~n)+t[4]-405537848|0)<<20|i>>>12)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&o|r&~o)+t[9]+568446438|0)<<5|n>>>27)+i|0)&r|i&~r)+t[14]-1019803690|0)<<9|o>>>23)+n|0)&i|n&~i)+t[3]-187363961|0)<<14|r>>>18)+o|0)&n|o&~n)+t[8]+1163531501|0)<<20|i>>>12)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&o|r&~o)+t[13]-1444681467|0)<<5|n>>>27)+i|0)&r|i&~r)+t[2]-51403784|0)<<9|o>>>23)+n|0)&i|n&~i)+t[7]+1735328473|0)<<14|r>>>18)+o|0)&n|o&~n)+t[12]-1926607734|0)<<20|i>>>12)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i^r^o)+t[5]-378558|0)<<4|n>>>28)+i|0)^i^r)+t[8]-2022574463|0)<<11|o>>>21)+n|0)^n^i)+t[11]+1839030562|0)<<16|r>>>16)+o|0)^o^n)+t[14]-35309556|0)<<23|i>>>9)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i^r^o)+t[1]-1530992060|0)<<4|n>>>28)+i|0)^i^r)+t[4]+1272893353|0)<<11|o>>>21)+n|0)^n^i)+t[7]-155497632|0)<<16|r>>>16)+o|0)^o^n)+t[10]-1094730640|0)<<23|i>>>9)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i^r^o)+t[13]+681279174|0)<<4|n>>>28)+i|0)^i^r)+t[0]-358537222|0)<<11|o>>>21)+n|0)^n^i)+t[3]-722521979|0)<<16|r>>>16)+o|0)^o^n)+t[6]+76029189|0)<<23|i>>>9)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i^r^o)+t[9]-640364487|0)<<4|n>>>28)+i|0)^i^r)+t[12]-421815835|0)<<11|o>>>21)+n|0)^n^i)+t[15]+530742520|0)<<16|r>>>16)+o|0)^o^n)+t[2]-995338651|0)<<23|i>>>9)+r|0,i=((i+=((o=((o+=(i^((n=((n+=(r^(i|~o))+t[0]-198630844|0)<<6|n>>>26)+i|0)|~r))+t[7]+1126891415|0)<<10|o>>>22)+n|0)^((r=((r+=(n^(o|~i))+t[14]-1416354905|0)<<15|r>>>17)+o|0)|~n))+t[5]-57434055|0)<<21|i>>>11)+r|0,i=((i+=((o=((o+=(i^((n=((n+=(r^(i|~o))+t[12]+1700485571|0)<<6|n>>>26)+i|0)|~r))+t[3]-1894986606|0)<<10|o>>>22)+n|0)^((r=((r+=(n^(o|~i))+t[10]-1051523|0)<<15|r>>>17)+o|0)|~n))+t[1]-2054922799|0)<<21|i>>>11)+r|0,i=((i+=((o=((o+=(i^((n=((n+=(r^(i|~o))+t[8]+1873313359|0)<<6|n>>>26)+i|0)|~r))+t[15]-30611744|0)<<10|o>>>22)+n|0)^((r=((r+=(n^(o|~i))+t[6]-1560198380|0)<<15|r>>>17)+o|0)|~n))+t[13]+1309151649|0)<<21|i>>>11)+r|0,i=((i+=((o=((o+=(i^((n=((n+=(r^(i|~o))+t[4]-145523070|0)<<6|n>>>26)+i|0)|~r))+t[11]-1120210379|0)<<10|o>>>22)+n|0)^((r=((r+=(n^(o|~i))+t[2]+718787259|0)<<15|r>>>17)+o|0)|~n))+t[9]-343485551|0)<<21|i>>>11)+r|0,e[0]=n+e[0]|0,e[1]=i+e[1]|0,e[2]=r+e[2]|0,e[3]=o+e[3]|0}function i(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}function r(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return n}function o(e){var t,r,o,a,s,l,c=e.length,u=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=c;t+=64)n(u,i(e.substring(t-64,t)));for(r=(e=e.substring(t-64)).length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<r;t+=1)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(n(u,o),t=0;t<16;t+=1)o[t]=0;return a=(a=8*c).toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),l=parseInt(a[1],16)||0,o[14]=s,o[15]=l,n(u,o),u}function a(e){var n,i="";for(n=0;n<4;n+=1)i+=t[e>>8*n+4&15]+t[e>>8*n&15];return i}function s(e){var t;for(t=0;t<e.length;t+=1)e[t]=a(e[t]);return e.join("")}function l(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),e}function c(e){var t,n=[],i=e.length;for(t=0;t<i-1;t+=2)n.push(parseInt(e.substr(t,2),16));return String.fromCharCode.apply(String,n)}function u(){this.reset()}return"5d41402abc4b2a76b9719d911017c592"!==s(o("hello"))&&function(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n},"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function t(e,t){return(e=0|e||0)<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(n,i){var r,o,a,s,l=this.byteLength,c=t(n,l),u=l;return i!==e&&(u=t(i,l)),c>u?new ArrayBuffer(0):(r=u-c,o=new ArrayBuffer(r),a=new Uint8Array(o),s=new Uint8Array(this,c,r),a.set(s),o)}}(),u.prototype.append=function(e){return this.appendBinary(l(e)),this},u.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,r=this._buff.length;for(t=64;t<=r;t+=64)n(this._hash,i(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},u.prototype.end=function(e){var t,n,i=this._buff,r=i.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<r;t+=1)o[t>>2]|=i.charCodeAt(t)<<(t%4<<3);return this._finish(o,r),n=s(this._hash),e&&(n=c(n)),this.reset(),n},u.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},u.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash}},u.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},u.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},u.prototype._finish=function(e,t){var i,r,o,a=t;if(e[a>>2]|=128<<(a%4<<3),a>55)for(n(this._hash,e),a=0;a<16;a+=1)e[a]=0;i=(i=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),r=parseInt(i[2],16),o=parseInt(i[1],16)||0,e[14]=r,e[15]=o,n(this._hash,e)},u.hash=function(e,t){return u.hashBinary(l(e),t)},u.hashBinary=function(e,t){var n=s(o(e));return t?c(n):n},u.ArrayBuffer=function(){this.reset()},u.ArrayBuffer.prototype.append=function(e){var t,i,o,a,s,l=(i=this._buff.buffer,o=e,a=!0,(s=new Uint8Array(i.byteLength+o.byteLength)).set(new Uint8Array(i)),s.set(new Uint8Array(o),i.byteLength),a?s:s.buffer),c=l.length;for(this._length+=e.byteLength,t=64;t<=c;t+=64)n(this._hash,r(l.subarray(t-64,t)));return this._buff=t-64<c?new Uint8Array(l.buffer.slice(t-64)):new Uint8Array(0),this},u.ArrayBuffer.prototype.end=function(e){var t,n,i=this._buff,r=i.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<r;t+=1)o[t>>2]|=i[t]<<(t%4<<3);return this._finish(o,r),n=s(this._hash),e&&(n=c(n)),this.reset(),n},u.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},u.ArrayBuffer.prototype.getState=function(){var e,t=u.prototype.getState.call(this);return t.buff=(e=t.buff,String.fromCharCode.apply(null,new Uint8Array(e))),t},u.ArrayBuffer.prototype.setState=function(e){return e.buff=function(e,t){var n,i=e.length,r=new ArrayBuffer(i),o=new Uint8Array(r);for(n=0;n<i;n+=1)o[n]=e.charCodeAt(n);return t?o:r}(e.buff,!0),u.prototype.setState.call(this,e)},u.ArrayBuffer.prototype.destroy=u.prototype.destroy,u.ArrayBuffer.prototype._finish=u.prototype._finish,u.ArrayBuffer.hash=function(e,t){var i=s(function(e){var t,i,o,a,s,l,c=e.length,u=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=c;t+=64)n(u,r(e.subarray(t-64,t)));for(i=(e=t-64<c?e.subarray(t-64):new Uint8Array(0)).length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<i;t+=1)o[t>>2]|=e[t]<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(n(u,o),t=0;t<16;t+=1)o[t]=0;return a=(a=8*c).toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),l=parseInt(a[1],16)||0,o[14]=s,o[15]=l,n(u,o),u}(new Uint8Array(e)));return t?c(i):i},u})},{}],136:[function(e,t,n){var i=e("../src/store-engine"),r=e("../storages/all"),o=[e("../plugins/json2")];t.exports=i.createStore(r,o)},{"../plugins/json2":137,"../src/store-engine":139,"../storages/all":141}],137:[function(e,t,n){t.exports=function(){return e("./lib/json2"),{}}},{"./lib/json2":138}],138:[function(require,module,exports){"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_escapable,function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var n,i,r,o,a,s=gap,l=t[e];switch(l&&"object"==typeof l&&"function"==typeof l.toJSON&&(l=l.toJSON(e)),"function"==typeof rep&&(l=rep.call(t,e,l)),typeof l){case"string":return quote(l);case"number":return isFinite(l)?String(l):"null";case"boolean":case"null":return String(l);case"object":if(!l)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(l)){for(o=l.length,n=0;n<o;n+=1)a[n]=str(n,l)||"null";return r=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,r}if(rep&&"object"==typeof rep)for(o=rep.length,n=0;n<o;n+=1)"string"==typeof rep[n]&&(r=str(i=rep[n],l))&&a.push(quote(i)+(gap?": ":":")+r);else for(i in l)Object.prototype.hasOwnProperty.call(l,i)&&(r=str(i,l))&&a.push(quote(i)+(gap?": ":":")+r);return r=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,r}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,n){var i;if(gap="",indent="","number"==typeof n)for(i=0;i<n;i+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(e,t){var n,i,r=e[t];if(r&&"object"==typeof r)for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(void 0!==(i=walk(r,n))?r[n]=i:delete r[n]);return reviver.call(e,t,r)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},{}],139:[function(e,t,n){var i=e("./util"),r=i.slice,o=i.pluck,a=i.each,s=i.bind,l=i.create,c=i.isList,u=i.isFunction,d=i.isObject;t.exports={createStore:f};var p={version:"2.0.12",enabled:!1,get:function(e,t){var n=this.storage.read(this._namespacePrefix+e);return this._deserialize(n,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each(function(n,i){e.call(t,t._deserialize(n),(i||"").replace(t._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return f.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return f(this.storage,this.plugins,e)}};function f(e,t,n){n||(n=""),e&&!c(e)&&(e=[e]),t&&!c(t)&&(t=[t]);var i=n?"__storejs_"+n+"_":"",f=n?new RegExp("^"+i):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var h=l({_namespacePrefix:i,_namespaceRegexp:f,_testStorage:function(e){try{var t="__storejs__test__";e.write(t,t);var n=e.read(t)===t;return e.remove(t),n}catch(e){return!1}},_assignPluginFnProp:function(e,t){var n=this[t];this[t]=function(){var t=r(arguments,0),i=this;var o=[function(){if(n)return a(arguments,function(e,n){t[n]=e}),n.apply(i,t)}].concat(t);return e.apply(i,o)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var n="";try{n=JSON.parse(e)}catch(t){n=e}return void 0!==n?n:t},_addStorage:function(e){this.enabled||this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(c(e))a(e,function(e){t._addPlugin(e)});else if(!o(this.plugins,function(t){return e===t})){if(this.plugins.push(e),!u(e))throw new Error("Plugins must be function values that return objects");var n=e.call(this);if(!d(n))throw new Error("Plugins must return an object of function properties");a(n,function(n,i){if(!u(n))throw new Error("Bad plugin property: "+i+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(n,i)})}},addStorage:function(e){!function(){var e="undefined"==typeof console?null:console;e&&(e.warn?e.warn:e.log).apply(e,arguments)}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},p,{plugins:[]});return h.raw={},a(h,function(e,t){u(e)&&(h.raw[t]=s(h,e))}),a(e,function(e){h._addStorage(e)}),a(t,function(e){h._addPlugin(e)}),h}},{"./util":140}],140:[function(e,t,n){(function(e){var n=Object.assign?Object.assign:function(e,t,n,i){for(var r=1;r<arguments.length;r++)s(Object(arguments[r]),function(t,n){e[n]=t});return e},i=function(){if(Object.create)return function(e,t,i,r){var o=a(arguments,1);return n.apply(this,[Object.create(e)].concat(o))};{function e(){}return function(t,i,r,o){var s=a(arguments,1);return e.prototype=t,n.apply(this,[new e].concat(s))}}}(),r=String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},o="undefined"!=typeof window?window:e;function a(e,t){return Array.prototype.slice.call(e,t||0)}function s(e,t){l(e,function(e,n){return t(e,n),!1})}function l(e,t){if(c(e)){for(var n=0;n<e.length;n++)if(t(e[n],n))return e[n]}else for(var i in e)if(e.hasOwnProperty(i)&&t(e[i],i))return e[i]}function c(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}t.exports={assign:n,create:i,trim:r,bind:function(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}},slice:a,each:s,map:function(e,t){var n=c(e)?[]:{};return l(e,function(e,i){return n[i]=t(e,i),!1}),n},pluck:l,isList:c,isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},isObject:function(e){return e&&"[object Object]"==={}.toString.call(e)},Global:o}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],141:[function(e,t,n){t.exports=[e("./localStorage"),e("./oldFF-globalStorage"),e("./oldIE-userDataStorage"),e("./cookieStorage"),e("./sessionStorage"),e("./memoryStorage")]},{"./cookieStorage":142,"./localStorage":143,"./memoryStorage":144,"./oldFF-globalStorage":145,"./oldIE-userDataStorage":146,"./sessionStorage":147}],142:[function(e,t,n){var i=e("../src/util"),r=i.Global,o=i.trim;t.exports={name:"cookieStorage",read:function(e){if(!e||!c(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(t),"$1"))},write:function(e,t){if(!e)return;a.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"},each:s,remove:l,clearAll:function(){s(function(e,t){l(t)})}};var a=r.document;function s(e){for(var t=a.cookie.split(/; ?/g),n=t.length-1;n>=0;n--)if(o(t[n])){var i=t[n].split("="),r=unescape(i[0]);e(unescape(i[1]),r)}}function l(e){e&&c(e)&&(a.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function c(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},{"../src/util":140}],143:[function(e,t,n){var i=e("../src/util").Global;function r(){return i.localStorage}function o(e){return r().getItem(e)}t.exports={name:"localStorage",read:o,write:function(e,t){return r().setItem(e,t)},each:function(e){for(var t=r().length-1;t>=0;t--){var n=r().key(t);e(o(n),n)}},remove:function(e){return r().removeItem(e)},clearAll:function(){return r().clear()}}},{"../src/util":140}],144:[function(e,t,n){t.exports={name:"memoryStorage",read:function(e){return i[e]},write:function(e,t){i[e]=t},each:function(e){for(var t in i)i.hasOwnProperty(t)&&e(i[t],t)},remove:function(e){delete i[e]},clearAll:function(e){i={}}};var i={}},{}],145:[function(e,t,n){var i=e("../src/util").Global;t.exports={name:"oldFF-globalStorage",read:function(e){return r[e]},write:function(e,t){r[e]=t},each:o,remove:function(e){return r.removeItem(e)},clearAll:function(){o(function(e,t){delete r[e]})}};var r=i.globalStorage;function o(e){for(var t=r.length-1;t>=0;t--){var n=r.key(t);e(r[n],n)}}},{"../src/util":140}],146:[function(e,t,n){var i=e("../src/util").Global;t.exports={name:"oldIE-userDataStorage",write:function(e,t){if(s)return;var n=c(e);a(function(e){e.setAttribute(n,t),e.save(r)})},read:function(e){if(s)return;var t=c(e),n=null;return a(function(e){n=e.getAttribute(t)}),n},each:function(e){a(function(t){for(var n=t.XMLDocument.documentElement.attributes,i=n.length-1;i>=0;i--){var r=n[i];e(t.getAttribute(r.name),r.name)}})},remove:function(e){var t=c(e);a(function(e){e.removeAttribute(t),e.save(r)})},clearAll:function(){a(function(e){var t=e.XMLDocument.documentElement.attributes;e.load(r);for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save(r)})}};var r="storejs",o=i.document,a=function(){if(!o||!o.documentElement||!o.documentElement.addBehavior)return null;var e,t,n;try{(t=new ActiveXObject("htmlfile")).open(),t.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>'),t.close(),e=t.w.frames[0].document,n=e.createElement("div")}catch(t){n=o.createElement("div"),e=o.body}return function(t){var i=[].slice.call(arguments,0);i.unshift(n),e.appendChild(n),n.addBehavior("#default#userData"),n.load(r),t.apply(this,i),e.removeChild(n)}}(),s=(i.navigator?i.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);var l=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function c(e){return e.replace(/^\d/,"___$&").replace(l,"___")}},{"../src/util":140}],147:[function(e,t,n){var i=e("../src/util").Global;function r(){return i.sessionStorage}function o(e){return r().getItem(e)}t.exports={name:"sessionStorage",read:o,write:function(e,t){return r().setItem(e,t)},each:function(e){for(var t=r().length-1;t>=0;t--){var n=r().key(t);e(o(n),n)}},remove:function(e){return r().removeItem(e)},clearAll:function(){return r().clear()}}},{"../src/util":140}],148:[function(e,t,n){(function(t,i){var r=e("process/browser.js").nextTick,o=Function.prototype.apply,a=Array.prototype.slice,s={},l=0;function c(e,t){this._id=e,this._clearFn=t}n.setTimeout=function(){return new c(o.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new c(o.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},c.prototype.unref=c.prototype.ref=function(){},c.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n.setImmediate="function"==typeof t?t:function(e){var t=l++,i=!(arguments.length<2)&&a.call(arguments,1);return s[t]=!0,r(function(){s[t]&&(i?e.apply(null,i):e.call(null),n.clearImmediate(t))}),t},n.clearImmediate="function"==typeof i?i:function(e){delete s[e]}}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":94,timers:148}],149:[function(e,t,n){t.exports=function(e,t){for(var n=[],i=(t=t||0)||0;i<e.length;i++)n[i-t]=e[i];return n}},{}],150:[function(e,t,n){(function(e){!function(){var i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},r=i._,o=Array.prototype,a=Object.prototype,s="undefined"!=typeof Symbol?Symbol.prototype:null,l=o.push,c=o.slice,u=a.toString,d=a.hasOwnProperty,p=Array.isArray,f=Object.keys,h=Object.create,m=function(){},g=function(e){return e instanceof g?e:this instanceof g?void(this._wrapped=e):new g(e)};void 0===n||n.nodeType?i._=g:(void 0!==t&&!t.nodeType&&t.exports&&(n=t.exports=g),n._=g),g.VERSION="1.9.1";var v,b=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,i,r){return e.call(t,n,i,r)};case 4:return function(n,i,r,o){return e.call(t,n,i,r,o)}}return function(){return e.apply(t,arguments)}},y=function(e,t,n){return g.iteratee!==v?g.iteratee(e,t):null==e?g.identity:g.isFunction(e)?b(e,t,n):g.isObject(e)&&!g.isArray(e)?g.matcher(e):g.property(e)};g.iteratee=v=function(e,t){return y(e,t,1/0)};var _=function(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),i=Array(n),r=0;r<n;r++)i[r]=arguments[r+t];switch(t){case 0:return e.call(this,i);case 1:return e.call(this,arguments[0],i);case 2:return e.call(this,arguments[0],arguments[1],i)}var o=Array(t+1);for(r=0;r<t;r++)o[r]=arguments[r];return o[t]=i,e.apply(this,o)}},w=function(e){if(!g.isObject(e))return{};if(h)return h(e);m.prototype=e;var t=new m;return m.prototype=null,t},x=function(e){return function(t){return null==t?void 0:t[e]}},k=function(e,t){return null!=e&&d.call(e,t)},A=function(e,t){for(var n=t.length,i=0;i<n;i++){if(null==e)return;e=e[t[i]]}return n?e:void 0},C=Math.pow(2,53)-1,S=x("length"),M=function(e){var t=S(e);return"number"==typeof t&&t>=0&&t<=C};g.each=g.forEach=function(e,t,n){var i,r;if(t=b(t,n),M(e))for(i=0,r=e.length;i<r;i++)t(e[i],i,e);else{var o=g.keys(e);for(i=0,r=o.length;i<r;i++)t(e[o[i]],o[i],e)}return e},g.map=g.collect=function(e,t,n){t=y(t,n);for(var i=!M(e)&&g.keys(e),r=(i||e).length,o=Array(r),a=0;a<r;a++){var s=i?i[a]:a;o[a]=t(e[s],s,e)}return o};var O=function(e){return function(t,n,i,r){var o=arguments.length>=3;return function(t,n,i,r){var o=!M(t)&&g.keys(t),a=(o||t).length,s=e>0?0:a-1;for(r||(i=t[o?o[s]:s],s+=e);s>=0&&s<a;s+=e){var l=o?o[s]:s;i=n(i,t[l],l,t)}return i}(t,b(n,r,4),i,o)}};g.reduce=g.foldl=g.inject=O(1),g.reduceRight=g.foldr=O(-1),g.find=g.detect=function(e,t,n){var i=(M(e)?g.findIndex:g.findKey)(e,t,n);if(void 0!==i&&-1!==i)return e[i]},g.filter=g.select=function(e,t,n){var i=[];return t=y(t,n),g.each(e,function(e,n,r){t(e,n,r)&&i.push(e)}),i},g.reject=function(e,t,n){return g.filter(e,g.negate(y(t)),n)},g.every=g.all=function(e,t,n){t=y(t,n);for(var i=!M(e)&&g.keys(e),r=(i||e).length,o=0;o<r;o++){var a=i?i[o]:o;if(!t(e[a],a,e))return!1}return!0},g.some=g.any=function(e,t,n){t=y(t,n);for(var i=!M(e)&&g.keys(e),r=(i||e).length,o=0;o<r;o++){var a=i?i[o]:o;if(t(e[a],a,e))return!0}return!1},g.contains=g.includes=g.include=function(e,t,n,i){return M(e)||(e=g.values(e)),("number"!=typeof n||i)&&(n=0),g.indexOf(e,t,n)>=0},g.invoke=_(function(e,t,n){var i,r;return g.isFunction(t)?r=t:g.isArray(t)&&(i=t.slice(0,-1),t=t[t.length-1]),g.map(e,function(e){var o=r;if(!o){if(i&&i.length&&(e=A(e,i)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)})}),g.pluck=function(e,t){return g.map(e,g.property(t))},g.where=function(e,t){return g.filter(e,g.matcher(t))},g.findWhere=function(e,t){return g.find(e,g.matcher(t))},g.max=function(e,t,n){var i,r,o=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=M(e)?e:g.values(e)).length;s<l;s++)null!=(i=e[s])&&i>o&&(o=i);else t=y(t,n),g.each(e,function(e,n,i){((r=t(e,n,i))>a||r===-1/0&&o===-1/0)&&(o=e,a=r)});return o},g.min=function(e,t,n){var i,r,o=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=M(e)?e:g.values(e)).length;s<l;s++)null!=(i=e[s])&&i<o&&(o=i);else t=y(t,n),g.each(e,function(e,n,i){((r=t(e,n,i))<a||r===1/0&&o===1/0)&&(o=e,a=r)});return o},g.shuffle=function(e){return g.sample(e,1/0)},g.sample=function(e,t,n){if(null==t||n)return M(e)||(e=g.values(e)),e[g.random(e.length-1)];var i=M(e)?g.clone(e):g.values(e),r=S(i);t=Math.max(Math.min(t,r),0);for(var o=r-1,a=0;a<t;a++){var s=g.random(a,o),l=i[a];i[a]=i[s],i[s]=l}return i.slice(0,t)},g.sortBy=function(e,t,n){var i=0;return t=y(t,n),g.pluck(g.map(e,function(e,n,r){return{value:e,index:i++,criteria:t(e,n,r)}}).sort(function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(n<i||void 0===i)return-1}return e.index-t.index}),"value")};var T=function(e,t){return function(n,i,r){var o=t?[[],[]]:{};return i=y(i,r),g.each(n,function(t,r){var a=i(t,r,n);e(o,t,a)}),o}};g.groupBy=T(function(e,t,n){k(e,n)?e[n].push(t):e[n]=[t]}),g.indexBy=T(function(e,t,n){e[n]=t}),g.countBy=T(function(e,t,n){k(e,n)?e[n]++:e[n]=1});var E=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;g.toArray=function(e){return e?g.isArray(e)?c.call(e):g.isString(e)?e.match(E):M(e)?g.map(e,g.identity):g.values(e):[]},g.size=function(e){return null==e?0:M(e)?e.length:g.keys(e).length},g.partition=T(function(e,t,n){e[n?0:1].push(t)},!0),g.first=g.head=g.take=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[0]:g.initial(e,e.length-t)},g.initial=function(e,t,n){return c.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},g.last=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[e.length-1]:g.rest(e,Math.max(0,e.length-t))},g.rest=g.tail=g.drop=function(e,t,n){return c.call(e,null==t||n?1:t)},g.compact=function(e){return g.filter(e,Boolean)};var P=function(e,t,n,i){for(var r=(i=i||[]).length,o=0,a=S(e);o<a;o++){var s=e[o];if(M(s)&&(g.isArray(s)||g.isArguments(s)))if(t)for(var l=0,c=s.length;l<c;)i[r++]=s[l++];else P(s,t,n,i),r=i.length;else n||(i[r++]=s)}return i};g.flatten=function(e,t){return P(e,t,!1)},g.without=_(function(e,t){return g.difference(e,t)}),g.uniq=g.unique=function(e,t,n,i){g.isBoolean(t)||(i=n,n=t,t=!1),null!=n&&(n=y(n,i));for(var r=[],o=[],a=0,s=S(e);a<s;a++){var l=e[a],c=n?n(l,a,e):l;t&&!n?(a&&o===c||r.push(l),o=c):n?g.contains(o,c)||(o.push(c),r.push(l)):g.contains(r,l)||r.push(l)}return r},g.union=_(function(e){return g.uniq(P(e,!0,!0))}),g.intersection=function(e){for(var t=[],n=arguments.length,i=0,r=S(e);i<r;i++){var o=e[i];if(!g.contains(t,o)){var a;for(a=1;a<n&&g.contains(arguments[a],o);a++);a===n&&t.push(o)}}return t},g.difference=_(function(e,t){return t=P(t,!0,!0),g.filter(e,function(e){return!g.contains(t,e)})}),g.unzip=function(e){for(var t=e&&g.max(e,S).length||0,n=Array(t),i=0;i<t;i++)n[i]=g.pluck(e,i);return n},g.zip=_(g.unzip),g.object=function(e,t){for(var n={},i=0,r=S(e);i<r;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n};var j=function(e){return function(t,n,i){n=y(n,i);for(var r=S(t),o=e>0?0:r-1;o>=0&&o<r;o+=e)if(n(t[o],o,t))return o;return-1}};g.findIndex=j(1),g.findLastIndex=j(-1),g.sortedIndex=function(e,t,n,i){for(var r=(n=y(n,i,1))(t),o=0,a=S(e);o<a;){var s=Math.floor((o+a)/2);n(e[s])<r?o=s+1:a=s}return o};var N=function(e,t,n){return function(i,r,o){var a=0,s=S(i);if("number"==typeof o)e>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return i[o=n(i,r)]===r?o:-1;if(r!=r)return(o=t(c.call(i,a,s),g.isNaN))>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&o<s;o+=e)if(i[o]===r)return o;return-1}};g.indexOf=N(1,g.findIndex,g.sortedIndex),g.lastIndexOf=N(-1,g.findLastIndex),g.range=function(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var i=Math.max(Math.ceil((t-e)/n),0),r=Array(i),o=0;o<i;o++,e+=n)r[o]=e;return r},g.chunk=function(e,t){if(null==t||t<1)return[];for(var n=[],i=0,r=e.length;i<r;)n.push(c.call(e,i,i+=t));return n};var $=function(e,t,n,i,r){if(!(i instanceof t))return e.apply(n,r);var o=w(e.prototype),a=e.apply(o,r);return g.isObject(a)?a:o};g.bind=_(function(e,t,n){if(!g.isFunction(e))throw new TypeError("Bind must be called on a function");var i=_(function(r){return $(e,i,t,this,n.concat(r))});return i}),g.partial=_(function(e,t){var n=g.partial.placeholder,i=function(){for(var r=0,o=t.length,a=Array(o),s=0;s<o;s++)a[s]=t[s]===n?arguments[r++]:t[s];for(;r<arguments.length;)a.push(arguments[r++]);return $(e,i,this,this,a)};return i}),g.partial.placeholder=g,g.bindAll=_(function(e,t){var n=(t=P(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var i=t[n];e[i]=g.bind(e[i],e)}}),g.memoize=function(e,t){var n=function(i){var r=n.cache,o=""+(t?t.apply(this,arguments):i);return k(r,o)||(r[o]=e.apply(this,arguments)),r[o]};return n.cache={},n},g.delay=_(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),g.defer=g.partial(g.delay,g,1),g.throttle=function(e,t,n){var i,r,o,a,s=0;n||(n={});var l=function(){s=!1===n.leading?0:g.now(),i=null,a=e.apply(r,o),i||(r=o=null)},c=function(){var c=g.now();s||!1!==n.leading||(s=c);var u=t-(c-s);return r=this,o=arguments,u<=0||u>t?(i&&(clearTimeout(i),i=null),s=c,a=e.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(l,u)),a};return c.cancel=function(){clearTimeout(i),s=0,i=r=o=null},c},g.debounce=function(e,t,n){var i,r,o=function(t,n){i=null,n&&(r=e.apply(t,n))},a=_(function(a){if(i&&clearTimeout(i),n){var s=!i;i=setTimeout(o,t),s&&(r=e.apply(this,a))}else i=g.delay(o,t,this,a);return r});return a.cancel=function(){clearTimeout(i),i=null},a},g.wrap=function(e,t){return g.partial(t,e)},g.negate=function(e){return function(){return!e.apply(this,arguments)}},g.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}},g.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},g.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},g.once=g.partial(g.before,2),g.restArguments=_;var L=!{toString:null}.propertyIsEnumerable("toString"),D=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],q=function(e,t){var n=D.length,i=e.constructor,r=g.isFunction(i)&&i.prototype||a,o="constructor";for(k(e,o)&&!g.contains(t,o)&&t.push(o);n--;)(o=D[n])in e&&e[o]!==r[o]&&!g.contains(t,o)&&t.push(o)};g.keys=function(e){if(!g.isObject(e))return[];if(f)return f(e);var t=[];for(var n in e)k(e,n)&&t.push(n);return L&&q(e,t),t},g.allKeys=function(e){if(!g.isObject(e))return[];var t=[];for(var n in e)t.push(n);return L&&q(e,t),t},g.values=function(e){for(var t=g.keys(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=e[t[r]];return i},g.mapObject=function(e,t,n){t=y(t,n);for(var i=g.keys(e),r=i.length,o={},a=0;a<r;a++){var s=i[a];o[s]=t(e[s],s,e)}return o},g.pairs=function(e){for(var t=g.keys(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=[t[r],e[t[r]]];return i},g.invert=function(e){for(var t={},n=g.keys(e),i=0,r=n.length;i<r;i++)t[e[n[i]]]=n[i];return t},g.functions=g.methods=function(e){var t=[];for(var n in e)g.isFunction(e[n])&&t.push(n);return t.sort()};var R=function(e,t){return function(n){var i=arguments.length;if(t&&(n=Object(n)),i<2||null==n)return n;for(var r=1;r<i;r++)for(var o=arguments[r],a=e(o),s=a.length,l=0;l<s;l++){var c=a[l];t&&void 0!==n[c]||(n[c]=o[c])}return n}};g.extend=R(g.allKeys),g.extendOwn=g.assign=R(g.keys),g.findKey=function(e,t,n){t=y(t,n);for(var i,r=g.keys(e),o=0,a=r.length;o<a;o++)if(t(e[i=r[o]],i,e))return i};var F,I,B=function(e,t,n){return t in n};g.pick=_(function(e,t){var n={},i=t[0];if(null==e)return n;g.isFunction(i)?(t.length>1&&(i=b(i,t[1])),t=g.allKeys(e)):(i=B,t=P(t,!1,!1),e=Object(e));for(var r=0,o=t.length;r<o;r++){var a=t[r],s=e[a];i(s,a,e)&&(n[a]=s)}return n}),g.omit=_(function(e,t){var n,i=t[0];return g.isFunction(i)?(i=g.negate(i),t.length>1&&(n=t[1])):(t=g.map(P(t,!1,!1),String),i=function(e,n){return!g.contains(t,n)}),g.pick(e,i,n)}),g.defaults=R(g.allKeys,!0),g.create=function(e,t){var n=w(e);return t&&g.extendOwn(n,t),n},g.clone=function(e){return g.isObject(e)?g.isArray(e)?e.slice():g.extend({},e):e},g.tap=function(e,t){return t(e),e},g.isMatch=function(e,t){var n=g.keys(t),i=n.length;if(null==e)return!i;for(var r=Object(e),o=0;o<i;o++){var a=n[o];if(t[a]!==r[a]||!(a in r))return!1}return!0},F=function(e,t,n,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var r=typeof e;return("function"===r||"object"===r||"object"==typeof t)&&I(e,t,n,i)},I=function(e,t,n,i){e instanceof g&&(e=e._wrapped),t instanceof g&&(t=t._wrapped);var r=u.call(e);if(r!==u.call(t))return!1;switch(r){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return s.valueOf.call(e)===s.valueOf.call(t)}var o="[object Array]"===r;if(!o){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,l=t.constructor;if(a!==l&&!(g.isFunction(a)&&a instanceof a&&g.isFunction(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}i=i||[];for(var c=(n=n||[]).length;c--;)if(n[c]===e)return i[c]===t;if(n.push(e),i.push(t),o){if((c=e.length)!==t.length)return!1;for(;c--;)if(!F(e[c],t[c],n,i))return!1}else{var d,p=g.keys(e);if(c=p.length,g.keys(t).length!==c)return!1;for(;c--;)if(d=p[c],!k(t,d)||!F(e[d],t[d],n,i))return!1}return n.pop(),i.pop(),!0},g.isEqual=function(e,t){return F(e,t)},g.isEmpty=function(e){return null==e||(M(e)&&(g.isArray(e)||g.isString(e)||g.isArguments(e))?0===e.length:0===g.keys(e).length)},g.isElement=function(e){return!(!e||1!==e.nodeType)},g.isArray=p||function(e){return"[object Array]"===u.call(e)},g.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},g.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],function(e){g["is"+e]=function(t){return u.call(t)==="[object "+e+"]"}}),g.isArguments(arguments)||(g.isArguments=function(e){return k(e,"callee")});var z=i.document&&i.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof z&&(g.isFunction=function(e){return"function"==typeof e||!1}),g.isFinite=function(e){return!g.isSymbol(e)&&isFinite(e)&&!isNaN(parseFloat(e))},g.isNaN=function(e){return g.isNumber(e)&&isNaN(e)},g.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===u.call(e)},g.isNull=function(e){return null===e},g.isUndefined=function(e){return void 0===e},g.has=function(e,t){if(!g.isArray(t))return k(e,t);for(var n=t.length,i=0;i<n;i++){var r=t[i];if(null==e||!d.call(e,r))return!1;e=e[r]}return!!n},g.noConflict=function(){return i._=r,this},g.identity=function(e){return e},g.constant=function(e){return function(){return e}},g.noop=function(){},g.property=function(e){return g.isArray(e)?function(t){return A(t,e)}:x(e)},g.propertyOf=function(e){return null==e?function(){}:function(t){return g.isArray(t)?A(e,t):e[t]}},g.matcher=g.matches=function(e){return e=g.extendOwn({},e),function(t){return g.isMatch(t,e)}},g.times=function(e,t,n){var i=Array(Math.max(0,e));t=b(t,n,1);for(var r=0;r<e;r++)i[r]=t(r);return i},g.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},g.now=Date.now||function(){return(new Date).getTime()};var H={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},U=g.invert(H),V=function(e){var t=function(t){return e[t]},n="(?:"+g.keys(e).join("|")+")",i=RegExp(n),r=RegExp(n,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(r,t):e}};g.escape=V(H),g.unescape=V(U),g.result=function(e,t,n){g.isArray(t)||(t=[t]);var i=t.length;if(!i)return g.isFunction(n)?n.call(e):n;for(var r=0;r<i;r++){var o=null==e?void 0:e[t[r]];void 0===o&&(o=n,r=i),e=g.isFunction(o)?o.call(e):o}return e};var W=0;g.uniqueId=function(e){var t=++W+"";return e?e+t:t},g.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var Y=/(.)^/,G={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},K=/\\|'|\r|\n|\u2028|\u2029/g,Q=function(e){return"\\"+G[e]};g.template=function(e,t,n){!t&&n&&(t=n),t=g.defaults({},t,g.templateSettings);var i,r=RegExp([(t.escape||Y).source,(t.interpolate||Y).source,(t.evaluate||Y).source].join("|")+"|$","g"),o=0,a="__p+='";e.replace(r,function(t,n,i,r,s){return a+=e.slice(o,s).replace(K,Q),o=s+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?a+="'+\n((__t=("+i+"))==null?'':__t)+\n'":r&&(a+="';\n"+r+"\n__p+='"),t}),a+="';\n",t.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{i=new Function(t.variable||"obj","_",a)}catch(e){throw e.source=a,e}var s=function(e){return i.call(this,e,g)},l=t.variable||"obj";return s.source="function("+l+"){\n"+a+"}",s},g.chain=function(e){var t=g(e);return t._chain=!0,t};var J=function(e,t){return e._chain?g(t).chain():t};g.mixin=function(e){return g.each(g.functions(e),function(t){var n=g[t]=e[t];g.prototype[t]=function(){var e=[this._wrapped];return l.apply(e,arguments),J(this,n.apply(g,e))}}),g},g.mixin(g),g.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=o[e];g.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],J(this,n)}}),g.each(["concat","join","slice"],function(e){var t=o[e];g.prototype[e]=function(){return J(this,t.apply(this._wrapped,arguments))}}),g.prototype.value=function(){return this._wrapped},g.prototype.valueOf=g.prototype.toJSON=g.prototype.value,g.prototype.toString=function(){return String(this._wrapped)},"function"==typeof define&&define.amd&&define("underscore",[],function(){return g})}()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],151:[function(e,t,n){"use strict";var i=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher","unit"];function r(e,t){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}function o(e,t){"undefined"!=typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}function a(e){return null!==e&&"object"==typeof e}var s=Object.prototype.toString,l="[object Object]";function c(e){return s.call(e)===l}function u(e){return null==e}function d(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=null,i=null;return 1===e.length?a(e[0])||Array.isArray(e[0])?i=e[0]:"string"==typeof e[0]&&(n=e[0]):2===e.length&&("string"==typeof e[0]&&(n=e[0]),(a(e[1])||Array.isArray(e[1]))&&(i=e[1])),{locale:n,params:i}}function p(e){return JSON.parse(JSON.stringify(e))}var f=Object.prototype.hasOwnProperty;function h(e,t){return f.call(e,t)}function m(e){for(var t=arguments,n=Object(e),i=1;i<arguments.length;i++){var r=t[i];if(null!=r){var o=void 0;for(o in r)h(r,o)&&(a(r[o])?n[o]=m(n[o],r[o]):n[o]=r[o])}}return n}function g(e,t){if(e===t)return!0;var n=a(e),i=a(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var r=Array.isArray(e),o=Array.isArray(t);if(r&&o)return e.length===t.length&&e.every(function(e,n){return g(e,t[n])});if(r||o)return!1;var s=Object.keys(e),l=Object.keys(t);return s.length===l.length&&s.every(function(n){return g(e[n],t[n])})}catch(e){return!1}}var v={beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n)if(e.i18n instanceof ne){if(e.__i18n)try{var t={};e.__i18n.forEach(function(e){t=m(t,JSON.parse(e))}),Object.keys(t).forEach(function(n){e.i18n.mergeLocaleMessage(n,t[n])})}catch(e){0}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(c(e.i18n)){if(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ne&&(e.i18n.root=this.$root,e.i18n.formatter=this.$root.$i18n.formatter,e.i18n.fallbackLocale=this.$root.$i18n.fallbackLocale,e.i18n.formatFallbackMessages=this.$root.$i18n.formatFallbackMessages,e.i18n.silentTranslationWarn=this.$root.$i18n.silentTranslationWarn,e.i18n.silentFallbackWarn=this.$root.$i18n.silentFallbackWarn,e.i18n.pluralizationRules=this.$root.$i18n.pluralizationRules,e.i18n.preserveDirectiveContent=this.$root.$i18n.preserveDirectiveContent),e.__i18n)try{var n={};e.__i18n.forEach(function(e){n=m(n,JSON.parse(e))}),e.i18n.messages=n}catch(e){0}var i=e.i18n.sharedMessages;i&&c(i)&&(e.i18n.messages=m(e.i18n.messages,i)),this._i18n=new ne(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale())}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ne?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof ne&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n?e.i18n instanceof ne?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):c(e.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ne?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof ne&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick(function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher),e._i18n=null})}}},b={name:"i18n",functional:!0,props:{tag:{type:String},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var n=t.data,i=t.parent,r=t.props,o=t.slots,a=i.$i18n;if(a){var s=r.path,l=r.locale,c=r.places,u=o(),d=a.i(s,l,function(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}(u)||c?function(e,t){var n=t?function(e){0;return Array.isArray(e)?e.reduce(_,{}):Object.assign({},e)}(t):{};if(!e)return n;var i=(e=e.filter(function(e){return e.tag||""!==e.text.trim()})).every(w);0;return e.reduce(i?y:_,n)}(u.default,c):u),p=r.tag||"span";return p?e(p,n,d):d}}};function y(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function _(e,t,n){return e[n]=t,e}function w(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var x,k={name:"i18n-n",functional:!0,props:{tag:{type:String,default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var n=t.props,r=t.parent,o=t.data,s=r.$i18n;if(!s)return null;var l=null,c=null;"string"==typeof n.format?l=n.format:a(n.format)&&(n.format.key&&(l=n.format.key),c=Object.keys(n.format).reduce(function(e,t){var r;return i.includes(t)?Object.assign({},e,((r={})[t]=n.format[t],r)):e},null));var u=n.locale||s.locale,d=s._ntp(n.value,u,l,c),p=d.map(function(e,t){var n,i=o.scopedSlots&&o.scopedSlots[e.type];return i?i(((n={})[e.type]=e.value,n.index=t,n.parts=d,n)):e.value});return e(n.tag,{attrs:o.attrs,class:o.class,staticClass:o.staticClass},p)}};function A(e,t,n){M(e,n)&&O(e,t,n)}function C(e,t,n,i){if(M(e,n)){var r=n.context.$i18n;(function(e,t){var n=t.context;return e._locale===n.$i18n.locale})(e,n)&&g(t.value,t.oldValue)&&g(e._localeMessage,r.getLocaleMessage(r.locale))||O(e,t,n)}}function S(e,t,n,i){if(n.context){var o=n.context.$i18n||{};t.modifiers.preserve||o.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e._vt,e._locale=void 0,delete e._locale,e._localeMessage=void 0,delete e._localeMessage}else r("Vue instance does not exists in VNode context")}function M(e,t){var n=t.context;return n?!!n.$i18n||(r("VueI18n instance does not exists in Vue instance"),!1):(r("Vue instance does not exists in VNode context"),!1)}function O(e,t,n){var i,o,a=function(e){var t,n,i,r;"string"==typeof e?t=e:c(e)&&(t=e.path,n=e.locale,i=e.args,r=e.choice);return{path:t,locale:n,args:i,choice:r}}(t.value),s=a.path,l=a.locale,u=a.args,d=a.choice;if(s||l||u)if(s){var p=n.context;e._vt=e.textContent=d?(i=p.$i18n).tc.apply(i,[s,d].concat(T(l,u))):(o=p.$i18n).t.apply(o,[s].concat(T(l,u))),e._locale=p.$i18n.locale,e._localeMessage=p.$i18n.getLocaleMessage(p.$i18n.locale)}else r("`path` is required in v-t directive");else r("value type not supported")}function T(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||c(t))&&n.push(t),n}function E(e){E.installed=!0;(x=e).version&&Number(x.version.split(".")[0]);(function(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[e,i.locale,i._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];var r=this.$i18n;return r._tc.apply(r,[e,r.locale,r._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}})(x),x.mixin(v),x.directive("t",{bind:A,update:C,unbind:S}),x.component(b.name,b),x.component(k.name,k),x.config.optionMergeStrategies.i18n=function(e,t){return void 0===t?e:t}}var P=function(){this._caches=Object.create(null)};P.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=function(e){var t=[],n=0,i="";for(;n<e.length;){var r=e[n++];if("{"===r){i&&t.push({type:"text",value:i}),i="";var o="";for(r=e[n++];void 0!==r&&"}"!==r;)o+=r,r=e[n++];var a="}"===r,s=j.test(o)?"list":a&&N.test(o)?"named":"unknown";t.push({value:o,type:s})}else"%"===r?"{"!==e[n]&&(i+=r):i+=r}return i&&t.push({type:"text",value:i}),t}(e),this._caches[e]=n),function(e,t){var n=[],i=0,r=Array.isArray(t)?"list":a(t)?"named":"unknown";if("unknown"===r)return n;for(;i<e.length;){var o=e[i];switch(o.type){case"text":n.push(o.value);break;case"list":n.push(t[parseInt(o.value,10)]);break;case"named":"named"===r&&n.push(t[o.value]);break;case"unknown":0}i++}return n}(n,t)};var j=/^(?:\d)+/,N=/^(?:\w)+/;var $=0,L=1,D=2,q=3,R=0,F=4,I=5,B=6,z=7,H=8,U=[];U[R]={ws:[R],ident:[3,$],"[":[F],eof:[z]},U[1]={ws:[1],".":[2],"[":[F],eof:[z]},U[2]={ws:[2],ident:[3,$],0:[3,$],number:[3,$]},U[3]={ident:[3,$],0:[3,$],number:[3,$],ws:[1,L],".":[2,L],"[":[F,L],eof:[z,L]},U[F]={"'":[I,$],'"':[B,$],"[":[F,D],"]":[1,q],eof:H,else:[F,$]},U[I]={"'":[F,$],eof:H,else:[I,$]},U[B]={'"':[F,$],eof:H,else:[B,$]};var V=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function W(e){if(null==e)return"eof";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function Y(e){var t,n,i,r=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(i=r,V.test(i)?(n=(t=r).charCodeAt(0))!==t.charCodeAt(t.length-1)||34!==n&&39!==n?t:t.slice(1,-1):"*"+r)}var G=function(){this._cache=Object.create(null)};G.prototype.parsePath=function(e){var t=this._cache[e];return t||(t=function(e){var t,n,i,r,o,a,s,l=[],c=-1,u=R,d=0,p=[];function f(){var t=e[c+1];if(u===I&&"'"===t||u===B&&'"'===t)return c++,i="\\"+t,p[$](),!0}for(p[L]=function(){void 0!==n&&(l.push(n),n=void 0)},p[$]=function(){void 0===n?n=i:n+=i},p[D]=function(){p[$](),d++},p[q]=function(){if(d>0)d--,u=F,p[$]();else{if(d=0,void 0===n)return!1;if(!1===(n=Y(n)))return!1;p[L]()}};null!==u;)if("\\"!==(t=e[++c])||!f()){if(r=W(t),(o=(s=U[u])[r]||s.else||H)===H)return;if(u=o[0],(a=p[o[1]])&&(i=void 0===(i=o[2])?t:i,!1===a()))return;if(u===z)return l}}(e))&&(this._cache[e]=t),t||[]},G.prototype.getPathValue=function(e,t){if(!a(e))return null;var n=this.parsePath(t);if(0===n.length)return null;for(var i=n.length,r=e,o=0;o<i;){var s=r[n[o]];if(void 0===s)return null;r=s,o++}return r};var K,Q=/<\/?[\w\s="/.':;#-\/]+>/,J=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,X=/^@(?:\.([a-z]+))?:/,Z=/[()]/g,ee={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()}},te=new P,ne=function(e){var t=this;void 0===e&&(e={}),!x&&"undefined"!=typeof window&&window.Vue&&E(window.Vue);var n=e.locale||"en-US",i=e.fallbackLocale||"en-US",r=e.messages||{},o=e.dateTimeFormats||{},a=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||te,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new G,this._dataListeners=[],this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._exist=function(e,n){return!(!e||!n)&&(!u(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach(function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,r[e])}),this._initVM({locale:n,fallbackLocale:i,messages:r,dateTimeFormats:o,numberFormats:a})},ie={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0}};ne.prototype._checkLocaleMessage=function(e,t,n){var i=function(e,t,n,a){if(c(n))Object.keys(n).forEach(function(r){var o=n[r];c(o)?(a.push(r),a.push("."),i(e,t,o,a),a.pop(),a.pop()):(a.push(r),i(e,t,o,a),a.pop())});else if(Array.isArray(n))n.forEach(function(n,r){c(n)?(a.push("["+r+"]"),a.push("."),i(e,t,n,a),a.pop(),a.pop()):(a.push("["+r+"]"),i(e,t,n,a),a.pop())});else if("string"==typeof n){if(Q.test(n)){var s="Detected HTML in message '"+n+"' of keypath '"+a.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?r(s):"error"===e&&o(s)}}};i(t,e,n,[])},ne.prototype._initVM=function(e){var t=x.config.silent;x.config.silent=!0,this._vm=new x({data:e}),x.config.silent=t},ne.prototype.destroyVM=function(){this._vm.$destroy()},ne.prototype.subscribeDataChanging=function(e){this._dataListeners.push(e)},ne.prototype.unsubscribeDataChanging=function(e){!function(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)e.splice(n,1)}}(this._dataListeners,e)},ne.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",function(){for(var t=e._dataListeners.length;t--;)x.nextTick(function(){e._dataListeners[t]&&e._dataListeners[t].$forceUpdate()})},{deep:!0})},ne.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var e=this._vm;return this._root.$i18n.vm.$watch("locale",function(t){e.$set(e,"locale",t),e.$forceUpdate()},{immediate:!0})},ie.vm.get=function(){return this._vm},ie.messages.get=function(){return p(this._getMessages())},ie.dateTimeFormats.get=function(){return p(this._getDateTimeFormats())},ie.numberFormats.get=function(){return p(this._getNumberFormats())},ie.availableLocales.get=function(){return Object.keys(this.messages).sort()},ie.locale.get=function(){return this._vm.locale},ie.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},ie.fallbackLocale.get=function(){return this._vm.fallbackLocale},ie.fallbackLocale.set=function(e){this._vm.$set(this._vm,"fallbackLocale",e)},ie.formatFallbackMessages.get=function(){return this._formatFallbackMessages},ie.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},ie.missing.get=function(){return this._missing},ie.missing.set=function(e){this._missing=e},ie.formatter.get=function(){return this._formatter},ie.formatter.set=function(e){this._formatter=e},ie.silentTranslationWarn.get=function(){return this._silentTranslationWarn},ie.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},ie.silentFallbackWarn.get=function(){return this._silentFallbackWarn},ie.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},ie.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},ie.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},ie.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},ie.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var i=this._getMessages();Object.keys(i).forEach(function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,i[e])})}},ne.prototype._getMessages=function(){return this._vm.messages},ne.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},ne.prototype._getNumberFormats=function(){return this._vm.numberFormats},ne.prototype._warnDefault=function(e,t,n,i,r){if(!u(n))return n;if(this._missing){var o=this._missing.apply(null,[e,t,i,r]);if("string"==typeof o)return o}else 0;if(this._formatFallbackMessages){var a=d.apply(void 0,r);return this._render(t,"string",a.params,t)}return t},ne.prototype._isFallbackRoot=function(e){return!e&&!u(this._root)&&this._fallbackRoot},ne.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},ne.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},ne.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},ne.prototype._interpolate=function(e,t,n,i,r,o,a){if(!t)return null;var s,l=this._path.getPathValue(t,n);if(Array.isArray(l)||c(l))return l;if(u(l)){if(!c(t))return null;if("string"!=typeof(s=t[n]))return null}else{if("string"!=typeof l)return null;s=l}return(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(e,t,s,i,"raw",o,a)),this._render(s,r,o,n)},ne.prototype._link=function(e,t,n,i,r,o,a){var s=n,l=s.match(J);for(var c in l)if(l.hasOwnProperty(c)){var u=l[c],d=u.match(X),p=d[0],f=d[1],h=u.replace(p,"").replace(Z,"");if(a.includes(h))return s;a.push(h);var m=this._interpolate(e,t,h,i,"raw"===r?"string":r,"raw"===r?void 0:o,a);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;m=g._translate(g._getMessages(),g.locale,g.fallbackLocale,h,i,r,o)}m=this._warnDefault(e,h,m,i,Array.isArray(o)?o:[o]),this._modifiers.hasOwnProperty(f)?m=this._modifiers[f](m):ee.hasOwnProperty(f)&&(m=ee[f](m)),a.pop(),s=m?s.replace(u,m):s}return s},ne.prototype._render=function(e,t,n,i){var r=this._formatter.interpolate(e,n,i);return r||(r=te.interpolate(e,n,i)),"string"===t?r.join(""):r},ne.prototype._translate=function(e,t,n,i,r,o,a){var s=this._interpolate(t,e[t],i,r,o,a,[i]);return u(s)&&u(s=this._interpolate(n,e[n],i,r,o,a,[i]))?null:s},ne.prototype._t=function(e,t,n,i){for(var r,o=[],a=arguments.length-4;a-- >0;)o[a]=arguments[a+4];if(!e)return"";var s=d.apply(void 0,o),l=s.locale||t,c=this._translate(n,l,this.fallbackLocale,e,i,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[e].concat(o))}return this._warnDefault(l,e,c,i,o)},ne.prototype.t=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},ne.prototype._i=function(e,t,n,i,r){var o=this._translate(n,t,this.fallbackLocale,e,i,"raw",r);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,r)}return this._warnDefault(t,e,o,i,[r])},ne.prototype.i=function(e,t,n){return e?("string"!=typeof t&&(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},ne.prototype._tc=function(e,t,n,i,r){for(var o,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];if(!e)return"";void 0===r&&(r=1);var l={count:r,n:r},c=d.apply(void 0,a);return c.params=Object.assign(l,c.params),a=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((o=this)._t.apply(o,[e,t,n,i].concat(a)),r)},ne.prototype.fetchChoice=function(e,t){if(!e&&"string"!=typeof e)return null;var n=e.split("|");return n[t=this.getChoiceIndex(t,n.length)]?n[t].trim():e},ne.prototype.getChoiceIndex=function(e,t){var n,i;return this.locale in this.pluralizationRules?this.pluralizationRules[this.locale].apply(this,[e,t]):(n=e,i=t,n=Math.abs(n),2===i?n?n>1?1:0:1:n?Math.min(n,2):0)},ne.prototype.tc=function(e,t){for(var n,i=[],r=arguments.length-2;r-- >0;)i[r]=arguments[r+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(i))},ne.prototype._te=function(e,t,n){for(var i=[],r=arguments.length-3;r-- >0;)i[r]=arguments[r+3];var o=d.apply(void 0,i).locale||t;return this._exist(n[o],e)},ne.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},ne.prototype.getLocaleMessage=function(e){return p(this._vm.messages[e]||{})},ne.prototype.setLocaleMessage=function(e,t){("warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||(this._checkLocaleMessage(e,this._warnHtmlInMessage,t),"error"!==this._warnHtmlInMessage))&&this._vm.$set(this._vm.messages,e,t)},ne.prototype.mergeLocaleMessage=function(e,t){("warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||(this._checkLocaleMessage(e,this._warnHtmlInMessage,t),"error"!==this._warnHtmlInMessage))&&this._vm.$set(this._vm.messages,e,m({},this._vm.messages[e]||{},t))},ne.prototype.getDateTimeFormat=function(e){return p(this._vm.dateTimeFormats[e]||{})},ne.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t)},ne.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,m(this._vm.dateTimeFormats[e]||{},t))},ne.prototype._localizeDateTime=function(e,t,n,i,r){var o=t,a=i[o];if((u(a)||u(a[r]))&&(a=i[o=n]),u(a)||u(a[r]))return null;var s=a[r],l=o+"__"+r,c=this._dateTimeFormatters[l];return c||(c=this._dateTimeFormatters[l]=new Intl.DateTimeFormat(o,s)),c.format(e)},ne.prototype._d=function(e,t,n){if(!n)return new Intl.DateTimeFormat(t).format(e);var i=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,t)}return i||""},ne.prototype.d=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this.locale,r=null;return 1===t.length?"string"==typeof t[0]?r=t[0]:a(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(r=t[0].key)):2===t.length&&("string"==typeof t[0]&&(r=t[0]),"string"==typeof t[1]&&(i=t[1])),this._d(e,i,r)},ne.prototype.getNumberFormat=function(e){return p(this._vm.numberFormats[e]||{})},ne.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t)},ne.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,m(this._vm.numberFormats[e]||{},t))},ne.prototype._getNumberFormatter=function(e,t,n,i,r,o){var a=t,s=i[a];if((u(s)||u(s[r]))&&(s=i[a=n]),u(s)||u(s[r]))return null;var l,c=s[r];if(o)l=new Intl.NumberFormat(a,Object.assign({},c,o));else{var d=a+"__"+r;(l=this._numberFormatters[d])||(l=this._numberFormatters[d]=new Intl.NumberFormat(a,c))}return l},ne.prototype._n=function(e,t,n,i){if(!ne.availabilities.numberFormat)return"";if(!n)return(i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t)).format(e);var r=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),o=r&&r.format(e);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},i))}return o||""},ne.prototype.n=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var r=this.locale,o=null,s=null;return 1===t.length?"string"==typeof t[0]?o=t[0]:a(t[0])&&(t[0].locale&&(r=t[0].locale),t[0].key&&(o=t[0].key),s=Object.keys(t[0]).reduce(function(e,n){var r;return i.includes(n)?Object.assign({},e,((r={})[n]=t[0][n],r)):e},null)):2===t.length&&("string"==typeof t[0]&&(o=t[0]),"string"==typeof t[1]&&(r=t[1])),this._n(e,r,o,s)},ne.prototype._ntp=function(e,t,n,i){if(!ne.availabilities.numberFormat)return[];if(!n)return(i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t)).formatToParts(e);var r=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),o=r&&r.formatToParts(e);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,i)}return o||[]},Object.defineProperties(ne.prototype,ie),Object.defineProperty(ne,"availabilities",{get:function(){if(!K){var e="undefined"!=typeof Intl;K={dateTimeFormat:e&&void 0!==Intl.DateTimeFormat,numberFormat:e&&void 0!==Intl.NumberFormat}}return K}}),ne.install=E,ne.version="8.15.3",t.exports=ne},{}],152:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i,r=(i=e("plyr"))&&"object"==typeof i&&"default"in i?i.default:i,o={name:"vue-plyr",props:{options:{type:Object,required:!1,default:function(){return{}}},emit:{type:Array,required:!1,default:function(){return[]}}},data:function(){return{player:{}}},mounted:function(){var e=this;this.player=new r(this.$el.firstChild,this.opts),this.$emit("player",this.player),this.emit.forEach(function(t){e.player.on(t,e.emitPlayerEvent)})},beforeDestroy:function(){try{this.player.destroy()}catch(e){this.opts.hideYouTubeDOMError&&"The YouTube player is not attached to the DOM."===e.message||console.error(e)}},methods:{emitPlayerEvent:function(e){this.$emit(e.type,e)}},computed:{opts:function(){var e=this.options;return this.options.hasOwnProperty("hideYouTubeDOMError")||(e.hideYouTubeDOMError=!0),e}}};const a=o;o.__file="VuePlyr.vue";var s=function(e,t,n,i,r,o,a,s,l,c){"function"==typeof a&&(l=s,s=a,a=!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,r&&(u.functional=!0)),i&&(u._scopeId=i),o?(d=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__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=d):t&&(d=a?function(){t.call(this,c(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}({render:function(){var e=this.$createElement;return(this._self._c||e)("div",[this._t("default")],2)},staticRenderFns:[]},void 0,a,void 0,!1,void 0,void 0,void 0),l={VuePlyr:s},c={install:function(e,t){Object.keys(l).forEach(function(t){e.component(l[t].name,l[t])})}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(c),n.VuePlyr=s,n.VuePlyrPlugin=c,n.default=c},{plyr:91}],153:[function(e,t,n){var i,r;i="undefined"!=typeof self?self:this,r=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},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")}({"02f4":function(e,t,n){var i=n("4588"),r=n("be13");e.exports=function(e){return function(t,n){var o,a,s=String(r(t)),l=i(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},"0390":function(e,t,n){"use strict";var i=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},"0bfb":function(e,t,n){"use strict";var i=n("cb7c");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"214f":function(e,t,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),o=n("79e5"),a=n("be13"),s=n("2b4c"),l=n("520a"),c=s("species"),u=!o(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 p=s(e),f=!o(function(){var t={};return t[p]=function(){return 7},7!=""[e](t)}),h=f?!o(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[p](""),!t}):void 0;if(!f||!h||"replace"===e&&!u||"split"===e&&!d){var m=/./[p],g=n(a,p,""[e],function(e,t,n,i,r){return t.exec===l?f&&!r?{done:!0,value:m.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),v=g[0],b=g[1];i(String.prototype,e,v),r(RegExp.prototype,p,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},"230e":function(e,t,n){var i=n("d3f4"),r=n("7726").document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},"23c6":function(e,t,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),o="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:o?i(t):"Object"==(a=i(t))&&"function"==typeof t.callee?"Arguments":a}},"28a5":function(e,t,n){"use strict";var i=n("aae3"),r=n("cb7c"),o=n("ebd6"),a=n("0390"),s=n("9def"),l=n("5f1b"),c=n("520a"),u=n("79e5"),d=Math.min,p=[].push,f=!u(function(){RegExp(4294967295,"y")});n("214f")("split",2,function(e,t,n,u){var h;return h="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,t){var r=String(this);if(void 0===e&&0===t)return[];if(!i(e))return n.call(r,e,t);for(var o,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,f=void 0===t?4294967295:t>>>0,h=new RegExp(e.source,u+"g");(o=c.call(h,r))&&!((a=h.lastIndex)>d&&(l.push(r.slice(d,o.index)),o.length>1&&o.index<r.length&&p.apply(l,o.slice(1)),s=o[0].length,d=a,l.length>=f));)h.lastIndex===o.index&&h.lastIndex++;return d===r.length?!s&&h.test("")||l.push(""):l.push(r.slice(d)),l.length>f?l.slice(0,f):l}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,i){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r,i):h.call(String(r),n,i)},function(e,t){var i=u(h,e,this,t,h!==n);if(i.done)return i.value;var c=r(e),p=String(this),m=o(c,RegExp),g=c.unicode,v=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(f?"y":"g"),b=new m(f?c:"^(?:"+c.source+")",v),y=void 0===t?4294967295:t>>>0;if(0===y)return[];if(0===p.length)return null===l(b,p)?[p]:[];for(var _=0,w=0,x=[];w<p.length;){b.lastIndex=f?w:0;var k,A=l(b,f?p:p.slice(w));if(null===A||(k=d(s(b.lastIndex+(f?0:w)),p.length))===_)w=a(p,w,g);else{if(x.push(p.slice(_,w)),x.length===y)return x;for(var C=1;C<=A.length-1;C++)if(x.push(A[C]),x.length===y)return x;w=_=k}}return x.push(p.slice(_)),x}]})},"2aba":function(e,t,n){var i=n("7726"),r=n("32e9"),o=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),l=(""+s).split("toString");n("8378").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(o(n,a)||r(n,a,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},"2b4c":function(e,t,n){var i=n("5537")("wks"),r=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))}).store=i},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"32e9":function(e,t,n){var i=n("86cc"),r=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},3846:function(e,t,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"412e":function(e,t,n){},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4917:function(e,t,n){"use strict";var i=n("cb7c"),r=n("9def"),o=n("0390"),a=n("5f1b");n("214f")("match",1,function(e,t,n,s){return[function(n){var i=e(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=s(n,e,this);if(t.done)return t.value;var l=i(e),c=String(this);if(!l.global)return a(l,c);var u=l.unicode;l.lastIndex=0;for(var d,p=[],f=0;null!==(d=a(l,c));){var h=String(d[0]);p[f]=h,""===h&&(l.lastIndex=o(c,r(l.lastIndex),u)),f++}return 0===f?null:p}]})},"4bf8":function(e,t,n){var i=n("be13");e.exports=function(e){return Object(i(e))}},5147:function(e,t,n){var i=n("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(e){}}return!0}},"520a":function(e,t,n){"use strict";var i,r,o=n("0bfb"),a=RegExp.prototype.exec,s=String.prototype.replace,l=a,c=(i=/a/,r=/b*/g,a.call(i,"a"),a.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(e){var t,n,i,r,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",o.call(l))),c&&(t=l.lastIndex),i=a.call(l,e),c&&i&&(l.lastIndex=l.global?i.index+i[0].length:t),u&&i&&i.length>1&&s.call(i[0],n,function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)}),i}),e.exports=l},5537:function(e,t,n){var i=n("8378"),r=n("7726"),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(e,t,n){var i=n("7726"),r=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),l=function(e,t,n){var c,u,d,p,f=e&l.F,h=e&l.G,m=e&l.S,g=e&l.P,v=e&l.B,b=h?i:m?i[t]||(i[t]={}):(i[t]||{}).prototype,y=h?r:r[t]||(r[t]={}),_=y.prototype||(y.prototype={});for(c in h&&(n=t),n)d=((u=!f&&b&&void 0!==b[c])?b:n)[c],p=v&&u?s(d,i):g&&"function"==typeof d?s(Function.call,d):d,b&&a(b,c,d,e&l.U),y[c]!=d&&o(y,c,p),g&&_[c]!=d&&(_[c]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"5f1b":function(e,t,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},"6b54":function(e,t,n){"use strict";n("3846");var i=n("cb7c"),r=n("0bfb"),o=n("9e1e"),a=/./.toString,s=function(e){n("2aba")(RegExp.prototype,"toString",e,!0)};n("79e5")(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var e=i(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?r.call(e):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},"72d6":function(e,t,n){var i=n("8a8d"),r=n("ad9a");function o(e,t){if(!(this instanceof o))return new o(e,t);if(this.node=this.start=this.peeked=e,this.root=t,this.closingTag=!1,this._revisit=!0,this._selects=[],this._rejects=[],e&&this.higher(e))throw new Error("root must be a parent or ancestor to node")}function a(e,t){var n="nextSibling"==e;return function(r,o,a){r=this.compile(r),o=o&&o>0?o:1;for(var s=this.node,l=this.closingTag,c=this._revisit;s;){if(i(n,l)&&s[t])s=s[t],l=!n;else if(1==s.nodeType&&!s[t]&&i(n,l)){if(l=n,!c)continue}else if(s[e])s=s[e],l=!n;else if(s=s.parentNode,l=n,!c)continue;if(!s||this.higher(s,this.root))break;if(r(s)&&this.selects(s,a)&&this.rejects(s,a)){if(--o)continue;return a||(this.node=s),this.closingTag=l,s}}return null}}e.exports=o,o.prototype.reset=function(e){return this.node=e||this.start,this},o.prototype.revisit=function(e){return this._revisit=null==e||e,this},o.prototype.opening=function(){return 1==this.node.nodeType&&(this.closingTag=!1),this},o.prototype.atOpening=function(){return!this.closingTag},o.prototype.closing=function(){return 1==this.node.nodeType&&(this.closingTag=!0),this},o.prototype.atClosing=function(){return this.closingTag},o.prototype.next=a("nextSibling","firstChild"),o.prototype.previous=o.prototype.prev=a("previousSibling","lastChild"),o.prototype.select=function(e){return e=this.compile(e),this._selects.push(e),this},o.prototype.selects=function(e,t){var n=this._selects,i=n.length;if(!i)return!0;for(var r=0;r<i;r++)if(n[r].call(this,e,t))return!0;return!1},o.prototype.reject=function(e){return e=this.compile(e),this._rejects.push(e),this},o.prototype.rejects=function(e,t){var n=this._rejects,i=n.length;if(!i)return!0;for(var r=0;r<i;r++)if(n[r].call(this,e,t))return!1;return!0},o.prototype.higher=function(e){var t=this.root;if(!t)return!1;for(e=e.parentNode;e&&e!=t;)e=e.parentNode;return e!=t},o.prototype.compile=function(e){switch(typeof e){case"number":return function(t){return e==t.nodeType};case"string":return new Function("node","return "+r(e,"node."));case"function":return e;default:return function(){return!0}}},o.prototype.peak=o.prototype.peek=function(e,t){return 1==arguments.length&&(t=e,e=!0),(t=null==t?1:t)?t>0?this.next(e,t,!0):this.prev(e,Math.abs(t),!0):this.node},o.prototype.use=function(e){return e(this),this}},"74a0":function(e,t,n){"use strict";var i=/["'&<>]/;e.exports=function(e){var t,n=""+e,r=i.exec(n);if(!r)return n;var o="",a=0,s=0;for(a=r.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}s!==a&&(o+=n.substring(s,a)),s=a+1,o+=t}return s!==a?o+n.substring(s,a):o}},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)},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},8378:function(e,t){var n=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"86cc":function(e,t,n){var i=n("cb7c"),r=n("c69a"),o=n("6a99"),a=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(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}},"8a8d":function(e,t){e.exports=function(e,t){return e^t}},"954e":function(e,t,n){"use strict";var i,r=n("cf4f"),o={},a={default:{""":'"',""":'"',"'":"'","'":"'","&":"&","&":"&",">":">",">":">","<":"<","<":"<"},extras:{"¢":"¢","¢":"¢","©":"©","©":"©","€":"€","€":"€","£":"£","£":"£","®":"®","®":"®","¥":"¥","¥":"¥"}};function s(e,t){if(!function(e){return e&&"string"==typeof e}(e))return"";var n=a[t||"default"],i=function(e,t){if(o[e])return o[e];var n=Object.keys(t).join("|"),i=new RegExp("(?=("+n+"))\\1","g");return o[e]=i,i}(t,n);return e.replace(i,function(e){return n[e]})}Object.defineProperty(a,"all",{get:function(){return i||(i=r({},a.default,a.extras))}}),s.chars=a.default,s.extras=a.extras,Object.defineProperty(s,"all",{get:function(){return a.all}}),e.exports=s},"9b43":function(e,t,n){var i=n("d8e8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"9def":function(e,t,n){var i=n("4588"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a481:function(e,t,n){"use strict";var i=n("cb7c"),r=n("4bf8"),o=n("9def"),a=n("4588"),s=n("0390"),l=n("5f1b"),c=Math.max,u=Math.min,d=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;n("214f")("replace",2,function(e,t,n,h){return[function(i,r){var o=e(this),a=null==i?void 0:i[t];return void 0!==a?a.call(i,o,r):n.call(String(o),i,r)},function(e,t){var r=h(n,e,this,t);if(r.done)return r.value;var d=i(e),p=String(this),f="function"==typeof t;f||(t=String(t));var g=d.global;if(g){var v=d.unicode;d.lastIndex=0}for(var b=[];;){var y=l(d,p);if(null===y)break;if(b.push(y),!g)break;""===String(y[0])&&(d.lastIndex=s(p,o(d.lastIndex),v))}for(var _,w="",x=0,k=0;k<b.length;k++){y=b[k];for(var A=String(y[0]),C=c(u(a(y.index),p.length),0),S=[],M=1;M<y.length;M++)S.push(void 0===(_=y[M])?_:String(_));var O=y.groups;if(f){var T=[A].concat(S,C,p);void 0!==O&&T.push(O);var E=String(t.apply(void 0,T))}else E=m(A,p,C,S,O,t);C>=x&&(w+=p.slice(x,C)+E,x=C+A.length)}return w+p.slice(x)}];function m(e,t,i,o,a,s){var l=i+e.length,c=o.length,u=f;return void 0!==a&&(a=r(a),u=p),n.call(s,u,function(n,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,i);case"'":return t.slice(l);case"<":s=a[r.slice(1,-1)];break;default:var u=+r;if(0===u)return n;if(u>c){var p=d(u/10);return 0===p?n:p<=c?void 0===o[p-1]?r.charAt(1):o[p-1]+r.charAt(1):n}s=o[u-1]}return void 0===s?"":s})}})},aae3:function(e,t,n){var i=n("d3f4"),r=n("2d95"),o=n("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==r(e))}},ad9a:function(e,t){var n=/\b(Array|Date|Object|Math|JSON)\b/g;e.exports=function(e,t){var i=function(e){for(var t=[],n=0;n<e.length;n++)~t.indexOf(e[n])||t.push(e[n]);return t}(function(e){return e.replace(/\.\w+|\w+ *\(|"[^"]*"|'[^']*'|\/([^/]+)\//g,"").replace(n,"").match(/[a-zA-Z_]\w*/g)||[]}(e));return t&&"string"==typeof t&&(t=function(e){return function(t){return e+t}}(t)),t?function(e,t,n){return e.replace(/\.\w+|\w+ *\(|"[^"]*"|'[^']*'|\/([^/]+)\/|[a-zA-Z_]\w*/g,function(e){return"("==e[e.length-1]?n(e):~t.indexOf(e)?n(e):e})}(e,i,t):i}},aef6:function(e,t,n){"use strict";var i=n("5ca1"),r=n("9def"),o=n("d2c8"),a="".endsWith;i(i.P+i.F*n("5147")("endsWith"),"String",{endsWith:function(e){var t=o(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,i=r(t.length),s=void 0===n?i:Math.min(r(n),i),l=String(e);return a?a.call(t,l,s):t.slice(s-l.length,s)===l}})},b0c5:function(e,t,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},b16a:function(e,t,n){"use strict";var i=n("412e");n.n(i).a},be13:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},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})},ca5a:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},cb7c:function(e,t,n){var i=n("d3f4");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},cf4f:function(e,t,n){"use strict";var i=n("d913");function r(e,t){for(var n in t)o(t,n)&&(e[n]=t[n])}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e){i(e)||(e={});for(var t=arguments.length,n=1;n<t;n++){var o=arguments[n];i(o)&&r(e,o)}return e}},d2c8:function(e,t,n){var i=n("aae3"),r=n("be13");e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},d3f4:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},d913:function(e,t,n){"use strict";e.exports=function(e){return null!=e&&("object"==typeof e||"function"==typeof e)}},ebd6:function(e,t,n){var i=n("cb7c"),r=n("d8e8"),o=n("2b4c")("species");e.exports=function(e,t){var n,a=i(e).constructor;return void 0===a||null==(n=i(a)[o])?t:r(n)}},f6fd:function(e,t){!function(e){var t=e.getElementsByTagName("script");"currentScript"in e||Object.defineProperty(e,"currentScript",{get:function(){try{throw new Error}catch(i){var e,n=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in t)if(t[e].src==n||"interactive"==t[e].readyState)return t[e];return null}}})}(document)},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!=typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));n("aef6"),n("28a5");var r=n("74a0"),o=n.n(r);function a(e,t,n){return"text"===t&&(e=o()(e)),'<code class="language-'.concat(n,'">').concat(e,"</code>")}n("a481");var s=function(e){return e.replace("\n","<br>")},l=n("954e"),c=n.n(l),u=function(e){return c()(e.replace(/<br>/gm,"\n").replace(/<\/?[^>]*>/gm,""))},d=(n("6b54"),n("72d6")),p=n.n(d);function f(e,t){var n=window.getSelection();e.focus(),n.removeAllRanges(),n.addRange(t)}var h=function(e,t){var n=window.getSelection();if(1==arguments.length){if(!n.rangeCount)return;var i={},r=(c=n.getRangeAt(0)).cloneRange();return r.selectNodeContents(e),r.setEnd(c.endContainer,c.endOffset),i.end=r.toString().length,r.setStart(c.startContainer,c.startOffset),i.start=i.end-r.toString().length,i.atStart=0===r.startOffset,i.commonAncestorContainer=r.commonAncestorContainer,i.endContainer=r.endContainer,i.startContainer=r.startContainer,i}for(var o,a,s=t.end&&t.end!==t.start,l=0,c=document.createRange(),u=p()(e).select(Node.TEXT_NODE).revisit(!1),d=t.start>e.textContent.length?e.textContent.length:t.start,h=t.end>e.textContent.length?e.textContent.length:t.end,m=t.atStart;o=u.next();){var g=l;if(l+=o.textContent.length,!a&&(m?l>d:l>=d)&&(a=!0,c.setStart(o,d-g),!s)){c.collapse(!0),f(e,c);break}if(s&&l>=h){c.setEnd(o,h-g),f(e,c);break}}},m=(n("4917"),function(e,t){var n=e.slice(0,t),i=n.lastIndexOf("\n")+1;return n.slice(i)}),g=/^\s+/,v=/^(\t| {2})* {2}$/,b={model:{prop:"code",event:"change"},props:{emitEvents:{type:Boolean,default:!1},language:{type:String,default:"js"},lineNumbers:{type:Boolean,default:!1},autoStyleLineNumbers:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},code:{type:String,default:""}},data:function(){return{undoStack:[],selection:void 0,lineNumbersHeight:"20px",undoOffset:0,undoTimestamp:0,lastPos:0,codeData:"",composing:!1}},watch:{code:{immediate:!0,handler:function(e){this.codeData=e||""}},content:{immediate:!0,handler:function(){var e=this;this.lineNumbers&&this.$nextTick(function(){e.setLineNumbersHeight()})}},lineNumbers:function(){var e=this;this.$nextTick(function(){e.styleLineNumbers(),e.setLineNumbersHeight()})}},computed:{content:function(){return function(e,t){if(!t)return a(e,"text","text");var n=t=t.toLowerCase();return"vue"!==t&&"html"!==t||(t="markup"),"md"===t&&(t="markdown"),"ts"===t&&(t="typescript"),Prism.languages[t]?a(Prism.highlight(e,Prism.languages[t],t),n,t):a(e,"text","text")}(this.codeData,this.language)},lineNumbersCount:function(){var e=this.codeData.split(/\r\n|\n/).length;return this.codeData.endsWith("\n")&&e--,e}},updated:function(){this.selection&&h(this.$refs.pre,this.selection)},mounted:function(){var e=this;this.recordChange(this.getPlain()),this.undoTimestamp=0,this.styleLineNumbers();var t=function(t){t.preventDefault();var n=h(e.$refs.pre),i=(t.originalEvent||t).clipboardData.getData("Text");document.execCommand("insertHTML",!1,o()(i));var r=n.end+i.length;e.selection={start:r,end:r};var a=e.getPlain();e.recordChange(a,e.selection),e.updateContent(a),e.setLineNumbersHeight()},n=this.$refs.pre;n.addEventListener("paste",t),this.$once("hook:beforeDestroy",function(){n.removeEventListener("paste",t)}),n.addEventListener("compositionstart",function(){e.composing=!0}),n.addEventListener("compositionend",function(){e.composing=!1})},methods:{setLineNumbersHeight:function(){this.lineNumbersHeight=getComputedStyle(this.$refs.pre).height},styleLineNumbers:function(){if(this.lineNumbers&&this.autoStyleLineNumbers){var e=this.$refs.pre,t=this.$el.querySelector(".prism-editor__line-numbers"),n=window.getComputedStyle(e);this.$nextTick(function(){var i="border-top-left-radius",r="border-bottom-left-radius";t.style[i]=n[i],t.style[r]=n[r],e.style[i]=0,e.style[r]=0;["background-color","margin-top","padding-top","font-family","font-size","line-height"].forEach(function(e){t.style[e]=n[e]}),t.style["margin-bottom"]="-"+n["padding-top"]})}},handleClick:function(e){this.emitEvents&&this.$emit("editorClick",e),this.undoTimestamp=0,this.selection=h(this.$refs.pre)},getPlain:function(){if(this._innerHTML===this.$refs.pre.innerHTML)return this._plain;var e=u(s(this.$refs.pre.innerHTML));return this._innerHTML=this.$refs.pre.innerHTML,this._plain=e,this._plain},recordChange:function(e,t){if(e!==this.undoStack[this.undoStack.length-1]){this.undoOffset>0&&(this.undoStack=this.undoStack.slice(0,-this.undoOffset),this.undoOffset=0);var n=Date.now(),i={plain:e,selection:t};n-this.undoTimestamp<3e3?this.undoStack[this.undoStack.length-1]=i:(this.undoStack.push(i),this.undoStack.length>50&&this.undoStack.shift()),this.undoTimestamp=n}},updateContent:function(e){this.$emit("change",e)},restoreStackState:function(e){var t=this.undoStack[this.undoStack.length-1-e],n=t.plain,i=t.selection;this.selection=i,this.undoOffset=e,this.updateContent(n)},undo:function(){var e=this.undoOffset+1;e>=this.undoStack.length||this.restoreStackState(e)},redo:function(){var e=this.undoOffset-1;e<0||this.restoreStackState(e)},handleKeyDown:function(e){if(this.emitEvents&&this.$emit("keydown",e),9!==e.keyCode||this.ignoreTabKey)if(8===e.keyCode){var t=h(this.$refs.pre),n=t.start;if(n!==t.end)return;var i=function(e,t){var n=m(e,t);return v.test(n)?2:0}(this.$refs.pre.innerText,n);if(i<=0)return;for(var r=0;r<i;r++)document.execCommand("delete",!1);e.preventDefault()}else if(13===e.keyCode){var o=h(this.$refs.pre).start,a=function(e,t){var n=m(e,t).match(g);return null===n?"":n[0]||""}(this.$refs.pre.innerText,o);document.execCommand("insertHTML",!1,"\n "+a),document.execCommand("delete",!1),e.preventDefault()}else 90!==e.keyCode||e.metaKey===e.ctrlKey||e.altKey||(e.shiftKey?this.redo():this.undo(),e.preventDefault());else document.execCommand("insertHTML",!1," "),e.preventDefault()},handleKeyUp:function(e){var t=e.which;if(this.composing){if(13!==t)return;this.composing=!1}if(this.emitEvents&&this.$emit("keyup",e),91!==e.keyCode&&93!==e.keyCode&&!e.ctrlKey&&!e.metaKey)if(13===e.keyCode&&(this.undoTimestamp=0),this.selection=h(this.$refs.pre),37!==e.keyCode&&38!==e.keyCode&&39!==e.keyCode&&40!==e.keyCode){var n=this.getPlain();this.recordChange(n,this.selection),this.updateContent(n)}else this.undoTimestamp=0}}};n("b16a");var y=function(e,t,n,i,r,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),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}}(b,function(){var e,t=this,n=t.$createElement,i=t._self._c||n;return i("div",{staticClass:"prism-editor-wrapper"},[t.lineNumbers?i("div",{staticClass:"prism-editor__line-numbers",style:{"min-height":t.lineNumbersHeight},attrs:{"aria-hidden":"true"}},[i("div",{staticClass:"prism-editor__line-width-calc",staticStyle:{height:"0px",visibility:"hidden","pointer-events":"none"}},[t._v("\n 999\n ")]),t._l(t.lineNumbersCount,function(e){return i("div",{key:e,staticClass:"prism-editor__line-number token comment"},[t._v("\n "+t._s(e)+"\n ")])})],2):t._e(),i("pre",{ref:"pre",staticClass:"prism-editor__code",class:(e={},e["language-"+t.language]=!0,e),attrs:{contenteditable:!t.readonly,spellCheck:"false",autocapitalize:"off",autocomplete:"off",autocorrect:"off","data-gramm":"false"},domProps:{innerHTML:t._s(t.content)},on:{keydown:t.handleKeyDown,keyup:t.handleKeyUp,click:t.handleClick}})])},[],!1,null,null,null).exports;t.default=y}}).default},"object"==typeof n&&"object"==typeof t?t.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof n?n.VuePrismEditor=r():i.VuePrismEditor=r()},{}],154:[function(e,t,n){(function(e){!function(e,i){"object"==typeof n&&void 0!==t?i(n):"function"==typeof define&&define.amd?define(["exports"],i):i((e=e||self)["vue-tippy"]={})}(this,function(t){"use strict";var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,i=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var r=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},i))}};function o(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+i)?e:l(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function p(e){return 11===e?u:10===e?d:u||d}function f(e){if(!e)return document.documentElement;for(var t=p(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?f(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var a,s,l=o.commonAncestorContainer;if(e!==l&&t!==l||i.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&f(a.firstElementChild)!==a?f(l):l;var c=h(e);return c.host?m(c.host,t):m(e,h(t).host)}function g(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[t]}return e[t]}function v(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function b(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],p(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function y(e){var t=e.body,n=e.documentElement,i=p(10)&&getComputedStyle(n);return{height:b("Height",t,n,i),width:b("Width",t,n,i)}}var _=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},w=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),x=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function A(e){return k({},e,{right:e.left+e.width,bottom:e.top+e.height})}function C(e){var t={};try{if(p(10)){t=e.getBoundingClientRect();var n=g(e,"top"),i=g(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},o="HTML"===e.nodeName?y(e.ownerDocument):{},s=o.width||e.clientWidth||r.width,l=o.height||e.clientHeight||r.height,c=e.offsetWidth-s,u=e.offsetHeight-l;if(c||u){var d=a(e);c-=v(d,"x"),u-=v(d,"y"),r.width-=c,r.height-=u}return A(r)}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=p(10),r="HTML"===t.nodeName,o=C(e),s=C(t),c=l(e),u=a(t),d=parseFloat(u.borderTopWidth,10),f=parseFloat(u.borderLeftWidth,10);n&&r&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=A({top:o.top-s.top-d,left:o.left-s.left-f,width:o.width,height:o.height});if(h.marginTop=0,h.marginLeft=0,!i&&r){var m=parseFloat(u.marginTop,10),v=parseFloat(u.marginLeft,10);h.top-=d-m,h.bottom-=d-m,h.left-=f-v,h.right-=f-v,h.marginTop=m,h.marginLeft=v}return(i&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(h=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=g(t,"top"),r=g(t,"left"),o=n?-1:1;return e.top+=i*o,e.bottom+=i*o,e.left+=r*o,e.right+=r*o,e}(h,t)),h}function M(e){if(!e||!e.parentElement||p())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function O(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},u=r?M(e):m(e,c(t));if("viewport"===i)o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=S(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:g(n),s=t?0:g(n,"left");return A({top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:r,height:o})}(u,r);else{var d=void 0;"scrollParent"===i?"BODY"===(d=l(s(t))).nodeName&&(d=e.ownerDocument.documentElement):d="window"===i?e.ownerDocument.documentElement:i;var p=S(d,u,r);if("HTML"!==d.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===a(t,"position"))return!0;var i=s(t);return!!i&&e(i)}(u))o=p;else{var f=y(e.ownerDocument),h=f.height,v=f.width;o.top+=p.top-p.marginTop,o.bottom=h+p.top,o.left+=p.left-p.marginLeft,o.right=v+p.left}}var b="number"==typeof(n=n||0);return o.left+=b?n:n.left||0,o.top+=b?n:n.top||0,o.right-=b?n:n.right||0,o.bottom-=b?n:n.bottom||0,o}function T(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=O(n,i,o,r),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){return k({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),c=l.filter(function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight}),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function E(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return S(n,i?M(t):m(t,c(n)),i)}function P(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function j(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function N(e,t,n){n=n.split("-")[0];var i=P(e),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return r[a]=t[a]+t[l]/2-i[l]/2,r[s]=n===s?t[s]-i[c]:t[j(s)],r}function $(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function L(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var i=$(e,function(e){return e[t]===n});return e.indexOf(i)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&o(n)&&(t.offsets.popper=A(t.offsets.popper),t.offsets.reference=A(t.offsets.reference),t=n(t,e))}),t}function D(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function q(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var r=t[i],o=r?""+r+n:e;if(void 0!==document.body.style[o])return o}return null}function R(e){var t=e.ownerDocument;return t?t.defaultView:window}function F(e,t,n,i){n.updateBound=i,R(e).addEventListener("resize",n.updateBound,{passive:!0});var r=l(e);return function e(t,n,i,r){var o="BODY"===t.nodeName,a=o?t.ownerDocument.defaultView:t;a.addEventListener(n,i,{passive:!0}),o||e(l(a.parentNode),n,i,r),r.push(a)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function I(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,R(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function B(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function z(e,t){Object.keys(t).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&B(t[n])&&(i="px"),e.style[n]=t[n]+i})}var H=n&&/Firefox/i.test(navigator.userAgent);function U(e,t,n){var i=$(e,function(e){return e.name===t}),r=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});if(!r){var o="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}var V=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],W=V.slice(3);function Y(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=W.indexOf(e),i=W.slice(n+1).concat(W.slice(0,n));return t?i.reverse():i}var G={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function K(e,t,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf($(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map(function(e,i){var r=(1===i?!o:o)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,i){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],a=r[2];if(!o)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return A(s)[t]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(e,r,t,n)})})).forEach(function(e,t){e.forEach(function(n,i){B(n)&&(r[t]+=n*("-"===e[i-1]?-1:1))})}),r}var Q={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var r=e.offsets,o=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:x({},l,o[l]),end:x({},l,o[l]+o[c]-a[c])};e.offsets.popper=k({},a,u[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,r=e.offsets,o=r.popper,a=r.reference,s=i.split("-")[0],l=void 0;return l=B(+n)?[+n,0]:K(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||f(e.instance.popper);e.instance.reference===n&&(n=f(n));var i=q("transform"),r=e.instance.popper.style,o=r.top,a=r.left,s=r[i];r.top="",r.left="",r[i]="";var l=O(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=o,r.left=a,r[i]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),x({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(i=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),x({},n,i)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=k({},u,d[t](e))}),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,r=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<o(i[l])&&(e.offsets.popper[l]=o(i[l])-n[c]),n[l]>o(i[s])&&(e.offsets.popper[l]=o(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!U(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],o=e.offsets,s=o.popper,l=o.reference,c=-1!==["left","right"].indexOf(r),u=c?"height":"width",d=c?"Top":"Left",p=d.toLowerCase(),f=c?"left":"top",h=c?"bottom":"right",m=P(i)[u];l[h]-m<s[p]&&(e.offsets.popper[p]-=s[p]-(l[h]-m)),l[p]+m>s[h]&&(e.offsets.popper[p]+=l[p]+m-s[h]),e.offsets.popper=A(e.offsets.popper);var g=l[p]+l[u]/2-m/2,v=a(e.instance.popper),b=parseFloat(v["margin"+d],10),y=parseFloat(v["border"+d+"Width"],10),_=g-e.offsets.popper[p]-b-y;return _=Math.max(Math.min(s[u]-m,_),0),e.arrowElement=i,e.offsets.arrow=(x(n={},p,Math.round(_)),x(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(D(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=O(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],r=j(i),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case G.FLIP:a=[i,r];break;case G.CLOCKWISE:a=Y(i);break;case G.COUNTERCLOCKWISE:a=Y(i,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(i!==s||a.length===l+1)return e;i=e.placement.split("-")[0],r=j(i);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,p="left"===i&&d(c.right)>d(u.left)||"right"===i&&d(c.left)<d(u.right)||"top"===i&&d(c.bottom)>d(u.top)||"bottom"===i&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),h=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),v="left"===i&&f||"right"===i&&h||"top"===i&&m||"bottom"===i&&g,b=-1!==["top","bottom"].indexOf(i),y=!!t.flipVariations&&(b&&"start"===o&&f||b&&"end"===o&&h||!b&&"start"===o&&m||!b&&"end"===o&&g),_=!!t.flipVariationsByContent&&(b&&"start"===o&&h||b&&"end"===o&&f||!b&&"start"===o&&g||!b&&"end"===o&&m),w=y||_;(p||v||w)&&(e.flipped=!0,(p||v)&&(i=a[l+1]),w&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=i+(o?"-"+o:""),e.offsets.popper=k({},e.offsets.popper,N(e.instance.popper,e.offsets.reference,e.placement)),e=L(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,r=i.popper,o=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=o[n]-(s?r[a?"width":"height"]:0),e.placement=j(t),e.offsets.popper=A(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!U(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=$(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,r=e.offsets.popper,o=$(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:t.gpuAcceleration,s=f(e.instance.popper),l=C(s),c={position:r.position},u=function(e,t){var n=e.offsets,i=n.popper,r=n.reference,o=Math.round,a=Math.floor,s=function(e){return e},l=o(r.width),c=o(i.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),p=t?u||d||l%2==c%2?o:a:s,f=t?o:s;return{left:p(l%2==1&&c%2==1&&!d&&t?i.left-1:i.left),top:f(i.top),bottom:f(i.bottom),right:p(i.right)}}(e,window.devicePixelRatio<2||!H),d="bottom"===n?"top":"bottom",p="right"===i?"left":"right",h=q("transform"),m=void 0,g=void 0;if(g="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===p?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&h)c[h]="translate3d("+m+"px, "+g+"px, 0)",c[d]=0,c[p]=0,c.willChange="transform";else{var v="bottom"===d?-1:1,b="right"===p?-1:1;c[d]=g*v,c[p]=m*b,c.willChange=d+", "+p}var y={"x-placement":e.placement};return e.attributes=k({},y,e.attributes),e.styles=k({},c,e.styles),e.arrowStyles=k({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return z(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&z(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,r){var o=E(r,t,e,n.positionFixed),a=T(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),z(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},J=function(){function e(t,n){var i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=r(this.update.bind(this)),this.options=k({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(k({},e.Defaults.modifiers,a.modifiers)).forEach(function(t){i.options.modifiers[t]=k({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return k({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&o(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return w(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=E(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=T(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=N(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=L(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,D(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[q("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return I.call(this)}}]),e}();J.Utils=("undefined"!=typeof window?window:e).PopperUtils,J.placements=V,J.Defaults=Q;function X(){return(X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var Z="undefined"!=typeof window&&"undefined"!=typeof document,ee=Z?navigator.userAgent:"",te=/MSIE |Trident\//.test(ee),ne=/UCBrowser\//.test(ee),ie=Z&&/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,re={a11y:!0,allowHTML:!0,animateFill:!0,animation:"shift-away",appendTo:function(){return document.body},aria:"describedby",arrow:!1,arrowType:"sharp",boundary:"scrollParent",content:"",delay:0,distance:10,duration:[325,275],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,followCursor:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:350,multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnInit:!1,size:"regular",sticky:!1,target:"",theme:"dark",touch:!0,touchHold:!1,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,wait:null,zIndex:9999},oe=["arrow","arrowType","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"],ae=Z?Element.prototype:{},se=ae.matches||ae.matchesSelector||ae.webkitMatchesSelector||ae.mozMatchesSelector||ae.msMatchesSelector;function le(e){return[].slice.call(e)}function ce(e,t){return ue(e,function(e){return se.call(e,t)})}function ue(e,t){for(;e;){if(t(e))return e;e=e.parentElement}return null}var de={passive:!0},pe=4,fe="x-placement",he="x-out-of-boundaries",me="tippy-iOS",ge="tippy-active",ve="tippy-popper",be="tippy-tooltip",ye="tippy-content",_e="tippy-backdrop",we="tippy-arrow",xe="tippy-roundarrow",ke=".".concat(ve),Ae=".".concat(be),Ce=".".concat(ye),Se=".".concat(_e),Me=".".concat(we),Oe=".".concat(xe),Te=!1;function Ee(){Te||(Te=!0,ie&&document.body.classList.add(me),window.performance&&document.addEventListener("mousemove",je))}var Pe=0;function je(){var e=performance.now();e-Pe<20&&(Te=!1,document.removeEventListener("mousemove",je),ie||document.body.classList.remove(me)),Pe=e}function Ne(){var e=document.activeElement;e&&e.blur&&e._tippy&&e.blur()}var $e=Object.keys(re);function Le(e,t){return{}.hasOwnProperty.call(e,t)}function De(e,t,n){if(Array.isArray(e)){var i=e[t];return null==i?n:i}return e}function qe(e,t){return 0===t?e:function(i){clearTimeout(n),n=setTimeout(function(){e(i)},t)};var n}function Re(e,t){return e&&e.modifiers&&e.modifiers[t]}function Fe(e,t){return e.indexOf(t)>-1}function Ie(e){return e instanceof Element}function Be(e){return!(!e||!Le(e,"isVirtual"))||Ie(e)}function ze(e,t){return"function"==typeof e?e.apply(null,t):e}function He(e,t){e.filter(function(e){return"flip"===e.name})[0].enabled=t}function Ue(){return document.createElement("div")}function Ve(e,t){e.forEach(function(e){e&&(e.style.transitionDuration="".concat(t,"ms"))})}function We(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Ye(e,t){var n=X({},t,{content:ze(t.content,[e])},t.ignoreAttributes?{}:function(e){return $e.reduce(function(t,n){var i=(e.getAttribute("data-tippy-".concat(n))||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(e){t[n]=i}return t},{})}(e));return(n.arrow||ne)&&(n.animateFill=!1),n}function Ge(e,t){Object.keys(e).forEach(function(e){if(!Le(t,e))throw new Error("[tippy]: `".concat(e,"` is not a valid option"))})}function Ke(e,t){e.innerHTML=Ie(t)?t.innerHTML:t}function Qe(e,t){if(Ie(t.content))Ke(e,""),e.appendChild(t.content);else if("function"!=typeof t.content){e[t.allowHTML?"innerHTML":"textContent"]=t.content}}function Je(e){return{tooltip:e.querySelector(Ae),backdrop:e.querySelector(Se),content:e.querySelector(Ce),arrow:e.querySelector(Me)||e.querySelector(Oe)}}function Xe(e){e.setAttribute("data-inertia","")}function Ze(e){var t=Ue();return"round"===e?(t.className=xe,Ke(t,'<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>')):t.className=we,t}function et(){var e=Ue();return e.className=_e,e.setAttribute("data-state","hidden"),e}function tt(e,t){e.setAttribute("tabindex","-1"),t.setAttribute("data-interactive","")}function nt(e,t,n){var i=ne&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";e[t+"EventListener"](i,n)}function it(e){var t=e.getAttribute(fe);return t?t.split("-")[0]:""}function rt(e,t,n){n.split(" ").forEach(function(n){e.classList[t](n+"-theme")})}function ot(e,t){var n=Ue();n.className=ve,n.id="tippy-".concat(e),n.style.zIndex=""+t.zIndex,n.style.position="absolute",n.style.top="0",n.style.left="0",t.role&&n.setAttribute("role",t.role);var i=Ue();i.className=be,i.style.maxWidth=t.maxWidth+("number"==typeof t.maxWidth?"px":""),i.setAttribute("data-size",t.size),i.setAttribute("data-animation",t.animation),i.setAttribute("data-state","hidden"),rt(i,"add",t.theme);var r=Ue();return r.className=ye,r.setAttribute("data-state","hidden"),t.interactive&&tt(n,i),t.arrow&&i.appendChild(Ze(t.arrowType)),t.animateFill&&(i.appendChild(et()),i.setAttribute("data-animatefill","")),t.inertia&&Xe(i),Qe(r,t),i.appendChild(r),n.appendChild(i),n}function at(e,t,n){var i=Je(e),r=i.tooltip,o=i.content,a=i.backdrop,s=i.arrow;e.style.zIndex=""+n.zIndex,r.setAttribute("data-size",n.size),r.setAttribute("data-animation",n.animation),r.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),n.role?e.setAttribute("role",n.role):e.removeAttribute("role"),t.content!==n.content&&Qe(o,n),!t.animateFill&&n.animateFill?(r.appendChild(et()),r.setAttribute("data-animatefill","")):t.animateFill&&!n.animateFill&&(r.removeChild(a),r.removeAttribute("data-animatefill")),!t.arrow&&n.arrow?r.appendChild(Ze(n.arrowType)):t.arrow&&!n.arrow&&r.removeChild(s),t.arrow&&n.arrow&&t.arrowType!==n.arrowType&&r.replaceChild(Ze(n.arrowType),s),!t.interactive&&n.interactive?tt(e,r):t.interactive&&!n.interactive&&function(e,t){e.removeAttribute("tabindex"),t.removeAttribute("data-interactive")}(e,r),!t.inertia&&n.inertia?Xe(r):t.inertia&&!n.inertia&&function(e){e.removeAttribute("data-inertia")}(r),t.theme!==n.theme&&(rt(r,"remove",t.theme),rt(r,"add",n.theme))}var st=1,lt=[];function ct(e,t){var n,i,r,o,a,s=Ye(e,t);if(!s.multiple&&e._tippy)return null;var l,c,u,d,p,f=!1,h=!1,m=!1,g=!1,v=[],b=qe(D,s.interactiveDebounce),y=st++,_=ot(y,s),w=Je(_),x={id:y,reference:e,popper:_,popperChildren:w,popperInstance:null,props:s,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:Y,set:G,setContent:function(e){G({content:e})},show:K,hide:Q,enable:function(){x.state.isEnabled=!0},disable:function(){x.state.isEnabled=!1},destroy:function(t){if(x.state.isDestroyed)return;h=!0,x.state.isMounted&&Q(0);N(),delete e._tippy;var n=x.props.target;n&&t&&Ie(e)&&le(e.querySelectorAll(n)).forEach(function(e){e._tippy&&e._tippy.destroy()});x.popperInstance&&x.popperInstance.destroy();h=!1,x.state.isDestroyed=!0}};return e._tippy=x,_._tippy=x,j(),s.lazy||H(),s.showOnInit&&U(),!s.a11y||s.target||(!Ie(p=C())||se.call(p,"a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]")&&!p.hasAttribute("disabled"))||C().setAttribute("tabindex","0"),_.addEventListener("mouseenter",function(e){x.props.interactive&&x.state.isVisible&&"mouseenter"===n&&U(e,!0)}),_.addEventListener("mouseleave",function(){x.props.interactive&&"mouseenter"===n&&document.addEventListener("mousemove",b)}),x;function k(){document.removeEventListener("mousemove",$)}function A(){document.body.removeEventListener("mouseleave",V),document.removeEventListener("mousemove",b),lt=lt.filter(function(e){return e!==b})}function C(){return x.props.triggerTarget||e}function S(){document.addEventListener("click",W,!0)}function M(){document.removeEventListener("click",W,!0)}function O(){return[x.popperChildren.tooltip,x.popperChildren.backdrop,x.popperChildren.content]}function T(){var e=x.props.followCursor;return e&&"focus"!==n||Te&&"initial"===e}function E(e,t){var n=x.popperChildren.tooltip;function i(e){e.target===n&&(nt(n,"remove",i),t())}if(0===e)return t();nt(n,"remove",u),nt(n,"add",i),u=i}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];C().addEventListener(e,t,n),v.push({eventType:e,handler:t,options:n})}function j(){x.props.touchHold&&!x.props.target&&(P("touchstart",L,de),P("touchend",q,de)),x.props.trigger.trim().split(" ").forEach(function(e){if("manual"!==e)if(x.props.target)switch(e){case"mouseenter":P("mouseover",F),P("mouseout",I);break;case"focus":P("focusin",F),P("focusout",I);break;case"click":P(e,F)}else switch(P(e,L),e){case"mouseenter":P("mouseleave",q);break;case"focus":P(te?"focusout":"blur",R)}})}function N(){v.forEach(function(e){var t=e.eventType,n=e.handler,i=e.options;C().removeEventListener(t,n,i)}),v=[]}function $(t){var n=i=t,r=n.clientX,o=n.clientY;if(d){var a=ue(t.target,function(t){return t===e}),s=e.getBoundingClientRect(),l=x.props.followCursor,c="horizontal"===l,u="vertical"===l,p=Fe(["top","bottom"],it(_)),f=_.getAttribute(fe),h=!!f&&!!f.split("-")[1],m=p?_.offsetWidth:_.offsetHeight,g=m/2,v=p?0:h?m:g,b=p?h?m:g:0;!a&&x.props.interactive||(x.popperInstance.reference=X({},x.popperInstance.reference,{referenceNode:e,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return{width:p?m:0,height:p?0:m,top:(c?s.top:o)-v,bottom:(c?s.bottom:o)+v,left:(u?s.left:r)-b,right:(u?s.right:r)+b}}}),x.popperInstance.update()),"initial"===l&&x.state.isVisible&&k()}}function L(e){x.state.isEnabled&&!B(e)&&(x.state.isVisible||(n=e.type,e instanceof MouseEvent&&(i=e,lt.forEach(function(t){return t(e)}))),"click"===e.type&&!1!==x.props.hideOnClick&&x.state.isVisible?V():U(e))}function D(t){var n=ce(t.target,ke)===_,i=ue(t.target,function(t){return t===e});n||i||function(e,t,n,i){if(!e)return!0;var r=n.clientX,o=n.clientY,a=i.interactiveBorder,s=i.distance,l=t.top-o>("top"===e?a+s:a),c=o-t.bottom>("bottom"===e?a+s:a),u=t.left-r>("left"===e?a+s:a),d=r-t.right>("right"===e?a+s:a);return l||c||u||d}(it(_),_.getBoundingClientRect(),t,x.props)&&(A(),V())}function q(e){if(!B(e))return x.props.interactive?(document.body.addEventListener("mouseleave",V),document.addEventListener("mousemove",b),void lt.push(b)):void V()}function R(e){e.target===C()&&(x.props.interactive&&e.relatedTarget&&_.contains(e.relatedTarget)||V())}function F(e){ce(e.target,x.props.target)&&U(e)}function I(e){ce(e.target,x.props.target)&&V()}function B(e){var t="ontouchstart"in window,n=Fe(e.type,"touch"),i=x.props.touchHold;return t&&Te&&i&&!n||Te&&!i&&n}function z(){!g&&c&&(g=!0,function(e){e.offsetHeight}(_),c())}function H(){var t=x.props.popperOptions,n=x.popperChildren,i=n.tooltip,r=n.arrow,o=Re(t,"preventOverflow");function a(e){x.props.flip&&!x.props.flipOnUpdate&&(e.flipped&&(x.popperInstance.options.placement=e.placement),He(x.popperInstance.modifiers,!1)),i.setAttribute(fe,e.placement),!1!==e.attributes[he]?i.setAttribute(he,""):i.removeAttribute(he),l&&l!==e.placement&&m&&(i.style.transition="none",requestAnimationFrame(function(){i.style.transition=""})),l=e.placement,m=x.state.isVisible;var t=it(_),n=i.style;n.top=n.bottom=n.left=n.right="",n[t]=-(x.props.distance-10)+"px";var r=o&&void 0!==o.padding?o.padding:pe,a="number"==typeof r,s=X({top:a?r:r.top,bottom:a?r:r.bottom,left:a?r:r.left,right:a?r:r.right},!a&&r);s[t]=a?r+x.props.distance:(r[t]||0)+x.props.distance,x.popperInstance.modifiers.filter(function(e){return"preventOverflow"===e.name})[0].padding=s,d=s}var s=X({eventsEnabled:!1,placement:x.props.placement},t,{modifiers:X({},t?t.modifiers:{},{preventOverflow:X({boundariesElement:x.props.boundary,padding:pe},o),arrow:X({element:r,enabled:!!r},Re(t,"arrow")),flip:X({enabled:x.props.flip,padding:x.props.distance+pe,behavior:x.props.flipBehavior},Re(t,"flip")),offset:X({offset:x.props.offset},Re(t,"offset"))}),onCreate:function(e){a(e),z(),t&&t.onCreate&&t.onCreate(e)},onUpdate:function(e){a(e),z(),t&&t.onUpdate&&t.onUpdate(e)}});x.popperInstance=new J(e,_,s)}function U(e,n){if(Y(),!x.state.isVisible){if(x.props.target)return function(e){if(e){var n=ce(e.target,x.props.target);n&&!n._tippy&&ct(n,X({},x.props,{content:ze(t.content,[n]),appendTo:t.appendTo,target:"",showOnInit:!0}))}}(e);if(f=!0,e&&!n&&x.props.onTrigger(x,e),x.props.wait)return x.props.wait(x,e);T()&&!x.state.isMounted&&(x.popperInstance||H(),document.addEventListener("mousemove",$)),S();var i=De(x.props.delay,0,re.delay);i?r=setTimeout(function(){K()},i):K()}}function V(){if(Y(),!x.state.isVisible)return k(),void M();f=!1;var e=De(x.props.delay,1,re.delay);e?o=setTimeout(function(){x.state.isVisible&&Q()},e):a=requestAnimationFrame(function(){Q()})}function W(e){if(!x.props.interactive||!_.contains(e.target)){if(C().contains(e.target)){if(Te)return;if(x.state.isVisible&&Fe(x.props.trigger,"click"))return}!0===x.props.hideOnClick&&(Y(),Q())}}function Y(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(a)}function G(t){Ge(t=t||{},re),N();var n=x.props,r=Ye(e,X({},x.props,{},t,{ignoreAttributes:!0}));r.ignoreAttributes=Le(t,"ignoreAttributes")?t.ignoreAttributes||!1:n.ignoreAttributes,x.props=r,j(),A(),b=qe(D,r.interactiveDebounce),at(_,n,r),x.popperChildren=Je(_),x.popperInstance&&(oe.some(function(e){return Le(t,e)&&t[e]!==n[e]})?(x.popperInstance.destroy(),H(),x.state.isVisible&&x.popperInstance.enableEventListeners(),x.props.followCursor&&i&&$(i)):x.popperInstance.update())}function K(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:De(x.props.duration,0,re.duration[1]);if(!x.state.isDestroyed&&x.state.isEnabled&&(!Te||x.props.touch)&&!C().hasAttribute("disabled")&&!1!==x.props.onShow(x)){S(),_.style.visibility="visible",x.state.isVisible=!0,x.props.interactive&&C().classList.add(ge);var n=O();Ve(n.concat(_),0),c=function(){if(x.state.isVisible){var r=T();r&&i?$(i):r||x.popperInstance.update(),x.popperChildren.backdrop&&(x.popperChildren.content.style.transitionDelay=Math.round(t/12)+"ms"),x.props.sticky&&function(){Ve([_],te?0:x.props.updateDuration);var t=e.getBoundingClientRect();!function n(){var i=e.getBoundingClientRect();t.top===i.top&&t.right===i.right&&t.bottom===i.bottom&&t.left===i.left||x.popperInstance.scheduleUpdate(),t=i,x.state.isMounted&&requestAnimationFrame(n)}()}(),Ve([_],x.props.updateDuration),Ve(n,t),We(n,"visible"),function(e,t){E(e,t)}(t,function(){x.props.aria&&C().setAttribute("aria-".concat(x.props.aria),_.id),x.props.onShown(x),x.state.isShown=!0})}},function(){g=!1;var t=T();x.popperInstance?(He(x.popperInstance.modifiers,x.props.flip),t||(x.popperInstance.reference=e,x.popperInstance.enableEventListeners()),x.popperInstance.scheduleUpdate()):(H(),t||x.popperInstance.enableEventListeners());var n=x.props.appendTo,i="parent"===n?e.parentNode:ze(n,[e]);i.contains(_)||(i.appendChild(_),x.props.onMount(x),x.state.isMounted=!0)}()}}function Q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:De(x.props.duration,1,re.duration[1]);if(!x.state.isDestroyed&&(x.state.isEnabled||h)&&(!1!==x.props.onHide(x)||h)){M(),_.style.visibility="hidden",x.state.isVisible=!1,x.state.isShown=!1,m=!1,x.props.interactive&&C().classList.remove(ge);var t=O();Ve(t,e),We(t,"hidden"),function(e,t){E(e,function(){!x.state.isVisible&&_.parentNode&&_.parentNode.contains(_)&&t()})}(e,function(){f||k(),x.props.aria&&C().removeAttribute("aria-".concat(x.props.aria)),x.popperInstance.disableEventListeners(),x.popperInstance.options.placement=x.props.placement,_.parentNode.removeChild(_),x.props.onHidden(x),x.state.isMounted=!1})}}}var ut=!1;function dt(e,t){Ge(t||{},re),ut||(document.addEventListener("touchstart",Ee,de),window.addEventListener("blur",Ne),ut=!0);var n,i=X({},re,{},t);n=e,"[object Object]"!=={}.toString.call(n)||n.addEventListener||function(e){var t={isVirtual:!0,attributes:e.attributes||{},contains:function(){},setAttribute:function(t,n){e.attributes[t]=n},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var n in t)e[n]=t[n]}(e);var r=function(e){if(Be(e))return[e];if(e instanceof NodeList)return le(e);if(Array.isArray(e))return e;try{return le(document.querySelectorAll(e))}catch(e){return[]}}(e).reduce(function(e,t){var n=t&&ct(t,i);return n&&e.push(n),e},[]);return Be(e)?r[0]:r}dt.version="4.3.5",dt.defaults=re,dt.setDefaults=function(e){Object.keys(e).forEach(function(t){re[t]=e[t]})},dt.hideAll=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.exclude,n=e.duration;le(document.querySelectorAll(ke)).forEach(function(e){var i,r=e._tippy;if(r){var o=!1;t&&(o=(i=t)._tippy&&!se.call(i,ke)?r.reference===t:e===t.popper),o||r.hide(n)}})},dt.group=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.delay,i=void 0===n?e[0].props.delay:n,r=t.duration,o=void 0===r?0:r,a=!1;function s(e){a=e,d()}function l(t){t._originalProps.onShow(t),e.forEach(function(e){e.set({duration:o}),e.state.isVisible&&e.hide()}),s(!0)}function c(e){e._originalProps.onHide(e),s(!1)}function u(e){e._originalProps.onShown(e),e.set({duration:e._originalProps.duration})}function d(){e.forEach(function(e){e.set({onShow:l,onShown:u,onHide:c,delay:a?[0,Array.isArray(i)?i[1]:i]:i,duration:a?o:e._originalProps.duration})})}e.forEach(function(e){e._originalProps?e.set(e._originalProps):e._originalProps=X({},e.props)}),d()},Z&&setTimeout(function(){le(document.querySelectorAll("[data-tippy]")).forEach(function(e){var t=e.getAttribute("data-tippy");t&&dt(e,{content:t})})}),function(e){if(Z){var t=document.createElement("style");t.type="text/css",t.textContent=e,t.setAttribute("data-tippy-stylesheet","");var n=document.head,i=n.querySelector("style,link");i?n.insertBefore(t,i):n.appendChild(t)}}('.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{transition-timing-function:cubic-bezier(.165,.84,.44,1);max-width:calc(100% - 8px);pointer-events:none;outline:0}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-7px;bottom:-6.5px;-webkit-transform-origin:50% 0;transform-origin:50% 0;margin:0 3px}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 3px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(-10px);transform:perspective(700px) translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateX(60deg);transform:perspective(700px) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=top] [data-animation=scale]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px) scale(.5);transform:translateY(-10px) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-7px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%;margin:0 3px}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 3px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(10px);transform:perspective(700px) translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateX(-60deg);transform:perspective(700px) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=scale]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px) scale(.5);transform:translateY(10px) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-12px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%;margin:3px 0}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(-10px);transform:perspective(700px) translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateY(-60deg);transform:perspective(700px) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=left] [data-animation=scale]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px) scale(.5);transform:translateX(-10px) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-12px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%;margin:3px 0}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(10px);transform:perspective(700px) translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateY(60deg);transform:perspective(700px) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=right] [data-animation=scale]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px) scale(.5);transform:translateX(10px) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;padding:.3125rem .5625rem;line-height:1.4;text-align:center;background-color:#333}.tippy-tooltip[data-size=small]{padding:.1875rem .375rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.375rem .75rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:initial}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] .tippy-roundarrow path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:18px;height:7px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}');var pt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};var ft,ht=(function(e){var t,n,i,r,o,a,s,l,c,u,d,p,f,h,m;t=pt,n=function(e,t,i){if(!l(t)||u(t)||d(t)||p(t)||s(t))return t;var r,o=0,a=0;if(c(t))for(r=[],a=t.length;o<a;o++)r.push(n(e,t[o],i));else for(var f in r={},t)Object.prototype.hasOwnProperty.call(t,f)&&(r[e(f,i)]=n(e,t[f],i));return r},i=function(e){return f(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})).substr(0,1).toLowerCase()+e.substr(1)},r=function(e){var t=i(e);return t.substr(0,1).toUpperCase()+t.substr(1)},o=function(e,t){return function(e,t){var n=(t=t||{}).separator||"_",i=t.split||/(?=[A-Z])/;return e.split(i).join(n)}(e,t).toLowerCase()},a=Object.prototype.toString,s=function(e){return"function"==typeof e},l=function(e){return e===Object(e)},c=function(e){return"[object Array]"==a.call(e)},u=function(e){return"[object Date]"==a.call(e)},d=function(e){return"[object RegExp]"==a.call(e)},p=function(e){return"[object Boolean]"==a.call(e)},f=function(e){return(e-=0)==e},h=function(e,t){var n=t&&"process"in t?t.process:t;return"function"!=typeof n?e:function(t,i){return n(t,e,i)}},m={camelize:i,decamelize:o,pascalize:r,depascalize:o,camelizeKeys:function(e,t){return n(h(i,t),e)},decamelizeKeys:function(e,t){return n(h(o,t),e,t)},pascalizeKeys:function(e,t){return n(h(r,t),e)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}},e.exports?e.exports=m:t.humps=m}(ft={exports:{}},ft.exports),ft.exports);function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}var vt={a11y:!0,allowHTML:!0,animateFill:!0,arrow:!1,flip:!0,flipOnUpdate:!1,followCursor:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,lazy:!0,multiple:!1,showOnInit:!1,sticky:!1,touch:!0,touchHold:!1},bt=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(n),!0).forEach(function(t){mt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({animation:"shift-away",appendTo:function(){return document.body},aria:"describedby",arrowType:"sharp",boundary:"scrollParent",content:"",delay:0,distance:10,duration:[325,275],flipBehavior:"flip",interactiveBorder:2,interactiveDebounce:0,maxWidth:350,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},placement:"top",popperOptions:{},role:"tooltip",size:"regular",target:"",theme:"dark",trigger:"mouseenter focus",updateDuration:0,wait:null,zIndex:9999},vt),yt={props:["to","toSelector","toElement","content","enabled","visible","triggerTarget"],data:function(){return{tip:null,options:{}}},mounted:function(){var e=this.toElement;null==e&&(e=this.to?document.querySelector("[name='".concat(this.to,"']")):this.toSelector?document.querySelector(this.toSelector):this.$refs.trigger),this.tip=dt(e,this.getOptions()),this.$emit("onCreate",this.tip),this.$emit("init",this.tip),!1===this.enabled&&this.tip.disable(),this.isManualTrigger&&!0===this.visible&&this.tip.show()},watch:{content:function(){this.tip&&this.tip.set(this.getOptions())},enabled:function(e){this.tip&&(e?this.tip.enable():(this.tip.hide(),this.tip.disable()))},visible:function(e){this.tip&&(e?this.tip.show():this.tip.hide())}},updated:function(){this.tip&&!this.content&&this.tip.set(this.getOptions())},beforeDestroy:function(){this.tip&&this.tip.destroy()},computed:{isManualTrigger:function(){return"manual"===this.options.trigger}},methods:{tippy:function(){return this.tip},filterOptions:function(){for(var e=function(e,t){if(vt.hasOwnProperty(e)){if(""===t)return!0;if("false"===t)return!1;if("true"===t)return!0}return t},t=0,n=Object.keys(this.options);t<n.length;t++){var i=n[t];bt.hasOwnProperty(i)||delete this.options[i],this.options[i]=e(i,this.options[i])}return this.options},getOptions:function(){var e=this;return this.options=ht.camelizeKeys(this.$attrs),this.filterOptions(),!this.options.onShow&&this.$listeners&&this.$listeners.show&&(this.options.onShow=function(){var t;return(t=e.$listeners.show).fns.apply(t,arguments)}),this.options.onShown||(this.options.onShown=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.$emit.apply(e,["shown"].concat(n))}),this.options.onHidden||(this.options.onHidden=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.$emit.apply(e,["hidden"].concat(n))}),!this.options.onHide&&this.$listeners&&this.$listeners.hide&&(this.options.onHide=function(){var t;return(t=e.$listeners.hide).fns.apply(t,arguments)}),this.options.onMount||(this.options.onMount=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.$emit.apply(e,["mount"].concat(n))}),this.options.hasOwnProperty("content")||(this.options.content=this.content?this.content:this.$refs.content),this.options.triggerTarget=this.triggerTarget,this.options}}};"undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var _t=yt,wt=function(){var e=this.$createElement,t=this._self._c||e;return t("span",[t("span",{ref:"trigger"},[this._t("trigger")],2),this._v(" "),t("span",{ref:"content"},[this._t("default")],2)])};wt._withStripped=!0;var xt=function(e,t,n,i,r,o,a,s,l,c){"boolean"!=typeof a&&(l=s,s=a,a=!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,r&&(u.functional=!0)),i&&(u._scopeId=i),o?(d=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__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=d):t&&(d=a?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}({render:wt,staticRenderFns:[]},void 0,_t,void 0,!1,void 0,!1,void 0,void 0,void 0),kt="tippy",At={install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};kt=t.directive||"tippy",dt.setDefaults(t||{}),e.directive(kt,{inserted:function(n,i,r){e.nextTick(function(){!function(n,i,r){var o=r.data&&r.data.on||r.componentOptions&&r.componentOptions.listeners,a=i.value||{};a=Object.assign({},t,a),o&&o.show&&(a.onShow=function(){var e;return(e=o.show).fns.apply(e,arguments)}),o&&o.shown&&(a.onShown=function(){var e;(e=o.shown).fns.apply(e,arguments)}),o&&o.hidden&&(a.onHidden=function(){var e;(e=o.hidden).fns.apply(e,arguments)}),o&&o.hide&&(a.onHide=function(){var e;return(e=o.hide).fns.apply(e,arguments)}),o&&o.mount&&(a.onMount=function(){var e;(e=o.mount).fns.apply(e,arguments)}),n.getAttribute("title")&&!a.content&&(a.content=n.getAttribute("title")),n.getAttribute("content")&&!a.content&&(a.content=n.getAttribute("content")),dt(n,a),a.showOnLoad&&n._tippy.show(),e.nextTick(function(){o&&o.init&&o.init.fns(n._tippy,n)})}(n,i,r)})},unbind:function(e){e._tippy&&e._tippy.destroy()},componentUpdated:function(e,t,n){if(e._tippy){var i=t.value||{};e.getAttribute("title")&&!i.content&&(i.content=e.getAttribute("title")),e.getAttribute("content")&&!i.content&&(i.content=e.getAttribute("content")),e._tippy.set(i)}}})}};"undefined"!=typeof window&&window.Vue&&(window.Vue.use(At),window.Vue.component("tippy",xt)),t.TippyComponent=xt,t.default=At,t.tippy=dt,Object.defineProperty(t,"__esModule",{value:!0})})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],155:[function(e,t,n){(function(e,n){"use strict";var i=Object.freeze({});function r(e){return null==e}function o(e){return null!=e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function u(e){return c.call(e).slice(8,-1)}function d(e){return"[object Object]"===c.call(e)}function p(e){return"[object RegExp]"===c.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function h(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function m(e){return null==e?"":Array.isArray(e)||d(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function g(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var b=v("slot,component",!0),y=v("key,ref,slot,slot-scope,is");function _(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var w=Object.prototype.hasOwnProperty;function x(e,t){return w.call(e,t)}function k(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var A=/-(\w)/g,C=k(function(e){return e.replace(A,function(e,t){return t?t.toUpperCase():""})}),S=k(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),M=/\B([A-Z])/g,O=k(function(e){return e.replace(M,"-$1").toLowerCase()});var T=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function E(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function P(e,t){for(var n in t)e[n]=t[n];return e}function j(e){for(var t={},n=0;n<e.length;n++)e[n]&&P(t,e[n]);return t}function N(e,t,n){}var $=function(e,t,n){return!1},L=function(e){return e};function D(e,t){if(e===t)return!0;var n=l(e),i=l(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var r=Array.isArray(e),o=Array.isArray(t);if(r&&o)return e.length===t.length&&e.every(function(e,n){return D(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(r||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return D(e[n],t[n])})}catch(e){return!1}}function q(e,t){for(var n=0;n<e.length;n++)if(D(e[n],t))return n;return-1}function R(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var F="data-server-rendered",I=["component","directive","filter"],B=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],z={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!0,devtools:!0,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:$,isReservedAttr:$,isUnknownElement:$,getTagNamespace:N,parsePlatformTagName:L,mustUseProp:$,async:!0,_lifecycleHooks:B},H=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function U(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function V(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var W=new RegExp("[^"+H.source+".$_\\d]");var Y,G="__proto__"in{},K="undefined"!=typeof window,Q="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,J=Q&&WXEnvironment.platform.toLowerCase(),X=K&&window.navigator.userAgent.toLowerCase(),Z=X&&/msie|trident/.test(X),ee=X&&X.indexOf("msie 9.0")>0,te=X&&X.indexOf("edge/")>0,ne=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===J),ie=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),re={}.watch,oe=!1;if(K)try{var ae={};Object.defineProperty(ae,"passive",{get:function(){oe=!0}}),window.addEventListener("test-passive",null,ae)}catch(e){}var se=function(){return void 0===Y&&(Y=!K&&!Q&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),Y},le=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"==typeof e&&/native code/.test(e.toString())}var ue,de="undefined"!=typeof Symbol&&ce(Symbol)&&"undefined"!=typeof Reflect&&ce(Reflect.ownKeys);ue="undefined"!=typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var pe=N,fe=N,he=N,me=N,ge="undefined"!=typeof console,ve=/(?:^|[-_])(\w)/g;pe=function(e,t){var n=t?he(t):"";z.warnHandler?z.warnHandler.call(null,e,t,n):ge&&!z.silent&&console.error("[Vue warn]: "+e+n)},fe=function(e,t){ge&&!z.silent&&console.warn("[Vue tip]: "+e+(t?he(t):""))},me=function(e,t){if(e.$root===e)return"<Root>";var n="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e,i=n.name||n._componentTag,r=n.__file;if(!i&&r){var o=r.match(/([^/\\]+)\.vue$/);i=o&&o[1]}return(i?"<"+i.replace(ve,function(e){return e.toUpperCase()}).replace(/[-_]/g,"")+">":"<Anonymous>")+(r&&!1!==t?" at "+r:"")};he=function(e){if(e._isVue&&e.$parent){for(var t=[],n=0;e;){if(t.length>0){var i=t[t.length-1];if(i.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[i,n],n=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map(function(e,t){return""+(0===t?"---\x3e ":function(e,t){for(var n="";t;)t%2==1&&(n+=e),t>1&&(e+=e),t>>=1;return n}(" ",5+2*t))+(Array.isArray(e)?me(e[0])+"... ("+e[1]+" recursive calls)":me(e))}).join("\n")}return"\n\n(found in "+me(e)+")"};var be=0,ye=function(){this.id=be++,this.subs=[]};ye.prototype.addSub=function(e){this.subs.push(e)},ye.prototype.removeSub=function(e){_(this.subs,e)},ye.prototype.depend=function(){ye.target&&ye.target.addDep(this)},ye.prototype.notify=function(){var e=this.subs.slice();z.async||e.sort(function(e,t){return e.id-t.id});for(var t=0,n=e.length;t<n;t++)e[t].update()},ye.target=null;var _e=[];function we(e){_e.push(e),ye.target=e}function xe(){_e.pop(),ye.target=_e[_e.length-1]}var ke=function(e,t,n,i,r,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Ae={child:{configurable:!0}};Ae.child.get=function(){return this.componentInstance},Object.defineProperties(ke.prototype,Ae);var Ce=function(e){void 0===e&&(e="");var t=new ke;return t.text=e,t.isComment=!0,t};function Se(e){return new ke(void 0,void 0,void 0,String(e))}function Me(e){var t=new ke(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Oe=Array.prototype,Te=Object.create(Oe);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Oe[e];V(Te,e,function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var r,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&a.observeArray(r),a.dep.notify(),o})});var Ee=Object.getOwnPropertyNames(Te),Pe=!0;function je(e){Pe=e}var Ne=function(e){var t;this.value=e,this.dep=new ye,this.vmCount=0,V(e,"__ob__",this),Array.isArray(e)?(G?(t=Te,e.__proto__=t):function(e,t,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];V(e,o,t[o])}}(e,Te,Ee),this.observeArray(e)):this.walk(e)};function $e(e,t){var n;if(l(e)&&!(e instanceof ke))return x(e,"__ob__")&&e.__ob__ instanceof Ne?n=e.__ob__:Pe&&!se()&&(Array.isArray(e)||d(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ne(e)),t&&n&&n.vmCount++,n}function Le(e,t,n,i,r){var o=new ye,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!r&&$e(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ye.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,i=0,r=t.length;i<r;i++)(n=t[i])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var a=s?s.call(e):n;t===a||t!=t&&a!=a||(i&&i(),s&&!l||(l?l.call(e,t):n=t,c=!r&&$e(t),o.notify()))}})}}function De(e,t,n){if((r(e)||s(e))&&pe("Cannot set reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&f(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var i=e.__ob__;return e._isVue||i&&i.vmCount?(pe("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),n):i?(Le(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function qe(e,t){if((r(e)||s(e))&&pe("Cannot delete reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&f(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount?pe("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):x(e,t)&&(delete e[t],n&&n.dep.notify())}}Ne.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Le(e,t[n])},Ne.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)$e(e[t])};var Re=z.optionMergeStrategies;function Fe(e,t){if(!t)return e;for(var n,i,r,o=de?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(i=e[n],r=t[n],x(e,n)?i!==r&&d(i)&&d(r)&&Fe(i,r):De(e,n,r));return e}function Ie(e,t,n){return n?function(){var i="function"==typeof t?t.call(n,n):t,r="function"==typeof e?e.call(n,n):e;return i?Fe(i,r):r}:t?e?function(){return Fe("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Be(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function ze(e,t,n,i){var r=Object.create(e||null);return t?(Ve(i,t,n),P(r,t)):r}Re.el=Re.propsData=function(e,t,n,i){return n||pe('option "'+i+'" can only be used during instance creation with the `new` keyword.'),He(e,t)},Re.data=function(e,t,n){return n?Ie(e,t,n):t&&"function"!=typeof t?(pe('The "data" option should be a function that returns a per-instance value in component definitions.',n),e):Ie(e,t)},B.forEach(function(e){Re[e]=Be}),I.forEach(function(e){Re[e+"s"]=ze}),Re.watch=function(e,t,n,i){if(e===re&&(e=void 0),t===re&&(t=void 0),!t)return Object.create(e||null);if(Ve(i,t,n),!e)return t;var r={};for(var o in P(r,e),t){var a=r[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),r[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return r},Re.props=Re.methods=Re.inject=Re.computed=function(e,t,n,i){if(t&&Ve(i,t,n),!e)return t;var r=Object.create(null);return P(r,e),t&&P(r,t),r},Re.provide=Ie;var He=function(e,t){return void 0===t?e:t};function Ue(e){new RegExp("^[a-zA-Z][\\-\\.0-9_"+H.source+"]*$").test(e)||pe('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(b(e)||z.isReservedTag(e))&&pe("Do not use built-in or reserved HTML elements as component id: "+e)}function Ve(e,t,n){d(t)||pe('Invalid value for option "'+e+'": expected an Object, but got '+u(t)+".",n)}function We(e,t,n){if(function(e){for(var t in e.components)Ue(t)}(t),"function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var i,r,o={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(r=n[i])?o[C(r)]={type:null}:pe("props must be strings when using array syntax.");else if(d(n))for(var a in n)r=n[a],o[C(a)]=d(r)?r:{type:r};else pe('Invalid value for option "props": expected an Array or an Object, but got '+u(n)+".",t);e.props=o}}(t,n),function(e,t){var n=e.inject;if(n){var i=e.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)i[n[r]]={from:n[r]};else if(d(n))for(var o in n){var a=n[o];i[o]=d(a)?P({from:o},a):{from:a}}else pe('Invalid value for option "inject": expected an Array or an Object, but got '+u(n)+".",t)}}(t,n),function(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"function"==typeof i&&(t[n]={bind:i,update:i})}}(t),!t._base&&(t.extends&&(e=We(e,t.extends,n)),t.mixins))for(var i=0,r=t.mixins.length;i<r;i++)e=We(e,t.mixins[i],n);var o,a={};for(o in e)s(o);for(o in t)x(e,o)||s(o);function s(i){var r=Re[i]||He;a[i]=r(e[i],t[i],n,i)}return a}function Ye(e,t,n,i){if("string"==typeof n){var r=e[t];if(x(r,n))return r[n];var o=C(n);if(x(r,o))return r[o];var a=S(o);if(x(r,a))return r[a];var s=r[n]||r[o]||r[a];return i&&!s&&pe("Failed to resolve "+t.slice(0,-1)+": "+n,e),s}}function Ge(e,t,n,i){var r=t[e],o=!x(n,e),a=n[e],s=Ze(Boolean,r.type);if(s>-1)if(o&&!x(r,"default"))a=!1;else if(""===a||a===O(e)){var c=Ze(String,r.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!x(t,"default"))return;var i=t.default;l(i)&&pe('Invalid default value for prop "'+n+'": Props with type Object/Array must use a factory function to return the default value.',e);if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof i&&"Function"!==Je(t.type)?i.call(e):i}(i,r,e);var d=Pe;je(!0),$e(a),je(d)}return function(e,t,n,i,r){if(e.required&&r)return void pe('Missing required prop: "'+t+'"',i);if(null==n&&!e.required)return;var o=e.type,a=!o||!0===o,s=[];if(o){Array.isArray(o)||(o=[o]);for(var l=0;l<o.length&&!a;l++){var c=Qe(n,o[l]);s.push(c.expectedType||""),a=c.valid}}if(!a)return void pe(function(e,t,n){var i='Invalid prop: type check failed for prop "'+e+'". Expected '+n.map(S).join(", "),r=n[0],o=u(t),a=et(t,r),s=et(t,o);1===n.length&&tt(r)&&!function(){var e=[],t=arguments.length;for(;t--;)e[t]=arguments[t];return e.some(function(e){return"boolean"===e.toLowerCase()})}(r,o)&&(i+=" with value "+a);i+=", got "+o+" ",tt(o)&&(i+="with value "+s+".");return i}(t,n,s),i);var d=e.validator;d&&(d(n)||pe('Invalid prop: custom validator check failed for prop "'+t+'".',i))}(r,e,a,i,o),a}var Ke=/^(String|Number|Boolean|Function|Symbol)$/;function Qe(e,t){var n,i=Je(t);if(Ke.test(i)){var r=typeof e;(n=r===i.toLowerCase())||"object"!==r||(n=e instanceof t)}else n="Object"===i?d(e):"Array"===i?Array.isArray(e):e instanceof t;return{valid:n,expectedType:i}}function Je(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Xe(e,t){return Je(e)===Je(t)}function Ze(e,t){if(!Array.isArray(t))return Xe(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(Xe(t[n],e))return n;return-1}function et(e,t){return"String"===t?'"'+e+'"':"Number"===t?""+Number(e):""+e}function tt(e){return["string","number","boolean"].some(function(t){return e.toLowerCase()===t})}function nt(e,t,n){we();try{if(t)for(var i=t;i=i.$parent;){var r=i.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{if(!1===r[o].call(i,e,t,n))return}catch(e){rt(e,i,"errorCaptured hook")}}rt(e,t,n)}finally{xe()}}function it(e,t,n,i,r){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&h(o)&&!o._handled&&(o.catch(function(e){return nt(e,i,r+" (Promise/async)")}),o._handled=!0)}catch(e){nt(e,i,r)}return o}function rt(e,t,n){if(z.errorHandler)try{return z.errorHandler.call(null,e,t,n)}catch(t){t!==e&&ot(t,null,"config.errorHandler")}ot(e,t,n)}function ot(e,t,n){if(pe("Error in "+n+': "'+e.toString()+'"',t),!K&&!Q||"undefined"==typeof console)throw e;console.error(e)}var at,st,lt,ct=!1,ut=[],dt=!1;function pt(){dt=!1;var e=ut.slice(0);ut.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&ce(Promise)){var ft=Promise.resolve();at=function(){ft.then(pt),ne&&setTimeout(N)},ct=!0}else if(Z||"undefined"==typeof MutationObserver||!ce(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())at=void 0!==n&&ce(n)?function(){n(pt)}:function(){setTimeout(pt,0)};else{var ht=1,mt=new MutationObserver(pt),gt=document.createTextNode(String(ht));mt.observe(gt,{characterData:!0}),at=function(){ht=(ht+1)%2,gt.data=String(ht)},ct=!0}function vt(e,t){var n;if(ut.push(function(){if(e)try{e.call(t)}catch(e){nt(e,t,"nextTick")}else n&&n(t)}),dt||(dt=!0,at()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var bt,yt=K&&window.performance;yt&&yt.mark&&yt.measure&&yt.clearMarks&&yt.clearMeasures&&(st=function(e){return yt.mark(e)},lt=function(e,t,n){yt.measure(e,t,n),yt.clearMarks(t),yt.clearMarks(n)});var _t=v("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,require"),wt=function(e,t){pe('Property or method "'+t+'" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',e)},xt=function(e,t){pe('Property "'+t+'" must be accessed with "$data.'+t+'" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://vuejs.org/v2/api/#data',e)},kt="undefined"!=typeof Proxy&&ce(Proxy);if(kt){var At=v("stop,prevent,self,ctrl,shift,alt,meta,exact");z.keyCodes=new Proxy(z.keyCodes,{set:function(e,t,n){return At(t)?(pe("Avoid overwriting built-in modifier in config.keyCodes: ."+t),!1):(e[t]=n,!0)}})}var Ct={has:function(e,t){var n=t in e,i=_t(t)||"string"==typeof t&&"_"===t.charAt(0)&&!(t in e.$data);return n||i||(t in e.$data?xt(e,t):wt(e,t)),n||!i}},St={get:function(e,t){return"string"!=typeof t||t in e||(t in e.$data?xt(e,t):wt(e,t)),e[t]}};bt=function(e){if(kt){var t=e.$options,n=t.render&&t.render._withStripped?St:Ct;e._renderProxy=new Proxy(e,n)}else e._renderProxy=e};var Mt=new ue;function Ot(e){!function e(t,n){var i,r;var o=Array.isArray(t);if(!o&&!l(t)||Object.isFrozen(t)||t instanceof ke)return;if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(i=t.length;i--;)e(t[i],n);else for(r=Object.keys(t),i=r.length;i--;)e(t[r[i]],n)}(e,Mt),Mt.clear()}var Tt=k(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),i="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=i?e.slice(1):e,once:n,capture:i,passive:t}});function Et(e,t){function n(){var e=arguments,i=n.fns;if(!Array.isArray(i))return it(i,null,arguments,t,"v-on handler");for(var r=i.slice(),o=0;o<r.length;o++)it(r[o],null,e,t,"v-on handler")}return n.fns=e,n}function Pt(e,t,n,i,o,s){var l,c,u,d;for(l in e)c=e[l],u=t[l],d=Tt(l),r(c)?pe('Invalid handler for event "'+d.name+'": got '+String(c),s):r(u)?(r(c.fns)&&(c=e[l]=Et(c,s)),a(d.once)&&(c=e[l]=o(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u);for(l in t)r(e[l])&&i((d=Tt(l)).name,t[l],d.capture)}function jt(e,t,n){var i;e instanceof ke&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function l(){n.apply(this,arguments),_(i.fns,l)}r(s)?i=Et([l]):o(s.fns)&&a(s.merged)?(i=s).fns.push(l):i=Et([s,l]),i.merged=!0,e[t]=i}function Nt(e,t,n,i,r){if(o(t)){if(x(t,n))return e[n]=t[n],r||delete t[n],!0;if(x(t,i))return e[n]=t[i],r||delete t[i],!0}return!1}function $t(e){return s(e)?[Se(e)]:Array.isArray(e)?function e(t,n){var i=[];var l,c,u,d;for(l=0;l<t.length;l++)r(c=t[l])||"boolean"==typeof c||(u=i.length-1,d=i[u],Array.isArray(c)?c.length>0&&(Lt((c=e(c,(n||"")+"_"+l))[0])&&Lt(d)&&(i[u]=Se(d.text+c[0].text),c.shift()),i.push.apply(i,c)):s(c)?Lt(d)?i[u]=Se(d.text+c):""!==c&&i.push(Se(c)):Lt(c)&&Lt(d)?i[u]=Se(d.text+c.text):(a(t._isVList)&&o(c.tag)&&r(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+l+"__"),i.push(c)));return i}(e):void 0}function Lt(e){return o(e)&&o(e.text)&&!1===e.isComment}function Dt(e,t){if(e){for(var n=Object.create(null),i=de?Reflect.ownKeys(e):Object.keys(e),r=0;r<i.length;r++){var o=i[r];if("__ob__"!==o){for(var a=e[o].from,s=t;s;){if(s._provided&&x(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[o]){var l=e[o].default;n[o]="function"==typeof l?l.call(t):l}else pe('Injection "'+o+'" not found',t)}}return n}}function qt(e,t){if(!e||!e.length)return{};for(var n={},i=0,r=e.length;i<r;i++){var o=e[i],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var c in n)n[c].every(Rt)&&delete n[c];return n}function Rt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Ft(e,t,n){var r,o=Object.keys(t).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==i&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var l in r={},e)e[l]&&"$"!==l[0]&&(r[l]=It(t,l,e[l]))}else r={};for(var c in t)c in r||(r[c]=Bt(t,c));return e&&Object.isExtensible(e)&&(e._normalized=r),V(r,"$stable",a),V(r,"$key",s),V(r,"$hasNormal",o),r}function It(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:$t(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function Bt(e,t){return function(){return e[t]}}function zt(e,t){var n,i,r,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,r=e.length;i<r;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(l(e))if(de&&e[Symbol.iterator]){n=[];for(var c=e[Symbol.iterator](),u=c.next();!u.done;)n.push(t(u.value,n.length)),u=c.next()}else for(a=Object.keys(e),n=new Array(a.length),i=0,r=a.length;i<r;i++)s=a[i],n[i]=t(e[s],s,i);return o(n)||(n=[]),n._isVList=!0,n}function Ht(e,t,n,i){var r,o=this.$scopedSlots[e];o?(n=n||{},i&&(l(i)||pe("slot v-bind without argument expects an Object",this),n=P(P({},i),n)),r=o(n)||t):r=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function Ut(e){return Ye(this.$options,"filters",e,!0)||L}function Vt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Wt(e,t,n,i,r){var o=z.keyCodes[t]||n;return r&&i&&!z.keyCodes[t]?Vt(r,i):o?Vt(o,e):i?O(i)!==t:void 0}function Yt(e,t,n,i,r){if(n)if(l(n)){var o;Array.isArray(n)&&(n=j(n));var a=function(a){if("class"===a||"style"===a||y(a))o=e;else{var s=e.attrs&&e.attrs.type;o=i||z.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=C(a),c=O(a);l in o||c in o||(o[a]=n[a],r&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var s in n)a(s)}else pe("v-bind without argument expects an Object or Array value",this);return e}function Gt(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t?i:(Qt(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i)}function Kt(e,t,n){return Qt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Qt(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&Jt(e[i],t+"_"+i,n);else Jt(e,t,n)}function Jt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Xt(e,t){if(t)if(d(t)){var n=e.on=e.on?P({},e.on):{};for(var i in t){var r=n[i],o=t[i];n[i]=r?[].concat(r,o):o}}else pe("v-on without argument expects an Object value",this);return e}function Zt(e,t,n,i){t=t||{$stable:!n};for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?Zt(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return i&&(t.$key=i),t}function en(e,t){for(var n=0;n<t.length;n+=2){var i=t[n];"string"==typeof i&&i?e[t[n]]=t[n+1]:""!==i&&null!==i&&pe("Invalid value for dynamic directive argument (expected string or null): "+i,this)}return e}function tn(e,t){return"string"==typeof e?t+e:e}function nn(e){e._o=Kt,e._n=g,e._s=m,e._l=zt,e._t=Ht,e._q=D,e._i=q,e._m=Gt,e._f=Ut,e._k=Wt,e._b=Yt,e._v=Se,e._e=Ce,e._u=Zt,e._g=Xt,e._d=en,e._p=tn}function rn(e,t,n,r,o){var s,l=this,c=o.options;x(r,"_uid")?(s=Object.create(r))._original=r:(s=r,r=r._original);var u=a(c._compiled),d=!u;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||i,this.injections=Dt(c.inject,r),this.slots=function(){return l.$slots||Ft(e.scopedSlots,l.$slots=qt(n,r)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ft(e.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Ft(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,i){var o=fn(s,e,t,n,i,d);return o&&!Array.isArray(o)&&(o.fnScopeId=c._scopeId,o.fnContext=r),o}:this._c=function(e,t,n,i){return fn(s,e,t,n,i,d)}}function on(e,t,n,i,r){var o=Me(e);return o.fnContext=n,o.fnOptions=i,(o.devtoolsMeta=o.devtoolsMeta||{}).renderContext=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function an(e,t){for(var n in t)e[C(n)]=t[n]}nn(rn.prototype);var sn={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;sn.prepatch(n,n)}else{(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},i=e.data.inlineTemplate;o(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,kn)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,o){An=!0;var a=r.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==i&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),c=!!(o||e.$options._renderChildren||l);e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r);if(e.$options._renderChildren=o,e.$attrs=r.data.attrs||i,e.$listeners=n||i,t&&e.$options.props){je(!1);for(var u=e._props,d=e.$options._propKeys||[],p=0;p<d.length;p++){var f=d[p],h=e.$options.props;u[f]=Ge(f,h,t,e)}je(!0),e.$options.propsData=t}n=n||i;var m=e.$options._parentListeners;e.$options._parentListeners=n,xn(e,n,m),c&&(e.$slots=qt(o,r.context),e.$forceUpdate());An=!1}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,i=e.componentInstance;i._isMounted||(i._isMounted=!0,On(i,"mounted")),e.data.keepAlive&&(n._isMounted?((t=i)._inactive=!1,Pn.push(t)):Mn(i,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(n&&(t._directInactive=!0,Sn(t)))return;if(!t._inactive){t._inactive=!0;for(var i=0;i<t.$children.length;i++)e(t.$children[i]);On(t,"deactivated")}}(t,!0):t.$destroy())}},ln=Object.keys(sn);function cn(e,t,n,s,c){if(!r(e)){var u=n.$options._base;if(l(e)&&(e=u.extend(e)),"function"==typeof e){var d;if(r(e.cid)&&void 0===(e=function(e,t){if(a(e.error)&&o(e.errorComp))return e.errorComp;if(o(e.resolved))return e.resolved;var n=mn;n&&o(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n);if(a(e.loading)&&o(e.loadingComp))return e.loadingComp;if(n&&!o(e.owners)){var i=e.owners=[n],s=!0,c=null,u=null;n.$on("hook:destroyed",function(){return _(i,n)});var d=function(e){for(var t=0,n=i.length;t<n;t++)i[t].$forceUpdate();e&&(i.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},p=R(function(n){e.resolved=gn(n,t),s?i.length=0:d(!0)}),f=R(function(t){pe("Failed to resolve async component: "+String(e)+(t?"\nReason: "+t:"")),o(e.errorComp)&&(e.error=!0,d(!0))}),m=e(p,f);return l(m)&&(h(m)?r(e.resolved)&&m.then(p,f):h(m.component)&&(m.component.then(p,f),o(m.error)&&(e.errorComp=gn(m.error,t)),o(m.loading)&&(e.loadingComp=gn(m.loading,t),0===m.delay?e.loading=!0:c=setTimeout(function(){c=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,d(!1))},m.delay||200)),o(m.timeout)&&(u=setTimeout(function(){u=null,r(e.resolved)&&f("timeout ("+m.timeout+"ms)")},m.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}(d=e,u)))return function(e,t,n,i,r){var o=Ce();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:i,tag:r},o}(d,t,n,s,c);t=t||{},Xn(e),o(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var r=t.on||(t.on={}),a=r[i],s=t.model.callback;o(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(r[i]=[s].concat(a)):r[i]=s}(e.options,t);var p=function(e,t,n){var i=t.options.props;if(!r(i)){var a={},s=e.attrs,l=e.props;if(o(s)||o(l))for(var c in i){var u=O(c),d=c.toLowerCase();c!==d&&s&&x(s,d)&&fe('Prop "'+d+'" is passed to component '+me(n||t)+', but the declared prop name is "'+c+'". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "'+u+'" instead of "'+c+'".'),Nt(a,l,c,u,!0)||Nt(a,s,c,u,!1)}return a}}(t,e,c);if(a(e.options.functional))return function(e,t,n,r,a){var s=e.options,l={},c=s.props;if(o(c))for(var u in c)l[u]=Ge(u,c,t||i);else o(n.attrs)&&an(l,n.attrs),o(n.props)&&an(l,n.props);var d=new rn(n,l,a,r,e),p=s.render.call(null,d._c,d);if(p instanceof ke)return on(p,n,d.parent,s,d);if(Array.isArray(p)){for(var f=$t(p)||[],h=new Array(f.length),m=0;m<f.length;m++)h[m]=on(f[m],n,d.parent,s,d);return h}}(e,p,t,n,s);var f=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var m=t.slot;t={},m&&(t.slot=m)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<ln.length;n++){var i=ln[n],r=t[i],o=sn[i];r===o||r&&r._merged||(t[i]=r?un(o,r):o)}}(t);var g=e.options.name||c;return new ke("vue-component-"+e.cid+(g?"-"+g:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:p,listeners:f,tag:c,children:s},d)}pe("Invalid Component definition: "+String(e),n)}}function un(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}var dn=1,pn=2;function fn(e,t,n,i,c,u){return(Array.isArray(n)||s(n))&&(c=i,i=n,n=void 0),a(u)&&(c=pn),function(e,t,n,i,c){if(o(n)&&o(n.__ob__))return pe("Avoid using observed data object as vnode data: "+JSON.stringify(n)+"\nAlways create fresh vnode data objects in each render!",e),Ce();o(n)&&o(n.is)&&(t=n.is);if(!t)return Ce();o(n)&&o(n.key)&&!s(n.key)&&pe("Avoid using non-primitive value as key, use string/number value instead.",e);Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0);c===pn?i=$t(i):c===dn&&(i=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(i));var u,d;if("string"==typeof t){var p;d=e.$vnode&&e.$vnode.ns||z.getTagNamespace(t),z.isReservedTag(t)?(o(n)&&o(n.nativeOn)&&pe("The .native modifier for v-on is only valid on components but it was used on <"+t+">.",e),u=new ke(z.parsePlatformTagName(t),n,i,void 0,void 0,e)):u=n&&n.pre||!o(p=Ye(e.$options,"components",t))?new ke(t,n,i,void 0,void 0,e):cn(p,n,e,i,t)}else u=cn(t,n,e,i);return Array.isArray(u)?u:o(u)?(o(d)&&function e(t,n,i){t.ns=n;"foreignObject"===t.tag&&(n=void 0,i=!0);if(o(t.children))for(var s=0,l=t.children.length;s<l;s++){var c=t.children[s];o(c.tag)&&(r(c.ns)||a(i)&&"svg"!==c.tag)&&e(c,n,i)}}(u,d),o(n)&&function(e){l(e.style)&&Ot(e.style);l(e.class)&&Ot(e.class)}(n),u):Ce()}(e,t,n,i,c)}var hn,mn=null;function gn(e,t){return(e.__esModule||de&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function vn(e){return e.isComment&&e.asyncFactory}function bn(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(o(n)&&(o(n.componentOptions)||vn(n)))return n}}function yn(e,t){hn.$on(e,t)}function _n(e,t){hn.$off(e,t)}function wn(e,t){var n=hn;return function i(){null!==t.apply(null,arguments)&&n.$off(e,i)}}function xn(e,t,n){hn=e,Pt(t,n||{},yn,_n,wn,e),hn=void 0}var kn=null,An=!1;function Cn(e){var t=kn;return kn=e,function(){kn=t}}function Sn(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Mn(e,t){if(t){if(e._directInactive=!1,Sn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Mn(e.$children[n]);On(e,"activated")}}function On(e,t){we();var n=e.$options[t],i=t+" hook";if(n)for(var r=0,o=n.length;r<o;r++)it(n[r],e,null,e,i);e._hasHookEvent&&e.$emit("hook:"+t),xe()}var Tn=100,En=[],Pn=[],jn={},Nn={},$n=!1,Ln=!1,Dn=0;var qn=0,Rn=Date.now;if(K&&!Z){var Fn=window.performance;Fn&&"function"==typeof Fn.now&&Rn()>document.createEvent("Event").timeStamp&&(Rn=function(){return Fn.now()})}function In(){var e,t;for(qn=Rn(),Ln=!0,En.sort(function(e,t){return e.id-t.id}),Dn=0;Dn<En.length;Dn++)if((e=En[Dn]).before&&e.before(),t=e.id,jn[t]=null,e.run(),null!=jn[t]&&(Nn[t]=(Nn[t]||0)+1,Nn[t]>Tn)){pe("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var n=Pn.slice(),i=En.slice();Dn=En.length=Pn.length=0,jn={},Nn={},$n=Ln=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Mn(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&On(i,"updated")}}(i),le&&z.devtools&&le.emit("flush")}var Bn=0,zn=function(e,t,n,i,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Bn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ue,this.newDepIds=new ue,this.expression=t.toString(),"function"==typeof t?this.getter=t:(this.getter=function(e){if(!W.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=N,pe('Failed watching path: "'+t+'" Watcher only accepts simple dot-delimited paths. For full control, use a function instead.',e))),this.value=this.lazy?void 0:this.get()};zn.prototype.get=function(){var e;we(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;nt(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Ot(e),xe(),this.cleanupDeps()}return e},zn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},zn.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},zn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==jn[t]){if(jn[t]=!0,Ln){for(var n=En.length-1;n>Dn&&En[n].id>e.id;)n--;En.splice(n+1,0,e)}else En.push(e);if(!$n){if($n=!0,!z.async)return void In();vt(In)}}}(this)},zn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){nt(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},zn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},zn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},zn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Hn={enumerable:!0,configurable:!0,get:N,set:N};function Un(e,t,n){Hn.get=function(){return this[t][n]},Hn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Hn)}function Vn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},i=e._props={},r=e.$options._propKeys=[],o=!e.$parent;o||je(!1);var a=function(a){r.push(a);var s=Ge(a,t,n,e),l=O(a);(y(l)||z.isReservedAttr(l))&&pe('"'+l+'" is a reserved attribute and cannot be used as component prop.',e),Le(i,a,s,function(){o||An||pe("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+a+'"',e)}),a in e||Un(e,"_props",a)};for(var s in t)a(s);je(!0)}(e,t.props),t.methods&&function(e,t){var n=e.$options.props;for(var i in t)"function"!=typeof t[i]&&pe('Method "'+i+'" has type "'+typeof t[i]+'" in the component definition. Did you reference the function correctly?',e),n&&x(n,i)&&pe('Method "'+i+'" has already been defined as a prop.',e),i in e&&U(i)&&pe('Method "'+i+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[i]="function"!=typeof t[i]?N:T(t[i],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;d(t=e._data="function"==typeof t?function(e,t){we();try{return e.call(t,t)}catch(e){return nt(e,t,"data()"),{}}finally{xe()}}(t,e):t||{})||(t={},pe("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));var n=Object.keys(t),i=e.$options.props,r=e.$options.methods,o=n.length;for(;o--;){var a=n[o];r&&x(r,a)&&pe('Method "'+a+'" has already been defined as a data property.',e),i&&x(i,a)?pe('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):U(a)||Un(e,"_data",a)}$e(t,!0)}(e):$e(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),i=se();for(var r in t){var o=t[r],a="function"==typeof o?o:o.get;null==a&&pe('Getter is missing for computed property "'+r+'".',e),i||(n[r]=new zn(e,a||N,N,Wn)),r in e?r in e.$data?pe('The computed property "'+r+'" is already defined in data.',e):e.$options.props&&r in e.$options.props&&pe('The computed property "'+r+'" is already defined as a prop.',e):Yn(e,r,o)}}(e,t.computed),t.watch&&t.watch!==re&&function(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)Qn(e,n,i[r]);else Qn(e,n,i)}}(e,t.watch)}var Wn={lazy:!0};function Yn(e,t,n){var i=!se();"function"==typeof n?(Hn.get=i?Gn(t):Kn(n),Hn.set=N):(Hn.get=n.get?i&&!1!==n.cache?Gn(t):Kn(n.get):N,Hn.set=n.set||N),Hn.set===N&&(Hn.set=function(){pe('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,Hn)}function Gn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ye.target&&t.depend(),t.value}}function Kn(e){return function(){return e.call(this,this)}}function Qn(e,t,n,i){return d(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}var Jn=0;function Xn(e){var t=e.options;if(e.super){var n=Xn(e.super);if(n!==e.superOptions){e.superOptions=n;var i=function(e){var t,n=e.options,i=e.sealedOptions;for(var r in n)n[r]!==i[r]&&(t||(t={}),t[r]=n[r]);return t}(e);i&&P(e.extendOptions,i),(t=e.options=We(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Zn(e){this instanceof Zn||pe("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}function ei(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,r=e._Ctor||(e._Ctor={});if(r[i])return r[i];var o=e.name||n.options.name;o&&Ue(o);var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=We(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)Un(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Yn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,I.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=P({},a.options),r[i]=a,a}}function ti(e){return e&&(e.Ctor.options.name||e.tag)}function ni(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!p(e)&&e.test(t)}function ii(e,t){var n=e.cache,i=e.keys,r=e._vnode;for(var o in n){var a=n[o];if(a){var s=ti(a.componentOptions);s&&!t(s)&&ri(n,o,i,r)}}}function ri(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,_(n,t)}!function(e){e.prototype._init=function(e){var t,n,r=this;r._uid=Jn++,z.performance&&st&&(t="vue-perf-start:"+r._uid,n="vue-perf-end:"+r._uid,st(t)),r._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),i=t._parentVnode;n.parent=t.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(r,e):r.$options=We(Xn(r.constructor),e||{},r),bt(r),r._self=r,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(r),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&xn(e,t)}(r),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=qt(t._renderChildren,r),e.$scopedSlots=i,e._c=function(t,n,i,r){return fn(e,t,n,i,r,!1)},e.$createElement=function(t,n,i,r){return fn(e,t,n,i,r,!0)};var o=n&&n.data;Le(e,"$attrs",o&&o.attrs||i,function(){!An&&pe("$attrs is readonly.",e)},!0),Le(e,"$listeners",t._parentListeners||i,function(){!An&&pe("$listeners is readonly.",e)},!0)}(r),On(r,"beforeCreate"),function(e){var t=Dt(e.$options.inject,e);t&&(je(!1),Object.keys(t).forEach(function(n){Le(e,n,t[n],function(){pe('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+n+'"',e)})}),je(!0))}(r),Vn(r),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(r),On(r,"created"),z.performance&&st&&(r._name=me(r,!1),st(n),lt("vue "+r._name+" init",t,n)),r.$options.el&&r.$mount(r.$options.el)}}(Zn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};t.set=function(){pe("Avoid replacing instance root $data. Use nested data properties instead.",this)},n.set=function(){pe("$props is readonly.",this)},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=De,e.prototype.$delete=qe,e.prototype.$watch=function(e,t,n){if(d(t))return Qn(this,e,t,n);(n=n||{}).user=!0;var i=new zn(this,e,t,n);if(n.immediate)try{t.call(this,i.value)}catch(e){nt(e,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(Zn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var i=this;if(Array.isArray(e))for(var r=0,o=e.length;r<o;r++)i.$on(e[r],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var n=this;function i(){n.$off(e,i),t.apply(n,arguments)}return i.fn=t,n.$on(e,i),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var i=0,r=e.length;i<r;i++)n.$off(e[i],t);return n}var o,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((o=a[s])===t||o.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=e.toLowerCase();n!==e&&t._events[n]&&fe('Event "'+n+'" is emitted in component '+me(t)+' but the handler is registered for "'+e+'". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "'+O(e)+'" instead of "'+e+'".');var i=t._events[e];if(i){i=i.length>1?E(i):i;for(var r=E(arguments,1),o='event handler for "'+e+'"',a=0,s=i.length;a<s;a++)it(i[a],t,r,t,o)}return t}}(Zn),function(e){e.prototype._update=function(e,t){var n=this,i=n.$el,r=n._vnode,o=Cn(n);n._vnode=e,n.$el=r?n.__patch__(r,e):n.__patch__(n.$el,e,t,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){On(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||_(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),On(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Zn),function(e){nn(e.prototype),e.prototype.$nextTick=function(e){return vt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,r=n._parentVnode;r&&(t.$scopedSlots=Ft(r.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=r;try{mn=t,e=i.call(t._renderProxy,t.$createElement)}catch(n){if(nt(n,t,"render"),t.$options.renderError)try{e=t.$options.renderError.call(t._renderProxy,t.$createElement,n)}catch(n){nt(n,t,"renderError"),e=t._vnode}else e=t._vnode}finally{mn=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof ke||(Array.isArray(e)&&pe("Multiple root nodes returned from render function. Render function should return a single root node.",t),e=Ce()),e.parent=r,e}}(Zn);var oi=[String,RegExp,Array],ai={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:oi,exclude:oi,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)ri(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){ii(e,function(e){return ni(t,e)})}),this.$watch("exclude",function(t){ii(e,function(e){return!ni(t,e)})})},render:function(){var e=this.$slots.default,t=bn(e),n=t&&t.componentOptions;if(n){var i=ti(n),r=this.include,o=this.exclude;if(r&&(!i||!ni(r,i))||o&&i&&ni(o,i))return t;var a=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,_(s,l),s.push(l)):(a[l]=t,s.push(l),this.max&&s.length>parseInt(this.max)&&ri(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return z},set:function(){pe("Do not replace the Vue.config object, set individual fields instead.")}};Object.defineProperty(e,"config",t),e.util={warn:pe,extend:P,mergeOptions:We,defineReactive:Le},e.set=De,e.delete=qe,e.nextTick=vt,e.observable=function(e){return $e(e),e},e.options=Object.create(null),I.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,P(e.options.components,ai),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=E(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=We(this.options,e),this}}(e),ei(e),function(e){I.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&Ue(e),"component"===t&&d(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(Zn),Object.defineProperty(Zn.prototype,"$isServer",{get:se}),Object.defineProperty(Zn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Zn,"FunctionalRenderContext",{value:rn}),Zn.version="2.6.11";var si=v("style,class"),li=v("input,textarea,option,select,progress"),ci=function(e,t,n){return"value"===n&&li(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},ui=v("contenteditable,draggable,spellcheck"),di=v("events,caret,typing,plaintext-only"),pi=function(e,t){return vi(t)||"false"===t?"false":"contenteditable"===e&&di(t)?t:"true"},fi=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),hi="http://www.w3.org/1999/xlink",mi=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},gi=function(e){return mi(e)?e.slice(6,e.length):""},vi=function(e){return null==e||!1===e};function bi(e){for(var t=e.data,n=e,i=e;o(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=yi(i.data,t));for(;o(n=n.parent);)n&&n.data&&(t=yi(t,n.data));return function(e,t){if(o(e)||o(t))return _i(e,wi(t));return""}(t.staticClass,t.class)}function yi(e,t){return{staticClass:_i(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function _i(e,t){return e?t?e+" "+t:e:t||""}function wi(e){return Array.isArray(e)?function(e){for(var t,n="",i=0,r=e.length;i<r;i++)o(t=wi(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):l(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var xi={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ki=v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ai=v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ci=function(e){return ki(e)||Ai(e)};function Si(e){return Ai(e)?"svg":"math"===e?"math":void 0}var Mi=Object.create(null);var Oi=v("text,number,password,search,email,tel,url");function Ti(e){if("string"==typeof e){var t=document.querySelector(e);return t||(pe("Cannot find element: "+e),document.createElement("div"))}return e}var Ei=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(xi[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Pi={create:function(e,t){ji(t)},update:function(e,t){e.data.ref!==t.data.ref&&(ji(e,!0),ji(t))},destroy:function(e){ji(e,!0)}};function ji(e,t){var n=e.data.ref;if(o(n)){var i=e.context,r=e.componentInstance||e.elm,a=i.$refs;t?Array.isArray(a[n])?_(a[n],r):a[n]===r&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(r)<0&&a[n].push(r):a[n]=[r]:a[n]=r}}var Ni=new ke("",{},[]),$i=["create","activate","update","remove","destroy"];function Li(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&o(e.data)===o(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,i=o(n=e.data)&&o(n=n.attrs)&&n.type,r=o(n=t.data)&&o(n=n.attrs)&&n.type;return i===r||Oi(i)&&Oi(r)}(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function Di(e,t,n){var i,r,a={};for(i=t;i<=n;++i)o(r=e[i].key)&&(a[r]=i);return a}var qi={create:Ri,update:Ri,destroy:function(e){Ri(e,Ni)}};function Ri(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,i,r,o=e===Ni,a=t===Ni,s=Ii(e.data.directives,e.context),l=Ii(t.data.directives,t.context),c=[],u=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,zi(r,"update",t,e),r.def&&r.def.componentUpdated&&u.push(r)):(zi(r,"bind",t,e),r.def&&r.def.inserted&&c.push(r));if(c.length){var d=function(){for(var n=0;n<c.length;n++)zi(c[n],"inserted",t,e)};o?jt(t,"insert",d):d()}u.length&&jt(t,"postpatch",function(){for(var n=0;n<u.length;n++)zi(u[n],"componentUpdated",t,e)});if(!o)for(n in s)l[n]||zi(s[n],"unbind",e,e,a)}(e,t)}var Fi=Object.create(null);function Ii(e,t){var n,i,r=Object.create(null);if(!e)return r;for(n=0;n<e.length;n++)(i=e[n]).modifiers||(i.modifiers=Fi),r[Bi(i)]=i,i.def=Ye(t.$options,"directives",i.name,!0);return r}function Bi(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function zi(e,t,n,i,r){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,i,r)}catch(i){nt(i,n.context,"directive "+e.name+" "+t+" hook")}}var Hi=[Pi,qi];function Ui(e,t){var n=t.componentOptions;if(!(o(n)&&!1===n.Ctor.options.inheritAttrs||r(e.data.attrs)&&r(t.data.attrs))){var i,a,s=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};for(i in o(c.__ob__)&&(c=t.data.attrs=P({},c)),c)a=c[i],l[i]!==a&&Vi(s,i,a);for(i in(Z||te)&&c.value!==l.value&&Vi(s,"value",c.value),l)r(c[i])&&(mi(i)?s.removeAttributeNS(hi,gi(i)):ui(i)||s.removeAttribute(i))}}function Vi(e,t,n){e.tagName.indexOf("-")>-1?Wi(e,t,n):fi(t)?vi(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):ui(t)?e.setAttribute(t,pi(t,n)):mi(t)?vi(n)?e.removeAttributeNS(hi,gi(t)):e.setAttributeNS(hi,t,n):Wi(e,t,n)}function Wi(e,t,n){if(vi(n))e.removeAttribute(t);else{if(Z&&!ee&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var Yi={create:Ui,update:Ui};function Gi(e,t){var n=t.elm,i=t.data,a=e.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=bi(t),l=n._transitionClasses;o(l)&&(s=_i(s,wi(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ki,Qi,Ji,Xi,Zi,er,tr,nr={create:Gi,update:Gi},ir=/[\w).+\-_$\]]/;function rr(e){var t,n,i,r,o,a=!1,s=!1,l=!1,c=!1,u=0,d=0,p=0,f=0;for(i=0;i<e.length;i++)if(n=t,t=e.charCodeAt(i),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(l)96===t&&92!==n&&(l=!1);else if(c)47===t&&92!==n&&(c=!1);else if(124!==t||124===e.charCodeAt(i+1)||124===e.charCodeAt(i-1)||u||d||p){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:l=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--}if(47===t){for(var h=i-1,m=void 0;h>=0&&" "===(m=e.charAt(h));h--);m&&ir.test(m)||(c=!0)}}else void 0===r?(f=i+1,r=e.slice(0,i).trim()):g();function g(){(o||(o=[])).push(e.slice(f,i).trim()),f=i+1}if(void 0===r?r=e.slice(0,i).trim():0!==f&&g(),o)for(i=0;i<o.length;i++)r=or(r,o[i]);return r}function or(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var i=t.slice(0,n),r=t.slice(n+1);return'_f("'+i+'")('+e+(")"!==r?","+r:r)}function ar(e,t){console.error("[Vue compiler]: "+e)}function sr(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function lr(e,t,n,i,r){(e.props||(e.props=[])).push(br({name:t,value:n,dynamic:r},i)),e.plain=!1}function cr(e,t,n,i,r){(r?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(br({name:t,value:n,dynamic:r},i)),e.plain=!1}function ur(e,t,n,i){e.attrsMap[t]=n,e.attrsList.push(br({name:t,value:n},i))}function dr(e,t,n,i,r,o,a,s){(e.directives||(e.directives=[])).push(br({name:t,rawName:n,value:i,arg:r,isDynamicArg:o,modifiers:a},s)),e.plain=!1}function pr(e,t,n){return n?"_p("+t+',"'+e+'")':e+t}function fr(e,t,n,r,o,a,s,l){var c;r=r||i,a&&r.prevent&&r.passive&&a("passive and prevent can't be used together. Passive handler can't prevent default event.",s),r.right?l?t="("+t+")==='click'?'contextmenu':("+t+")":"click"===t&&(t="contextmenu",delete r.right):r.middle&&(l?t="("+t+")==='click'?'mouseup':("+t+")":"click"===t&&(t="mouseup")),r.capture&&(delete r.capture,t=pr("!",t,l)),r.once&&(delete r.once,t=pr("~",t,l)),r.passive&&(delete r.passive,t=pr("&",t,l)),r.native?(delete r.native,c=e.nativeEvents||(e.nativeEvents={})):c=e.events||(e.events={});var u=br({value:n.trim(),dynamic:l},s);r!==i&&(u.modifiers=r);var d=c[t];Array.isArray(d)?o?d.unshift(u):d.push(u):c[t]=d?o?[u,d]:[d,u]:u,e.plain=!1}function hr(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}function mr(e,t,n){var i=gr(e,":"+t)||gr(e,"v-bind:"+t);if(null!=i)return rr(i);if(!1!==n){var r=gr(e,t);if(null!=r)return JSON.stringify(r)}}function gr(e,t,n){var i;if(null!=(i=e.attrsMap[t]))for(var r=e.attrsList,o=0,a=r.length;o<a;o++)if(r[o].name===t){r.splice(o,1);break}return n&&delete e.attrsMap[t],i}function vr(e,t){for(var n=e.attrsList,i=0,r=n.length;i<r;i++){var o=n[i];if(t.test(o.name))return n.splice(i,1),o}}function br(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function yr(e,t,n){var i=n||{},r=i.number,o="$$v";i.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),r&&(o="_n("+o+")");var a=_r(t,o);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+a+"}"}}function _r(e,t){var n=function(e){if(e=e.trim(),Ki=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<Ki-1)return(Xi=e.lastIndexOf("."))>-1?{exp:e.slice(0,Xi),key:'"'+e.slice(Xi+1)+'"'}:{exp:e,key:null};Qi=e,Xi=Zi=er=0;for(;!xr();)kr(Ji=wr())?Cr(Ji):91===Ji&&Ar(Ji);return{exp:e.slice(0,Zi),key:e.slice(Zi+1,er)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function wr(){return Qi.charCodeAt(++Xi)}function xr(){return Xi>=Ki}function kr(e){return 34===e||39===e}function Ar(e){var t=1;for(Zi=Xi;!xr();)if(kr(e=wr()))Cr(e);else if(91===e&&t++,93===e&&t--,0===t){er=Xi;break}}function Cr(e){for(var t=e;!xr()&&(e=wr())!==t;);}var Sr,Mr="__r",Or="__c";function Tr(e,t,n){var i=Sr;return function r(){null!==t.apply(null,arguments)&&jr(e,r,n,i)}}var Er=ct&&!(ie&&Number(ie[1])<=53);function Pr(e,t,n,i){if(Er){var r=qn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=r||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Sr.addEventListener(e,t,oe?{capture:n,passive:i}:n)}function jr(e,t,n,i){(i||Sr).removeEventListener(e,t._wrapper||t,n)}function Nr(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Sr=t.elm,function(e){if(o(e[Mr])){var t=Z?"change":"input";e[t]=[].concat(e[Mr],e[t]||[]),delete e[Mr]}o(e[Or])&&(e.change=[].concat(e[Or],e.change||[]),delete e[Or])}(n),Pt(n,i,Pr,jr,Tr,t.context),Sr=void 0}}var $r,Lr={create:Nr,update:Nr};function Dr(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,i,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in o(l.__ob__)&&(l=t.data.domProps=P({},l)),s)n in l||(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var c=r(i)?"":String(i);qr(a,c)&&(a.value=c)}else if("innerHTML"===n&&Ai(a.tagName)&&r(a.innerHTML)){($r=$r||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var u=$r.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(i!==s[n])try{a[n]=i}catch(e){}}}}function qr(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,i=e._vModifiers;if(o(i)){if(i.number)return g(n)!==g(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Rr={create:Dr,update:Dr},Fr=k(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var i=e.split(n);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t});function Ir(e){var t=Br(e.style);return e.staticStyle?P(e.staticStyle,t):t}function Br(e){return Array.isArray(e)?j(e):"string"==typeof e?Fr(e):e}var zr,Hr=/^--/,Ur=/\s*!important$/,Vr=function(e,t,n){if(Hr.test(t))e.style.setProperty(t,n);else if(Ur.test(n))e.style.setProperty(O(t),n.replace(Ur,""),"important");else{var i=Yr(t);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)e.style[i]=n[r];else e.style[i]=n}},Wr=["Webkit","Moz","ms"],Yr=k(function(e){if(zr=zr||document.createElement("div").style,"filter"!==(e=C(e))&&e in zr)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Wr.length;n++){var i=Wr[n]+t;if(i in zr)return i}});function Gr(e,t){var n=t.data,i=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var a,s,l=t.elm,c=i.staticStyle,u=i.normalizedStyle||i.style||{},d=c||u,p=Br(t.data.style)||{};t.data.normalizedStyle=o(p.__ob__)?P({},p):p;var f=function(e,t){var n,i={};if(t)for(var r=e;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=Ir(r.data))&&P(i,n);(n=Ir(e.data))&&P(i,n);for(var o=e;o=o.parent;)o.data&&(n=Ir(o.data))&&P(i,n);return i}(t,!0);for(s in d)r(f[s])&&Vr(l,s,"");for(s in f)(a=f[s])!==d[s]&&Vr(l,s,null==a?"":a)}}var Kr={create:Gr,update:Gr},Qr=/\s+/;function Jr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Qr).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Xr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Qr).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Zr(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&P(t,eo(e.name||"v")),P(t,e),t}return"string"==typeof e?eo(e):void 0}}var eo=k(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),to=K&&!ee,no="transition",io="animation",ro="transition",oo="transitionend",ao="animation",so="animationend";to&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ro="WebkitTransition",oo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ao="WebkitAnimation",so="webkitAnimationEnd"));var lo=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function co(e){lo(function(){lo(e)})}function uo(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Jr(e,t))}function po(e,t){e._transitionClasses&&_(e._transitionClasses,t),Xr(e,t)}function fo(e,t,n){var i=mo(e,t),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===no?oo:so,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l<a&&c()},o+1),e.addEventListener(s,u)}var ho=/\b(transform|all)(,|$)/;function mo(e,t){var n,i=window.getComputedStyle(e),r=(i[ro+"Delay"]||"").split(", "),o=(i[ro+"Duration"]||"").split(", "),a=go(r,o),s=(i[ao+"Delay"]||"").split(", "),l=(i[ao+"Duration"]||"").split(", "),c=go(s,l),u=0,d=0;return t===no?a>0&&(n=no,u=a,d=o.length):t===io?c>0&&(n=io,u=c,d=l.length):d=(n=(u=Math.max(a,c))>0?a>c?no:io:null)?n===no?o.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===no&&ho.test(i[ro+"Property"])}}function go(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return vo(t)+vo(e[n])}))}function vo(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function bo(e,t){var n=e.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=Zr(e.data.transition);if(!r(i)&&!o(n._enterCb)&&1===n.nodeType){for(var a=i.css,s=i.type,c=i.enterClass,u=i.enterToClass,d=i.enterActiveClass,p=i.appearClass,f=i.appearToClass,h=i.appearActiveClass,m=i.beforeEnter,v=i.enter,b=i.afterEnter,y=i.enterCancelled,_=i.beforeAppear,w=i.appear,x=i.afterAppear,k=i.appearCancelled,A=i.duration,C=kn,S=kn.$vnode;S&&S.parent;)C=S.context,S=S.parent;var M=!C._isMounted||!e.isRootInsert;if(!M||w||""===w){var O=M&&p?p:c,T=M&&h?h:d,E=M&&f?f:u,P=M&&_||m,j=M&&"function"==typeof w?w:v,N=M&&x||b,$=M&&k||y,L=g(l(A)?A.enter:A);null!=L&&_o(L,"enter",e);var D=!1!==a&&!ee,q=xo(j),F=n._enterCb=R(function(){D&&(po(n,E),po(n,T)),F.cancelled?(D&&po(n,O),$&&$(n)):N&&N(n),n._enterCb=null});e.data.show||jt(e,"insert",function(){var t=n.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),j&&j(n,F)}),P&&P(n),D&&(uo(n,O),uo(n,T),co(function(){po(n,O),F.cancelled||(uo(n,E),q||(wo(L)?setTimeout(F,L):fo(n,s,F)))})),e.data.show&&(t&&t(),j&&j(n,F)),D||q||F()}}}function yo(e,t){var n=e.elm;o(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=Zr(e.data.transition);if(r(i)||1!==n.nodeType)return t();if(!o(n._leaveCb)){var a=i.css,s=i.type,c=i.leaveClass,u=i.leaveToClass,d=i.leaveActiveClass,p=i.beforeLeave,f=i.leave,h=i.afterLeave,m=i.leaveCancelled,v=i.delayLeave,b=i.duration,y=!1!==a&&!ee,_=xo(f),w=g(l(b)?b.leave:b);o(w)&&_o(w,"leave",e);var x=n._leaveCb=R(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),y&&(po(n,u),po(n,d)),x.cancelled?(y&&po(n,c),m&&m(n)):(t(),h&&h(n)),n._leaveCb=null});v?v(k):k()}function k(){x.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),p&&p(n),y&&(uo(n,c),uo(n,d),co(function(){po(n,c),x.cancelled||(uo(n,u),_||(wo(w)?setTimeout(x,w):fo(n,s,x)))})),f&&f(n,x),y||_||x())}}function _o(e,t,n){"number"!=typeof e?pe("<transition> explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",n.context):isNaN(e)&&pe("<transition> explicit "+t+" duration is NaN - the duration expression might be incorrect.",n.context)}function wo(e){return"number"==typeof e&&!isNaN(e)}function xo(e){if(r(e))return!1;var t=e.fns;return o(t)?xo(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function ko(e,t){!0!==t.data.show&&bo(t)}var Ao=function(e){var t,n,i={},l=e.modules,c=e.nodeOps;for(t=0;t<$i.length;++t)for(i[$i[t]]=[],n=0;n<l.length;++n)o(l[n][$i[t]])&&i[$i[t]].push(l[n][$i[t]]);function u(e){var t=c.parentNode(e);o(t)&&c.removeChild(t,e)}function d(e,t){return!t&&!e.ns&&!(z.ignoredElements.length&&z.ignoredElements.some(function(t){return p(t)?t.test(e.tag):t===e.tag}))&&z.isUnknownElement(e.tag)}var f=0;function h(e,t,n,r,s,l,u){if(o(e.elm)&&o(l)&&(e=l[u]=Me(e)),e.isRootInsert=!s,!function(e,t,n,r){var s=e.data;if(o(s)){var l=o(e.componentInstance)&&s.keepAlive;if(o(s=s.hook)&&o(s=s.init)&&s(e,!1),o(e.componentInstance))return m(e,t),g(n,e.elm,r),a(l)&&function(e,t,n,r){for(var a,s=e;s.componentInstance;)if(s=s.componentInstance._vnode,o(a=s.data)&&o(a=a.transition)){for(a=0;a<i.activate.length;++a)i.activate[a](Ni,s);t.push(s);break}g(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var p=e.data,h=e.children,v=e.tag;o(v)?(p&&p.pre&&f++,d(e,f)&&pe("Unknown custom element: <"+v+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?c.createElementNS(e.ns,v):c.createElement(v,e),w(e),b(e,h,t),o(p)&&_(e,t),g(n,e.elm,r),p&&p.pre&&f--):a(e.isComment)?(e.elm=c.createComment(e.text),g(n,e.elm,r)):(e.elm=c.createTextNode(e.text),g(n,e.elm,r))}}function m(e,t){o(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,y(e)?(_(e,t),w(e)):(ji(e),t.push(e))}function g(e,t,n){o(e)&&(o(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function b(e,t,n){if(Array.isArray(t)){S(t);for(var i=0;i<t.length;++i)h(t[i],n,e.elm,null,!0,t,i)}else s(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function y(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return o(e.tag)}function _(e,n){for(var r=0;r<i.create.length;++r)i.create[r](Ni,e);o(t=e.data.hook)&&(o(t.create)&&t.create(Ni,e),o(t.insert)&&n.push(e))}function w(e){var t;if(o(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)o(t=n.context)&&o(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;o(t=kn)&&t!==e.context&&t!==e.fnContext&&o(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function x(e,t,n,i,r,o){for(;i<=r;++i)h(n[i],o,e,t,!1,n,i)}function k(e){var t,n,r=e.data;if(o(r))for(o(t=r.hook)&&o(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(o(t=e.children))for(n=0;n<e.children.length;++n)k(e.children[n])}function A(e,t,n){for(;t<=n;++t){var i=e[t];o(i)&&(o(i.tag)?(C(i),k(i)):u(i.elm))}}function C(e,t){if(o(t)||o(e.data)){var n,r=i.remove.length+1;for(o(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&u(e)}return n.listeners=t,n}(e.elm,r),o(n=e.componentInstance)&&o(n=n._vnode)&&o(n.data)&&C(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);o(n=e.data.hook)&&o(n=n.remove)?n(e,t):t()}else u(e.elm)}function S(e){for(var t={},n=0;n<e.length;n++){var i=e[n],r=i.key;o(r)&&(t[r]?pe("Duplicate keys detected: '"+r+"'. This may cause an update error.",i.context):t[r]=!0)}}function M(e,t,n,i){for(var r=n;r<i;r++){var a=t[r];if(o(a)&&Li(e,a))return r}}function O(e,t,n,s,l,u){if(e!==t){o(t.elm)&&o(s)&&(t=s[l]=Me(t));var d=t.elm=e.elm;if(a(e.isAsyncPlaceholder))o(t.asyncFactory.resolved)?j(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(a(t.isStatic)&&a(e.isStatic)&&t.key===e.key&&(a(t.isCloned)||a(t.isOnce)))t.componentInstance=e.componentInstance;else{var p,f=t.data;o(f)&&o(p=f.hook)&&o(p=p.prepatch)&&p(e,t);var m=e.children,g=t.children;if(o(f)&&y(t)){for(p=0;p<i.update.length;++p)i.update[p](e,t);o(p=f.hook)&&o(p=p.update)&&p(e,t)}r(t.text)?o(m)&&o(g)?m!==g&&function(e,t,n,i,a){var s,l,u,d=0,p=0,f=t.length-1,m=t[0],g=t[f],v=n.length-1,b=n[0],y=n[v],_=!a;for(S(n);d<=f&&p<=v;)r(m)?m=t[++d]:r(g)?g=t[--f]:Li(m,b)?(O(m,b,i,n,p),m=t[++d],b=n[++p]):Li(g,y)?(O(g,y,i,n,v),g=t[--f],y=n[--v]):Li(m,y)?(O(m,y,i,n,v),_&&c.insertBefore(e,m.elm,c.nextSibling(g.elm)),m=t[++d],y=n[--v]):Li(g,b)?(O(g,b,i,n,p),_&&c.insertBefore(e,g.elm,m.elm),g=t[--f],b=n[++p]):(r(s)&&(s=Di(t,d,f)),r(l=o(b.key)?s[b.key]:M(b,t,d,f))?h(b,i,e,m.elm,!1,n,p):Li(u=t[l],b)?(O(u,b,i,n,p),t[l]=void 0,_&&c.insertBefore(e,u.elm,m.elm)):h(b,i,e,m.elm,!1,n,p),b=n[++p]);d>f?x(e,r(n[v+1])?null:n[v+1].elm,n,p,v,i):p>v&&A(t,d,f)}(d,m,g,n,u):o(g)?(S(g),o(e.text)&&c.setTextContent(d,""),x(d,null,g,0,g.length-1,n)):o(m)?A(m,0,m.length-1):o(e.text)&&c.setTextContent(d,""):e.text!==t.text&&c.setTextContent(d,t.text),o(f)&&o(p=f.hook)&&o(p=p.postpatch)&&p(e,t)}}}function T(e,t,n){if(a(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var E=!1,P=v("attrs,class,staticClass,staticStyle,key");function j(e,t,n,i){var r,s=t.tag,l=t.data,c=t.children;if(i=i||l&&l.pre,t.elm=e,a(t.isComment)&&o(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(!function(e,t,n){return o(t.tag)?0===t.tag.indexOf("vue-component")||!d(t,n)&&t.tag.toLowerCase()===(e.tagName&&e.tagName.toLowerCase()):e.nodeType===(t.isComment?8:3)}(e,t,i))return!1;if(o(l)&&(o(r=l.hook)&&o(r=r.init)&&r(t,!0),o(r=t.componentInstance)))return m(t,n),!0;if(o(s)){if(o(c))if(e.hasChildNodes())if(o(r=l)&&o(r=r.domProps)&&o(r=r.innerHTML)){if(r!==e.innerHTML)return"undefined"==typeof console||E||(E=!0,console.warn("Parent: ",e),console.warn("server innerHTML: ",r),console.warn("client innerHTML: ",e.innerHTML)),!1}else{for(var u=!0,p=e.firstChild,f=0;f<c.length;f++){if(!p||!j(p,c[f],n,i)){u=!1;break}p=p.nextSibling}if(!u||p)return"undefined"==typeof console||E||(E=!0,console.warn("Parent: ",e),console.warn("Mismatching childNodes vs. VNodes: ",e.childNodes,c)),!1}else b(t,c,n);if(o(l)){var h=!1;for(var g in l)if(!P(g)){h=!0,_(t,n);break}!h&&l.class&&Ot(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s){if(!r(t)){var l,u=!1,d=[];if(r(e))u=!0,h(t,d);else{var p=o(e.nodeType);if(!p&&Li(e,t))O(e,t,d,null,null,s);else{if(p){if(1===e.nodeType&&e.hasAttribute(F)&&(e.removeAttribute(F),n=!0),a(n)){if(j(e,t,d))return T(t,d,!0),e;pe("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}l=e,e=new ke(c.tagName(l).toLowerCase(),{},[],void 0,l)}var f=e.elm,m=c.parentNode(f);if(h(t,d,f._leaveCb?null:m,c.nextSibling(f)),o(t.parent))for(var g=t.parent,v=y(t);g;){for(var b=0;b<i.destroy.length;++b)i.destroy[b](g);if(g.elm=t.elm,v){for(var _=0;_<i.create.length;++_)i.create[_](Ni,g);var w=g.data.hook.insert;if(w.merged)for(var x=1;x<w.fns.length;x++)w.fns[x]()}else ji(g);g=g.parent}o(m)?A([e],0,0):o(e.tag)&&k(e)}}return T(t,d,u),t.elm}o(e)&&k(e)}}({nodeOps:Ei,modules:[Yi,nr,Lr,Rr,Kr,K?{create:ko,activate:ko,remove:function(e,t){!0!==e.data.show?yo(e,t):t()}}:{}].concat(Hi)});ee&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&jo(e,"input")});var Co={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?jt(n,"postpatch",function(){Co.componentUpdated(e,t,n)}):So(e,t,n.context),e._vOptions=[].map.call(e.options,To)):("textarea"===n.tag||Oi(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Eo),e.addEventListener("compositionend",Po),e.addEventListener("change",Po),ee&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){So(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,To);if(r.some(function(e,t){return!D(e,i[t])}))(e.multiple?t.value.some(function(e){return Oo(e,r)}):t.value!==t.oldValue&&Oo(t.value,r))&&jo(e,"change")}}};function So(e,t,n){Mo(e,t,n),(Z||te)&&setTimeout(function(){Mo(e,t,n)},0)}function Mo(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],r)o=q(i,To(a))>-1,a.selected!==o&&(a.selected=o);else if(D(To(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));r||(e.selectedIndex=-1)}else pe('<select multiple v-model="'+t.expression+'"> expects an Array value for its binding, but got '+Object.prototype.toString.call(i).slice(8,-1),n)}function Oo(e,t){return t.every(function(t){return!D(t,e)})}function To(e){return"_value"in e?e._value:e.value}function Eo(e){e.target.composing=!0}function Po(e){e.target.composing&&(e.target.composing=!1,jo(e.target,"input"))}function jo(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function No(e){return!e.componentInstance||e.data&&e.data.transition?e:No(e.componentInstance._vnode)}var $o={model:Co,show:{bind:function(e,t,n){var i=t.value,r=(n=No(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,bo(n,function(){e.style.display=o})):e.style.display=i?o:"none"},update:function(e,t,n){var i=t.value;!i!=!t.oldValue&&((n=No(n)).data&&n.data.transition?(n.data.show=!0,i?bo(n,function(){e.style.display=e.__vOriginalDisplay}):yo(n,function(){e.style.display="none"})):e.style.display=i?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,i,r){r||(e.style.display=e.__vOriginalDisplay)}}},Lo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Do(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Do(bn(t.children)):e}function qo(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var r=n._parentListeners;for(var o in r)t[C(o)]=r[o];return t}function Ro(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Fo=function(e){return e.tag||vn(e)},Io=function(e){return"show"===e.name},Bo={name:"transition",props:Lo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Fo)).length){n.length>1&&pe("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var i=this.mode;i&&"in-out"!==i&&"out-in"!==i&&pe("invalid <transition> mode: "+i,this.$parent);var r=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return r;var o=Do(r);if(!o)return r;if(this._leaving)return Ro(e,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=qo(this),c=this._vnode,u=Do(c);if(o.data.directives&&o.data.directives.some(Io)&&(o.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,u)&&!vn(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=P({},l);if("out-in"===i)return this._leaving=!0,jt(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Ro(e,r);if("in-out"===i){if(vn(o))return c;var p,f=function(){p()};jt(l,"afterEnter",f),jt(l,"enterCancelled",f),jt(d,"delayLeave",function(e){p=e})}}return r}}},zo=P({tag:String,moveClass:String},Lo);function Ho(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Uo(e){e.data.newPos=e.elm.getBoundingClientRect()}function Vo(e){var t=e.data.pos,n=e.data.newPos,i=t.left-n.left,r=t.top-n.top;if(i||r){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete zo.mode;var Wo={Transition:Bo,TransitionGroup:{props:zo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=Cn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=qo(this),s=0;s<r.length;s++){var l=r[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a;else{var c=l.componentOptions,u=c?c.Ctor.options.name||c.tag||"":l.tag;pe("<transition-group> children must be keyed: <"+u+">")}}if(i){for(var d=[],p=[],f=0;f<i.length;f++){var h=i[f];h.data.transition=a,h.data.pos=h.elm.getBoundingClientRect(),n[h.key]?d.push(h):p.push(h)}this.kept=e(t,null,d),this.removed=p}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Ho),e.forEach(Uo),e.forEach(Vo),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,i=n.style;uo(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(oo,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(oo,e),n._moveCb=null,po(n,t))})}}))},methods:{hasMove:function(e,t){if(!to)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){Xr(n,e)}),Jr(n,t),n.style.display="none",this.$el.appendChild(n);var i=mo(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};Zn.config.mustUseProp=ci,Zn.config.isReservedTag=Ci,Zn.config.isReservedAttr=si,Zn.config.getTagNamespace=Si,Zn.config.isUnknownElement=function(e){if(!K)return!0;if(Ci(e))return!1;if(e=e.toLowerCase(),null!=Mi[e])return Mi[e];var t=document.createElement(e);return e.indexOf("-")>-1?Mi[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Mi[e]=/HTMLUnknownElement/.test(t.toString())},P(Zn.options.directives,$o),P(Zn.options.components,Wo),Zn.prototype.__patch__=K?Ao:N,Zn.prototype.$mount=function(e,t){return function(e,t,n){var i;return e.$el=t,e.$options.render||(e.$options.render=Ce,e.$options.template&&"#"!==e.$options.template.charAt(0)||e.$options.el||t?pe("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):pe("Failed to mount component: template or render function not defined.",e)),On(e,"beforeMount"),i=z.performance&&st?function(){var t=e._name,i=e._uid,r="vue-perf-start:"+i,o="vue-perf-end:"+i;st(r);var a=e._render();st(o),lt("vue "+t+" render",r,o),st(r),e._update(a,n),st(o),lt("vue "+t+" patch",r,o)}:function(){e._update(e._render(),n)},new zn(e,i,N,{before:function(){e._isMounted&&!e._isDestroyed&&On(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,On(e,"mounted")),e}(this,e=e&&K?Ti(e):void 0,t)},K&&setTimeout(function(){z.devtools&&(le?le.emit("init",Zn):console[console.info?"info":"log"]("Download the Vue Devtools extension for a better development experience:\nhttps://github.com/vuejs/vue-devtools")),!1!==z.productionTip&&"undefined"!=typeof console&&console[console.info?"info":"log"]("You are running Vue in development mode.\nMake sure to turn on production mode when deploying for production.\nSee more tips at https://vuejs.org/guide/deployment.html")},0);var Yo=/\{\{((?:.|\r?\n)+?)\}\}/g,Go=/[-.*+?^${}()|[\]\/\\]/g,Ko=k(function(e){var t=e[0].replace(Go,"\\$&"),n=e[1].replace(Go,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});function Qo(e,t){var n=t?Ko(t):Yo;if(n.test(e)){for(var i,r,o,a=[],s=[],l=n.lastIndex=0;i=n.exec(e);){(r=i.index)>l&&(s.push(o=e.slice(l,r)),a.push(JSON.stringify(o)));var c=rr(i[1].trim());a.push("_s("+c+")"),s.push({"@binding":c}),l=r+i[0].length}return l<e.length&&(s.push(o=e.slice(l)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}var Jo={staticKeys:["staticClass"],transformNode:function(e,t){var n=t.warn||ar,i=gr(e,"class");i&&Qo(i,t.delimiters)&&n('class="'+i+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div class="{{ val }}">, use <div :class="val">.',e.rawAttrsMap.class),i&&(e.staticClass=JSON.stringify(i));var r=mr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var Xo,Zo={staticKeys:["staticStyle"],transformNode:function(e,t){var n=t.warn||ar,i=gr(e,"style");i&&(Qo(i,t.delimiters)&&n('style="'+i+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div style="{{ val }}">, use <div :style="val">.',e.rawAttrsMap.style),e.staticStyle=JSON.stringify(Fr(i)));var r=mr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},ea=function(e){return(Xo=Xo||document.createElement("div")).innerHTML=e,Xo.textContent},ta=v("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),na=v("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ia=v("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ra=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,oa=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,aa="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+H.source+"]*",sa="((?:"+aa+"\\:)?"+aa+")",la=new RegExp("^<"+sa),ca=/^\s*(\/?)>/,ua=new RegExp("^<\\/"+sa+"[^>]*>"),da=/^<!DOCTYPE [^>]+>/i,pa=/^<!\--/,fa=/^<!\[/,ha=v("script,style,textarea",!0),ma={},ga={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},va=/&(?:lt|gt|quot|amp|#39);/g,ba=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,ya=v("pre,textarea",!0),_a=function(e,t){return e&&ya(e)&&"\n"===t[0]};function wa(e,t){var n=t?ba:va;return e.replace(n,function(e){return ga[e]})}var xa,ka,Aa,Ca,Sa,Ma,Oa,Ta,Ea,Pa=/^@|^v-on:/,ja=/^v-|^@|^:|^#/,Na=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,$a=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,La=/^\(|\)$/g,Da=/^\[.*\]$/,qa=/:(.*)$/,Ra=/^:|^\.|^v-bind:/,Fa=/\.[^.\]]+(?=[^\]]*$)/g,Ia=/^v-slot(:|$)|^#/,Ba=/[\r\n]/,za=/\s+/g,Ha=/[\s"'<>\/=]/,Ua=k(ea),Va="_empty_";function Wa(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,i=e.length;n<i;n++)!t[e[n].name]||Z||te||xa("duplicate attribute: "+e[n].name,e[n]),t[e[n].name]=e[n].value;return t}(t),rawAttrsMap:{},parent:n,children:[]}}function Ya(e,t){xa=t.warn||ar,Ma=t.isPreTag||$,Oa=t.mustUseProp||$,Ta=t.getTagNamespace||$;var n=t.isReservedTag||$;Ea=function(e){return!!e.component||!n(e.tag)},Aa=sr(t.modules,"transformNode"),Ca=sr(t.modules,"preTransformNode"),Sa=sr(t.modules,"postTransformNode"),ka=t.delimiters;var i,r,o=[],a=!1!==t.preserveWhitespace,s=t.whitespace,l=!1,c=!1,u=!1;function d(e,t){u||(u=!0,xa(e,t))}function p(e){if(f(e),l||e.processed||(e=Ga(e,t)),o.length||e===i||(i.if&&(e.elseif||e.else)?(h(e),Qa(i,{exp:e.elseif,block:e})):d("Component template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead.",{start:e.start})),r&&!e.forbidden)if(e.elseif||e.else)a=e,(s=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];" "!==e[t].text&&xa('text "'+e[t].text.trim()+'" between v-if and v-else(-if) will be ignored.',e[t]),e.pop()}}(r.children))&&s.if?Qa(s,{exp:a.elseif,block:a}):xa("v-"+(a.elseif?'else-if="'+a.elseif+'"':"else")+" used on element <"+a.tag+"> without corresponding v-if.",a.rawAttrsMap[a.elseif?"v-else-if":"v-else"]);else{if(e.slotScope){var n=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[n]=e}r.children.push(e),e.parent=r}var a,s;e.children=e.children.filter(function(e){return!e.slotScope}),f(e),e.pre&&(l=!1),Ma(e.tag)&&(c=!1);for(var u=0;u<Sa.length;u++)Sa[u](e,t)}function f(e){if(!c)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}function h(e){"slot"!==e.tag&&"template"!==e.tag||d("Cannot use <"+e.tag+"> as component root element because it may contain multiple nodes.",{start:e.start}),e.attrsMap.hasOwnProperty("v-for")&&d("Cannot use v-for on stateful component root element because it renders multiple elements.",e.rawAttrsMap["v-for"])}return function(e,t){for(var n,i,r=[],o=t.expectHTML,a=t.isUnaryTag||$,s=t.canBeLeftOpenTag||$,l=0;e;){if(n=e,i&&ha(i)){var c=0,u=i.toLowerCase(),d=ma[u]||(ma[u]=new RegExp("([\\s\\S]*?)(</"+u+"[^>]*>)","i")),p=e.replace(d,function(e,n,i){return c=i.length,ha(u)||"noscript"===u||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),_a(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});l+=e.length-p.length,e=p,S(u,l-c,l)}else{var f=e.indexOf("<");if(0===f){if(pa.test(e)){var h=e.indexOf("--\x3e");if(h>=0){t.shouldKeepComment&&t.comment(e.substring(4,h),l,l+h+3),k(h+3);continue}}if(fa.test(e)){var m=e.indexOf("]>");if(m>=0){k(m+2);continue}}var g=e.match(da);if(g){k(g[0].length);continue}var v=e.match(ua);if(v){var b=l;k(v[0].length),S(v[1],b,l);continue}var y=A();if(y){C(y),_a(y.tagName,e)&&k(1);continue}}var _=void 0,w=void 0,x=void 0;if(f>=0){for(w=e.slice(f);!(ua.test(w)||la.test(w)||pa.test(w)||fa.test(w)||(x=w.indexOf("<",1))<0);)f+=x,w=e.slice(f);_=e.substring(0,f)}f<0&&(_=e),_&&k(_.length),t.chars&&_&&t.chars(_,l-_.length,l)}if(e===n){t.chars&&t.chars(e),!r.length&&t.warn&&t.warn('Mal-formatted tag at end of template: "'+e+'"',{start:l+e.length});break}}function k(t){l+=t,e=e.substring(t)}function A(){var t=e.match(la);if(t){var n,i,r={tagName:t[1],attrs:[],start:l};for(k(t[0].length);!(n=e.match(ca))&&(i=e.match(oa)||e.match(ra));)i.start=l,k(i[0].length),i.end=l,r.attrs.push(i);if(n)return r.unarySlash=n[1],k(n[0].length),r.end=l,r}}function C(e){var n=e.tagName,l=e.unarySlash;o&&("p"===i&&ia(n)&&S(i),s(n)&&i===n&&S(n));for(var c=a(n)||!!l,u=e.attrs.length,d=new Array(u),p=0;p<u;p++){var f=e.attrs[p],h=f[3]||f[4]||f[5]||"",m="a"===n&&"href"===f[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;d[p]={name:f[1],value:wa(h,m)},t.outputSourceRange&&(d[p].start=f.start+f[0].match(/^\s*/).length,d[p].end=f.end)}c||(r.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d,start:e.start,end:e.end}),i=n),t.start&&t.start(n,d,c,e.start,e.end)}function S(e,n,o){var a,s;if(null==n&&(n=l),null==o&&(o=l),e)for(s=e.toLowerCase(),a=r.length-1;a>=0&&r[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=r.length-1;c>=a;c--)(c>a||!e&&t.warn)&&t.warn("tag <"+r[c].tag+"> has no matching end tag.",{start:r[c].start,end:r[c].end}),t.end&&t.end(r[c].tag,n,o);r.length=a,i=a&&r[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}S()}(e,{warn:xa,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,a,s,u){var d=r&&r.ns||Ta(e);Z&&"svg"===d&&(n=function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];Za.test(i.name)||(i.name=i.name.replace(es,""),t.push(i))}return t}(n));var f,m=Wa(e,n,r);d&&(m.ns=d),t.outputSourceRange&&(m.start=s,m.end=u,m.rawAttrsMap=m.attrsList.reduce(function(e,t){return e[t.name]=t,e},{})),n.forEach(function(e){Ha.test(e.name)&&xa("Invalid dynamic argument expression: attribute names cannot contain spaces, quotes, <, >, / or =.",{start:e.start+e.name.indexOf("["),end:e.start+e.name.length})}),"style"!==(f=m).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||se()||(m.forbidden=!0,xa("Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <"+e+">, as they will not be parsed.",{start:m.start}));for(var g=0;g<Ca.length;g++)m=Ca[g](m,t)||m;l||(!function(e){null!=gr(e,"v-pre")&&(e.pre=!0)}(m),m.pre&&(l=!0)),Ma(m.tag)&&(c=!0),l?function(e){var t=e.attrsList,n=t.length;if(n)for(var i=e.attrs=new Array(n),r=0;r<n;r++)i[r]={name:t[r].name,value:JSON.stringify(t[r].value)},null!=t[r].start&&(i[r].start=t[r].start,i[r].end=t[r].end);else e.pre||(e.plain=!0)}(m):m.processed||(Ka(m),function(e){var t=gr(e,"v-if");if(t)e.if=t,Qa(e,{exp:t,block:e});else{null!=gr(e,"v-else")&&(e.else=!0);var n=gr(e,"v-else-if");n&&(e.elseif=n)}}(m),function(e){null!=gr(e,"v-once")&&(e.once=!0)}(m)),i||h(i=m),a?p(m):(r=m,o.push(m))},end:function(e,n,i){var a=o[o.length-1];o.length-=1,r=o[o.length-1],t.outputSourceRange&&(a.end=i),p(a)},chars:function(n,i,o){if(r){if(!Z||"textarea"!==r.tag||r.attrsMap.placeholder!==n){var u,p,f,h=r.children;if(n=c||n.trim()?"script"===(u=r).tag||"style"===u.tag?n:Ua(n):h.length?s?"condense"===s&&Ba.test(n)?"":" ":a?" ":"":"")c||"condense"!==s||(n=n.replace(za," ")),!l&&" "!==n&&(p=Qo(n,ka))?f={type:2,expression:p.expression,tokens:p.tokens,text:n}:" "===n&&h.length&&" "===h[h.length-1].text||(f={type:3,text:n}),f&&(t.outputSourceRange&&(f.start=i,f.end=o),h.push(f))}}else n===e?d("Component template requires a root element, rather than just text.",{start:i}):(n=n.trim())&&d('text "'+n+'" outside root element will be ignored.',{start:i})},comment:function(e,n,i){if(r){var o={type:3,text:e,isComment:!0};t.outputSourceRange&&(o.start=n,o.end=i),r.children.push(o)}}}),i}function Ga(e,t){var n,i;!function(e){var t=mr(e,"key");if(t){if("template"===e.tag&&xa("<template> cannot be keyed. Place the key on real elements instead.",hr(e,"key")),e.for){var n=e.iterator2||e.iterator1,i=e.parent;n&&n===t&&i&&"transition-group"===i.tag&&xa("Do not use v-for index as key on <transition-group> children, this is the same as not using keys.",hr(e,"key"),!0)}e.key=t}}(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,(i=mr(n=e,"ref"))&&(n.ref=i,n.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(n)),function(e){var t;"template"===e.tag?((t=gr(e,"scope"))&&xa('the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to <template> to denote scoped slots.',e.rawAttrsMap.scope,!0),e.slotScope=t||gr(e,"slot-scope")):(t=gr(e,"slot-scope"))&&(e.attrsMap["v-for"]&&xa("Ambiguous combined usage of slot-scope and v-for on <"+e.tag+"> (v-for takes higher priority). Use a wrapper <template> for the scoped slot to make it clearer.",e.rawAttrsMap["slot-scope"],!0),e.slotScope=t);var n=mr(e,"slot");n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||cr(e,"slot",n,hr(e,"slot")));if("template"===e.tag){var i=vr(e,Ia);if(i){(e.slotTarget||e.slotScope)&&xa("Unexpected mixed usage of different slot syntaxes.",e),e.parent&&!Ea(e.parent)&&xa("<template v-slot> can only appear at the root level inside the receiving component",e);var r=Ja(i),o=r.name,a=r.dynamic;e.slotTarget=o,e.slotTargetDynamic=a,e.slotScope=i.value||Va}}else{var s=vr(e,Ia);if(s){Ea(e)||xa("v-slot can only be used on components or <template>.",s),(e.slotScope||e.slotTarget)&&xa("Unexpected mixed usage of different slot syntaxes.",e),e.scopedSlots&&xa("To avoid scope ambiguity, the default slot should also use <template> syntax when there are other named slots.",s);var l=e.scopedSlots||(e.scopedSlots={}),c=Ja(s),u=c.name,d=c.dynamic,p=l[u]=Wa("template",[],e);p.slotTarget=u,p.slotTargetDynamic=d,p.children=e.children.filter(function(e){if(!e.slotScope)return e.parent=p,!0}),p.slotScope=s.value||Va,e.children=[],e.plain=!1}}}(e),function(e){"slot"===e.tag&&(e.slotName=mr(e,"name"),e.key&&xa("`key` does not work on <slot> because slots are abstract outlets and can possibly expand into multiple elements. Use the key on a wrapping element instead.",hr(e,"key")))}(e),function(e){var t;(t=mr(e,"is"))&&(e.component=t);null!=gr(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var r=0;r<Aa.length;r++)e=Aa[r](e,t)||e;return function(e){var t,n,i,r,o,a,s,l,c=e.attrsList;for(t=0,n=c.length;t<n;t++)if(i=r=c[t].name,o=c[t].value,ja.test(i))if(e.hasBindings=!0,(a=Xa(i.replace(ja,"")))&&(i=i.replace(Fa,"")),Ra.test(i))i=i.replace(Ra,""),o=rr(o),(l=Da.test(i))&&(i=i.slice(1,-1)),0===o.trim().length&&xa('The value for a v-bind expression cannot be empty. Found in "v-bind:'+i+'"'),a&&(a.prop&&!l&&"innerHtml"===(i=C(i))&&(i="innerHTML"),a.camel&&!l&&(i=C(i)),a.sync&&(s=_r(o,"$event"),l?fr(e,'"update:"+('+i+")",s,null,!1,xa,c[t],!0):(fr(e,"update:"+C(i),s,null,!1,xa,c[t]),O(i)!==C(i)&&fr(e,"update:"+O(i),s,null,!1,xa,c[t])))),a&&a.prop||!e.component&&Oa(e.tag,e.attrsMap.type,i)?lr(e,i,o,c[t],l):cr(e,i,o,c[t],l);else if(Pa.test(i))i=i.replace(Pa,""),(l=Da.test(i))&&(i=i.slice(1,-1)),fr(e,i,o,a,!1,xa,c[t],l);else{var u=(i=i.replace(ja,"")).match(qa),d=u&&u[1];l=!1,d&&(i=i.slice(0,-(d.length+1)),Da.test(d)&&(d=d.slice(1,-1),l=!0)),dr(e,i,r,o,d,l,a,c[t]),"model"===i&&ts(e,o)}else{var p=Qo(o,ka);p&&xa(i+'="'+o+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div id="{{ val }}">, use <div :id="val">.',c[t]),cr(e,i,JSON.stringify(o),c[t]),!e.component&&"muted"===i&&Oa(e.tag,e.attrsMap.type,i)&&lr(e,i,"true",c[t])}}(e),e}function Ka(e){var t;if(t=gr(e,"v-for")){var n=function(e){var t=e.match(Na);if(!t)return;var n={};n.for=t[2].trim();var i=t[1].trim().replace(La,""),r=i.match($a);r?(n.alias=i.replace($a,"").trim(),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=i;return n}(t);n?P(e,n):xa("Invalid v-for expression: "+t,e.rawAttrsMap["v-for"])}}function Qa(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Ja(e){var t=e.name.replace(Ia,"");return t||("#"!==e.name[0]?t="default":xa("v-slot shorthand syntax requires a slot name.",e)),Da.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function Xa(e){var t=e.match(Fa);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}var Za=/^xmlns:NS\d+/,es=/^NS\d+:/;function ts(e,t){for(var n=e;n;)n.for&&n.alias===t&&xa("<"+e.tag+' v-model="'+t+'">: You are binding v-model directly to a v-for iteration alias. This will not be able to modify the v-for source array because writing to the alias is like modifying a function local variable. Consider using an array of objects and use v-model on an object property instead.',e.rawAttrsMap["v-model"]),n=n.parent}function ns(e){return Wa(e.tag,e.attrsList.slice(),e.parent)}var is=[Jo,Zo,{preTransformNode:function(e,t){if("input"===e.tag){var n,i=e.attrsMap;if(!i["v-model"])return;if((i[":type"]||i["v-bind:type"])&&(n=mr(e,"type")),i.type||n||!i["v-bind"]||(n="("+i["v-bind"]+").type"),n){var r=gr(e,"v-if",!0),o=r?"&&("+r+")":"",a=null!=gr(e,"v-else",!0),s=gr(e,"v-else-if",!0),l=ns(e);Ka(l),ur(l,"type","checkbox"),Ga(l,t),l.processed=!0,l.if="("+n+")==='checkbox'"+o,Qa(l,{exp:l.if,block:l});var c=ns(e);gr(c,"v-for",!0),ur(c,"type","radio"),Ga(c,t),Qa(l,{exp:"("+n+")==='radio'"+o,block:c});var u=ns(e);return gr(u,"v-for",!0),ur(u,":type",n),Ga(u,t),Qa(l,{exp:r,block:u}),a?l.else=!0:s&&(l.elseif=s),l}}}}];var rs,os,as={expectHTML:!0,modules:is,directives:{model:function(e,t,n){tr=n;var i=t.value,r=t.modifiers,o=e.tag,a=e.attrsMap.type;if("input"===o&&"file"===a&&tr("<"+e.tag+' v-model="'+i+'" type="file">:\nFile inputs are read only. Use a v-on:change listener instead.',e.rawAttrsMap["v-model"]),e.component)return yr(e,i,r),!1;if("select"===o)!function(e,t,n){var i='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";i=i+" "+_r(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),fr(e,"change",i,null,!0)}(e,i,r);else if("input"===o&&"checkbox"===a)!function(e,t,n){var i=n&&n.number,r=mr(e,"value")||"null",o=mr(e,"true-value")||"true",a=mr(e,"false-value")||"false";lr(e,"checked","Array.isArray("+t+")?_i("+t+","+r+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),fr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+_r(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+_r(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+_r(t,"$$c")+"}",null,!0)}(e,i,r);else if("input"===o&&"radio"===a)!function(e,t,n){var i=n&&n.number,r=mr(e,"value")||"null";lr(e,"checked","_q("+t+","+(r=i?"_n("+r+")":r)+")"),fr(e,"change",_r(t,r),null,!0)}(e,i,r);else if("input"===o||"textarea"===o)!function(e,t,n){var i=e.attrsMap.type,r=e.attrsMap["v-bind:value"]||e.attrsMap[":value"],o=e.attrsMap["v-bind:type"]||e.attrsMap[":type"];if(r&&!o){var a=e.attrsMap["v-bind:value"]?"v-bind:value":":value";tr(a+'="'+r+'" conflicts with v-model on the same element because the latter already expands to a value binding internally',e.rawAttrsMap[a])}var s=n||{},l=s.lazy,c=s.number,u=s.trim,d=!l&&"range"!==i,p=l?"change":"range"===i?Mr:"input",f="$event.target.value";u&&(f="$event.target.value.trim()"),c&&(f="_n("+f+")");var h=_r(t,f);d&&(h="if($event.target.composing)return;"+h),lr(e,"value","("+t+")"),fr(e,p,h,null,!0),(u||c)&&fr(e,"blur","$forceUpdate()")}(e,i,r);else{if(!z.isReservedTag(o))return yr(e,i,r),!1;tr("<"+e.tag+' v-model="'+i+"\">: v-model is not supported on this element type. If you are working with contenteditable, it's recommended to wrap a library dedicated for that purpose inside a custom component.",e.rawAttrsMap["v-model"])}return!0},text:function(e,t){t.value&&lr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&lr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:ta,mustUseProp:ci,canBeLeftOpenTag:na,isReservedTag:Ci,getTagNamespace:Si,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(is)},ss=k(function(e){return v("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function ls(e,t){e&&(rs=ss(t.staticKeys||""),os=t.isReservedTag||$,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||b(e.tag)||!os(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(rs)))}(t);if(1===t.type){if(!os(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,i=t.children.length;n<i;n++){var r=t.children[n];e(r),r.static||(t.static=!1)}if(t.ifConditions)for(var o=1,a=t.ifConditions.length;o<a;o++){var s=t.ifConditions[o].block;e(s),s.static||(t.static=!1)}}}(e),function e(t,n){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=n),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var i=0,r=t.children.length;i<r;i++)e(t.children[i],n||!!t.for);if(t.ifConditions)for(var o=1,a=t.ifConditions.length;o<a;o++)e(t.ifConditions[o].block,n)}}(e,!1))}var cs=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,us=/\([^)]*?\);*$/,ds=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ps={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},fs={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},hs=function(e){return"if("+e+")return null;"},ms={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:hs("$event.target !== $event.currentTarget"),ctrl:hs("!$event.ctrlKey"),shift:hs("!$event.shiftKey"),alt:hs("!$event.altKey"),meta:hs("!$event.metaKey"),left:hs("'button' in $event && $event.button !== 0"),middle:hs("'button' in $event && $event.button !== 1"),right:hs("'button' in $event && $event.button !== 2")};function gs(e,t){var n=t?"nativeOn:":"on:",i="",r="";for(var o in e){var a=vs(e[o]);e[o]&&e[o].dynamic?r+=o+","+a+",":i+='"'+o+'":'+a+","}return i="{"+i.slice(0,-1)+"}",r?n+"_d("+i+",["+r.slice(0,-1)+"])":n+i}function vs(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return vs(e)}).join(",")+"]";var t=ds.test(e.value),n=cs.test(e.value),i=ds.test(e.value.replace(us,""));if(e.modifiers){var r="",o="",a=[];for(var s in e.modifiers)if(ms[s])o+=ms[s],ps[s]&&a.push(s);else if("exact"===s){var l=e.modifiers;o+=hs(["ctrl","shift","alt","meta"].filter(function(e){return!l[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(r+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(bs).join("&&")+")return null;"}(a)),o&&(r+=o),"function($event){"+r+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":i?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(i?"return "+e.value:e.value)+"}"}function bs(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=ps[e],i=fs[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}var ys={on:function(e,t){t.modifiers&&pe("v-on without argument does not support modifiers."),e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:N},_s=function(e){this.options=e,this.warn=e.warn||ar,this.transforms=sr(e.modules,"transformCode"),this.dataGenFns=sr(e.modules,"genData"),this.directives=P(P({},ys),e.directives);var t=e.isReservedTag||$;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function ws(e,t){var n=new _s(t);return{render:"with(this){return "+(e?xs(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function xs(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return ks(e,t);if(e.once&&!e.onceProcessed)return As(e,t);if(e.for&&!e.forProcessed)return Ss(e,t);if(e.if&&!e.ifProcessed)return Cs(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',i=Es(e,t),r="_t("+n+(i?","+i:""),o=e.attrs||e.dynamicAttrs?Ns((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:C(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];!o&&!a||i||(r+=",null");o&&(r+=","+o);a&&(r+=(o?"":",null")+","+a);return r+")"}(e,t);var n;if(e.component)n=function(e,t,n){var i=t.inlineTemplate?null:Es(t,n,!0);return"_c("+e+","+Ms(t,n)+(i?","+i:"")+")"}(e.component,e,t);else{var i;(!e.plain||e.pre&&t.maybeComponent(e))&&(i=Ms(e,t));var r=e.inlineTemplate?null:Es(e,t,!0);n="_c('"+e.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var o=0;o<t.transforms.length;o++)n=t.transforms[o](e,n);return n}return Es(e,t)||"void 0"}function ks(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+xs(e,t)+"}"),t.pre=n,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function As(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Cs(e,t);if(e.staticInFor){for(var n="",i=e.parent;i;){if(i.for){n=i.key;break}i=i.parent}return n?"_o("+xs(e,t)+","+t.onceId+++","+n+")":(t.warn("v-once can only be used inside v-for that is keyed. ",e.rawAttrsMap["v-once"]),xs(e,t))}return ks(e,t)}function Cs(e,t,n,i){return e.ifProcessed=!0,function e(t,n,i,r){if(!t.length)return r||"_e()";var o=t.shift();return o.exp?"("+o.exp+")?"+a(o.block)+":"+e(t,n,i,r):""+a(o.block);function a(e){return i?i(e,n):e.once?As(e,n):xs(e,n)}}(e.ifConditions.slice(),t,n,i)}function Ss(e,t,n,i){var r=e.for,o=e.alias,a=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return t.maybeComponent(e)&&"slot"!==e.tag&&"template"!==e.tag&&!e.key&&t.warn("<"+e.tag+' v-for="'+o+" in "+r+'">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.',e.rawAttrsMap["v-for"],!0),e.forProcessed=!0,(i||"_l")+"(("+r+"),function("+o+a+s+"){return "+(n||xs)(e,t)+"})"}function Ms(e,t){var n="{",i=function(e,t){var n=e.directives;if(!n)return;var i,r,o,a,s="directives:[",l=!1;for(i=0,r=n.length;i<r;i++){o=n[i],a=!0;var c=t.directives[o.name];c&&(a=!!c(e,o,t.warn)),a&&(l=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?",arg:"+(o.isDynamicArg?o.arg:'"'+o.arg+'"'):"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}if(l)return s.slice(0,-1)+"]"}(e,t);i&&(n+=i+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var r=0;r<t.dataGenFns.length;r++)n+=t.dataGenFns[r](e);if(e.attrs&&(n+="attrs:"+Ns(e.attrs)+","),e.props&&(n+="domProps:"+Ns(e.props)+","),e.events&&(n+=gs(e.events,!1)+","),e.nativeEvents&&(n+=gs(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=function(e,t,n){var i=e.for||Object.keys(t).some(function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||Os(n)}),r=!!e.if;if(!i)for(var o=e.parent;o;){if(o.slotScope&&o.slotScope!==Va||o.for){i=!0;break}o.if&&(r=!0),o=o.parent}var a=Object.keys(t).map(function(e){return Ts(t[e],n)}).join(",");return"scopedSlots:_u(["+a+"]"+(i?",null,true":"")+(!i&&r?",null,false,"+function(e){var t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return t>>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];1===e.children.length&&1===n.type||t.warn("Inline-template components must have exactly one child element.",{start:e.start});if(n&&1===n.type){var i=ws(n,t.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Ns(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Os(e){return 1===e.type&&("slot"===e.tag||e.children.some(Os))}function Ts(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Cs(e,t,Ts,"null");if(e.for&&!e.forProcessed)return Ss(e,t,Ts);var i=e.slotScope===Va?"":String(e.slotScope),r="function("+i+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Es(e,t)||"undefined")+":undefined":Es(e,t)||"undefined":xs(e,t))+"}",o=i?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+r+o+"}"}function Es(e,t,n,i,r){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(i||xs)(a,t)+s}var l=n?function(e,t){for(var n=0,i=0;i<e.length;i++){var r=e[i];if(1===r.type){if(Ps(r)||r.ifConditions&&r.ifConditions.some(function(e){return Ps(e.block)})){n=2;break}(t(r)||r.ifConditions&&r.ifConditions.some(function(e){return t(e.block)}))&&(n=1)}}return n}(o,t.maybeComponent):0,c=r||js;return"["+o.map(function(e){return c(e,t)}).join(",")+"]"+(l?","+l:"")}}function Ps(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function js(e,t){return 1===e.type?xs(e,t):3===e.type&&e.isComment?(i=e,"_e("+JSON.stringify(i.text)+")"):"_v("+(2===(n=e).type?n.expression:$s(JSON.stringify(n.text)))+")";var n,i}function Ns(e){for(var t="",n="",i=0;i<e.length;i++){var r=e[i],o=$s(r.value);r.dynamic?n+=r.name+","+o+",":t+='"'+r.name+'":'+o+","}return t="{"+t.slice(0,-1)+"}",n?"_d("+t+",["+n.slice(0,-1)+"])":t}function $s(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}var Ls=new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),Ds=new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),qs=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function Rs(e,t){e&&function e(t,n){if(1===t.type){for(var i in t.attrsMap)if(ja.test(i)){var r=t.attrsMap[i];if(r){var o=t.rawAttrsMap[i];"v-for"===i?Is(t,'v-for="'+r+'"',n,o):"v-slot"===i||"#"===i[0]?Hs(r,i+'="'+r+'"',n,o):Pa.test(i)?Fs(r,i+'="'+r+'"',n,o):zs(r,i+'="'+r+'"',n,o)}}if(t.children)for(var a=0;a<t.children.length;a++)e(t.children[a],n)}else 2===t.type&&zs(t.expression,t.text,n,t)}(e,t)}function Fs(e,t,n,i){var r=e.replace(qs,""),o=r.match(Ds);o&&"$"!==r.charAt(o.index-1)&&n('avoid using JavaScript unary operator as property name: "'+o[0]+'" in expression '+t.trim(),i),zs(e,t,n,i)}function Is(e,t,n,i){zs(e.for||"",t,n,i),Bs(e.alias,"v-for alias",t,n,i),Bs(e.iterator1,"v-for iterator",t,n,i),Bs(e.iterator2,"v-for iterator",t,n,i)}function Bs(e,t,n,i,r){if("string"==typeof e)try{new Function("var "+e+"=_")}catch(o){i("invalid "+t+' "'+e+'" in expression: '+n.trim(),r)}}function zs(e,t,n,i){try{new Function("return "+e)}catch(o){var r=e.replace(qs,"").match(Ls);n(r?'avoid using JavaScript keyword as property name: "'+r[0]+'"\n Raw expression: '+t.trim():"invalid expression: "+o.message+" in\n\n "+e+"\n\n Raw expression: "+t.trim()+"\n",i)}}function Hs(e,t,n,i){try{new Function(e,"")}catch(r){n("invalid function parameter expression: "+r.message+" in\n\n "+e+"\n\n Raw expression: "+t.trim()+"\n",i)}}var Us=2;function Vs(e,t){var n="";if(t>0)for(;1&t&&(n+=e),!((t>>>=1)<=0);)e+=e;return n}function Ws(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),N}}function Ys(e){var t=Object.create(null);return function(n,i,r){var o=(i=P({},i)).warn||pe;delete i.warn;try{new Function("return 1")}catch(e){e.toString().match(/unsafe-eval|CSP/)&&o("It seems you are using the standalone build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. The template compiler cannot work in this environment. Consider relaxing the policy to allow unsafe-eval or pre-compiling your templates into render functions.")}var a=i.delimiters?String(i.delimiters)+n:n;if(t[a])return t[a];var s=e(n,i);s.errors&&s.errors.length&&(i.outputSourceRange?s.errors.forEach(function(e){o("Error compiling template:\n\n"+e.msg+"\n\n"+function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var i=e.split(/\r?\n/),r=0,o=[],a=0;a<i.length;a++)if((r+=i[a].length+1)>=t){for(var s=a-Us;s<=a+Us||n>r;s++)if(!(s<0||s>=i.length)){o.push(""+(s+1)+Vs(" ",3-String(s+1).length)+"| "+i[s]);var l=i[s].length;if(s===a){var c=t-(r-l)+1,u=n>r?l-c:n-t;o.push(" | "+Vs(" ",c)+Vs("^",u))}else if(s>a){if(n>r){var d=Math.min(n-r,l);o.push(" | "+Vs("^",d))}r+=l+1}}break}return o.join("\n")}(n,e.start,e.end),r)}):o("Error compiling template:\n\n"+n+"\n\n"+s.errors.map(function(e){return"- "+e}).join("\n")+"\n",r)),s.tips&&s.tips.length&&(i.outputSourceRange?s.tips.forEach(function(e){return fe(e.msg,r)}):s.tips.forEach(function(e){return fe(e,r)}));var l={},c=[];return l.render=Ws(s.render,c),l.staticRenderFns=s.staticRenderFns.map(function(e){return Ws(e,c)}),s.errors&&s.errors.length||!c.length||o("Failed to generate render function:\n\n"+c.map(function(e){var t=e.err,n=e.code;return t.toString()+" in\n\n"+n+"\n"}).join("\n"),r),t[a]=l}}var Gs,Ks,Qs=(Gs=function(e,t){var n=Ya(e.trim(),t);!1!==t.optimize&&ls(n,t);var i=ws(n,t);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}},function(e){function t(t,n){var i=Object.create(e),r=[],o=[],a=function(e,t,n){(n?o:r).push(e)};if(n){if(n.outputSourceRange){var s=t.match(/^\s*/)[0].length;a=function(e,t,n){var i={msg:e};t&&(null!=t.start&&(i.start=t.start+s),null!=t.end&&(i.end=t.end+s)),(n?o:r).push(i)}}for(var l in n.modules&&(i.modules=(e.modules||[]).concat(n.modules)),n.directives&&(i.directives=P(Object.create(e.directives||null),n.directives)),n)"modules"!==l&&"directives"!==l&&(i[l]=n[l])}i.warn=a;var c=Gs(t.trim(),i);return Rs(c.ast,a),c.errors=r,c.tips=o,c}return{compile:t,compileToFunctions:Ys(t)}})(as),Js=(Qs.compile,Qs.compileToFunctions);function Xs(e){return(Ks=Ks||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Ks.innerHTML.indexOf(" ")>0}var Zs=!!K&&Xs(!1),el=!!K&&Xs(!0),tl=k(function(e){var t=Ti(e);return t&&t.innerHTML}),nl=Zn.prototype.$mount;Zn.prototype.$mount=function(e,t){if((e=e&&Ti(e))===document.body||e===document.documentElement)return pe("Do not mount Vue to <html> or <body> - mount to normal elements instead."),this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&((i=tl(i))||pe("Template element not found or is empty: "+n.template,this));else{if(!i.nodeType)return pe("invalid template option:"+i,this),this;i=i.innerHTML}else e&&(i=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(i){z.performance&&st&&st("compile");var r=Js(i,{outputSourceRange:!0,shouldDecodeNewlines:Zs,shouldDecodeNewlinesForHref:el,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a,z.performance&&st&&(st("compile end"),lt("vue "+this._name+" compile","compile","compile end"))}}return nl.call(this,e,t)},Zn.compile=Js,t.exports=Zn}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{timers:148}],156:[function(e,t,n){t.exports=e("./vue.common.prod.js")},{"./vue.common.dev.js":155,"./vue.common.prod.js":157}],157:[function(e,t,n){(function(e,n){"use strict";var i=Object.freeze({});function r(e){return null==e}function o(e){return null!=e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function d(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function h(e){var t=parseFloat(e);return isNaN(t)?e:t}function m(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var g=m("slot,component",!0),v=m("key,ref,slot,slot-scope,is");function b(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function _(e,t){return y.call(e,t)}function w(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var x=/-(\w)/g,k=w(function(e){return e.replace(x,function(e,t){return t?t.toUpperCase():""})}),A=w(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),C=/\B([A-Z])/g,S=w(function(e){return e.replace(C,"-$1").toLowerCase()}),M=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function O(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function T(e,t){for(var n in t)e[n]=t[n];return e}function E(e){for(var t={},n=0;n<e.length;n++)e[n]&&T(t,e[n]);return t}function P(e,t,n){}var j=function(e,t,n){return!1},N=function(e){return e};function $(e,t){if(e===t)return!0;var n=l(e),i=l(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var r=Array.isArray(e),o=Array.isArray(t);if(r&&o)return e.length===t.length&&e.every(function(e,n){return $(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(r||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return $(e[n],t[n])})}catch(e){return!1}}function L(e,t){for(var n=0;n<e.length;n++)if($(e[n],t))return n;return-1}function D(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var q="data-server-rendered",R=["component","directive","filter"],F=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],I={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:j,isReservedAttr:j,isUnknownElement:j,getTagNamespace:P,parsePlatformTagName:N,mustUseProp:j,async:!0,_lifecycleHooks:F},B=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function z(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var H,U=new RegExp("[^"+B.source+".$_\\d]"),V="__proto__"in{},W="undefined"!=typeof window,Y="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,G=Y&&WXEnvironment.platform.toLowerCase(),K=W&&window.navigator.userAgent.toLowerCase(),Q=K&&/msie|trident/.test(K),J=K&&K.indexOf("msie 9.0")>0,X=K&&K.indexOf("edge/")>0,Z=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===G),ee=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),K&&K.match(/firefox\/(\d+)/)),te={}.watch,ne=!1;if(W)try{var ie={};Object.defineProperty(ie,"passive",{get:function(){ne=!0}}),window.addEventListener("test-passive",null,ie)}catch(i){}var re=function(){return void 0===H&&(H=!W&&!Y&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),H},oe=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ae(e){return"function"==typeof e&&/native code/.test(e.toString())}var se,le="undefined"!=typeof Symbol&&ae(Symbol)&&"undefined"!=typeof Reflect&&ae(Reflect.ownKeys);se="undefined"!=typeof Set&&ae(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ce=P,ue=0,de=function(){this.id=ue++,this.subs=[]};de.prototype.addSub=function(e){this.subs.push(e)},de.prototype.removeSub=function(e){b(this.subs,e)},de.prototype.depend=function(){de.target&&de.target.addDep(this)},de.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},de.target=null;var pe=[];function fe(e){pe.push(e),de.target=e}function he(){pe.pop(),de.target=pe[pe.length-1]}var me=function(e,t,n,i,r,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ge={child:{configurable:!0}};ge.child.get=function(){return this.componentInstance},Object.defineProperties(me.prototype,ge);var ve=function(e){void 0===e&&(e="");var t=new me;return t.text=e,t.isComment=!0,t};function be(e){return new me(void 0,void 0,void 0,String(e))}function ye(e){var t=new me(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var _e=Array.prototype,we=Object.create(_e);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=_e[e];z(we,e,function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var r,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&a.observeArray(r),a.dep.notify(),o})});var xe=Object.getOwnPropertyNames(we),ke=!0;function Ae(e){ke=e}var Ce=function(e){var t;this.value=e,this.dep=new de,this.vmCount=0,z(e,"__ob__",this),Array.isArray(e)?(V?(t=we,e.__proto__=t):function(e,t,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];z(e,o,t[o])}}(e,we,xe),this.observeArray(e)):this.walk(e)};function Se(e,t){var n;if(l(e)&&!(e instanceof me))return _(e,"__ob__")&&e.__ob__ instanceof Ce?n=e.__ob__:ke&&!re()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ce(e)),t&&n&&n.vmCount++,n}function Me(e,t,n,i,r){var o=new de,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!r&&Se(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return de.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,i=0,r=t.length;i<r;i++)(n=t[i])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var i=s?s.call(e):n;t===i||t!=t&&i!=i||s&&!l||(l?l.call(e,t):n=t,c=!r&&Se(t),o.notify())}})}}function Oe(e,t,n){if(Array.isArray(e)&&d(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var i=e.__ob__;return e._isVue||i&&i.vmCount?n:i?(Me(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function Te(e,t){if(Array.isArray(e)&&d(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||_(e,t)&&(delete e[t],n&&n.dep.notify())}}Ce.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Me(e,t[n])},Ce.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Se(e[t])};var Ee=I.optionMergeStrategies;function Pe(e,t){if(!t)return e;for(var n,i,r,o=le?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(i=e[n],r=t[n],_(e,n)?i!==r&&u(i)&&u(r)&&Pe(i,r):Oe(e,n,r));return e}function je(e,t,n){return n?function(){var i="function"==typeof t?t.call(n,n):t,r="function"==typeof e?e.call(n,n):e;return i?Pe(i,r):r}:t?e?function(){return Pe("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Ne(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function $e(e,t,n,i){var r=Object.create(e||null);return t?T(r,t):r}Ee.data=function(e,t,n){return n?je(e,t,n):t&&"function"!=typeof t?e:je(e,t)},F.forEach(function(e){Ee[e]=Ne}),R.forEach(function(e){Ee[e+"s"]=$e}),Ee.watch=function(e,t,n,i){if(e===te&&(e=void 0),t===te&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var r={};for(var o in T(r,e),t){var a=r[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),r[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return r},Ee.props=Ee.methods=Ee.inject=Ee.computed=function(e,t,n,i){if(!e)return t;var r=Object.create(null);return T(r,e),t&&T(r,t),r},Ee.provide=je;var Le=function(e,t){return void 0===t?e:t};function De(e,t,n){if("function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var i,r,o={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(r=n[i])&&(o[k(r)]={type:null});else if(u(n))for(var a in n)r=n[a],o[k(a)]=u(r)?r:{type:r};e.props=o}}(t),function(e,t){var n=e.inject;if(n){var i=e.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)i[n[r]]={from:n[r]};else if(u(n))for(var o in n){var a=n[o];i[o]=u(a)?T({from:o},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"function"==typeof i&&(t[n]={bind:i,update:i})}}(t),!t._base&&(t.extends&&(e=De(e,t.extends,n)),t.mixins))for(var i=0,r=t.mixins.length;i<r;i++)e=De(e,t.mixins[i],n);var o,a={};for(o in e)s(o);for(o in t)_(e,o)||s(o);function s(i){var r=Ee[i]||Le;a[i]=r(e[i],t[i],n,i)}return a}function qe(e,t,n,i){if("string"==typeof n){var r=e[t];if(_(r,n))return r[n];var o=k(n);if(_(r,o))return r[o];var a=A(o);return _(r,a)?r[a]:r[n]||r[o]||r[a]}}function Re(e,t,n,i){var r=t[e],o=!_(n,e),a=n[e],s=Be(Boolean,r.type);if(s>-1)if(o&&!_(r,"default"))a=!1;else if(""===a||a===S(e)){var l=Be(String,r.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(_(t,"default")){var i=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof i&&"Function"!==Fe(t.type)?i.call(e):i}}(i,r,e);var c=ke;Ae(!0),Se(a),Ae(c)}return a}function Fe(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Ie(e,t){return Fe(e)===Fe(t)}function Be(e,t){if(!Array.isArray(t))return Ie(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(Ie(t[n],e))return n;return-1}function ze(e,t,n){fe();try{if(t)for(var i=t;i=i.$parent;){var r=i.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{if(!1===r[o].call(i,e,t,n))return}catch(e){Ue(e,i,"errorCaptured hook")}}Ue(e,t,n)}finally{he()}}function He(e,t,n,i,r){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&p(o)&&!o._handled&&(o.catch(function(e){return ze(e,i,r+" (Promise/async)")}),o._handled=!0)}catch(e){ze(e,i,r)}return o}function Ue(e,t,n){if(I.errorHandler)try{return I.errorHandler.call(null,e,t,n)}catch(t){t!==e&&Ve(t,null,"config.errorHandler")}Ve(e,t,n)}function Ve(e,t,n){if(!W&&!Y||"undefined"==typeof console)throw e;console.error(e)}var We,Ye=!1,Ge=[],Ke=!1;function Qe(){Ke=!1;var e=Ge.slice(0);Ge.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&ae(Promise)){var Je=Promise.resolve();We=function(){Je.then(Qe),Z&&setTimeout(P)},Ye=!0}else if(Q||"undefined"==typeof MutationObserver||!ae(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())We=void 0!==n&&ae(n)?function(){n(Qe)}:function(){setTimeout(Qe,0)};else{var Xe=1,Ze=new MutationObserver(Qe),et=document.createTextNode(String(Xe));Ze.observe(et,{characterData:!0}),We=function(){Xe=(Xe+1)%2,et.data=String(Xe)},Ye=!0}function tt(e,t){var n;if(Ge.push(function(){if(e)try{e.call(t)}catch(e){ze(e,t,"nextTick")}else n&&n(t)}),Ke||(Ke=!0,We()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var nt=new se;function it(e){!function e(t,n){var i,r,o=Array.isArray(t);if(!(!o&&!l(t)||Object.isFrozen(t)||t instanceof me)){if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(i=t.length;i--;)e(t[i],n);else for(i=(r=Object.keys(t)).length;i--;)e(t[r[i]],n)}}(e,nt),nt.clear()}var rt=w(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),i="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=i?e.slice(1):e,once:n,capture:i,passive:t}});function ot(e,t){function n(){var e=arguments,i=n.fns;if(!Array.isArray(i))return He(i,null,arguments,t,"v-on handler");for(var r=i.slice(),o=0;o<r.length;o++)He(r[o],null,e,t,"v-on handler")}return n.fns=e,n}function at(e,t,n,i,o,s){var l,c,u,d;for(l in e)c=e[l],u=t[l],d=rt(l),r(c)||(r(u)?(r(c.fns)&&(c=e[l]=ot(c,s)),a(d.once)&&(c=e[l]=o(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u));for(l in t)r(e[l])&&i((d=rt(l)).name,t[l],d.capture)}function st(e,t,n){var i;e instanceof me&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function l(){n.apply(this,arguments),b(i.fns,l)}r(s)?i=ot([l]):o(s.fns)&&a(s.merged)?(i=s).fns.push(l):i=ot([s,l]),i.merged=!0,e[t]=i}function lt(e,t,n,i,r){if(o(t)){if(_(t,n))return e[n]=t[n],r||delete t[n],!0;if(_(t,i))return e[n]=t[i],r||delete t[i],!0}return!1}function ct(e){return s(e)?[be(e)]:Array.isArray(e)?function e(t,n){var i,l,c,u,d=[];for(i=0;i<t.length;i++)r(l=t[i])||"boolean"==typeof l||(u=d[c=d.length-1],Array.isArray(l)?l.length>0&&(ut((l=e(l,(n||"")+"_"+i))[0])&&ut(u)&&(d[c]=be(u.text+l[0].text),l.shift()),d.push.apply(d,l)):s(l)?ut(u)?d[c]=be(u.text+l):""!==l&&d.push(be(l)):ut(l)&&ut(u)?d[c]=be(u.text+l.text):(a(t._isVList)&&o(l.tag)&&r(l.key)&&o(n)&&(l.key="__vlist"+n+"_"+i+"__"),d.push(l)));return d}(e):void 0}function ut(e){return o(e)&&o(e.text)&&!1===e.isComment}function dt(e,t){if(e){for(var n=Object.create(null),i=le?Reflect.ownKeys(e):Object.keys(e),r=0;r<i.length;r++){var o=i[r];if("__ob__"!==o){for(var a=e[o].from,s=t;s;){if(s._provided&&_(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s&&"default"in e[o]){var l=e[o].default;n[o]="function"==typeof l?l.call(t):l}}}return n}}function pt(e,t){if(!e||!e.length)return{};for(var n={},i=0,r=e.length;i<r;i++){var o=e[i],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var c in n)n[c].every(ft)&&delete n[c];return n}function ft(e){return e.isComment&&!e.asyncFactory||" "===e.text}function ht(e,t,n){var r,o=Object.keys(t).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==i&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var l in r={},e)e[l]&&"$"!==l[0]&&(r[l]=mt(t,l,e[l]))}else r={};for(var c in t)c in r||(r[c]=gt(t,c));return e&&Object.isExtensible(e)&&(e._normalized=r),z(r,"$stable",a),z(r,"$key",s),z(r,"$hasNormal",o),r}function mt(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ct(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function gt(e,t){return function(){return e[t]}}function vt(e,t){var n,i,r,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,r=e.length;i<r;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(l(e))if(le&&e[Symbol.iterator]){n=[];for(var c=e[Symbol.iterator](),u=c.next();!u.done;)n.push(t(u.value,n.length)),u=c.next()}else for(a=Object.keys(e),n=new Array(a.length),i=0,r=a.length;i<r;i++)s=a[i],n[i]=t(e[s],s,i);return o(n)||(n=[]),n._isVList=!0,n}function bt(e,t,n,i){var r,o=this.$scopedSlots[e];o?(n=n||{},i&&(n=T(T({},i),n)),r=o(n)||t):r=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function yt(e){return qe(this.$options,"filters",e)||N}function _t(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function wt(e,t,n,i,r){var o=I.keyCodes[t]||n;return r&&i&&!I.keyCodes[t]?_t(r,i):o?_t(o,e):i?S(i)!==t:void 0}function xt(e,t,n,i,r){if(n&&l(n)){var o;Array.isArray(n)&&(n=E(n));var a=function(a){if("class"===a||"style"===a||v(a))o=e;else{var s=e.attrs&&e.attrs.type;o=i||I.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=k(a),c=S(a);l in o||c in o||(o[a]=n[a],r&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var s in n)a(s)}return e}function kt(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t?i:(Ct(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i)}function At(e,t,n){return Ct(e,"__once__"+t+(n?"_"+n:""),!0),e}function Ct(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&St(e[i],t+"_"+i,n);else St(e,t,n)}function St(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Mt(e,t){if(t&&u(t)){var n=e.on=e.on?T({},e.on):{};for(var i in t){var r=n[i],o=t[i];n[i]=r?[].concat(r,o):o}}return e}function Ot(e,t,n,i){t=t||{$stable:!n};for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?Ot(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return i&&(t.$key=i),t}function Tt(e,t){for(var n=0;n<t.length;n+=2){var i=t[n];"string"==typeof i&&i&&(e[t[n]]=t[n+1])}return e}function Et(e,t){return"string"==typeof e?t+e:e}function Pt(e){e._o=At,e._n=h,e._s=f,e._l=vt,e._t=bt,e._q=$,e._i=L,e._m=kt,e._f=yt,e._k=wt,e._b=xt,e._v=be,e._e=ve,e._u=Ot,e._g=Mt,e._d=Tt,e._p=Et}function jt(e,t,n,r,o){var s,l=this,c=o.options;_(r,"_uid")?(s=Object.create(r))._original=r:(s=r,r=r._original);var u=a(c._compiled),d=!u;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||i,this.injections=dt(c.inject,r),this.slots=function(){return l.$slots||ht(e.scopedSlots,l.$slots=pt(n,r)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return ht(e.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=ht(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,i){var o=Bt(s,e,t,n,i,d);return o&&!Array.isArray(o)&&(o.fnScopeId=c._scopeId,o.fnContext=r),o}:this._c=function(e,t,n,i){return Bt(s,e,t,n,i,d)}}function Nt(e,t,n,i,r){var o=ye(e);return o.fnContext=n,o.fnOptions=i,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function $t(e,t){for(var n in t)e[k(n)]=t[n]}Pt(jt.prototype);var Lt={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Lt.prepatch(n,n)}else(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:Jt},i=e.data.inlineTemplate;return o(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new e.componentOptions.Ctor(n)}(e)).$mount(t?e.elm:void 0,t)},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,o){var a=r.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==i&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),c=!!(o||e.$options._renderChildren||l);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o,e.$attrs=r.data.attrs||i,e.$listeners=n||i,t&&e.$options.props){Ae(!1);for(var u=e._props,d=e.$options._propKeys||[],p=0;p<d.length;p++){var f=d[p],h=e.$options.props;u[f]=Re(f,h,t,e)}Ae(!0),e.$options.propsData=t}n=n||i;var m=e.$options._parentListeners;e.$options._parentListeners=n,Qt(e,n,m),c&&(e.$slots=pt(o,r.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,i=e.componentInstance;i._isMounted||(i._isMounted=!0,tn(i,"mounted")),e.data.keepAlive&&(n._isMounted?((t=i)._inactive=!1,rn.push(t)):en(i,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(!(n&&(t._directInactive=!0,Zt(t))||t._inactive)){t._inactive=!0;for(var i=0;i<t.$children.length;i++)e(t.$children[i]);tn(t,"deactivated")}}(t,!0):t.$destroy())}},Dt=Object.keys(Lt);function qt(e,t,n,s,c){if(!r(e)){var u=n.$options._base;if(l(e)&&(e=u.extend(e)),"function"==typeof e){var d;if(r(e.cid)&&void 0===(e=function(e,t){if(a(e.error)&&o(e.errorComp))return e.errorComp;if(o(e.resolved))return e.resolved;var n=Ht;if(n&&o(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),a(e.loading)&&o(e.loadingComp))return e.loadingComp;if(n&&!o(e.owners)){var i=e.owners=[n],s=!0,c=null,u=null;n.$on("hook:destroyed",function(){return b(i,n)});var d=function(e){for(var t=0,n=i.length;t<n;t++)i[t].$forceUpdate();e&&(i.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},f=D(function(n){e.resolved=Ut(n,t),s?i.length=0:d(!0)}),h=D(function(t){o(e.errorComp)&&(e.error=!0,d(!0))}),m=e(f,h);return l(m)&&(p(m)?r(e.resolved)&&m.then(f,h):p(m.component)&&(m.component.then(f,h),o(m.error)&&(e.errorComp=Ut(m.error,t)),o(m.loading)&&(e.loadingComp=Ut(m.loading,t),0===m.delay?e.loading=!0:c=setTimeout(function(){c=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,d(!1))},m.delay||200)),o(m.timeout)&&(u=setTimeout(function(){u=null,r(e.resolved)&&h(null)},m.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}(d=e,u)))return function(e,t,n,i,r){var o=ve();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:i,tag:r},o}(d,t,n,s,c);t=t||{},kn(e),o(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var r=t.on||(t.on={}),a=r[i],s=t.model.callback;o(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(r[i]=[s].concat(a)):r[i]=s}(e.options,t);var f=function(e,t,n){var i=t.options.props;if(!r(i)){var a={},s=e.attrs,l=e.props;if(o(s)||o(l))for(var c in i){var u=S(c);lt(a,l,c,u,!0)||lt(a,s,c,u,!1)}return a}}(t,e);if(a(e.options.functional))return function(e,t,n,r,a){var s=e.options,l={},c=s.props;if(o(c))for(var u in c)l[u]=Re(u,c,t||i);else o(n.attrs)&&$t(l,n.attrs),o(n.props)&&$t(l,n.props);var d=new jt(n,l,a,r,e),p=s.render.call(null,d._c,d);if(p instanceof me)return Nt(p,n,d.parent,s);if(Array.isArray(p)){for(var f=ct(p)||[],h=new Array(f.length),m=0;m<f.length;m++)h[m]=Nt(f[m],n,d.parent,s);return h}}(e,f,t,n,s);var h=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var m=t.slot;t={},m&&(t.slot=m)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<Dt.length;n++){var i=Dt[n],r=t[i],o=Lt[i];r===o||r&&r._merged||(t[i]=r?Rt(o,r):o)}}(t);var g=e.options.name||c;return new me("vue-component-"+e.cid+(g?"-"+g:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:h,tag:c,children:s},d)}}}function Rt(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}var Ft=1,It=2;function Bt(e,t,n,i,c,u){return(Array.isArray(n)||s(n))&&(c=i,i=n,n=void 0),a(u)&&(c=It),function(e,t,n,i,s){if(o(n)&&o(n.__ob__))return ve();if(o(n)&&o(n.is)&&(t=n.is),!t)return ve();var c,u,d;(Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0),s===It?i=ct(i):s===Ft&&(i=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(i)),"string"==typeof t)?(u=e.$vnode&&e.$vnode.ns||I.getTagNamespace(t),c=I.isReservedTag(t)?new me(I.parsePlatformTagName(t),n,i,void 0,void 0,e):n&&n.pre||!o(d=qe(e.$options,"components",t))?new me(t,n,i,void 0,void 0,e):qt(d,n,e,i,t)):c=qt(t,n,e,i);return Array.isArray(c)?c:o(c)?(o(u)&&function e(t,n,i){if(t.ns=n,"foreignObject"===t.tag&&(n=void 0,i=!0),o(t.children))for(var s=0,l=t.children.length;s<l;s++){var c=t.children[s];o(c.tag)&&(r(c.ns)||a(i)&&"svg"!==c.tag)&&e(c,n,i)}}(c,u),o(n)&&function(e){l(e.style)&&it(e.style),l(e.class)&&it(e.class)}(n),c):ve()}(e,t,n,i,c)}var zt,Ht=null;function Ut(e,t){return(e.__esModule||le&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function Vt(e){return e.isComment&&e.asyncFactory}function Wt(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(o(n)&&(o(n.componentOptions)||Vt(n)))return n}}function Yt(e,t){zt.$on(e,t)}function Gt(e,t){zt.$off(e,t)}function Kt(e,t){var n=zt;return function i(){null!==t.apply(null,arguments)&&n.$off(e,i)}}function Qt(e,t,n){zt=e,at(t,n||{},Yt,Gt,Kt,e),zt=void 0}var Jt=null;function Xt(e){var t=Jt;return Jt=e,function(){Jt=t}}function Zt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function en(e,t){if(t){if(e._directInactive=!1,Zt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)en(e.$children[n]);tn(e,"activated")}}function tn(e,t){fe();var n=e.$options[t],i=t+" hook";if(n)for(var r=0,o=n.length;r<o;r++)He(n[r],e,null,e,i);e._hasHookEvent&&e.$emit("hook:"+t),he()}var nn=[],rn=[],on={},an=!1,sn=!1,ln=0,cn=0,un=Date.now;if(W&&!Q){var dn=window.performance;dn&&"function"==typeof dn.now&&un()>document.createEvent("Event").timeStamp&&(un=function(){return dn.now()})}function pn(){var e,t;for(cn=un(),sn=!0,nn.sort(function(e,t){return e.id-t.id}),ln=0;ln<nn.length;ln++)(e=nn[ln]).before&&e.before(),t=e.id,on[t]=null,e.run();var n=rn.slice(),i=nn.slice();ln=nn.length=rn.length=0,on={},an=sn=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,en(e[t],!0)}(n),function(e){for(var t=e.length;t--;){var n=e[t],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&tn(i,"updated")}}(i),oe&&I.devtools&&oe.emit("flush")}var fn=0,hn=function(e,t,n,i,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++fn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new se,this.newDepIds=new se,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!U.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=P)),this.value=this.lazy?void 0:this.get()};hn.prototype.get=function(){var e;fe(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;ze(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&it(e),he(),this.cleanupDeps()}return e},hn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},hn.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},hn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==on[t]){if(on[t]=!0,sn){for(var n=nn.length-1;n>ln&&nn[n].id>e.id;)n--;nn.splice(n+1,0,e)}else nn.push(e);an||(an=!0,tt(pn))}}(this)},hn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){ze(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},hn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},hn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},hn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var mn={enumerable:!0,configurable:!0,get:P,set:P};function gn(e,t,n){mn.get=function(){return this[t][n]},mn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,mn)}var vn={lazy:!0};function bn(e,t,n){var i=!re();"function"==typeof n?(mn.get=i?yn(t):_n(n),mn.set=P):(mn.get=n.get?i&&!1!==n.cache?yn(t):_n(n.get):P,mn.set=n.set||P),Object.defineProperty(e,t,mn)}function yn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),de.target&&t.depend(),t.value}}function _n(e){return function(){return e.call(this,this)}}function wn(e,t,n,i){return u(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}var xn=0;function kn(e){var t=e.options;if(e.super){var n=kn(e.super);if(n!==e.superOptions){e.superOptions=n;var i=function(e){var t,n=e.options,i=e.sealedOptions;for(var r in n)n[r]!==i[r]&&(t||(t={}),t[r]=n[r]);return t}(e);i&&T(e.extendOptions,i),(t=e.options=De(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function An(e){this._init(e)}function Cn(e){return e&&(e.Ctor.options.name||e.tag)}function Sn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===c.call(n)&&e.test(t));var n}function Mn(e,t){var n=e.cache,i=e.keys,r=e._vnode;for(var o in n){var a=n[o];if(a){var s=Cn(a.componentOptions);s&&!t(s)&&On(n,o,i,r)}}}function On(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,b(n,t)}An.prototype._init=function(e){var t=this;t._uid=xn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),i=t._parentVnode;n.parent=t.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=De(kn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Qt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=pt(t._renderChildren,r),e.$scopedSlots=i,e._c=function(t,n,i,r){return Bt(e,t,n,i,r,!1)},e.$createElement=function(t,n,i,r){return Bt(e,t,n,i,r,!0)};var o=n&&n.data;Me(e,"$attrs",o&&o.attrs||i,null,!0),Me(e,"$listeners",t._parentListeners||i,null,!0)}(t),tn(t,"beforeCreate"),function(e){var t=dt(e.$options.inject,e);t&&(Ae(!1),Object.keys(t).forEach(function(n){Me(e,n,t[n])}),Ae(!0))}(t),function(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},i=e._props={},r=e.$options._propKeys=[];e.$parent&&Ae(!1);var o=function(o){r.push(o);var a=Re(o,t,n,e);Me(i,o,a),o in e||gn(e,"_props",o)};for(var a in t)o(a);Ae(!0)}(e,t.props),t.methods&&function(e,t){for(var n in e.$options.props,t)e[n]="function"!=typeof t[n]?P:M(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){fe();try{return e.call(t,t)}catch(e){return ze(e,t,"data()"),{}}finally{he()}}(t,e):t||{})||(t={});for(var n,i=Object.keys(t),r=e.$options.props,o=(e.$options.methods,i.length);o--;){var a=i[o];r&&_(r,a)||36!==(n=(a+"").charCodeAt(0))&&95!==n&&gn(e,"_data",a)}Se(t,!0)}(e):Se(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),i=re();for(var r in t){var o=t[r],a="function"==typeof o?o:o.get;i||(n[r]=new hn(e,a||P,P,vn)),r in e||bn(e,r,o)}}(e,t.computed),t.watch&&t.watch!==te&&function(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)wn(e,n,i[r]);else wn(e,n,i)}}(e,t.watch)}(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),tn(t,"created"),t.$options.el&&t.$mount(t.$options.el)},function(e){Object.defineProperty(e.prototype,"$data",{get:function(){return this._data}}),Object.defineProperty(e.prototype,"$props",{get:function(){return this._props}}),e.prototype.$set=Oe,e.prototype.$delete=Te,e.prototype.$watch=function(e,t,n){if(u(t))return wn(this,e,t,n);(n=n||{}).user=!0;var i=new hn(this,e,t,n);if(n.immediate)try{t.call(this,i.value)}catch(e){ze(e,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(An),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var i=this;if(Array.isArray(e))for(var r=0,o=e.length;r<o;r++)i.$on(e[r],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var n=this;function i(){n.$off(e,i),t.apply(n,arguments)}return i.fn=t,n.$on(e,i),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var i=0,r=e.length;i<r;i++)n.$off(e[i],t);return n}var o,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((o=a[s])===t||o.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this._events[e];if(t){t=t.length>1?O(t):t;for(var n=O(arguments,1),i='event handler for "'+e+'"',r=0,o=t.length;r<o;r++)He(t[r],this,n,this,i)}return this}}(An),function(e){e.prototype._update=function(e,t){var n=this,i=n.$el,r=n._vnode,o=Xt(n);n._vnode=e,n.$el=r?n.__patch__(r,e):n.__patch__(n.$el,e,t,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){tn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||b(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),tn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(An),function(e){Pt(e.prototype),e.prototype.$nextTick=function(e){return tt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,r=n._parentVnode;r&&(t.$scopedSlots=ht(r.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=r;try{Ht=t,e=i.call(t._renderProxy,t.$createElement)}catch(n){ze(n,t,"render"),e=t._vnode}finally{Ht=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof me||(e=ve()),e.parent=r,e}}(An);var Tn=[String,RegExp,Array],En={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Tn,exclude:Tn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)On(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){Mn(e,function(e){return Sn(t,e)})}),this.$watch("exclude",function(t){Mn(e,function(e){return!Sn(t,e)})})},render:function(){var e=this.$slots.default,t=Wt(e),n=t&&t.componentOptions;if(n){var i=Cn(n),r=this.include,o=this.exclude;if(r&&(!i||!Sn(r,i))||o&&i&&Sn(o,i))return t;var a=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,b(s,l),s.push(l)):(a[l]=t,s.push(l),this.max&&s.length>parseInt(this.max)&&On(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return I}};Object.defineProperty(e,"config",t),e.util={warn:ce,extend:T,mergeOptions:De,defineReactive:Me},e.set=Oe,e.delete=Te,e.nextTick=tt,e.observable=function(e){return Se(e),e},e.options=Object.create(null),R.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,T(e.options.components,En),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=O(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=De(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,r=e._Ctor||(e._Ctor={});if(r[i])return r[i];var o=e.name||n.options.name,a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=De(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)gn(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)bn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,R.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=T({},a.options),r[i]=a,a}}(e),function(e){R.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(An),Object.defineProperty(An.prototype,"$isServer",{get:re}),Object.defineProperty(An.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(An,"FunctionalRenderContext",{value:jt}),An.version="2.6.11";var Pn=m("style,class"),jn=m("input,textarea,option,select,progress"),Nn=function(e,t,n){return"value"===n&&jn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},$n=m("contenteditable,draggable,spellcheck"),Ln=m("events,caret,typing,plaintext-only"),Dn=function(e,t){return Bn(t)||"false"===t?"false":"contenteditable"===e&&Ln(t)?t:"true"},qn=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Rn="http://www.w3.org/1999/xlink",Fn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},In=function(e){return Fn(e)?e.slice(6,e.length):""},Bn=function(e){return null==e||!1===e};function zn(e,t){return{staticClass:Hn(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function Hn(e,t){return e?t?e+" "+t:e:t||""}function Un(e){return Array.isArray(e)?function(e){for(var t,n="",i=0,r=e.length;i<r;i++)o(t=Un(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):l(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Vn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Wn=m("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Yn=m("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Gn=function(e){return Wn(e)||Yn(e)};function Kn(e){return Yn(e)?"svg":"math"===e?"math":void 0}var Qn=Object.create(null),Jn=m("text,number,password,search,email,tel,url");function Xn(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}var Zn=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(Vn[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),ei={create:function(e,t){ti(t)},update:function(e,t){e.data.ref!==t.data.ref&&(ti(e,!0),ti(t))},destroy:function(e){ti(e,!0)}};function ti(e,t){var n=e.data.ref;if(o(n)){var i=e.context,r=e.componentInstance||e.elm,a=i.$refs;t?Array.isArray(a[n])?b(a[n],r):a[n]===r&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(r)<0&&a[n].push(r):a[n]=[r]:a[n]=r}}var ni=new me("",{},[]),ii=["create","activate","update","remove","destroy"];function ri(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&o(e.data)===o(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,i=o(n=e.data)&&o(n=n.attrs)&&n.type,r=o(n=t.data)&&o(n=n.attrs)&&n.type;return i===r||Jn(i)&&Jn(r)}(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function oi(e,t,n){var i,r,a={};for(i=t;i<=n;++i)o(r=e[i].key)&&(a[r]=i);return a}var ai={create:si,update:si,destroy:function(e){si(e,ni)}};function si(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,i,r,o=e===ni,a=t===ni,s=ci(e.data.directives,e.context),l=ci(t.data.directives,t.context),c=[],u=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,di(r,"update",t,e),r.def&&r.def.componentUpdated&&u.push(r)):(di(r,"bind",t,e),r.def&&r.def.inserted&&c.push(r));if(c.length){var d=function(){for(var n=0;n<c.length;n++)di(c[n],"inserted",t,e)};o?st(t,"insert",d):d()}if(u.length&&st(t,"postpatch",function(){for(var n=0;n<u.length;n++)di(u[n],"componentUpdated",t,e)}),!o)for(n in s)l[n]||di(s[n],"unbind",e,e,a)}(e,t)}var li=Object.create(null);function ci(e,t){var n,i,r=Object.create(null);if(!e)return r;for(n=0;n<e.length;n++)(i=e[n]).modifiers||(i.modifiers=li),r[ui(i)]=i,i.def=qe(t.$options,"directives",i.name);return r}function ui(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function di(e,t,n,i,r){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,i,r)}catch(i){ze(i,n.context,"directive "+e.name+" "+t+" hook")}}var pi=[ei,ai];function fi(e,t){var n=t.componentOptions;if(!(o(n)&&!1===n.Ctor.options.inheritAttrs||r(e.data.attrs)&&r(t.data.attrs))){var i,a,s=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};for(i in o(c.__ob__)&&(c=t.data.attrs=T({},c)),c)a=c[i],l[i]!==a&&hi(s,i,a);for(i in(Q||X)&&c.value!==l.value&&hi(s,"value",c.value),l)r(c[i])&&(Fn(i)?s.removeAttributeNS(Rn,In(i)):$n(i)||s.removeAttribute(i))}}function hi(e,t,n){e.tagName.indexOf("-")>-1?mi(e,t,n):qn(t)?Bn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):$n(t)?e.setAttribute(t,Dn(t,n)):Fn(t)?Bn(n)?e.removeAttributeNS(Rn,In(t)):e.setAttributeNS(Rn,t,n):mi(e,t,n)}function mi(e,t,n){if(Bn(n))e.removeAttribute(t);else{if(Q&&!J&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var gi={create:fi,update:fi};function vi(e,t){var n=t.elm,i=t.data,a=e.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=function(e){for(var t=e.data,n=e,i=e;o(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=zn(i.data,t));for(;o(n=n.parent);)n&&n.data&&(t=zn(t,n.data));return function(e,t){return o(e)||o(t)?Hn(e,Un(t)):""}(t.staticClass,t.class)}(t),l=n._transitionClasses;o(l)&&(s=Hn(s,Un(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var bi,yi,_i,wi,xi,ki,Ai={create:vi,update:vi},Ci=/[\w).+\-_$\]]/;function Si(e){var t,n,i,r,o,a=!1,s=!1,l=!1,c=!1,u=0,d=0,p=0,f=0;for(i=0;i<e.length;i++)if(n=t,t=e.charCodeAt(i),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(l)96===t&&92!==n&&(l=!1);else if(c)47===t&&92!==n&&(c=!1);else if(124!==t||124===e.charCodeAt(i+1)||124===e.charCodeAt(i-1)||u||d||p){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:l=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--}if(47===t){for(var h=i-1,m=void 0;h>=0&&" "===(m=e.charAt(h));h--);m&&Ci.test(m)||(c=!0)}}else void 0===r?(f=i+1,r=e.slice(0,i).trim()):g();function g(){(o||(o=[])).push(e.slice(f,i).trim()),f=i+1}if(void 0===r?r=e.slice(0,i).trim():0!==f&&g(),o)for(i=0;i<o.length;i++)r=Mi(r,o[i]);return r}function Mi(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var i=t.slice(0,n),r=t.slice(n+1);return'_f("'+i+'")('+e+(")"!==r?","+r:r)}function Oi(e,t){console.error("[Vue compiler]: "+e)}function Ti(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function Ei(e,t,n,i,r){(e.props||(e.props=[])).push(Fi({name:t,value:n,dynamic:r},i)),e.plain=!1}function Pi(e,t,n,i,r){(r?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(Fi({name:t,value:n,dynamic:r},i)),e.plain=!1}function ji(e,t,n,i){e.attrsMap[t]=n,e.attrsList.push(Fi({name:t,value:n},i))}function Ni(e,t,n,i,r,o,a,s){(e.directives||(e.directives=[])).push(Fi({name:t,rawName:n,value:i,arg:r,isDynamicArg:o,modifiers:a},s)),e.plain=!1}function $i(e,t,n){return n?"_p("+t+',"'+e+'")':e+t}function Li(e,t,n,r,o,a,s,l){var c;(r=r||i).right?l?t="("+t+")==='click'?'contextmenu':("+t+")":"click"===t&&(t="contextmenu",delete r.right):r.middle&&(l?t="("+t+")==='click'?'mouseup':("+t+")":"click"===t&&(t="mouseup")),r.capture&&(delete r.capture,t=$i("!",t,l)),r.once&&(delete r.once,t=$i("~",t,l)),r.passive&&(delete r.passive,t=$i("&",t,l)),r.native?(delete r.native,c=e.nativeEvents||(e.nativeEvents={})):c=e.events||(e.events={});var u=Fi({value:n.trim(),dynamic:l},s);r!==i&&(u.modifiers=r);var d=c[t];Array.isArray(d)?o?d.unshift(u):d.push(u):c[t]=d?o?[u,d]:[d,u]:u,e.plain=!1}function Di(e,t,n){var i=qi(e,":"+t)||qi(e,"v-bind:"+t);if(null!=i)return Si(i);if(!1!==n){var r=qi(e,t);if(null!=r)return JSON.stringify(r)}}function qi(e,t,n){var i;if(null!=(i=e.attrsMap[t]))for(var r=e.attrsList,o=0,a=r.length;o<a;o++)if(r[o].name===t){r.splice(o,1);break}return n&&delete e.attrsMap[t],i}function Ri(e,t){for(var n=e.attrsList,i=0,r=n.length;i<r;i++){var o=n[i];if(t.test(o.name))return n.splice(i,1),o}}function Fi(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function Ii(e,t,n){var i=n||{},r=i.number,o="$$v";i.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),r&&(o="_n("+o+")");var a=Bi(t,o);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+a+"}"}}function Bi(e,t){var n=function(e){if(e=e.trim(),bi=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<bi-1)return(wi=e.lastIndexOf("."))>-1?{exp:e.slice(0,wi),key:'"'+e.slice(wi+1)+'"'}:{exp:e,key:null};for(yi=e,wi=xi=ki=0;!Hi();)Ui(_i=zi())?Wi(_i):91===_i&&Vi(_i);return{exp:e.slice(0,xi),key:e.slice(xi+1,ki)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function zi(){return yi.charCodeAt(++wi)}function Hi(){return wi>=bi}function Ui(e){return 34===e||39===e}function Vi(e){var t=1;for(xi=wi;!Hi();)if(Ui(e=zi()))Wi(e);else if(91===e&&t++,93===e&&t--,0===t){ki=wi;break}}function Wi(e){for(var t=e;!Hi()&&(e=zi())!==t;);}var Yi,Gi="__r",Ki="__c";function Qi(e,t,n){var i=Yi;return function r(){null!==t.apply(null,arguments)&&Zi(e,r,n,i)}}var Ji=Ye&&!(ee&&Number(ee[1])<=53);function Xi(e,t,n,i){if(Ji){var r=cn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=r||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Yi.addEventListener(e,t,ne?{capture:n,passive:i}:n)}function Zi(e,t,n,i){(i||Yi).removeEventListener(e,t._wrapper||t,n)}function er(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Yi=t.elm,function(e){if(o(e[Gi])){var t=Q?"change":"input";e[t]=[].concat(e[Gi],e[t]||[]),delete e[Gi]}o(e[Ki])&&(e.change=[].concat(e[Ki],e.change||[]),delete e[Ki])}(n),at(n,i,Xi,Zi,Qi,t.context),Yi=void 0}}var tr,nr={create:er,update:er};function ir(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,i,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in o(l.__ob__)&&(l=t.data.domProps=T({},l)),s)n in l||(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var c=r(i)?"":String(i);rr(a,c)&&(a.value=c)}else if("innerHTML"===n&&Yn(a.tagName)&&r(a.innerHTML)){(tr=tr||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var u=tr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(i!==s[n])try{a[n]=i}catch(e){}}}}function rr(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,i=e._vModifiers;if(o(i)){if(i.number)return h(n)!==h(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var or={create:ir,update:ir},ar=w(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var i=e.split(n);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t});function sr(e){var t=lr(e.style);return e.staticStyle?T(e.staticStyle,t):t}function lr(e){return Array.isArray(e)?E(e):"string"==typeof e?ar(e):e}var cr,ur=/^--/,dr=/\s*!important$/,pr=function(e,t,n){if(ur.test(t))e.style.setProperty(t,n);else if(dr.test(n))e.style.setProperty(S(t),n.replace(dr,""),"important");else{var i=hr(t);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)e.style[i]=n[r];else e.style[i]=n}},fr=["Webkit","Moz","ms"],hr=w(function(e){if(cr=cr||document.createElement("div").style,"filter"!==(e=k(e))&&e in cr)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<fr.length;n++){var i=fr[n]+t;if(i in cr)return i}});function mr(e,t){var n=t.data,i=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var a,s,l=t.elm,c=i.staticStyle,u=i.normalizedStyle||i.style||{},d=c||u,p=lr(t.data.style)||{};t.data.normalizedStyle=o(p.__ob__)?T({},p):p;var f=function(e,t){for(var n,i={},r=e;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=sr(r.data))&&T(i,n);(n=sr(e.data))&&T(i,n);for(var o=e;o=o.parent;)o.data&&(n=sr(o.data))&&T(i,n);return i}(t);for(s in d)r(f[s])&&pr(l,s,"");for(s in f)(a=f[s])!==d[s]&&pr(l,s,null==a?"":a)}}var gr={create:mr,update:mr},vr=/\s+/;function br(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(vr).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function yr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(vr).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function _r(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&T(t,wr(e.name||"v")),T(t,e),t}return"string"==typeof e?wr(e):void 0}}var wr=w(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),xr=W&&!J,kr="transition",Ar="animation",Cr="transition",Sr="transitionend",Mr="animation",Or="animationend";xr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Cr="WebkitTransition",Sr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Mr="WebkitAnimation",Or="webkitAnimationEnd"));var Tr=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Er(e){Tr(function(){Tr(e)})}function Pr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),br(e,t))}function jr(e,t){e._transitionClasses&&b(e._transitionClasses,t),yr(e,t)}function Nr(e,t,n){var i=Lr(e,t),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===kr?Sr:Or,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l<a&&c()},o+1),e.addEventListener(s,u)}var $r=/\b(transform|all)(,|$)/;function Lr(e,t){var n,i=window.getComputedStyle(e),r=(i[Cr+"Delay"]||"").split(", "),o=(i[Cr+"Duration"]||"").split(", "),a=Dr(r,o),s=(i[Mr+"Delay"]||"").split(", "),l=(i[Mr+"Duration"]||"").split(", "),c=Dr(s,l),u=0,d=0;return t===kr?a>0&&(n=kr,u=a,d=o.length):t===Ar?c>0&&(n=Ar,u=c,d=l.length):d=(n=(u=Math.max(a,c))>0?a>c?kr:Ar:null)?n===kr?o.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===kr&&$r.test(i[Cr+"Property"])}}function Dr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return qr(t)+qr(e[n])}))}function qr(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Rr(e,t){var n=e.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=_r(e.data.transition);if(!r(i)&&!o(n._enterCb)&&1===n.nodeType){for(var a=i.css,s=i.type,c=i.enterClass,u=i.enterToClass,d=i.enterActiveClass,p=i.appearClass,f=i.appearToClass,m=i.appearActiveClass,g=i.beforeEnter,v=i.enter,b=i.afterEnter,y=i.enterCancelled,_=i.beforeAppear,w=i.appear,x=i.afterAppear,k=i.appearCancelled,A=i.duration,C=Jt,S=Jt.$vnode;S&&S.parent;)C=S.context,S=S.parent;var M=!C._isMounted||!e.isRootInsert;if(!M||w||""===w){var O=M&&p?p:c,T=M&&m?m:d,E=M&&f?f:u,P=M&&_||g,j=M&&"function"==typeof w?w:v,N=M&&x||b,$=M&&k||y,L=h(l(A)?A.enter:A),q=!1!==a&&!J,R=Br(j),F=n._enterCb=D(function(){q&&(jr(n,E),jr(n,T)),F.cancelled?(q&&jr(n,O),$&&$(n)):N&&N(n),n._enterCb=null});e.data.show||st(e,"insert",function(){var t=n.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),j&&j(n,F)}),P&&P(n),q&&(Pr(n,O),Pr(n,T),Er(function(){jr(n,O),F.cancelled||(Pr(n,E),R||(Ir(L)?setTimeout(F,L):Nr(n,s,F)))})),e.data.show&&(t&&t(),j&&j(n,F)),q||R||F()}}}function Fr(e,t){var n=e.elm;o(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=_r(e.data.transition);if(r(i)||1!==n.nodeType)return t();if(!o(n._leaveCb)){var a=i.css,s=i.type,c=i.leaveClass,u=i.leaveToClass,d=i.leaveActiveClass,p=i.beforeLeave,f=i.leave,m=i.afterLeave,g=i.leaveCancelled,v=i.delayLeave,b=i.duration,y=!1!==a&&!J,_=Br(f),w=h(l(b)?b.leave:b),x=n._leaveCb=D(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),y&&(jr(n,u),jr(n,d)),x.cancelled?(y&&jr(n,c),g&&g(n)):(t(),m&&m(n)),n._leaveCb=null});v?v(k):k()}function k(){x.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),p&&p(n),y&&(Pr(n,c),Pr(n,d),Er(function(){jr(n,c),x.cancelled||(Pr(n,u),_||(Ir(w)?setTimeout(x,w):Nr(n,s,x)))})),f&&f(n,x),y||_||x())}}function Ir(e){return"number"==typeof e&&!isNaN(e)}function Br(e){if(r(e))return!1;var t=e.fns;return o(t)?Br(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function zr(e,t){!0!==t.data.show&&Rr(t)}var Hr=function(e){var t,n,i={},l=e.modules,c=e.nodeOps;for(t=0;t<ii.length;++t)for(i[ii[t]]=[],n=0;n<l.length;++n)o(l[n][ii[t]])&&i[ii[t]].push(l[n][ii[t]]);function u(e){var t=c.parentNode(e);o(t)&&c.removeChild(t,e)}function d(e,t,n,r,s,l,u){if(o(e.elm)&&o(l)&&(e=l[u]=ye(e)),e.isRootInsert=!s,!function(e,t,n,r){var s=e.data;if(o(s)){var l=o(e.componentInstance)&&s.keepAlive;if(o(s=s.hook)&&o(s=s.init)&&s(e,!1),o(e.componentInstance))return p(e,t),f(n,e.elm,r),a(l)&&function(e,t,n,r){for(var a,s=e;s.componentInstance;)if(o(a=(s=s.componentInstance._vnode).data)&&o(a=a.transition)){for(a=0;a<i.activate.length;++a)i.activate[a](ni,s);t.push(s);break}f(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var d=e.data,m=e.children,g=e.tag;o(g)?(e.elm=e.ns?c.createElementNS(e.ns,g):c.createElement(g,e),b(e),h(e,m,t),o(d)&&v(e,t),f(n,e.elm,r)):a(e.isComment)?(e.elm=c.createComment(e.text),f(n,e.elm,r)):(e.elm=c.createTextNode(e.text),f(n,e.elm,r))}}function p(e,t){o(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,g(e)?(v(e,t),b(e)):(ti(e),t.push(e))}function f(e,t,n){o(e)&&(o(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function h(e,t,n){if(Array.isArray(t))for(var i=0;i<t.length;++i)d(t[i],n,e.elm,null,!0,t,i);else s(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function g(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return o(e.tag)}function v(e,n){for(var r=0;r<i.create.length;++r)i.create[r](ni,e);o(t=e.data.hook)&&(o(t.create)&&t.create(ni,e),o(t.insert)&&n.push(e))}function b(e){var t;if(o(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)o(t=n.context)&&o(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;o(t=Jt)&&t!==e.context&&t!==e.fnContext&&o(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function y(e,t,n,i,r,o){for(;i<=r;++i)d(n[i],o,e,t,!1,n,i)}function _(e){var t,n,r=e.data;if(o(r))for(o(t=r.hook)&&o(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(o(t=e.children))for(n=0;n<e.children.length;++n)_(e.children[n])}function w(e,t,n){for(;t<=n;++t){var i=e[t];o(i)&&(o(i.tag)?(x(i),_(i)):u(i.elm))}}function x(e,t){if(o(t)||o(e.data)){var n,r=i.remove.length+1;for(o(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&u(e)}return n.listeners=t,n}(e.elm,r),o(n=e.componentInstance)&&o(n=n._vnode)&&o(n.data)&&x(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);o(n=e.data.hook)&&o(n=n.remove)?n(e,t):t()}else u(e.elm)}function k(e,t,n,i){for(var r=n;r<i;r++){var a=t[r];if(o(a)&&ri(e,a))return r}}function A(e,t,n,s,l,u){if(e!==t){o(t.elm)&&o(s)&&(t=s[l]=ye(t));var p=t.elm=e.elm;if(a(e.isAsyncPlaceholder))o(t.asyncFactory.resolved)?M(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(a(t.isStatic)&&a(e.isStatic)&&t.key===e.key&&(a(t.isCloned)||a(t.isOnce)))t.componentInstance=e.componentInstance;else{var f,h=t.data;o(h)&&o(f=h.hook)&&o(f=f.prepatch)&&f(e,t);var m=e.children,v=t.children;if(o(h)&&g(t)){for(f=0;f<i.update.length;++f)i.update[f](e,t);o(f=h.hook)&&o(f=f.update)&&f(e,t)}r(t.text)?o(m)&&o(v)?m!==v&&function(e,t,n,i,a){for(var s,l,u,p=0,f=0,h=t.length-1,m=t[0],g=t[h],v=n.length-1,b=n[0],_=n[v],x=!a;p<=h&&f<=v;)r(m)?m=t[++p]:r(g)?g=t[--h]:ri(m,b)?(A(m,b,i,n,f),m=t[++p],b=n[++f]):ri(g,_)?(A(g,_,i,n,v),g=t[--h],_=n[--v]):ri(m,_)?(A(m,_,i,n,v),x&&c.insertBefore(e,m.elm,c.nextSibling(g.elm)),m=t[++p],_=n[--v]):ri(g,b)?(A(g,b,i,n,f),x&&c.insertBefore(e,g.elm,m.elm),g=t[--h],b=n[++f]):(r(s)&&(s=oi(t,p,h)),r(l=o(b.key)?s[b.key]:k(b,t,p,h))?d(b,i,e,m.elm,!1,n,f):ri(u=t[l],b)?(A(u,b,i,n,f),t[l]=void 0,x&&c.insertBefore(e,u.elm,m.elm)):d(b,i,e,m.elm,!1,n,f),b=n[++f]);p>h?y(e,r(n[v+1])?null:n[v+1].elm,n,f,v,i):f>v&&w(t,p,h)}(p,m,v,n,u):o(v)?(o(e.text)&&c.setTextContent(p,""),y(p,null,v,0,v.length-1,n)):o(m)?w(m,0,m.length-1):o(e.text)&&c.setTextContent(p,""):e.text!==t.text&&c.setTextContent(p,t.text),o(h)&&o(f=h.hook)&&o(f=f.postpatch)&&f(e,t)}}}function C(e,t,n){if(a(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var S=m("attrs,class,staticClass,staticStyle,key");function M(e,t,n,i){var r,s=t.tag,l=t.data,c=t.children;if(i=i||l&&l.pre,t.elm=e,a(t.isComment)&&o(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(o(l)&&(o(r=l.hook)&&o(r=r.init)&&r(t,!0),o(r=t.componentInstance)))return p(t,n),!0;if(o(s)){if(o(c))if(e.hasChildNodes())if(o(r=l)&&o(r=r.domProps)&&o(r=r.innerHTML)){if(r!==e.innerHTML)return!1}else{for(var u=!0,d=e.firstChild,f=0;f<c.length;f++){if(!d||!M(d,c[f],n,i)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else h(t,c,n);if(o(l)){var m=!1;for(var g in l)if(!S(g)){m=!0,v(t,n);break}!m&&l.class&&it(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s){if(!r(t)){var l,u=!1,p=[];if(r(e))u=!0,d(t,p);else{var f=o(e.nodeType);if(!f&&ri(e,t))A(e,t,p,null,null,s);else{if(f){if(1===e.nodeType&&e.hasAttribute(q)&&(e.removeAttribute(q),n=!0),a(n)&&M(e,t,p))return C(t,p,!0),e;l=e,e=new me(c.tagName(l).toLowerCase(),{},[],void 0,l)}var h=e.elm,m=c.parentNode(h);if(d(t,p,h._leaveCb?null:m,c.nextSibling(h)),o(t.parent))for(var v=t.parent,b=g(t);v;){for(var y=0;y<i.destroy.length;++y)i.destroy[y](v);if(v.elm=t.elm,b){for(var x=0;x<i.create.length;++x)i.create[x](ni,v);var k=v.data.hook.insert;if(k.merged)for(var S=1;S<k.fns.length;S++)k.fns[S]()}else ti(v);v=v.parent}o(m)?w([e],0,0):o(e.tag)&&_(e)}}return C(t,p,u),t.elm}o(e)&&_(e)}}({nodeOps:Zn,modules:[gi,Ai,nr,or,gr,W?{create:zr,activate:zr,remove:function(e,t){!0!==e.data.show?Fr(e,t):t()}}:{}].concat(pi)});J&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Jr(e,"input")});var Ur={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?st(n,"postpatch",function(){Ur.componentUpdated(e,t,n)}):Vr(e,t,n.context),e._vOptions=[].map.call(e.options,Gr)):("textarea"===n.tag||Jn(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Kr),e.addEventListener("compositionend",Qr),e.addEventListener("change",Qr),J&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Vr(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,Gr);r.some(function(e,t){return!$(e,i[t])})&&(e.multiple?t.value.some(function(e){return Yr(e,r)}):t.value!==t.oldValue&&Yr(t.value,r))&&Jr(e,"change")}}};function Vr(e,t,n){Wr(e,t,n),(Q||X)&&setTimeout(function(){Wr(e,t,n)},0)}function Wr(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],r)o=L(i,Gr(a))>-1,a.selected!==o&&(a.selected=o);else if($(Gr(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));r||(e.selectedIndex=-1)}}function Yr(e,t){return t.every(function(t){return!$(t,e)})}function Gr(e){return"_value"in e?e._value:e.value}function Kr(e){e.target.composing=!0}function Qr(e){e.target.composing&&(e.target.composing=!1,Jr(e.target,"input"))}function Jr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Xr(e){return!e.componentInstance||e.data&&e.data.transition?e:Xr(e.componentInstance._vnode)}var Zr={model:Ur,show:{bind:function(e,t,n){var i=t.value,r=(n=Xr(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,Rr(n,function(){e.style.display=o})):e.style.display=i?o:"none"},update:function(e,t,n){var i=t.value;!i!=!t.oldValue&&((n=Xr(n)).data&&n.data.transition?(n.data.show=!0,i?Rr(n,function(){e.style.display=e.__vOriginalDisplay}):Fr(n,function(){e.style.display="none"})):e.style.display=i?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,i,r){r||(e.style.display=e.__vOriginalDisplay)}}},eo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function to(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?to(Wt(t.children)):e}function no(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var r=n._parentListeners;for(var o in r)t[k(o)]=r[o];return t}function io(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var ro=function(e){return e.tag||Vt(e)},oo=function(e){return"show"===e.name},ao={name:"transition",props:eo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(ro)).length){var i=this.mode,r=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return r;var o=to(r);if(!o)return r;if(this._leaving)return io(e,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=no(this),c=this._vnode,u=to(c);if(o.data.directives&&o.data.directives.some(oo)&&(o.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,u)&&!Vt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=T({},l);if("out-in"===i)return this._leaving=!0,st(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),io(e,r);if("in-out"===i){if(Vt(o))return c;var p,f=function(){p()};st(l,"afterEnter",f),st(l,"enterCancelled",f),st(d,"delayLeave",function(e){p=e})}}return r}}},so=T({tag:String,moveClass:String},eo);function lo(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function co(e){e.data.newPos=e.elm.getBoundingClientRect()}function uo(e){var t=e.data.pos,n=e.data.newPos,i=t.left-n.left,r=t.top-n.top;if(i||r){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete so.mode;var po={Transition:ao,TransitionGroup:{props:so,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=Xt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=no(this),s=0;s<r.length;s++){var l=r[s];l.tag&&null!=l.key&&0!==String(l.key).indexOf("__vlist")&&(o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a)}if(i){for(var c=[],u=[],d=0;d<i.length;d++){var p=i[d];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?c.push(p):u.push(p)}this.kept=e(t,null,c),this.removed=u}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(lo),e.forEach(co),e.forEach(uo),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,i=n.style;Pr(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Sr,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Sr,e),n._moveCb=null,jr(n,t))})}}))},methods:{hasMove:function(e,t){if(!xr)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){yr(n,e)}),br(n,t),n.style.display="none",this.$el.appendChild(n);var i=Lr(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};An.config.mustUseProp=Nn,An.config.isReservedTag=Gn,An.config.isReservedAttr=Pn,An.config.getTagNamespace=Kn,An.config.isUnknownElement=function(e){if(!W)return!0;if(Gn(e))return!1;if(e=e.toLowerCase(),null!=Qn[e])return Qn[e];var t=document.createElement(e);return e.indexOf("-")>-1?Qn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Qn[e]=/HTMLUnknownElement/.test(t.toString())},T(An.options.directives,Zr),T(An.options.components,po),An.prototype.__patch__=W?Hr:P,An.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=ve),tn(e,"beforeMount"),new hn(e,function(){e._update(e._render(),n)},P,{before:function(){e._isMounted&&!e._isDestroyed&&tn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,tn(e,"mounted")),e}(this,e=e&&W?Xn(e):void 0,t)},W&&setTimeout(function(){I.devtools&&oe&&oe.emit("init",An)},0);var fo,ho=/\{\{((?:.|\r?\n)+?)\}\}/g,mo=/[-.*+?^${}()|[\]\/\\]/g,go=w(function(e){var t=e[0].replace(mo,"\\$&"),n=e[1].replace(mo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),vo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=qi(e,"class");n&&(e.staticClass=JSON.stringify(n));var i=Di(e,"class",!1);i&&(e.classBinding=i)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},bo={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=qi(e,"style");n&&(e.staticStyle=JSON.stringify(ar(n)));var i=Di(e,"style",!1);i&&(e.styleBinding=i)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},yo=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),_o=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),wo=m("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),xo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ko=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ao="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+B.source+"]*",Co="((?:"+Ao+"\\:)?"+Ao+")",So=new RegExp("^<"+Co),Mo=/^\s*(\/?)>/,Oo=new RegExp("^<\\/"+Co+"[^>]*>"),To=/^<!DOCTYPE [^>]+>/i,Eo=/^<!\--/,Po=/^<!\[/,jo=m("script,style,textarea",!0),No={},$o={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},Lo=/&(?:lt|gt|quot|amp|#39);/g,Do=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,qo=m("pre,textarea",!0),Ro=function(e,t){return e&&qo(e)&&"\n"===t[0]};function Fo(e,t){var n=t?Do:Lo;return e.replace(n,function(e){return $o[e]})}var Io,Bo,zo,Ho,Uo,Vo,Wo,Yo,Go=/^@|^v-on:/,Ko=/^v-|^@|^:|^#/,Qo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Jo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Xo=/^\(|\)$/g,Zo=/^\[.*\]$/,ea=/:(.*)$/,ta=/^:|^\.|^v-bind:/,na=/\.[^.\]]+(?=[^\]]*$)/g,ia=/^v-slot(:|$)|^#/,ra=/[\r\n]/,oa=/\s+/g,aa=w(function(e){return(fo=fo||document.createElement("div")).innerHTML=e,fo.textContent}),sa="_empty_";function la(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,i=e.length;n<i;n++)t[e[n].name]=e[n].value;return t}(t),rawAttrsMap:{},parent:n,children:[]}}function ca(e,t){var n,i;(i=Di(n=e,"key"))&&(n.key=i),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=Di(e,"ref");t&&(e.ref=t,e.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?(t=qi(e,"scope"),e.slotScope=t||qi(e,"slot-scope")):(t=qi(e,"slot-scope"))&&(e.slotScope=t);var n=Di(e,"slot");if(n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||Pi(e,"slot",n,function(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}(e,"slot"))),"template"===e.tag){var i=Ri(e,ia);if(i){var r=pa(i),o=r.name,a=r.dynamic;e.slotTarget=o,e.slotTargetDynamic=a,e.slotScope=i.value||sa}}else{var s=Ri(e,ia);if(s){var l=e.scopedSlots||(e.scopedSlots={}),c=pa(s),u=c.name,d=c.dynamic,p=l[u]=la("template",[],e);p.slotTarget=u,p.slotTargetDynamic=d,p.children=e.children.filter(function(e){if(!e.slotScope)return e.parent=p,!0}),p.slotScope=s.value||sa,e.children=[],e.plain=!1}}}(e),function(e){"slot"===e.tag&&(e.slotName=Di(e,"name"))}(e),function(e){var t;(t=Di(e,"is"))&&(e.component=t),null!=qi(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var r=0;r<zo.length;r++)e=zo[r](e,t)||e;return function(e){var t,n,i,r,o,a,s,l,c=e.attrsList;for(t=0,n=c.length;t<n;t++)if(i=r=c[t].name,o=c[t].value,Ko.test(i))if(e.hasBindings=!0,(a=fa(i.replace(Ko,"")))&&(i=i.replace(na,"")),ta.test(i))i=i.replace(ta,""),o=Si(o),(l=Zo.test(i))&&(i=i.slice(1,-1)),a&&(a.prop&&!l&&"innerHtml"===(i=k(i))&&(i="innerHTML"),a.camel&&!l&&(i=k(i)),a.sync&&(s=Bi(o,"$event"),l?Li(e,'"update:"+('+i+")",s,null,!1,0,c[t],!0):(Li(e,"update:"+k(i),s,null,!1,0,c[t]),S(i)!==k(i)&&Li(e,"update:"+S(i),s,null,!1,0,c[t])))),a&&a.prop||!e.component&&Wo(e.tag,e.attrsMap.type,i)?Ei(e,i,o,c[t],l):Pi(e,i,o,c[t],l);else if(Go.test(i))i=i.replace(Go,""),(l=Zo.test(i))&&(i=i.slice(1,-1)),Li(e,i,o,a,!1,0,c[t],l);else{var u=(i=i.replace(Ko,"")).match(ea),d=u&&u[1];l=!1,d&&(i=i.slice(0,-(d.length+1)),Zo.test(d)&&(d=d.slice(1,-1),l=!0)),Ni(e,i,r,o,d,l,a,c[t])}else Pi(e,i,JSON.stringify(o),c[t]),!e.component&&"muted"===i&&Wo(e.tag,e.attrsMap.type,i)&&Ei(e,i,"true",c[t])}(e),e}function ua(e){var t;if(t=qi(e,"v-for")){var n=function(e){var t=e.match(Qo);if(t){var n={};n.for=t[2].trim();var i=t[1].trim().replace(Xo,""),r=i.match(Jo);return r?(n.alias=i.replace(Jo,"").trim(),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=i,n}}(t);n&&T(e,n)}}function da(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function pa(e){var t=e.name.replace(ia,"");return t||"#"!==e.name[0]&&(t="default"),Zo.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function fa(e){var t=e.match(na);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}var ha=/^xmlns:NS\d+/,ma=/^NS\d+:/;function ga(e){return la(e.tag,e.attrsList.slice(),e.parent)}var va,ba,ya=[vo,bo,{preTransformNode:function(e,t){if("input"===e.tag){var n,i=e.attrsMap;if(!i["v-model"])return;if((i[":type"]||i["v-bind:type"])&&(n=Di(e,"type")),i.type||n||!i["v-bind"]||(n="("+i["v-bind"]+").type"),n){var r=qi(e,"v-if",!0),o=r?"&&("+r+")":"",a=null!=qi(e,"v-else",!0),s=qi(e,"v-else-if",!0),l=ga(e);ua(l),ji(l,"type","checkbox"),ca(l,t),l.processed=!0,l.if="("+n+")==='checkbox'"+o,da(l,{exp:l.if,block:l});var c=ga(e);qi(c,"v-for",!0),ji(c,"type","radio"),ca(c,t),da(l,{exp:"("+n+")==='radio'"+o,block:c});var u=ga(e);return qi(u,"v-for",!0),ji(u,":type",n),ca(u,t),da(l,{exp:r,block:u}),a?l.else=!0:s&&(l.elseif=s),l}}}}],_a={expectHTML:!0,modules:ya,directives:{model:function(e,t,n){var i=t.value,r=t.modifiers,o=e.tag,a=e.attrsMap.type;if(e.component)return Ii(e,i,r),!1;if("select"===o)!function(e,t,n){var i='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r&&r.number?"_n(val)":"val")+"});";Li(e,"change",i=i+" "+Bi(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),null,!0)}(e,i);else if("input"===o&&"checkbox"===a)!function(e,t,n){var i=n&&n.number,r=Di(e,"value")||"null",o=Di(e,"true-value")||"true",a=Di(e,"false-value")||"false";Ei(e,"checked","Array.isArray("+t+")?_i("+t+","+r+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Li(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Bi(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Bi(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Bi(t,"$$c")+"}",null,!0)}(e,i,r);else if("input"===o&&"radio"===a)!function(e,t,n){var i=n&&n.number,r=Di(e,"value")||"null";Ei(e,"checked","_q("+t+","+(r=i?"_n("+r+")":r)+")"),Li(e,"change",Bi(t,r),null,!0)}(e,i,r);else if("input"===o||"textarea"===o)!function(e,t,n){var i=e.attrsMap.type,r=n||{},o=r.lazy,a=r.number,s=r.trim,l=!o&&"range"!==i,c=o?"change":"range"===i?Gi:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var d=Bi(t,u);l&&(d="if($event.target.composing)return;"+d),Ei(e,"value","("+t+")"),Li(e,c,d,null,!0),(s||a)&&Li(e,"blur","$forceUpdate()")}(e,i,r);else if(!I.isReservedTag(o))return Ii(e,i,r),!1;return!0},text:function(e,t){t.value&&Ei(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Ei(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:yo,mustUseProp:Nn,canBeLeftOpenTag:_o,isReservedTag:Gn,getTagNamespace:Kn,staticKeys:ya.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")},wa=w(function(e){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});var xa=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,ka=/\([^)]*?\);*$/,Aa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ca={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Sa={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Ma=function(e){return"if("+e+")return null;"},Oa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Ma("$event.target !== $event.currentTarget"),ctrl:Ma("!$event.ctrlKey"),shift:Ma("!$event.shiftKey"),alt:Ma("!$event.altKey"),meta:Ma("!$event.metaKey"),left:Ma("'button' in $event && $event.button !== 0"),middle:Ma("'button' in $event && $event.button !== 1"),right:Ma("'button' in $event && $event.button !== 2")};function Ta(e,t){var n=t?"nativeOn:":"on:",i="",r="";for(var o in e){var a=Ea(e[o]);e[o]&&e[o].dynamic?r+=o+","+a+",":i+='"'+o+'":'+a+","}return i="{"+i.slice(0,-1)+"}",r?n+"_d("+i+",["+r.slice(0,-1)+"])":n+i}function Ea(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Ea(e)}).join(",")+"]";var t=Aa.test(e.value),n=xa.test(e.value),i=Aa.test(e.value.replace(ka,""));if(e.modifiers){var r="",o="",a=[];for(var s in e.modifiers)if(Oa[s])o+=Oa[s],Ca[s]&&a.push(s);else if("exact"===s){var l=e.modifiers;o+=Ma(["ctrl","shift","alt","meta"].filter(function(e){return!l[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(r+="if(!$event.type.indexOf('key')&&"+a.map(Pa).join("&&")+")return null;"),o&&(r+=o),"function($event){"+r+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":i?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(i?"return "+e.value:e.value)+"}"}function Pa(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ca[e],i=Sa[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}var ja={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:P},Na=function(e){this.options=e,this.warn=e.warn||Oi,this.transforms=Ti(e.modules,"transformCode"),this.dataGenFns=Ti(e.modules,"genData"),this.directives=T(T({},ja),e.directives);var t=e.isReservedTag||j;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function $a(e,t){var n=new Na(t);return{render:"with(this){return "+(e?La(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function La(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Da(e,t);if(e.once&&!e.onceProcessed)return qa(e,t);if(e.for&&!e.forProcessed)return Fa(e,t);if(e.if&&!e.ifProcessed)return Ra(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',i=Ha(e,t),r="_t("+n+(i?","+i:""),o=e.attrs||e.dynamicAttrs?Wa((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:k(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];return!o&&!a||i||(r+=",null"),o&&(r+=","+o),a&&(r+=(o?"":",null")+","+a),r+")"}(e,t);var n;if(e.component)n=function(e,t,n){var i=t.inlineTemplate?null:Ha(t,n,!0);return"_c("+e+","+Ia(t,n)+(i?","+i:"")+")"}(e.component,e,t);else{var i;(!e.plain||e.pre&&t.maybeComponent(e))&&(i=Ia(e,t));var r=e.inlineTemplate?null:Ha(e,t,!0);n="_c('"+e.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var o=0;o<t.transforms.length;o++)n=t.transforms[o](e,n);return n}return Ha(e,t)||"void 0"}function Da(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+La(e,t)+"}"),t.pre=n,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function qa(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Ra(e,t);if(e.staticInFor){for(var n="",i=e.parent;i;){if(i.for){n=i.key;break}i=i.parent}return n?"_o("+La(e,t)+","+t.onceId+++","+n+")":La(e,t)}return Da(e,t)}function Ra(e,t,n,i){return e.ifProcessed=!0,function e(t,n,i,r){if(!t.length)return r||"_e()";var o=t.shift();return o.exp?"("+o.exp+")?"+a(o.block)+":"+e(t,n,i,r):""+a(o.block);function a(e){return i?i(e,n):e.once?qa(e,n):La(e,n)}}(e.ifConditions.slice(),t,n,i)}function Fa(e,t,n,i){var r=e.for,o=e.alias,a=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,(i||"_l")+"(("+r+"),function("+o+a+s+"){return "+(n||La)(e,t)+"})"}function Ia(e,t){var n="{",i=function(e,t){var n=e.directives;if(n){var i,r,o,a,s="directives:[",l=!1;for(i=0,r=n.length;i<r;i++){o=n[i],a=!0;var c=t.directives[o.name];c&&(a=!!c(e,o,t.warn)),a&&(l=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?",arg:"+(o.isDynamicArg?o.arg:'"'+o.arg+'"'):"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}return l?s.slice(0,-1)+"]":void 0}}(e,t);i&&(n+=i+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var r=0;r<t.dataGenFns.length;r++)n+=t.dataGenFns[r](e);if(e.attrs&&(n+="attrs:"+Wa(e.attrs)+","),e.props&&(n+="domProps:"+Wa(e.props)+","),e.events&&(n+=Ta(e.events,!1)+","),e.nativeEvents&&(n+=Ta(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=function(e,t,n){var i=e.for||Object.keys(t).some(function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||Ba(n)}),r=!!e.if;if(!i)for(var o=e.parent;o;){if(o.slotScope&&o.slotScope!==sa||o.for){i=!0;break}o.if&&(r=!0),o=o.parent}var a=Object.keys(t).map(function(e){return za(t[e],n)}).join(",");return"scopedSlots:_u(["+a+"]"+(i?",null,true":"")+(!i&&r?",null,false,"+function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];if(n&&1===n.type){var i=$a(n,t.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Wa(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ba(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ba))}function za(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Ra(e,t,za,"null");if(e.for&&!e.forProcessed)return Fa(e,t,za);var i=e.slotScope===sa?"":String(e.slotScope),r="function("+i+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Ha(e,t)||"undefined")+":undefined":Ha(e,t)||"undefined":La(e,t))+"}",o=i?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+r+o+"}"}function Ha(e,t,n,i,r){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(i||La)(a,t)+s}var l=n?function(e,t){for(var n=0,i=0;i<e.length;i++){var r=e[i];if(1===r.type){if(Ua(r)||r.ifConditions&&r.ifConditions.some(function(e){return Ua(e.block)})){n=2;break}(t(r)||r.ifConditions&&r.ifConditions.some(function(e){return t(e.block)}))&&(n=1)}}return n}(o,t.maybeComponent):0,c=r||Va;return"["+o.map(function(e){return c(e,t)}).join(",")+"]"+(l?","+l:"")}}function Ua(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function Va(e,t){return 1===e.type?La(e,t):3===e.type&&e.isComment?(i=e,"_e("+JSON.stringify(i.text)+")"):"_v("+(2===(n=e).type?n.expression:Ya(JSON.stringify(n.text)))+")";var n,i}function Wa(e){for(var t="",n="",i=0;i<e.length;i++){var r=e[i],o=Ya(r.value);r.dynamic?n+=r.name+","+o+",":t+='"'+r.name+'":'+o+","}return t="{"+t.slice(0,-1)+"}",n?"_d("+t+",["+n.slice(0,-1)+"])":t}function Ya(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function Ga(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),P}}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b");var Ka,Qa,Ja=(Ka=function(e,t){var n=function(e,t){Io=t.warn||Oi,Vo=t.isPreTag||j,Wo=t.mustUseProp||j,Yo=t.getTagNamespace||j,t.isReservedTag,zo=Ti(t.modules,"transformNode"),Ho=Ti(t.modules,"preTransformNode"),Uo=Ti(t.modules,"postTransformNode"),Bo=t.delimiters;var n,i,r=[],o=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,l=!1;function c(e){if(u(e),s||e.processed||(e=ca(e,t)),r.length||e===n||n.if&&(e.elseif||e.else)&&da(n,{exp:e.elseif,block:e}),i&&!e.forbidden)if(e.elseif||e.else)a=e,(c=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(i.children))&&c.if&&da(c,{exp:a.elseif,block:a});else{if(e.slotScope){var o=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[o]=e}i.children.push(e),e.parent=i}var a,c;e.children=e.children.filter(function(e){return!e.slotScope}),u(e),e.pre&&(s=!1),Vo(e.tag)&&(l=!1);for(var d=0;d<Uo.length;d++)Uo[d](e,t)}function u(e){if(!l)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return function(e,t){for(var n,i,r=[],o=t.expectHTML,a=t.isUnaryTag||j,s=t.canBeLeftOpenTag||j,l=0;e;){if(n=e,i&&jo(i)){var c=0,u=i.toLowerCase(),d=No[u]||(No[u]=new RegExp("([\\s\\S]*?)(</"+u+"[^>]*>)","i")),p=e.replace(d,function(e,n,i){return c=i.length,jo(u)||"noscript"===u||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Ro(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});l+=e.length-p.length,e=p,S(u,l-c,l)}else{var f=e.indexOf("<");if(0===f){if(Eo.test(e)){var h=e.indexOf("--\x3e");if(h>=0){t.shouldKeepComment&&t.comment(e.substring(4,h),l,l+h+3),k(h+3);continue}}if(Po.test(e)){var m=e.indexOf("]>");if(m>=0){k(m+2);continue}}var g=e.match(To);if(g){k(g[0].length);continue}var v=e.match(Oo);if(v){var b=l;k(v[0].length),S(v[1],b,l);continue}var y=A();if(y){C(y),Ro(y.tagName,e)&&k(1);continue}}var _=void 0,w=void 0,x=void 0;if(f>=0){for(w=e.slice(f);!(Oo.test(w)||So.test(w)||Eo.test(w)||Po.test(w)||(x=w.indexOf("<",1))<0);)f+=x,w=e.slice(f);_=e.substring(0,f)}f<0&&(_=e),_&&k(_.length),t.chars&&_&&t.chars(_,l-_.length,l)}if(e===n){t.chars&&t.chars(e);break}}function k(t){l+=t,e=e.substring(t)}function A(){var t=e.match(So);if(t){var n,i,r={tagName:t[1],attrs:[],start:l};for(k(t[0].length);!(n=e.match(Mo))&&(i=e.match(ko)||e.match(xo));)i.start=l,k(i[0].length),i.end=l,r.attrs.push(i);if(n)return r.unarySlash=n[1],k(n[0].length),r.end=l,r}}function C(e){var n=e.tagName,l=e.unarySlash;o&&("p"===i&&wo(n)&&S(i),s(n)&&i===n&&S(n));for(var c=a(n)||!!l,u=e.attrs.length,d=new Array(u),p=0;p<u;p++){var f=e.attrs[p],h=f[3]||f[4]||f[5]||"",m="a"===n&&"href"===f[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;d[p]={name:f[1],value:Fo(h,m)}}c||(r.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d,start:e.start,end:e.end}),i=n),t.start&&t.start(n,d,c,e.start,e.end)}function S(e,n,o){var a,s;if(null==n&&(n=l),null==o&&(o=l),e)for(s=e.toLowerCase(),a=r.length-1;a>=0&&r[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=r.length-1;c>=a;c--)t.end&&t.end(r[c].tag,n,o);r.length=a,i=a&&r[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}S()}(e,{warn:Io,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,u,d){var p=i&&i.ns||Yo(e);Q&&"svg"===p&&(o=function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];ha.test(i.name)||(i.name=i.name.replace(ma,""),t.push(i))}return t}(o));var f,h=la(e,o,i);p&&(h.ns=p),"style"!==(f=h).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||re()||(h.forbidden=!0);for(var m=0;m<Ho.length;m++)h=Ho[m](h,t)||h;s||(function(e){null!=qi(e,"v-pre")&&(e.pre=!0)}(h),h.pre&&(s=!0)),Vo(h.tag)&&(l=!0),s?function(e){var t=e.attrsList,n=t.length;if(n)for(var i=e.attrs=new Array(n),r=0;r<n;r++)i[r]={name:t[r].name,value:JSON.stringify(t[r].value)},null!=t[r].start&&(i[r].start=t[r].start,i[r].end=t[r].end);else e.pre||(e.plain=!0)}(h):h.processed||(ua(h),function(e){var t=qi(e,"v-if");if(t)e.if=t,da(e,{exp:t,block:e});else{null!=qi(e,"v-else")&&(e.else=!0);var n=qi(e,"v-else-if");n&&(e.elseif=n)}}(h),function(e){null!=qi(e,"v-once")&&(e.once=!0)}(h)),n||(n=h),a?c(h):(i=h,r.push(h))},end:function(e,t,n){var o=r[r.length-1];r.length-=1,i=r[r.length-1],c(o)},chars:function(e,t,n){if(i&&(!Q||"textarea"!==i.tag||i.attrsMap.placeholder!==e)){var r,c,u,d=i.children;(e=l||e.trim()?"script"===(r=i).tag||"style"===r.tag?e:aa(e):d.length?a?"condense"===a&&ra.test(e)?"":" ":o?" ":"":"")&&(l||"condense"!==a||(e=e.replace(oa," ")),!s&&" "!==e&&(c=function(e,t){var n=Bo?go(Bo):ho;if(n.test(e)){for(var i,r,o,a=[],s=[],l=n.lastIndex=0;i=n.exec(e);){(r=i.index)>l&&(s.push(o=e.slice(l,r)),a.push(JSON.stringify(o)));var c=Si(i[1].trim());a.push("_s("+c+")"),s.push({"@binding":c}),l=r+i[0].length}return l<e.length&&(s.push(o=e.slice(l)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}(e))?u={type:2,expression:c.expression,tokens:c.tokens,text:e}:" "===e&&d.length&&" "===d[d.length-1].text||(u={type:3,text:e}),u&&d.push(u))}},comment:function(e,t,n){if(i){var r={type:3,text:e,isComment:!0};i.children.push(r)}}}),n}(e.trim(),t);!1!==t.optimize&&function(e,t){e&&(va=wa(t.staticKeys||""),ba=t.isReservedTag||j,function e(t){if(t.static=function(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||g(e.tag)||!ba(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(va))))}(t),1===t.type){if(!ba(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,i=t.children.length;n<i;n++){var r=t.children[n];e(r),r.static||(t.static=!1)}if(t.ifConditions)for(var o=1,a=t.ifConditions.length;o<a;o++){var s=t.ifConditions[o].block;e(s),s.static||(t.static=!1)}}}(e),function e(t,n){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=n),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var i=0,r=t.children.length;i<r;i++)e(t.children[i],n||!!t.for);if(t.ifConditions)for(var o=1,a=t.ifConditions.length;o<a;o++)e(t.ifConditions[o].block,n)}}(e,!1))}(n,t);var i=$a(n,t);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}},function(e){function t(t,n){var i=Object.create(e),r=[],o=[];if(n)for(var a in n.modules&&(i.modules=(e.modules||[]).concat(n.modules)),n.directives&&(i.directives=T(Object.create(e.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(i[a]=n[a]);i.warn=function(e,t,n){(n?o:r).push(e)};var s=Ka(t.trim(),i);return s.errors=r,s.tips=o,s}return{compile:t,compileToFunctions:function(e){var t=Object.create(null);return function(n,i,r){(i=T({},i)).warn,delete i.warn;var o=i.delimiters?String(i.delimiters)+n:n;if(t[o])return t[o];var a=e(n,i),s={},l=[];return s.render=Ga(a.render,l),s.staticRenderFns=a.staticRenderFns.map(function(e){return Ga(e,l)}),t[o]=s}}(t)}})(_a),Xa=(Ja.compile,Ja.compileToFunctions);function Za(e){return(Qa=Qa||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Qa.innerHTML.indexOf(" ")>0}var es=!!W&&Za(!1),ts=!!W&&Za(!0),ns=w(function(e){var t=Xn(e);return t&&t.innerHTML}),is=An.prototype.$mount;An.prototype.$mount=function(e,t){if((e=e&&Xn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=ns(i));else{if(!i.nodeType)return this;i=i.innerHTML}else e&&(i=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(i){var r=Xa(i,{outputSourceRange:!1,shouldDecodeNewlines:es,shouldDecodeNewlinesForHref:ts,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return is.call(this,e,t)},An.compile=Xa,t.exports=An}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{timers:148}],158:[function(e,t,n){(function(e,n){"use strict";var i=Object.freeze({});function r(e){return null==e}function o(e){return null!=e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function u(e){return c.call(e).slice(8,-1)}function d(e){return"[object Object]"===c.call(e)}function p(e){return"[object RegExp]"===c.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function h(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function m(e){return null==e?"":Array.isArray(e)||d(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function g(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var b=v("slot,component",!0),y=v("key,ref,slot,slot-scope,is");function _(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var w=Object.prototype.hasOwnProperty;function x(e,t){return w.call(e,t)}function k(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var A=/-(\w)/g,C=k(function(e){return e.replace(A,function(e,t){return t?t.toUpperCase():""})}),S=k(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),M=/\B([A-Z])/g,O=k(function(e){return e.replace(M,"-$1").toLowerCase()});var T=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function E(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function P(e,t){for(var n in t)e[n]=t[n];return e}function j(e){for(var t={},n=0;n<e.length;n++)e[n]&&P(t,e[n]);return t}function N(e,t,n){}var $=function(e,t,n){return!1},L=function(e){return e};function D(e,t){if(e===t)return!0;var n=l(e),i=l(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var r=Array.isArray(e),o=Array.isArray(t);if(r&&o)return e.length===t.length&&e.every(function(e,n){return D(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(r||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return D(e[n],t[n])})}catch(e){return!1}}function q(e,t){for(var n=0;n<e.length;n++)if(D(e[n],t))return n;return-1}function R(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var F="data-server-rendered",I=["component","directive","filter"],B=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],z={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!0,devtools:!0,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:$,isReservedAttr:$,isUnknownElement:$,getTagNamespace:N,parsePlatformTagName:L,mustUseProp:$,async:!0,_lifecycleHooks:B},H=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function U(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function V(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var W=new RegExp("[^"+H.source+".$_\\d]");var Y,G="__proto__"in{},K="undefined"!=typeof window,Q="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,J=Q&&WXEnvironment.platform.toLowerCase(),X=K&&window.navigator.userAgent.toLowerCase(),Z=X&&/msie|trident/.test(X),ee=X&&X.indexOf("msie 9.0")>0,te=X&&X.indexOf("edge/")>0,ne=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===J),ie=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),re={}.watch,oe=!1;if(K)try{var ae={};Object.defineProperty(ae,"passive",{get:function(){oe=!0}}),window.addEventListener("test-passive",null,ae)}catch(e){}var se=function(){return void 0===Y&&(Y=!K&&!Q&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),Y},le=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"==typeof e&&/native code/.test(e.toString())}var ue,de="undefined"!=typeof Symbol&&ce(Symbol)&&"undefined"!=typeof Reflect&&ce(Reflect.ownKeys);ue="undefined"!=typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var pe=N,fe=N,he=N,me=N,ge="undefined"!=typeof console,ve=/(?:^|[-_])(\w)/g;pe=function(e,t){var n=t?he(t):"";z.warnHandler?z.warnHandler.call(null,e,t,n):ge&&!z.silent&&console.error("[Vue warn]: "+e+n)},fe=function(e,t){ge&&!z.silent&&console.warn("[Vue tip]: "+e+(t?he(t):""))},me=function(e,t){if(e.$root===e)return"<Root>";var n="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e,i=n.name||n._componentTag,r=n.__file;if(!i&&r){var o=r.match(/([^/\\]+)\.vue$/);i=o&&o[1]}return(i?"<"+i.replace(ve,function(e){return e.toUpperCase()}).replace(/[-_]/g,"")+">":"<Anonymous>")+(r&&!1!==t?" at "+r:"")};he=function(e){if(e._isVue&&e.$parent){for(var t=[],n=0;e;){if(t.length>0){var i=t[t.length-1];if(i.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[i,n],n=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map(function(e,t){return""+(0===t?"---\x3e ":function(e,t){for(var n="";t;)t%2==1&&(n+=e),t>1&&(e+=e),t>>=1;return n}(" ",5+2*t))+(Array.isArray(e)?me(e[0])+"... ("+e[1]+" recursive calls)":me(e))}).join("\n")}return"\n\n(found in "+me(e)+")"};var be=0,ye=function(){this.id=be++,this.subs=[]};ye.prototype.addSub=function(e){this.subs.push(e)},ye.prototype.removeSub=function(e){_(this.subs,e)},ye.prototype.depend=function(){ye.target&&ye.target.addDep(this)},ye.prototype.notify=function(){var e=this.subs.slice();z.async||e.sort(function(e,t){return e.id-t.id});for(var t=0,n=e.length;t<n;t++)e[t].update()},ye.target=null;var _e=[];function we(e){_e.push(e),ye.target=e}function xe(){_e.pop(),ye.target=_e[_e.length-1]}var ke=function(e,t,n,i,r,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Ae={child:{configurable:!0}};Ae.child.get=function(){return this.componentInstance},Object.defineProperties(ke.prototype,Ae);var Ce=function(e){void 0===e&&(e="");var t=new ke;return t.text=e,t.isComment=!0,t};function Se(e){return new ke(void 0,void 0,void 0,String(e))}function Me(e){var t=new ke(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Oe=Array.prototype,Te=Object.create(Oe);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Oe[e];V(Te,e,function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var r,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&a.observeArray(r),a.dep.notify(),o})});var Ee=Object.getOwnPropertyNames(Te),Pe=!0;function je(e){Pe=e}var Ne=function(e){var t;this.value=e,this.dep=new ye,this.vmCount=0,V(e,"__ob__",this),Array.isArray(e)?(G?(t=Te,e.__proto__=t):function(e,t,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];V(e,o,t[o])}}(e,Te,Ee),this.observeArray(e)):this.walk(e)};function $e(e,t){var n;if(l(e)&&!(e instanceof ke))return x(e,"__ob__")&&e.__ob__ instanceof Ne?n=e.__ob__:Pe&&!se()&&(Array.isArray(e)||d(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ne(e)),t&&n&&n.vmCount++,n}function Le(e,t,n,i,r){var o=new ye,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!r&&$e(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ye.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,i=0,r=t.length;i<r;i++)(n=t[i])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var a=s?s.call(e):n;t===a||t!=t&&a!=a||(i&&i(),s&&!l||(l?l.call(e,t):n=t,c=!r&&$e(t),o.notify()))}})}}function De(e,t,n){if((r(e)||s(e))&&pe("Cannot set reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&f(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var i=e.__ob__;return e._isVue||i&&i.vmCount?(pe("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),n):i?(Le(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function qe(e,t){if((r(e)||s(e))&&pe("Cannot delete reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&f(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount?pe("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):x(e,t)&&(delete e[t],n&&n.dep.notify())}}Ne.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Le(e,t[n])},Ne.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)$e(e[t])};var Re=z.optionMergeStrategies;function Fe(e,t){if(!t)return e;for(var n,i,r,o=de?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(i=e[n],r=t[n],x(e,n)?i!==r&&d(i)&&d(r)&&Fe(i,r):De(e,n,r));return e}function Ie(e,t,n){return n?function(){var i="function"==typeof t?t.call(n,n):t,r="function"==typeof e?e.call(n,n):e;return i?Fe(i,r):r}:t?e?function(){return Fe("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Be(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function ze(e,t,n,i){var r=Object.create(e||null);return t?(Ve(i,t,n),P(r,t)):r}Re.el=Re.propsData=function(e,t,n,i){return n||pe('option "'+i+'" can only be used during instance creation with the `new` keyword.'),He(e,t)},Re.data=function(e,t,n){return n?Ie(e,t,n):t&&"function"!=typeof t?(pe('The "data" option should be a function that returns a per-instance value in component definitions.',n),e):Ie(e,t)},B.forEach(function(e){Re[e]=Be}),I.forEach(function(e){Re[e+"s"]=ze}),Re.watch=function(e,t,n,i){if(e===re&&(e=void 0),t===re&&(t=void 0),!t)return Object.create(e||null);if(Ve(i,t,n),!e)return t;var r={};for(var o in P(r,e),t){var a=r[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),r[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return r},Re.props=Re.methods=Re.inject=Re.computed=function(e,t,n,i){if(t&&Ve(i,t,n),!e)return t;var r=Object.create(null);return P(r,e),t&&P(r,t),r},Re.provide=Ie;var He=function(e,t){return void 0===t?e:t};function Ue(e){new RegExp("^[a-zA-Z][\\-\\.0-9_"+H.source+"]*$").test(e)||pe('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(b(e)||z.isReservedTag(e))&&pe("Do not use built-in or reserved HTML elements as component id: "+e)}function Ve(e,t,n){d(t)||pe('Invalid value for option "'+e+'": expected an Object, but got '+u(t)+".",n)}function We(e,t,n){if(function(e){for(var t in e.components)Ue(t)}(t),"function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var i,r,o={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(r=n[i])?o[C(r)]={type:null}:pe("props must be strings when using array syntax.");else if(d(n))for(var a in n)r=n[a],o[C(a)]=d(r)?r:{type:r};else pe('Invalid value for option "props": expected an Array or an Object, but got '+u(n)+".",t);e.props=o}}(t,n),function(e,t){var n=e.inject;if(n){var i=e.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)i[n[r]]={from:n[r]};else if(d(n))for(var o in n){var a=n[o];i[o]=d(a)?P({from:o},a):{from:a}}else pe('Invalid value for option "inject": expected an Array or an Object, but got '+u(n)+".",t)}}(t,n),function(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"function"==typeof i&&(t[n]={bind:i,update:i})}}(t),!t._base&&(t.extends&&(e=We(e,t.extends,n)),t.mixins))for(var i=0,r=t.mixins.length;i<r;i++)e=We(e,t.mixins[i],n);var o,a={};for(o in e)s(o);for(o in t)x(e,o)||s(o);function s(i){var r=Re[i]||He;a[i]=r(e[i],t[i],n,i)}return a}function Ye(e,t,n,i){if("string"==typeof n){var r=e[t];if(x(r,n))return r[n];var o=C(n);if(x(r,o))return r[o];var a=S(o);if(x(r,a))return r[a];var s=r[n]||r[o]||r[a];return i&&!s&&pe("Failed to resolve "+t.slice(0,-1)+": "+n,e),s}}function Ge(e,t,n,i){var r=t[e],o=!x(n,e),a=n[e],s=Ze(Boolean,r.type);if(s>-1)if(o&&!x(r,"default"))a=!1;else if(""===a||a===O(e)){var c=Ze(String,r.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!x(t,"default"))return;var i=t.default;l(i)&&pe('Invalid default value for prop "'+n+'": Props with type Object/Array must use a factory function to return the default value.',e);if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof i&&"Function"!==Je(t.type)?i.call(e):i}(i,r,e);var d=Pe;je(!0),$e(a),je(d)}return function(e,t,n,i,r){if(e.required&&r)return void pe('Missing required prop: "'+t+'"',i);if(null==n&&!e.required)return;var o=e.type,a=!o||!0===o,s=[];if(o){Array.isArray(o)||(o=[o]);for(var l=0;l<o.length&&!a;l++){var c=Qe(n,o[l]);s.push(c.expectedType||""),a=c.valid}}if(!a)return void pe(function(e,t,n){var i='Invalid prop: type check failed for prop "'+e+'". Expected '+n.map(S).join(", "),r=n[0],o=u(t),a=et(t,r),s=et(t,o);1===n.length&&tt(r)&&!function(){var e=[],t=arguments.length;for(;t--;)e[t]=arguments[t];return e.some(function(e){return"boolean"===e.toLowerCase()})}(r,o)&&(i+=" with value "+a);i+=", got "+o+" ",tt(o)&&(i+="with value "+s+".");return i}(t,n,s),i);var d=e.validator;d&&(d(n)||pe('Invalid prop: custom validator check failed for prop "'+t+'".',i))}(r,e,a,i,o),a}var Ke=/^(String|Number|Boolean|Function|Symbol)$/;function Qe(e,t){var n,i=Je(t);if(Ke.test(i)){var r=typeof e;(n=r===i.toLowerCase())||"object"!==r||(n=e instanceof t)}else n="Object"===i?d(e):"Array"===i?Array.isArray(e):e instanceof t;return{valid:n,expectedType:i}}function Je(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Xe(e,t){return Je(e)===Je(t)}function Ze(e,t){if(!Array.isArray(t))return Xe(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(Xe(t[n],e))return n;return-1}function et(e,t){return"String"===t?'"'+e+'"':"Number"===t?""+Number(e):""+e}function tt(e){return["string","number","boolean"].some(function(t){return e.toLowerCase()===t})}function nt(e,t,n){we();try{if(t)for(var i=t;i=i.$parent;){var r=i.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{if(!1===r[o].call(i,e,t,n))return}catch(e){rt(e,i,"errorCaptured hook")}}rt(e,t,n)}finally{xe()}}function it(e,t,n,i,r){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&h(o)&&!o._handled&&(o.catch(function(e){return nt(e,i,r+" (Promise/async)")}),o._handled=!0)}catch(e){nt(e,i,r)}return o}function rt(e,t,n){if(z.errorHandler)try{return z.errorHandler.call(null,e,t,n)}catch(t){t!==e&&ot(t,null,"config.errorHandler")}ot(e,t,n)}function ot(e,t,n){if(pe("Error in "+n+': "'+e.toString()+'"',t),!K&&!Q||"undefined"==typeof console)throw e;console.error(e)}var at,st,lt=!1,ct=[],ut=!1;function dt(){ut=!1;var e=ct.slice(0);ct.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&ce(Promise)){var pt=Promise.resolve();at=function(){pt.then(dt),ne&&setTimeout(N)},lt=!0}else if(Z||"undefined"==typeof MutationObserver||!ce(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())at=void 0!==n&&ce(n)?function(){n(dt)}:function(){setTimeout(dt,0)};else{var ft=1,ht=new MutationObserver(dt),mt=document.createTextNode(String(ft));ht.observe(mt,{characterData:!0}),at=function(){ft=(ft+1)%2,mt.data=String(ft)},lt=!0}function gt(e,t){var n;if(ct.push(function(){if(e)try{e.call(t)}catch(e){nt(e,t,"nextTick")}else n&&n(t)}),ut||(ut=!0,at()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var vt=v("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,require"),bt=function(e,t){pe('Property or method "'+t+'" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',e)},yt=function(e,t){pe('Property "'+t+'" must be accessed with "$data.'+t+'" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://vuejs.org/v2/api/#data',e)},_t="undefined"!=typeof Proxy&&ce(Proxy);if(_t){var wt=v("stop,prevent,self,ctrl,shift,alt,meta,exact");z.keyCodes=new Proxy(z.keyCodes,{set:function(e,t,n){return wt(t)?(pe("Avoid overwriting built-in modifier in config.keyCodes: ."+t),!1):(e[t]=n,!0)}})}var xt={has:function(e,t){var n=t in e,i=vt(t)||"string"==typeof t&&"_"===t.charAt(0)&&!(t in e.$data);return n||i||(t in e.$data?yt(e,t):bt(e,t)),n||!i}},kt={get:function(e,t){return"string"!=typeof t||t in e||(t in e.$data?yt(e,t):bt(e,t)),e[t]}};st=function(e){if(_t){var t=e.$options,n=t.render&&t.render._withStripped?kt:xt;e._renderProxy=new Proxy(e,n)}else e._renderProxy=e};var At,Ct,St=new ue;function Mt(e){!function e(t,n){var i,r;var o=Array.isArray(t);if(!o&&!l(t)||Object.isFrozen(t)||t instanceof ke)return;if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(i=t.length;i--;)e(t[i],n);else for(r=Object.keys(t),i=r.length;i--;)e(t[r[i]],n)}(e,St),St.clear()}var Ot=K&&window.performance;Ot&&Ot.mark&&Ot.measure&&Ot.clearMarks&&Ot.clearMeasures&&(At=function(e){return Ot.mark(e)},Ct=function(e,t,n){Ot.measure(e,t,n),Ot.clearMarks(t),Ot.clearMarks(n)});var Tt=k(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),i="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=i?e.slice(1):e,once:n,capture:i,passive:t}});function Et(e,t){function n(){var e=arguments,i=n.fns;if(!Array.isArray(i))return it(i,null,arguments,t,"v-on handler");for(var r=i.slice(),o=0;o<r.length;o++)it(r[o],null,e,t,"v-on handler")}return n.fns=e,n}function Pt(e,t,n,i,o,s){var l,c,u,d;for(l in e)c=e[l],u=t[l],d=Tt(l),r(c)?pe('Invalid handler for event "'+d.name+'": got '+String(c),s):r(u)?(r(c.fns)&&(c=e[l]=Et(c,s)),a(d.once)&&(c=e[l]=o(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u);for(l in t)r(e[l])&&i((d=Tt(l)).name,t[l],d.capture)}function jt(e,t,n){var i;e instanceof ke&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function l(){n.apply(this,arguments),_(i.fns,l)}r(s)?i=Et([l]):o(s.fns)&&a(s.merged)?(i=s).fns.push(l):i=Et([s,l]),i.merged=!0,e[t]=i}function Nt(e,t,n,i,r){if(o(t)){if(x(t,n))return e[n]=t[n],r||delete t[n],!0;if(x(t,i))return e[n]=t[i],r||delete t[i],!0}return!1}function $t(e){return s(e)?[Se(e)]:Array.isArray(e)?function e(t,n){var i=[];var l,c,u,d;for(l=0;l<t.length;l++)r(c=t[l])||"boolean"==typeof c||(u=i.length-1,d=i[u],Array.isArray(c)?c.length>0&&(Lt((c=e(c,(n||"")+"_"+l))[0])&&Lt(d)&&(i[u]=Se(d.text+c[0].text),c.shift()),i.push.apply(i,c)):s(c)?Lt(d)?i[u]=Se(d.text+c):""!==c&&i.push(Se(c)):Lt(c)&&Lt(d)?i[u]=Se(d.text+c.text):(a(t._isVList)&&o(c.tag)&&r(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+l+"__"),i.push(c)));return i}(e):void 0}function Lt(e){return o(e)&&o(e.text)&&!1===e.isComment}function Dt(e,t){if(e){for(var n=Object.create(null),i=de?Reflect.ownKeys(e):Object.keys(e),r=0;r<i.length;r++){var o=i[r];if("__ob__"!==o){for(var a=e[o].from,s=t;s;){if(s._provided&&x(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[o]){var l=e[o].default;n[o]="function"==typeof l?l.call(t):l}else pe('Injection "'+o+'" not found',t)}}return n}}function qt(e,t){if(!e||!e.length)return{};for(var n={},i=0,r=e.length;i<r;i++){var o=e[i],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var c in n)n[c].every(Rt)&&delete n[c];return n}function Rt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Ft(e,t,n){var r,o=Object.keys(t).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==i&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var l in r={},e)e[l]&&"$"!==l[0]&&(r[l]=It(t,l,e[l]))}else r={};for(var c in t)c in r||(r[c]=Bt(t,c));return e&&Object.isExtensible(e)&&(e._normalized=r),V(r,"$stable",a),V(r,"$key",s),V(r,"$hasNormal",o),r}function It(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:$t(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function Bt(e,t){return function(){return e[t]}}function zt(e,t){var n,i,r,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,r=e.length;i<r;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(l(e))if(de&&e[Symbol.iterator]){n=[];for(var c=e[Symbol.iterator](),u=c.next();!u.done;)n.push(t(u.value,n.length)),u=c.next()}else for(a=Object.keys(e),n=new Array(a.length),i=0,r=a.length;i<r;i++)s=a[i],n[i]=t(e[s],s,i);return o(n)||(n=[]),n._isVList=!0,n}function Ht(e,t,n,i){var r,o=this.$scopedSlots[e];o?(n=n||{},i&&(l(i)||pe("slot v-bind without argument expects an Object",this),n=P(P({},i),n)),r=o(n)||t):r=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function Ut(e){return Ye(this.$options,"filters",e,!0)||L}function Vt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Wt(e,t,n,i,r){var o=z.keyCodes[t]||n;return r&&i&&!z.keyCodes[t]?Vt(r,i):o?Vt(o,e):i?O(i)!==t:void 0}function Yt(e,t,n,i,r){if(n)if(l(n)){var o;Array.isArray(n)&&(n=j(n));var a=function(a){if("class"===a||"style"===a||y(a))o=e;else{var s=e.attrs&&e.attrs.type;o=i||z.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=C(a),c=O(a);l in o||c in o||(o[a]=n[a],r&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var s in n)a(s)}else pe("v-bind without argument expects an Object or Array value",this);return e}function Gt(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t?i:(Qt(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i)}function Kt(e,t,n){return Qt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Qt(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&Jt(e[i],t+"_"+i,n);else Jt(e,t,n)}function Jt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Xt(e,t){if(t)if(d(t)){var n=e.on=e.on?P({},e.on):{};for(var i in t){var r=n[i],o=t[i];n[i]=r?[].concat(r,o):o}}else pe("v-on without argument expects an Object value",this);return e}function Zt(e,t,n,i){t=t||{$stable:!n};for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?Zt(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return i&&(t.$key=i),t}function en(e,t){for(var n=0;n<t.length;n+=2){var i=t[n];"string"==typeof i&&i?e[t[n]]=t[n+1]:""!==i&&null!==i&&pe("Invalid value for dynamic directive argument (expected string or null): "+i,this)}return e}function tn(e,t){return"string"==typeof e?t+e:e}function nn(e){e._o=Kt,e._n=g,e._s=m,e._l=zt,e._t=Ht,e._q=D,e._i=q,e._m=Gt,e._f=Ut,e._k=Wt,e._b=Yt,e._v=Se,e._e=Ce,e._u=Zt,e._g=Xt,e._d=en,e._p=tn}function rn(e,t,n,r,o){var s,l=this,c=o.options;x(r,"_uid")?(s=Object.create(r))._original=r:(s=r,r=r._original);var u=a(c._compiled),d=!u;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||i,this.injections=Dt(c.inject,r),this.slots=function(){return l.$slots||Ft(e.scopedSlots,l.$slots=qt(n,r)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ft(e.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Ft(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,i){var o=fn(s,e,t,n,i,d);return o&&!Array.isArray(o)&&(o.fnScopeId=c._scopeId,o.fnContext=r),o}:this._c=function(e,t,n,i){return fn(s,e,t,n,i,d)}}function on(e,t,n,i,r){var o=Me(e);return o.fnContext=n,o.fnOptions=i,(o.devtoolsMeta=o.devtoolsMeta||{}).renderContext=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function an(e,t){for(var n in t)e[C(n)]=t[n]}nn(rn.prototype);var sn={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;sn.prepatch(n,n)}else{(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},i=e.data.inlineTemplate;o(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,kn)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,o){An=!0;var a=r.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==i&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),c=!!(o||e.$options._renderChildren||l);e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r);if(e.$options._renderChildren=o,e.$attrs=r.data.attrs||i,e.$listeners=n||i,t&&e.$options.props){je(!1);for(var u=e._props,d=e.$options._propKeys||[],p=0;p<d.length;p++){var f=d[p],h=e.$options.props;u[f]=Ge(f,h,t,e)}je(!0),e.$options.propsData=t}n=n||i;var m=e.$options._parentListeners;e.$options._parentListeners=n,xn(e,n,m),c&&(e.$slots=qt(o,r.context),e.$forceUpdate());An=!1}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,i=e.componentInstance;i._isMounted||(i._isMounted=!0,On(i,"mounted")),e.data.keepAlive&&(n._isMounted?((t=i)._inactive=!1,Pn.push(t)):Mn(i,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(n&&(t._directInactive=!0,Sn(t)))return;if(!t._inactive){t._inactive=!0;for(var i=0;i<t.$children.length;i++)e(t.$children[i]);On(t,"deactivated")}}(t,!0):t.$destroy())}},ln=Object.keys(sn);function cn(e,t,n,s,c){if(!r(e)){var u=n.$options._base;if(l(e)&&(e=u.extend(e)),"function"==typeof e){var d;if(r(e.cid)&&void 0===(e=function(e,t){if(a(e.error)&&o(e.errorComp))return e.errorComp;if(o(e.resolved))return e.resolved;var n=mn;n&&o(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n);if(a(e.loading)&&o(e.loadingComp))return e.loadingComp;if(n&&!o(e.owners)){var i=e.owners=[n],s=!0,c=null,u=null;n.$on("hook:destroyed",function(){return _(i,n)});var d=function(e){for(var t=0,n=i.length;t<n;t++)i[t].$forceUpdate();e&&(i.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},p=R(function(n){e.resolved=gn(n,t),s?i.length=0:d(!0)}),f=R(function(t){pe("Failed to resolve async component: "+String(e)+(t?"\nReason: "+t:"")),o(e.errorComp)&&(e.error=!0,d(!0))}),m=e(p,f);return l(m)&&(h(m)?r(e.resolved)&&m.then(p,f):h(m.component)&&(m.component.then(p,f),o(m.error)&&(e.errorComp=gn(m.error,t)),o(m.loading)&&(e.loadingComp=gn(m.loading,t),0===m.delay?e.loading=!0:c=setTimeout(function(){c=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,d(!1))},m.delay||200)),o(m.timeout)&&(u=setTimeout(function(){u=null,r(e.resolved)&&f("timeout ("+m.timeout+"ms)")},m.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}(d=e,u)))return function(e,t,n,i,r){var o=Ce();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:i,tag:r},o}(d,t,n,s,c);t=t||{},Xn(e),o(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var r=t.on||(t.on={}),a=r[i],s=t.model.callback;o(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(r[i]=[s].concat(a)):r[i]=s}(e.options,t);var p=function(e,t,n){var i=t.options.props;if(!r(i)){var a={},s=e.attrs,l=e.props;if(o(s)||o(l))for(var c in i){var u=O(c),d=c.toLowerCase();c!==d&&s&&x(s,d)&&fe('Prop "'+d+'" is passed to component '+me(n||t)+', but the declared prop name is "'+c+'". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "'+u+'" instead of "'+c+'".'),Nt(a,l,c,u,!0)||Nt(a,s,c,u,!1)}return a}}(t,e,c);if(a(e.options.functional))return function(e,t,n,r,a){var s=e.options,l={},c=s.props;if(o(c))for(var u in c)l[u]=Ge(u,c,t||i);else o(n.attrs)&&an(l,n.attrs),o(n.props)&&an(l,n.props);var d=new rn(n,l,a,r,e),p=s.render.call(null,d._c,d);if(p instanceof ke)return on(p,n,d.parent,s,d);if(Array.isArray(p)){for(var f=$t(p)||[],h=new Array(f.length),m=0;m<f.length;m++)h[m]=on(f[m],n,d.parent,s,d);return h}}(e,p,t,n,s);var f=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var m=t.slot;t={},m&&(t.slot=m)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<ln.length;n++){var i=ln[n],r=t[i],o=sn[i];r===o||r&&r._merged||(t[i]=r?un(o,r):o)}}(t);var g=e.options.name||c;return new ke("vue-component-"+e.cid+(g?"-"+g:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:p,listeners:f,tag:c,children:s},d)}pe("Invalid Component definition: "+String(e),n)}}function un(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}var dn=1,pn=2;function fn(e,t,n,i,c,u){return(Array.isArray(n)||s(n))&&(c=i,i=n,n=void 0),a(u)&&(c=pn),function(e,t,n,i,c){if(o(n)&&o(n.__ob__))return pe("Avoid using observed data object as vnode data: "+JSON.stringify(n)+"\nAlways create fresh vnode data objects in each render!",e),Ce();o(n)&&o(n.is)&&(t=n.is);if(!t)return Ce();o(n)&&o(n.key)&&!s(n.key)&&pe("Avoid using non-primitive value as key, use string/number value instead.",e);Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0);c===pn?i=$t(i):c===dn&&(i=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(i));var u,d;if("string"==typeof t){var p;d=e.$vnode&&e.$vnode.ns||z.getTagNamespace(t),z.isReservedTag(t)?(o(n)&&o(n.nativeOn)&&pe("The .native modifier for v-on is only valid on components but it was used on <"+t+">.",e),u=new ke(z.parsePlatformTagName(t),n,i,void 0,void 0,e)):u=n&&n.pre||!o(p=Ye(e.$options,"components",t))?new ke(t,n,i,void 0,void 0,e):cn(p,n,e,i,t)}else u=cn(t,n,e,i);return Array.isArray(u)?u:o(u)?(o(d)&&function e(t,n,i){t.ns=n;"foreignObject"===t.tag&&(n=void 0,i=!0);if(o(t.children))for(var s=0,l=t.children.length;s<l;s++){var c=t.children[s];o(c.tag)&&(r(c.ns)||a(i)&&"svg"!==c.tag)&&e(c,n,i)}}(u,d),o(n)&&function(e){l(e.style)&&Mt(e.style);l(e.class)&&Mt(e.class)}(n),u):Ce()}(e,t,n,i,c)}var hn,mn=null;function gn(e,t){return(e.__esModule||de&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function vn(e){return e.isComment&&e.asyncFactory}function bn(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(o(n)&&(o(n.componentOptions)||vn(n)))return n}}function yn(e,t){hn.$on(e,t)}function _n(e,t){hn.$off(e,t)}function wn(e,t){var n=hn;return function i(){null!==t.apply(null,arguments)&&n.$off(e,i)}}function xn(e,t,n){hn=e,Pt(t,n||{},yn,_n,wn,e),hn=void 0}var kn=null,An=!1;function Cn(e){var t=kn;return kn=e,function(){kn=t}}function Sn(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Mn(e,t){if(t){if(e._directInactive=!1,Sn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Mn(e.$children[n]);On(e,"activated")}}function On(e,t){we();var n=e.$options[t],i=t+" hook";if(n)for(var r=0,o=n.length;r<o;r++)it(n[r],e,null,e,i);e._hasHookEvent&&e.$emit("hook:"+t),xe()}var Tn=100,En=[],Pn=[],jn={},Nn={},$n=!1,Ln=!1,Dn=0;var qn=0,Rn=Date.now;if(K&&!Z){var Fn=window.performance;Fn&&"function"==typeof Fn.now&&Rn()>document.createEvent("Event").timeStamp&&(Rn=function(){return Fn.now()})}function In(){var e,t;for(qn=Rn(),Ln=!0,En.sort(function(e,t){return e.id-t.id}),Dn=0;Dn<En.length;Dn++)if((e=En[Dn]).before&&e.before(),t=e.id,jn[t]=null,e.run(),null!=jn[t]&&(Nn[t]=(Nn[t]||0)+1,Nn[t]>Tn)){pe("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var n=Pn.slice(),i=En.slice();Dn=En.length=Pn.length=0,jn={},Nn={},$n=Ln=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Mn(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&On(i,"updated")}}(i),le&&z.devtools&&le.emit("flush")}var Bn=0,zn=function(e,t,n,i,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Bn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ue,this.newDepIds=new ue,this.expression=t.toString(),"function"==typeof t?this.getter=t:(this.getter=function(e){if(!W.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=N,pe('Failed watching path: "'+t+'" Watcher only accepts simple dot-delimited paths. For full control, use a function instead.',e))),this.value=this.lazy?void 0:this.get()};zn.prototype.get=function(){var e;we(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;nt(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Mt(e),xe(),this.cleanupDeps()}return e},zn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},zn.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},zn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==jn[t]){if(jn[t]=!0,Ln){for(var n=En.length-1;n>Dn&&En[n].id>e.id;)n--;En.splice(n+1,0,e)}else En.push(e);if(!$n){if($n=!0,!z.async)return void In();gt(In)}}}(this)},zn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){nt(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},zn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},zn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},zn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Hn={enumerable:!0,configurable:!0,get:N,set:N};function Un(e,t,n){Hn.get=function(){return this[t][n]},Hn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Hn)}function Vn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},i=e._props={},r=e.$options._propKeys=[],o=!e.$parent;o||je(!1);var a=function(a){r.push(a);var s=Ge(a,t,n,e),l=O(a);(y(l)||z.isReservedAttr(l))&&pe('"'+l+'" is a reserved attribute and cannot be used as component prop.',e),Le(i,a,s,function(){o||An||pe("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+a+'"',e)}),a in e||Un(e,"_props",a)};for(var s in t)a(s);je(!0)}(e,t.props),t.methods&&function(e,t){var n=e.$options.props;for(var i in t)"function"!=typeof t[i]&&pe('Method "'+i+'" has type "'+typeof t[i]+'" in the component definition. Did you reference the function correctly?',e),n&&x(n,i)&&pe('Method "'+i+'" has already been defined as a prop.',e),i in e&&U(i)&&pe('Method "'+i+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[i]="function"!=typeof t[i]?N:T(t[i],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;d(t=e._data="function"==typeof t?function(e,t){we();try{return e.call(t,t)}catch(e){return nt(e,t,"data()"),{}}finally{xe()}}(t,e):t||{})||(t={},pe("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));var n=Object.keys(t),i=e.$options.props,r=e.$options.methods,o=n.length;for(;o--;){var a=n[o];r&&x(r,a)&&pe('Method "'+a+'" has already been defined as a data property.',e),i&&x(i,a)?pe('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):U(a)||Un(e,"_data",a)}$e(t,!0)}(e):$e(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),i=se();for(var r in t){var o=t[r],a="function"==typeof o?o:o.get;null==a&&pe('Getter is missing for computed property "'+r+'".',e),i||(n[r]=new zn(e,a||N,N,Wn)),r in e?r in e.$data?pe('The computed property "'+r+'" is already defined in data.',e):e.$options.props&&r in e.$options.props&&pe('The computed property "'+r+'" is already defined as a prop.',e):Yn(e,r,o)}}(e,t.computed),t.watch&&t.watch!==re&&function(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)Qn(e,n,i[r]);else Qn(e,n,i)}}(e,t.watch)}var Wn={lazy:!0};function Yn(e,t,n){var i=!se();"function"==typeof n?(Hn.get=i?Gn(t):Kn(n),Hn.set=N):(Hn.get=n.get?i&&!1!==n.cache?Gn(t):Kn(n.get):N,Hn.set=n.set||N),Hn.set===N&&(Hn.set=function(){pe('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,Hn)}function Gn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ye.target&&t.depend(),t.value}}function Kn(e){return function(){return e.call(this,this)}}function Qn(e,t,n,i){return d(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}var Jn=0;function Xn(e){var t=e.options;if(e.super){var n=Xn(e.super);if(n!==e.superOptions){e.superOptions=n;var i=function(e){var t,n=e.options,i=e.sealedOptions;for(var r in n)n[r]!==i[r]&&(t||(t={}),t[r]=n[r]);return t}(e);i&&P(e.extendOptions,i),(t=e.options=We(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Zn(e){this instanceof Zn||pe("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}function ei(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,r=e._Ctor||(e._Ctor={});if(r[i])return r[i];var o=e.name||n.options.name;o&&Ue(o);var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=We(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)Un(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Yn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,I.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=P({},a.options),r[i]=a,a}}function ti(e){return e&&(e.Ctor.options.name||e.tag)}function ni(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!p(e)&&e.test(t)}function ii(e,t){var n=e.cache,i=e.keys,r=e._vnode;for(var o in n){var a=n[o];if(a){var s=ti(a.componentOptions);s&&!t(s)&&ri(n,o,i,r)}}}function ri(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,_(n,t)}!function(e){e.prototype._init=function(e){var t,n,r=this;r._uid=Jn++,z.performance&&At&&(t="vue-perf-start:"+r._uid,n="vue-perf-end:"+r._uid,At(t)),r._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),i=t._parentVnode;n.parent=t.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(r,e):r.$options=We(Xn(r.constructor),e||{},r),st(r),r._self=r,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(r),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&xn(e,t)}(r),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=qt(t._renderChildren,r),e.$scopedSlots=i,e._c=function(t,n,i,r){return fn(e,t,n,i,r,!1)},e.$createElement=function(t,n,i,r){return fn(e,t,n,i,r,!0)};var o=n&&n.data;Le(e,"$attrs",o&&o.attrs||i,function(){!An&&pe("$attrs is readonly.",e)},!0),Le(e,"$listeners",t._parentListeners||i,function(){!An&&pe("$listeners is readonly.",e)},!0)}(r),On(r,"beforeCreate"),function(e){var t=Dt(e.$options.inject,e);t&&(je(!1),Object.keys(t).forEach(function(n){Le(e,n,t[n],function(){pe('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+n+'"',e)})}),je(!0))}(r),Vn(r),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(r),On(r,"created"),z.performance&&At&&(r._name=me(r,!1),At(n),Ct("vue "+r._name+" init",t,n)),r.$options.el&&r.$mount(r.$options.el)}}(Zn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};t.set=function(){pe("Avoid replacing instance root $data. Use nested data properties instead.",this)},n.set=function(){pe("$props is readonly.",this)},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=De,e.prototype.$delete=qe,e.prototype.$watch=function(e,t,n){if(d(t))return Qn(this,e,t,n);(n=n||{}).user=!0;var i=new zn(this,e,t,n);if(n.immediate)try{t.call(this,i.value)}catch(e){nt(e,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(Zn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var i=this;if(Array.isArray(e))for(var r=0,o=e.length;r<o;r++)i.$on(e[r],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var n=this;function i(){n.$off(e,i),t.apply(n,arguments)}return i.fn=t,n.$on(e,i),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var i=0,r=e.length;i<r;i++)n.$off(e[i],t);return n}var o,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((o=a[s])===t||o.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=e.toLowerCase();n!==e&&t._events[n]&&fe('Event "'+n+'" is emitted in component '+me(t)+' but the handler is registered for "'+e+'". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "'+O(e)+'" instead of "'+e+'".');var i=t._events[e];if(i){i=i.length>1?E(i):i;for(var r=E(arguments,1),o='event handler for "'+e+'"',a=0,s=i.length;a<s;a++)it(i[a],t,r,t,o)}return t}}(Zn),function(e){e.prototype._update=function(e,t){var n=this,i=n.$el,r=n._vnode,o=Cn(n);n._vnode=e,n.$el=r?n.__patch__(r,e):n.__patch__(n.$el,e,t,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){On(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||_(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),On(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Zn),function(e){nn(e.prototype),e.prototype.$nextTick=function(e){return gt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,r=n._parentVnode;r&&(t.$scopedSlots=Ft(r.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=r;try{mn=t,e=i.call(t._renderProxy,t.$createElement)}catch(n){if(nt(n,t,"render"),t.$options.renderError)try{e=t.$options.renderError.call(t._renderProxy,t.$createElement,n)}catch(n){nt(n,t,"renderError"),e=t._vnode}else e=t._vnode}finally{mn=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof ke||(Array.isArray(e)&&pe("Multiple root nodes returned from render function. Render function should return a single root node.",t),e=Ce()),e.parent=r,e}}(Zn);var oi=[String,RegExp,Array],ai={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:oi,exclude:oi,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)ri(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){ii(e,function(e){return ni(t,e)})}),this.$watch("exclude",function(t){ii(e,function(e){return!ni(t,e)})})},render:function(){var e=this.$slots.default,t=bn(e),n=t&&t.componentOptions;if(n){var i=ti(n),r=this.include,o=this.exclude;if(r&&(!i||!ni(r,i))||o&&i&&ni(o,i))return t;var a=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,_(s,l),s.push(l)):(a[l]=t,s.push(l),this.max&&s.length>parseInt(this.max)&&ri(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return z},set:function(){pe("Do not replace the Vue.config object, set individual fields instead.")}};Object.defineProperty(e,"config",t),e.util={warn:pe,extend:P,mergeOptions:We,defineReactive:Le},e.set=De,e.delete=qe,e.nextTick=gt,e.observable=function(e){return $e(e),e},e.options=Object.create(null),I.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,P(e.options.components,ai),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=E(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=We(this.options,e),this}}(e),ei(e),function(e){I.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&Ue(e),"component"===t&&d(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(Zn),Object.defineProperty(Zn.prototype,"$isServer",{get:se}),Object.defineProperty(Zn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Zn,"FunctionalRenderContext",{value:rn}),Zn.version="2.6.11";var si=v("style,class"),li=v("input,textarea,option,select,progress"),ci=v("contenteditable,draggable,spellcheck"),ui=v("events,caret,typing,plaintext-only"),di=function(e,t){return gi(t)||"false"===t?"false":"contenteditable"===e&&ui(t)?t:"true"},pi=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),fi="http://www.w3.org/1999/xlink",hi=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},mi=function(e){return hi(e)?e.slice(6,e.length):""},gi=function(e){return null==e||!1===e};function vi(e){for(var t=e.data,n=e,i=e;o(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=bi(i.data,t));for(;o(n=n.parent);)n&&n.data&&(t=bi(t,n.data));return function(e,t){if(o(e)||o(t))return yi(e,_i(t));return""}(t.staticClass,t.class)}function bi(e,t){return{staticClass:yi(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function yi(e,t){return e?t?e+" "+t:e:t||""}function _i(e){return Array.isArray(e)?function(e){for(var t,n="",i=0,r=e.length;i<r;i++)o(t=_i(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):l(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var wi={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},xi=v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ki=v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ai=function(e){return xi(e)||ki(e)};var Ci=Object.create(null);var Si=v("text,number,password,search,email,tel,url");var Mi=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(wi[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Oi={create:function(e,t){Ti(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Ti(e,!0),Ti(t))},destroy:function(e){Ti(e,!0)}};function Ti(e,t){var n=e.data.ref;if(o(n)){var i=e.context,r=e.componentInstance||e.elm,a=i.$refs;t?Array.isArray(a[n])?_(a[n],r):a[n]===r&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(r)<0&&a[n].push(r):a[n]=[r]:a[n]=r}}var Ei=new ke("",{},[]),Pi=["create","activate","update","remove","destroy"];function ji(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&o(e.data)===o(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,i=o(n=e.data)&&o(n=n.attrs)&&n.type,r=o(n=t.data)&&o(n=n.attrs)&&n.type;return i===r||Si(i)&&Si(r)}(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function Ni(e,t,n){var i,r,a={};for(i=t;i<=n;++i)o(r=e[i].key)&&(a[r]=i);return a}var $i={create:Li,update:Li,destroy:function(e){Li(e,Ei)}};function Li(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,i,r,o=e===Ei,a=t===Ei,s=qi(e.data.directives,e.context),l=qi(t.data.directives,t.context),c=[],u=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,Fi(r,"update",t,e),r.def&&r.def.componentUpdated&&u.push(r)):(Fi(r,"bind",t,e),r.def&&r.def.inserted&&c.push(r));if(c.length){var d=function(){for(var n=0;n<c.length;n++)Fi(c[n],"inserted",t,e)};o?jt(t,"insert",d):d()}u.length&&jt(t,"postpatch",function(){for(var n=0;n<u.length;n++)Fi(u[n],"componentUpdated",t,e)});if(!o)for(n in s)l[n]||Fi(s[n],"unbind",e,e,a)}(e,t)}var Di=Object.create(null);function qi(e,t){var n,i,r=Object.create(null);if(!e)return r;for(n=0;n<e.length;n++)(i=e[n]).modifiers||(i.modifiers=Di),r[Ri(i)]=i,i.def=Ye(t.$options,"directives",i.name,!0);return r}function Ri(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Fi(e,t,n,i,r){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,i,r)}catch(i){nt(i,n.context,"directive "+e.name+" "+t+" hook")}}var Ii=[Oi,$i];function Bi(e,t){var n=t.componentOptions;if(!(o(n)&&!1===n.Ctor.options.inheritAttrs||r(e.data.attrs)&&r(t.data.attrs))){var i,a,s=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};for(i in o(c.__ob__)&&(c=t.data.attrs=P({},c)),c)a=c[i],l[i]!==a&&zi(s,i,a);for(i in(Z||te)&&c.value!==l.value&&zi(s,"value",c.value),l)r(c[i])&&(hi(i)?s.removeAttributeNS(fi,mi(i)):ci(i)||s.removeAttribute(i))}}function zi(e,t,n){e.tagName.indexOf("-")>-1?Hi(e,t,n):pi(t)?gi(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):ci(t)?e.setAttribute(t,di(t,n)):hi(t)?gi(n)?e.removeAttributeNS(fi,mi(t)):e.setAttributeNS(fi,t,n):Hi(e,t,n)}function Hi(e,t,n){if(gi(n))e.removeAttribute(t);else{if(Z&&!ee&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var Ui={create:Bi,update:Bi};function Vi(e,t){var n=t.elm,i=t.data,a=e.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=vi(t),l=n._transitionClasses;o(l)&&(s=yi(s,_i(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Wi,Yi={create:Vi,update:Vi},Gi="__r",Ki="__c";function Qi(e,t,n){var i=Wi;return function r(){null!==t.apply(null,arguments)&&Zi(e,r,n,i)}}var Ji=lt&&!(ie&&Number(ie[1])<=53);function Xi(e,t,n,i){if(Ji){var r=qn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=r||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Wi.addEventListener(e,t,oe?{capture:n,passive:i}:n)}function Zi(e,t,n,i){(i||Wi).removeEventListener(e,t._wrapper||t,n)}function er(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Wi=t.elm,function(e){if(o(e[Gi])){var t=Z?"change":"input";e[t]=[].concat(e[Gi],e[t]||[]),delete e[Gi]}o(e[Ki])&&(e.change=[].concat(e[Ki],e.change||[]),delete e[Ki])}(n),Pt(n,i,Xi,Zi,Qi,t.context),Wi=void 0}}var tr,nr={create:er,update:er};function ir(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,i,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in o(l.__ob__)&&(l=t.data.domProps=P({},l)),s)n in l||(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var c=r(i)?"":String(i);rr(a,c)&&(a.value=c)}else if("innerHTML"===n&&ki(a.tagName)&&r(a.innerHTML)){(tr=tr||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var u=tr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(i!==s[n])try{a[n]=i}catch(e){}}}}function rr(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,i=e._vModifiers;if(o(i)){if(i.number)return g(n)!==g(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var or={create:ir,update:ir},ar=k(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var i=e.split(n);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t});function sr(e){var t=lr(e.style);return e.staticStyle?P(e.staticStyle,t):t}function lr(e){return Array.isArray(e)?j(e):"string"==typeof e?ar(e):e}var cr,ur=/^--/,dr=/\s*!important$/,pr=function(e,t,n){if(ur.test(t))e.style.setProperty(t,n);else if(dr.test(n))e.style.setProperty(O(t),n.replace(dr,""),"important");else{var i=hr(t);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)e.style[i]=n[r];else e.style[i]=n}},fr=["Webkit","Moz","ms"],hr=k(function(e){if(cr=cr||document.createElement("div").style,"filter"!==(e=C(e))&&e in cr)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<fr.length;n++){var i=fr[n]+t;if(i in cr)return i}});function mr(e,t){var n=t.data,i=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var a,s,l=t.elm,c=i.staticStyle,u=i.normalizedStyle||i.style||{},d=c||u,p=lr(t.data.style)||{};t.data.normalizedStyle=o(p.__ob__)?P({},p):p;var f=function(e,t){var n,i={};if(t)for(var r=e;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=sr(r.data))&&P(i,n);(n=sr(e.data))&&P(i,n);for(var o=e;o=o.parent;)o.data&&(n=sr(o.data))&&P(i,n);return i}(t,!0);for(s in d)r(f[s])&&pr(l,s,"");for(s in f)(a=f[s])!==d[s]&&pr(l,s,null==a?"":a)}}var gr={create:mr,update:mr},vr=/\s+/;function br(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(vr).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function yr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(vr).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function _r(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&P(t,wr(e.name||"v")),P(t,e),t}return"string"==typeof e?wr(e):void 0}}var wr=k(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),xr=K&&!ee,kr="transition",Ar="animation",Cr="transition",Sr="transitionend",Mr="animation",Or="animationend";xr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Cr="WebkitTransition",Sr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Mr="WebkitAnimation",Or="webkitAnimationEnd"));var Tr=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Er(e){Tr(function(){Tr(e)})}function Pr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),br(e,t))}function jr(e,t){e._transitionClasses&&_(e._transitionClasses,t),yr(e,t)}function Nr(e,t,n){var i=Lr(e,t),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===kr?Sr:Or,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l<a&&c()},o+1),e.addEventListener(s,u)}var $r=/\b(transform|all)(,|$)/;function Lr(e,t){var n,i=window.getComputedStyle(e),r=(i[Cr+"Delay"]||"").split(", "),o=(i[Cr+"Duration"]||"").split(", "),a=Dr(r,o),s=(i[Mr+"Delay"]||"").split(", "),l=(i[Mr+"Duration"]||"").split(", "),c=Dr(s,l),u=0,d=0;return t===kr?a>0&&(n=kr,u=a,d=o.length):t===Ar?c>0&&(n=Ar,u=c,d=l.length):d=(n=(u=Math.max(a,c))>0?a>c?kr:Ar:null)?n===kr?o.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===kr&&$r.test(i[Cr+"Property"])}}function Dr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return qr(t)+qr(e[n])}))}function qr(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Rr(e,t){var n=e.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=_r(e.data.transition);if(!r(i)&&!o(n._enterCb)&&1===n.nodeType){for(var a=i.css,s=i.type,c=i.enterClass,u=i.enterToClass,d=i.enterActiveClass,p=i.appearClass,f=i.appearToClass,h=i.appearActiveClass,m=i.beforeEnter,v=i.enter,b=i.afterEnter,y=i.enterCancelled,_=i.beforeAppear,w=i.appear,x=i.afterAppear,k=i.appearCancelled,A=i.duration,C=kn,S=kn.$vnode;S&&S.parent;)C=S.context,S=S.parent;var M=!C._isMounted||!e.isRootInsert;if(!M||w||""===w){var O=M&&p?p:c,T=M&&h?h:d,E=M&&f?f:u,P=M&&_||m,j=M&&"function"==typeof w?w:v,N=M&&x||b,$=M&&k||y,L=g(l(A)?A.enter:A);null!=L&&Ir(L,"enter",e);var D=!1!==a&&!ee,q=zr(j),F=n._enterCb=R(function(){D&&(jr(n,E),jr(n,T)),F.cancelled?(D&&jr(n,O),$&&$(n)):N&&N(n),n._enterCb=null});e.data.show||jt(e,"insert",function(){var t=n.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),j&&j(n,F)}),P&&P(n),D&&(Pr(n,O),Pr(n,T),Er(function(){jr(n,O),F.cancelled||(Pr(n,E),q||(Br(L)?setTimeout(F,L):Nr(n,s,F)))})),e.data.show&&(t&&t(),j&&j(n,F)),D||q||F()}}}function Fr(e,t){var n=e.elm;o(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=_r(e.data.transition);if(r(i)||1!==n.nodeType)return t();if(!o(n._leaveCb)){var a=i.css,s=i.type,c=i.leaveClass,u=i.leaveToClass,d=i.leaveActiveClass,p=i.beforeLeave,f=i.leave,h=i.afterLeave,m=i.leaveCancelled,v=i.delayLeave,b=i.duration,y=!1!==a&&!ee,_=zr(f),w=g(l(b)?b.leave:b);o(w)&&Ir(w,"leave",e);var x=n._leaveCb=R(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),y&&(jr(n,u),jr(n,d)),x.cancelled?(y&&jr(n,c),m&&m(n)):(t(),h&&h(n)),n._leaveCb=null});v?v(k):k()}function k(){x.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),p&&p(n),y&&(Pr(n,c),Pr(n,d),Er(function(){jr(n,c),x.cancelled||(Pr(n,u),_||(Br(w)?setTimeout(x,w):Nr(n,s,x)))})),f&&f(n,x),y||_||x())}}function Ir(e,t,n){"number"!=typeof e?pe("<transition> explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",n.context):isNaN(e)&&pe("<transition> explicit "+t+" duration is NaN - the duration expression might be incorrect.",n.context)}function Br(e){return"number"==typeof e&&!isNaN(e)}function zr(e){if(r(e))return!1;var t=e.fns;return o(t)?zr(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Hr(e,t){!0!==t.data.show&&Rr(t)}var Ur=function(e){var t,n,i={},l=e.modules,c=e.nodeOps;for(t=0;t<Pi.length;++t)for(i[Pi[t]]=[],n=0;n<l.length;++n)o(l[n][Pi[t]])&&i[Pi[t]].push(l[n][Pi[t]]);function u(e){var t=c.parentNode(e);o(t)&&c.removeChild(t,e)}function d(e,t){return!t&&!e.ns&&!(z.ignoredElements.length&&z.ignoredElements.some(function(t){return p(t)?t.test(e.tag):t===e.tag}))&&z.isUnknownElement(e.tag)}var f=0;function h(e,t,n,r,s,l,u){if(o(e.elm)&&o(l)&&(e=l[u]=Me(e)),e.isRootInsert=!s,!function(e,t,n,r){var s=e.data;if(o(s)){var l=o(e.componentInstance)&&s.keepAlive;if(o(s=s.hook)&&o(s=s.init)&&s(e,!1),o(e.componentInstance))return m(e,t),g(n,e.elm,r),a(l)&&function(e,t,n,r){for(var a,s=e;s.componentInstance;)if(s=s.componentInstance._vnode,o(a=s.data)&&o(a=a.transition)){for(a=0;a<i.activate.length;++a)i.activate[a](Ei,s);t.push(s);break}g(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var p=e.data,h=e.children,v=e.tag;o(v)?(p&&p.pre&&f++,d(e,f)&&pe("Unknown custom element: <"+v+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?c.createElementNS(e.ns,v):c.createElement(v,e),w(e),b(e,h,t),o(p)&&_(e,t),g(n,e.elm,r),p&&p.pre&&f--):a(e.isComment)?(e.elm=c.createComment(e.text),g(n,e.elm,r)):(e.elm=c.createTextNode(e.text),g(n,e.elm,r))}}function m(e,t){o(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,y(e)?(_(e,t),w(e)):(Ti(e),t.push(e))}function g(e,t,n){o(e)&&(o(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function b(e,t,n){if(Array.isArray(t)){S(t);for(var i=0;i<t.length;++i)h(t[i],n,e.elm,null,!0,t,i)}else s(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function y(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return o(e.tag)}function _(e,n){for(var r=0;r<i.create.length;++r)i.create[r](Ei,e);o(t=e.data.hook)&&(o(t.create)&&t.create(Ei,e),o(t.insert)&&n.push(e))}function w(e){var t;if(o(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)o(t=n.context)&&o(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;o(t=kn)&&t!==e.context&&t!==e.fnContext&&o(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function x(e,t,n,i,r,o){for(;i<=r;++i)h(n[i],o,e,t,!1,n,i)}function k(e){var t,n,r=e.data;if(o(r))for(o(t=r.hook)&&o(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(o(t=e.children))for(n=0;n<e.children.length;++n)k(e.children[n])}function A(e,t,n){for(;t<=n;++t){var i=e[t];o(i)&&(o(i.tag)?(C(i),k(i)):u(i.elm))}}function C(e,t){if(o(t)||o(e.data)){var n,r=i.remove.length+1;for(o(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&u(e)}return n.listeners=t,n}(e.elm,r),o(n=e.componentInstance)&&o(n=n._vnode)&&o(n.data)&&C(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);o(n=e.data.hook)&&o(n=n.remove)?n(e,t):t()}else u(e.elm)}function S(e){for(var t={},n=0;n<e.length;n++){var i=e[n],r=i.key;o(r)&&(t[r]?pe("Duplicate keys detected: '"+r+"'. This may cause an update error.",i.context):t[r]=!0)}}function M(e,t,n,i){for(var r=n;r<i;r++){var a=t[r];if(o(a)&&ji(e,a))return r}}function O(e,t,n,s,l,u){if(e!==t){o(t.elm)&&o(s)&&(t=s[l]=Me(t));var d=t.elm=e.elm;if(a(e.isAsyncPlaceholder))o(t.asyncFactory.resolved)?j(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(a(t.isStatic)&&a(e.isStatic)&&t.key===e.key&&(a(t.isCloned)||a(t.isOnce)))t.componentInstance=e.componentInstance;else{var p,f=t.data;o(f)&&o(p=f.hook)&&o(p=p.prepatch)&&p(e,t);var m=e.children,g=t.children;if(o(f)&&y(t)){for(p=0;p<i.update.length;++p)i.update[p](e,t);o(p=f.hook)&&o(p=p.update)&&p(e,t)}r(t.text)?o(m)&&o(g)?m!==g&&function(e,t,n,i,a){var s,l,u,d=0,p=0,f=t.length-1,m=t[0],g=t[f],v=n.length-1,b=n[0],y=n[v],_=!a;for(S(n);d<=f&&p<=v;)r(m)?m=t[++d]:r(g)?g=t[--f]:ji(m,b)?(O(m,b,i,n,p),m=t[++d],b=n[++p]):ji(g,y)?(O(g,y,i,n,v),g=t[--f],y=n[--v]):ji(m,y)?(O(m,y,i,n,v),_&&c.insertBefore(e,m.elm,c.nextSibling(g.elm)),m=t[++d],y=n[--v]):ji(g,b)?(O(g,b,i,n,p),_&&c.insertBefore(e,g.elm,m.elm),g=t[--f],b=n[++p]):(r(s)&&(s=Ni(t,d,f)),r(l=o(b.key)?s[b.key]:M(b,t,d,f))?h(b,i,e,m.elm,!1,n,p):ji(u=t[l],b)?(O(u,b,i,n,p),t[l]=void 0,_&&c.insertBefore(e,u.elm,m.elm)):h(b,i,e,m.elm,!1,n,p),b=n[++p]);d>f?x(e,r(n[v+1])?null:n[v+1].elm,n,p,v,i):p>v&&A(t,d,f)}(d,m,g,n,u):o(g)?(S(g),o(e.text)&&c.setTextContent(d,""),x(d,null,g,0,g.length-1,n)):o(m)?A(m,0,m.length-1):o(e.text)&&c.setTextContent(d,""):e.text!==t.text&&c.setTextContent(d,t.text),o(f)&&o(p=f.hook)&&o(p=p.postpatch)&&p(e,t)}}}function T(e,t,n){if(a(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var E=!1,P=v("attrs,class,staticClass,staticStyle,key");function j(e,t,n,i){var r,s=t.tag,l=t.data,c=t.children;if(i=i||l&&l.pre,t.elm=e,a(t.isComment)&&o(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(!function(e,t,n){return o(t.tag)?0===t.tag.indexOf("vue-component")||!d(t,n)&&t.tag.toLowerCase()===(e.tagName&&e.tagName.toLowerCase()):e.nodeType===(t.isComment?8:3)}(e,t,i))return!1;if(o(l)&&(o(r=l.hook)&&o(r=r.init)&&r(t,!0),o(r=t.componentInstance)))return m(t,n),!0;if(o(s)){if(o(c))if(e.hasChildNodes())if(o(r=l)&&o(r=r.domProps)&&o(r=r.innerHTML)){if(r!==e.innerHTML)return"undefined"==typeof console||E||(E=!0,console.warn("Parent: ",e),console.warn("server innerHTML: ",r),console.warn("client innerHTML: ",e.innerHTML)),!1}else{for(var u=!0,p=e.firstChild,f=0;f<c.length;f++){if(!p||!j(p,c[f],n,i)){u=!1;break}p=p.nextSibling}if(!u||p)return"undefined"==typeof console||E||(E=!0,console.warn("Parent: ",e),console.warn("Mismatching childNodes vs. VNodes: ",e.childNodes,c)),!1}else b(t,c,n);if(o(l)){var h=!1;for(var g in l)if(!P(g)){h=!0,_(t,n);break}!h&&l.class&&Mt(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s){if(!r(t)){var l,u=!1,d=[];if(r(e))u=!0,h(t,d);else{var p=o(e.nodeType);if(!p&&ji(e,t))O(e,t,d,null,null,s);else{if(p){if(1===e.nodeType&&e.hasAttribute(F)&&(e.removeAttribute(F),n=!0),a(n)){if(j(e,t,d))return T(t,d,!0),e;pe("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}l=e,e=new ke(c.tagName(l).toLowerCase(),{},[],void 0,l)}var f=e.elm,m=c.parentNode(f);if(h(t,d,f._leaveCb?null:m,c.nextSibling(f)),o(t.parent))for(var g=t.parent,v=y(t);g;){for(var b=0;b<i.destroy.length;++b)i.destroy[b](g);if(g.elm=t.elm,v){for(var _=0;_<i.create.length;++_)i.create[_](Ei,g);var w=g.data.hook.insert;if(w.merged)for(var x=1;x<w.fns.length;x++)w.fns[x]()}else Ti(g);g=g.parent}o(m)?A([e],0,0):o(e.tag)&&k(e)}}return T(t,d,u),t.elm}o(e)&&k(e)}}({nodeOps:Mi,modules:[Ui,Yi,nr,or,gr,K?{create:Hr,activate:Hr,remove:function(e,t){!0!==e.data.show?Fr(e,t):t()}}:{}].concat(Ii)});ee&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Xr(e,"input")});var Vr={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?jt(n,"postpatch",function(){Vr.componentUpdated(e,t,n)}):Wr(e,t,n.context),e._vOptions=[].map.call(e.options,Kr)):("textarea"===n.tag||Si(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Qr),e.addEventListener("compositionend",Jr),e.addEventListener("change",Jr),ee&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Wr(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,Kr);if(r.some(function(e,t){return!D(e,i[t])}))(e.multiple?t.value.some(function(e){return Gr(e,r)}):t.value!==t.oldValue&&Gr(t.value,r))&&Xr(e,"change")}}};function Wr(e,t,n){Yr(e,t,n),(Z||te)&&setTimeout(function(){Yr(e,t,n)},0)}function Yr(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],r)o=q(i,Kr(a))>-1,a.selected!==o&&(a.selected=o);else if(D(Kr(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));r||(e.selectedIndex=-1)}else pe('<select multiple v-model="'+t.expression+'"> expects an Array value for its binding, but got '+Object.prototype.toString.call(i).slice(8,-1),n)}function Gr(e,t){return t.every(function(t){return!D(t,e)})}function Kr(e){return"_value"in e?e._value:e.value}function Qr(e){e.target.composing=!0}function Jr(e){e.target.composing&&(e.target.composing=!1,Xr(e.target,"input"))}function Xr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Zr(e){return!e.componentInstance||e.data&&e.data.transition?e:Zr(e.componentInstance._vnode)}var eo={model:Vr,show:{bind:function(e,t,n){var i=t.value,r=(n=Zr(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,Rr(n,function(){e.style.display=o})):e.style.display=i?o:"none"},update:function(e,t,n){var i=t.value;!i!=!t.oldValue&&((n=Zr(n)).data&&n.data.transition?(n.data.show=!0,i?Rr(n,function(){e.style.display=e.__vOriginalDisplay}):Fr(n,function(){e.style.display="none"})):e.style.display=i?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,i,r){r||(e.style.display=e.__vOriginalDisplay)}}},to={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function no(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?no(bn(t.children)):e}function io(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var r=n._parentListeners;for(var o in r)t[C(o)]=r[o];return t}function ro(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var oo=function(e){return e.tag||vn(e)},ao=function(e){return"show"===e.name},so={name:"transition",props:to,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(oo)).length){n.length>1&&pe("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var i=this.mode;i&&"in-out"!==i&&"out-in"!==i&&pe("invalid <transition> mode: "+i,this.$parent);var r=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return r;var o=no(r);if(!o)return r;if(this._leaving)return ro(e,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=io(this),c=this._vnode,u=no(c);if(o.data.directives&&o.data.directives.some(ao)&&(o.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,u)&&!vn(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=P({},l);if("out-in"===i)return this._leaving=!0,jt(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),ro(e,r);if("in-out"===i){if(vn(o))return c;var p,f=function(){p()};jt(l,"afterEnter",f),jt(l,"enterCancelled",f),jt(d,"delayLeave",function(e){p=e})}}return r}}},lo=P({tag:String,moveClass:String},to);function co(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function uo(e){e.data.newPos=e.elm.getBoundingClientRect()}function po(e){var t=e.data.pos,n=e.data.newPos,i=t.left-n.left,r=t.top-n.top;if(i||r){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete lo.mode;var fo={Transition:so,TransitionGroup:{props:lo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=Cn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=io(this),s=0;s<r.length;s++){var l=r[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a;else{var c=l.componentOptions,u=c?c.Ctor.options.name||c.tag||"":l.tag;pe("<transition-group> children must be keyed: <"+u+">")}}if(i){for(var d=[],p=[],f=0;f<i.length;f++){var h=i[f];h.data.transition=a,h.data.pos=h.elm.getBoundingClientRect(),n[h.key]?d.push(h):p.push(h)}this.kept=e(t,null,d),this.removed=p}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(co),e.forEach(uo),e.forEach(po),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,i=n.style;Pr(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Sr,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Sr,e),n._moveCb=null,jr(n,t))})}}))},methods:{hasMove:function(e,t){if(!xr)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){yr(n,e)}),br(n,t),n.style.display="none",this.$el.appendChild(n);var i=Lr(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};Zn.config.mustUseProp=function(e,t,n){return"value"===n&&li(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Zn.config.isReservedTag=Ai,Zn.config.isReservedAttr=si,Zn.config.getTagNamespace=function(e){return ki(e)?"svg":"math"===e?"math":void 0},Zn.config.isUnknownElement=function(e){if(!K)return!0;if(Ai(e))return!1;if(e=e.toLowerCase(),null!=Ci[e])return Ci[e];var t=document.createElement(e);return e.indexOf("-")>-1?Ci[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Ci[e]=/HTMLUnknownElement/.test(t.toString())},P(Zn.options.directives,eo),P(Zn.options.components,fo),Zn.prototype.__patch__=K?Ur:N,Zn.prototype.$mount=function(e,t){return function(e,t,n){var i;return e.$el=t,e.$options.render||(e.$options.render=Ce,e.$options.template&&"#"!==e.$options.template.charAt(0)||e.$options.el||t?pe("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):pe("Failed to mount component: template or render function not defined.",e)),On(e,"beforeMount"),i=z.performance&&At?function(){var t=e._name,i=e._uid,r="vue-perf-start:"+i,o="vue-perf-end:"+i;At(r);var a=e._render();At(o),Ct("vue "+t+" render",r,o),At(r),e._update(a,n),At(o),Ct("vue "+t+" patch",r,o)}:function(){e._update(e._render(),n)},new zn(e,i,N,{before:function(){e._isMounted&&!e._isDestroyed&&On(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,On(e,"mounted")),e}(this,e=e&&K?function(e){if("string"==typeof e){var t=document.querySelector(e);return t||(pe("Cannot find element: "+e),document.createElement("div"))}return e}(e):void 0,t)},K&&setTimeout(function(){z.devtools&&(le?le.emit("init",Zn):console[console.info?"info":"log"]("Download the Vue Devtools extension for a better development experience:\nhttps://github.com/vuejs/vue-devtools")),!1!==z.productionTip&&"undefined"!=typeof console&&console[console.info?"info":"log"]("You are running Vue in development mode.\nMake sure to turn on production mode when deploying for production.\nSee more tips at https://vuejs.org/guide/deployment.html")},0),t.exports=Zn}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{timers:148}],159:[function(e,t,n){t.exports=e("./vue.runtime.common.prod.js")},{"./vue.runtime.common.dev.js":158,"./vue.runtime.common.prod.js":160}],160:[function(e,t,n){(function(e,n){"use strict";var i=Object.freeze({});function r(e){return null==e}function o(e){return null!=e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function d(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function h(e){var t=parseFloat(e);return isNaN(t)?e:t}function m(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var g=m("key,ref,slot,slot-scope,is");function v(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function y(e,t){return b.call(e,t)}function _(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var w=/-(\w)/g,x=_(function(e){return e.replace(w,function(e,t){return t?t.toUpperCase():""})}),k=_(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),A=/\B([A-Z])/g,C=_(function(e){return e.replace(A,"-$1").toLowerCase()}),S=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function M(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function O(e,t){for(var n in t)e[n]=t[n];return e}function T(e){for(var t={},n=0;n<e.length;n++)e[n]&&O(t,e[n]);return t}function E(e,t,n){}var P=function(e,t,n){return!1},j=function(e){return e};function N(e,t){if(e===t)return!0;var n=l(e),i=l(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var r=Array.isArray(e),o=Array.isArray(t);if(r&&o)return e.length===t.length&&e.every(function(e,n){return N(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(r||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return N(e[n],t[n])})}catch(e){return!1}}function $(e,t){for(var n=0;n<e.length;n++)if(N(e[n],t))return n;return-1}function L(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var D="data-server-rendered",q=["component","directive","filter"],R=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],F={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:P,isReservedAttr:P,isUnknownElement:P,getTagNamespace:E,parsePlatformTagName:j,mustUseProp:P,async:!0,_lifecycleHooks:R};function I(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var B,z=new RegExp("[^"+/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/.source+".$_\\d]"),H="__proto__"in{},U="undefined"!=typeof window,V="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,W=V&&WXEnvironment.platform.toLowerCase(),Y=U&&window.navigator.userAgent.toLowerCase(),G=Y&&/msie|trident/.test(Y),K=Y&&Y.indexOf("msie 9.0")>0,Q=Y&&Y.indexOf("edge/")>0,J=(Y&&Y.indexOf("android"),Y&&/iphone|ipad|ipod|ios/.test(Y)||"ios"===W),X=(Y&&/chrome\/\d+/.test(Y),Y&&/phantomjs/.test(Y),Y&&Y.match(/firefox\/(\d+)/)),Z={}.watch,ee=!1;if(U)try{var te={};Object.defineProperty(te,"passive",{get:function(){ee=!0}}),window.addEventListener("test-passive",null,te)}catch(i){}var ne=function(){return void 0===B&&(B=!U&&!V&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),B},ie=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function re(e){return"function"==typeof e&&/native code/.test(e.toString())}var oe,ae="undefined"!=typeof Symbol&&re(Symbol)&&"undefined"!=typeof Reflect&&re(Reflect.ownKeys);oe="undefined"!=typeof Set&&re(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var se=E,le=0,ce=function(){this.id=le++,this.subs=[]};ce.prototype.addSub=function(e){this.subs.push(e)},ce.prototype.removeSub=function(e){v(this.subs,e)},ce.prototype.depend=function(){ce.target&&ce.target.addDep(this)},ce.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},ce.target=null;var ue=[];function de(e){ue.push(e),ce.target=e}function pe(){ue.pop(),ce.target=ue[ue.length-1]}var fe=function(e,t,n,i,r,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},he={child:{configurable:!0}};he.child.get=function(){return this.componentInstance},Object.defineProperties(fe.prototype,he);var me=function(e){void 0===e&&(e="");var t=new fe;return t.text=e,t.isComment=!0,t};function ge(e){return new fe(void 0,void 0,void 0,String(e))}function ve(e){var t=new fe(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var be=Array.prototype,ye=Object.create(be);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=be[e];I(ye,e,function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var r,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&a.observeArray(r),a.dep.notify(),o})});var _e=Object.getOwnPropertyNames(ye),we=!0;function xe(e){we=e}var ke=function(e){var t;this.value=e,this.dep=new ce,this.vmCount=0,I(e,"__ob__",this),Array.isArray(e)?(H?(t=ye,e.__proto__=t):function(e,t,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];I(e,o,t[o])}}(e,ye,_e),this.observeArray(e)):this.walk(e)};function Ae(e,t){var n;if(l(e)&&!(e instanceof fe))return y(e,"__ob__")&&e.__ob__ instanceof ke?n=e.__ob__:we&&!ne()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new ke(e)),t&&n&&n.vmCount++,n}function Ce(e,t,n,i,r){var o=new ce,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!r&&Ae(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ce.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,i=0,r=t.length;i<r;i++)(n=t[i])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var i=s?s.call(e):n;t===i||t!=t&&i!=i||s&&!l||(l?l.call(e,t):n=t,c=!r&&Ae(t),o.notify())}})}}function Se(e,t,n){if(Array.isArray(e)&&d(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var i=e.__ob__;return e._isVue||i&&i.vmCount?n:i?(Ce(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function Me(e,t){if(Array.isArray(e)&&d(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||y(e,t)&&(delete e[t],n&&n.dep.notify())}}ke.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Ce(e,t[n])},ke.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Ae(e[t])};var Oe=F.optionMergeStrategies;function Te(e,t){if(!t)return e;for(var n,i,r,o=ae?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(i=e[n],r=t[n],y(e,n)?i!==r&&u(i)&&u(r)&&Te(i,r):Se(e,n,r));return e}function Ee(e,t,n){return n?function(){var i="function"==typeof t?t.call(n,n):t,r="function"==typeof e?e.call(n,n):e;return i?Te(i,r):r}:t?e?function(){return Te("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Pe(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function je(e,t,n,i){var r=Object.create(e||null);return t?O(r,t):r}Oe.data=function(e,t,n){return n?Ee(e,t,n):t&&"function"!=typeof t?e:Ee(e,t)},R.forEach(function(e){Oe[e]=Pe}),q.forEach(function(e){Oe[e+"s"]=je}),Oe.watch=function(e,t,n,i){if(e===Z&&(e=void 0),t===Z&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var r={};for(var o in O(r,e),t){var a=r[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),r[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return r},Oe.props=Oe.methods=Oe.inject=Oe.computed=function(e,t,n,i){if(!e)return t;var r=Object.create(null);return O(r,e),t&&O(r,t),r},Oe.provide=Ee;var Ne=function(e,t){return void 0===t?e:t};function $e(e,t,n){if("function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var i,r,o={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(r=n[i])&&(o[x(r)]={type:null});else if(u(n))for(var a in n)r=n[a],o[x(a)]=u(r)?r:{type:r};e.props=o}}(t),function(e,t){var n=e.inject;if(n){var i=e.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)i[n[r]]={from:n[r]};else if(u(n))for(var o in n){var a=n[o];i[o]=u(a)?O({from:o},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"function"==typeof i&&(t[n]={bind:i,update:i})}}(t),!t._base&&(t.extends&&(e=$e(e,t.extends,n)),t.mixins))for(var i=0,r=t.mixins.length;i<r;i++)e=$e(e,t.mixins[i],n);var o,a={};for(o in e)s(o);for(o in t)y(e,o)||s(o);function s(i){var r=Oe[i]||Ne;a[i]=r(e[i],t[i],n,i)}return a}function Le(e,t,n,i){if("string"==typeof n){var r=e[t];if(y(r,n))return r[n];var o=x(n);if(y(r,o))return r[o];var a=k(o);return y(r,a)?r[a]:r[n]||r[o]||r[a]}}function De(e,t,n,i){var r=t[e],o=!y(n,e),a=n[e],s=Fe(Boolean,r.type);if(s>-1)if(o&&!y(r,"default"))a=!1;else if(""===a||a===C(e)){var l=Fe(String,r.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(y(t,"default")){var i=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof i&&"Function"!==qe(t.type)?i.call(e):i}}(i,r,e);var c=we;xe(!0),Ae(a),xe(c)}return a}function qe(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Re(e,t){return qe(e)===qe(t)}function Fe(e,t){if(!Array.isArray(t))return Re(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(Re(t[n],e))return n;return-1}function Ie(e,t,n){de();try{if(t)for(var i=t;i=i.$parent;){var r=i.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{if(!1===r[o].call(i,e,t,n))return}catch(e){ze(e,i,"errorCaptured hook")}}ze(e,t,n)}finally{pe()}}function Be(e,t,n,i,r){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&p(o)&&!o._handled&&(o.catch(function(e){return Ie(e,i,r+" (Promise/async)")}),o._handled=!0)}catch(e){Ie(e,i,r)}return o}function ze(e,t,n){if(F.errorHandler)try{return F.errorHandler.call(null,e,t,n)}catch(t){t!==e&&He(t,null,"config.errorHandler")}He(e,t,n)}function He(e,t,n){if(!U&&!V||"undefined"==typeof console)throw e;console.error(e)}var Ue,Ve=!1,We=[],Ye=!1;function Ge(){Ye=!1;var e=We.slice(0);We.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&re(Promise)){var Ke=Promise.resolve();Ue=function(){Ke.then(Ge),J&&setTimeout(E)},Ve=!0}else if(G||"undefined"==typeof MutationObserver||!re(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ue=void 0!==n&&re(n)?function(){n(Ge)}:function(){setTimeout(Ge,0)};else{var Qe=1,Je=new MutationObserver(Ge),Xe=document.createTextNode(String(Qe));Je.observe(Xe,{characterData:!0}),Ue=function(){Qe=(Qe+1)%2,Xe.data=String(Qe)},Ve=!0}function Ze(e,t){var n;if(We.push(function(){if(e)try{e.call(t)}catch(e){Ie(e,t,"nextTick")}else n&&n(t)}),Ye||(Ye=!0,Ue()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var et=new oe;function tt(e){!function e(t,n){var i,r,o=Array.isArray(t);if(!(!o&&!l(t)||Object.isFrozen(t)||t instanceof fe)){if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(i=t.length;i--;)e(t[i],n);else for(i=(r=Object.keys(t)).length;i--;)e(t[r[i]],n)}}(e,et),et.clear()}var nt=_(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),i="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=i?e.slice(1):e,once:n,capture:i,passive:t}});function it(e,t){function n(){var e=arguments,i=n.fns;if(!Array.isArray(i))return Be(i,null,arguments,t,"v-on handler");for(var r=i.slice(),o=0;o<r.length;o++)Be(r[o],null,e,t,"v-on handler")}return n.fns=e,n}function rt(e,t,n,i,o,s){var l,c,u,d;for(l in e)c=e[l],u=t[l],d=nt(l),r(c)||(r(u)?(r(c.fns)&&(c=e[l]=it(c,s)),a(d.once)&&(c=e[l]=o(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u));for(l in t)r(e[l])&&i((d=nt(l)).name,t[l],d.capture)}function ot(e,t,n){var i;e instanceof fe&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function l(){n.apply(this,arguments),v(i.fns,l)}r(s)?i=it([l]):o(s.fns)&&a(s.merged)?(i=s).fns.push(l):i=it([s,l]),i.merged=!0,e[t]=i}function at(e,t,n,i,r){if(o(t)){if(y(t,n))return e[n]=t[n],r||delete t[n],!0;if(y(t,i))return e[n]=t[i],r||delete t[i],!0}return!1}function st(e){return s(e)?[ge(e)]:Array.isArray(e)?function e(t,n){var i,l,c,u,d=[];for(i=0;i<t.length;i++)r(l=t[i])||"boolean"==typeof l||(u=d[c=d.length-1],Array.isArray(l)?l.length>0&&(lt((l=e(l,(n||"")+"_"+i))[0])&<(u)&&(d[c]=ge(u.text+l[0].text),l.shift()),d.push.apply(d,l)):s(l)?lt(u)?d[c]=ge(u.text+l):""!==l&&d.push(ge(l)):lt(l)&<(u)?d[c]=ge(u.text+l.text):(a(t._isVList)&&o(l.tag)&&r(l.key)&&o(n)&&(l.key="__vlist"+n+"_"+i+"__"),d.push(l)));return d}(e):void 0}function lt(e){return o(e)&&o(e.text)&&!1===e.isComment}function ct(e,t){if(e){for(var n=Object.create(null),i=ae?Reflect.ownKeys(e):Object.keys(e),r=0;r<i.length;r++){var o=i[r];if("__ob__"!==o){for(var a=e[o].from,s=t;s;){if(s._provided&&y(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s&&"default"in e[o]){var l=e[o].default;n[o]="function"==typeof l?l.call(t):l}}}return n}}function ut(e,t){if(!e||!e.length)return{};for(var n={},i=0,r=e.length;i<r;i++){var o=e[i],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var c in n)n[c].every(dt)&&delete n[c];return n}function dt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function pt(e,t,n){var r,o=Object.keys(t).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==i&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var l in r={},e)e[l]&&"$"!==l[0]&&(r[l]=ft(t,l,e[l]))}else r={};for(var c in t)c in r||(r[c]=ht(t,c));return e&&Object.isExtensible(e)&&(e._normalized=r),I(r,"$stable",a),I(r,"$key",s),I(r,"$hasNormal",o),r}function ft(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:st(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function ht(e,t){return function(){return e[t]}}function mt(e,t){var n,i,r,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,r=e.length;i<r;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(l(e))if(ae&&e[Symbol.iterator]){n=[];for(var c=e[Symbol.iterator](),u=c.next();!u.done;)n.push(t(u.value,n.length)),u=c.next()}else for(a=Object.keys(e),n=new Array(a.length),i=0,r=a.length;i<r;i++)s=a[i],n[i]=t(e[s],s,i);return o(n)||(n=[]),n._isVList=!0,n}function gt(e,t,n,i){var r,o=this.$scopedSlots[e];o?(n=n||{},i&&(n=O(O({},i),n)),r=o(n)||t):r=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function vt(e){return Le(this.$options,"filters",e)||j}function bt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function yt(e,t,n,i,r){var o=F.keyCodes[t]||n;return r&&i&&!F.keyCodes[t]?bt(r,i):o?bt(o,e):i?C(i)!==t:void 0}function _t(e,t,n,i,r){if(n&&l(n)){var o;Array.isArray(n)&&(n=T(n));var a=function(a){if("class"===a||"style"===a||g(a))o=e;else{var s=e.attrs&&e.attrs.type;o=i||F.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=x(a),c=C(a);l in o||c in o||(o[a]=n[a],r&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var s in n)a(s)}return e}function wt(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t?i:(kt(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i)}function xt(e,t,n){return kt(e,"__once__"+t+(n?"_"+n:""),!0),e}function kt(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&At(e[i],t+"_"+i,n);else At(e,t,n)}function At(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Ct(e,t){if(t&&u(t)){var n=e.on=e.on?O({},e.on):{};for(var i in t){var r=n[i],o=t[i];n[i]=r?[].concat(r,o):o}}return e}function St(e,t,n,i){t=t||{$stable:!n};for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?St(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return i&&(t.$key=i),t}function Mt(e,t){for(var n=0;n<t.length;n+=2){var i=t[n];"string"==typeof i&&i&&(e[t[n]]=t[n+1])}return e}function Ot(e,t){return"string"==typeof e?t+e:e}function Tt(e){e._o=xt,e._n=h,e._s=f,e._l=mt,e._t=gt,e._q=N,e._i=$,e._m=wt,e._f=vt,e._k=yt,e._b=_t,e._v=ge,e._e=me,e._u=St,e._g=Ct,e._d=Mt,e._p=Ot}function Et(e,t,n,r,o){var s,l=this,c=o.options;y(r,"_uid")?(s=Object.create(r))._original=r:(s=r,r=r._original);var u=a(c._compiled),d=!u;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||i,this.injections=ct(c.inject,r),this.slots=function(){return l.$slots||pt(e.scopedSlots,l.$slots=ut(n,r)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return pt(e.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=pt(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,i){var o=Ft(s,e,t,n,i,d);return o&&!Array.isArray(o)&&(o.fnScopeId=c._scopeId,o.fnContext=r),o}:this._c=function(e,t,n,i){return Ft(s,e,t,n,i,d)}}function Pt(e,t,n,i,r){var o=ve(e);return o.fnContext=n,o.fnOptions=i,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function jt(e,t){for(var n in t)e[x(n)]=t[n]}Tt(Et.prototype);var Nt={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Nt.prepatch(n,n)}else(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:Kt},i=e.data.inlineTemplate;return o(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new e.componentOptions.Ctor(n)}(e)).$mount(t?e.elm:void 0,t)},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,o){var a=r.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==i&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),c=!!(o||e.$options._renderChildren||l);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o,e.$attrs=r.data.attrs||i,e.$listeners=n||i,t&&e.$options.props){xe(!1);for(var u=e._props,d=e.$options._propKeys||[],p=0;p<d.length;p++){var f=d[p],h=e.$options.props;u[f]=De(f,h,t,e)}xe(!0),e.$options.propsData=t}n=n||i;var m=e.$options._parentListeners;e.$options._parentListeners=n,Gt(e,n,m),c&&(e.$slots=ut(o,r.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,i=e.componentInstance;i._isMounted||(i._isMounted=!0,Zt(i,"mounted")),e.data.keepAlive&&(n._isMounted?((t=i)._inactive=!1,tn.push(t)):Xt(i,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(!(n&&(t._directInactive=!0,Jt(t))||t._inactive)){t._inactive=!0;for(var i=0;i<t.$children.length;i++)e(t.$children[i]);Zt(t,"deactivated")}}(t,!0):t.$destroy())}},$t=Object.keys(Nt);function Lt(e,t,n,s,c){if(!r(e)){var u=n.$options._base;if(l(e)&&(e=u.extend(e)),"function"==typeof e){var d;if(r(e.cid)&&void 0===(e=function(e,t){if(a(e.error)&&o(e.errorComp))return e.errorComp;if(o(e.resolved))return e.resolved;var n=Bt;if(n&&o(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),a(e.loading)&&o(e.loadingComp))return e.loadingComp;if(n&&!o(e.owners)){var i=e.owners=[n],s=!0,c=null,u=null;n.$on("hook:destroyed",function(){return v(i,n)});var d=function(e){for(var t=0,n=i.length;t<n;t++)i[t].$forceUpdate();e&&(i.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},f=L(function(n){e.resolved=zt(n,t),s?i.length=0:d(!0)}),h=L(function(t){o(e.errorComp)&&(e.error=!0,d(!0))}),m=e(f,h);return l(m)&&(p(m)?r(e.resolved)&&m.then(f,h):p(m.component)&&(m.component.then(f,h),o(m.error)&&(e.errorComp=zt(m.error,t)),o(m.loading)&&(e.loadingComp=zt(m.loading,t),0===m.delay?e.loading=!0:c=setTimeout(function(){c=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,d(!1))},m.delay||200)),o(m.timeout)&&(u=setTimeout(function(){u=null,r(e.resolved)&&h(null)},m.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}(d=e,u)))return function(e,t,n,i,r){var o=me();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:i,tag:r},o}(d,t,n,s,c);t=t||{},wn(e),o(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var r=t.on||(t.on={}),a=r[i],s=t.model.callback;o(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(r[i]=[s].concat(a)):r[i]=s}(e.options,t);var f=function(e,t,n){var i=t.options.props;if(!r(i)){var a={},s=e.attrs,l=e.props;if(o(s)||o(l))for(var c in i){var u=C(c);at(a,l,c,u,!0)||at(a,s,c,u,!1)}return a}}(t,e);if(a(e.options.functional))return function(e,t,n,r,a){var s=e.options,l={},c=s.props;if(o(c))for(var u in c)l[u]=De(u,c,t||i);else o(n.attrs)&&jt(l,n.attrs),o(n.props)&&jt(l,n.props);var d=new Et(n,l,a,r,e),p=s.render.call(null,d._c,d);if(p instanceof fe)return Pt(p,n,d.parent,s);if(Array.isArray(p)){for(var f=st(p)||[],h=new Array(f.length),m=0;m<f.length;m++)h[m]=Pt(f[m],n,d.parent,s);return h}}(e,f,t,n,s);var h=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var m=t.slot;t={},m&&(t.slot=m)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<$t.length;n++){var i=$t[n],r=t[i],o=Nt[i];r===o||r&&r._merged||(t[i]=r?Dt(o,r):o)}}(t);var g=e.options.name||c;return new fe("vue-component-"+e.cid+(g?"-"+g:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:h,tag:c,children:s},d)}}}function Dt(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}var qt=1,Rt=2;function Ft(e,t,n,i,c,u){return(Array.isArray(n)||s(n))&&(c=i,i=n,n=void 0),a(u)&&(c=Rt),function(e,t,n,i,s){if(o(n)&&o(n.__ob__))return me();if(o(n)&&o(n.is)&&(t=n.is),!t)return me();var c,u,d;(Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0),s===Rt?i=st(i):s===qt&&(i=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(i)),"string"==typeof t)?(u=e.$vnode&&e.$vnode.ns||F.getTagNamespace(t),c=F.isReservedTag(t)?new fe(F.parsePlatformTagName(t),n,i,void 0,void 0,e):n&&n.pre||!o(d=Le(e.$options,"components",t))?new fe(t,n,i,void 0,void 0,e):Lt(d,n,e,i,t)):c=Lt(t,n,e,i);return Array.isArray(c)?c:o(c)?(o(u)&&function e(t,n,i){if(t.ns=n,"foreignObject"===t.tag&&(n=void 0,i=!0),o(t.children))for(var s=0,l=t.children.length;s<l;s++){var c=t.children[s];o(c.tag)&&(r(c.ns)||a(i)&&"svg"!==c.tag)&&e(c,n,i)}}(c,u),o(n)&&function(e){l(e.style)&&tt(e.style),l(e.class)&&tt(e.class)}(n),c):me()}(e,t,n,i,c)}var It,Bt=null;function zt(e,t){return(e.__esModule||ae&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function Ht(e){return e.isComment&&e.asyncFactory}function Ut(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(o(n)&&(o(n.componentOptions)||Ht(n)))return n}}function Vt(e,t){It.$on(e,t)}function Wt(e,t){It.$off(e,t)}function Yt(e,t){var n=It;return function i(){null!==t.apply(null,arguments)&&n.$off(e,i)}}function Gt(e,t,n){It=e,rt(t,n||{},Vt,Wt,Yt,e),It=void 0}var Kt=null;function Qt(e){var t=Kt;return Kt=e,function(){Kt=t}}function Jt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Xt(e,t){if(t){if(e._directInactive=!1,Jt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Xt(e.$children[n]);Zt(e,"activated")}}function Zt(e,t){de();var n=e.$options[t],i=t+" hook";if(n)for(var r=0,o=n.length;r<o;r++)Be(n[r],e,null,e,i);e._hasHookEvent&&e.$emit("hook:"+t),pe()}var en=[],tn=[],nn={},rn=!1,on=!1,an=0,sn=0,ln=Date.now;if(U&&!G){var cn=window.performance;cn&&"function"==typeof cn.now&&ln()>document.createEvent("Event").timeStamp&&(ln=function(){return cn.now()})}function un(){var e,t;for(sn=ln(),on=!0,en.sort(function(e,t){return e.id-t.id}),an=0;an<en.length;an++)(e=en[an]).before&&e.before(),t=e.id,nn[t]=null,e.run();var n=tn.slice(),i=en.slice();an=en.length=tn.length=0,nn={},rn=on=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Xt(e[t],!0)}(n),function(e){for(var t=e.length;t--;){var n=e[t],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&Zt(i,"updated")}}(i),ie&&F.devtools&&ie.emit("flush")}var dn=0,pn=function(e,t,n,i,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++dn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new oe,this.newDepIds=new oe,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!z.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=E)),this.value=this.lazy?void 0:this.get()};pn.prototype.get=function(){var e;de(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;Ie(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&tt(e),pe(),this.cleanupDeps()}return e},pn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},pn.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},pn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==nn[t]){if(nn[t]=!0,on){for(var n=en.length-1;n>an&&en[n].id>e.id;)n--;en.splice(n+1,0,e)}else en.push(e);rn||(rn=!0,Ze(un))}}(this)},pn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Ie(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},pn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},pn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},pn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var fn={enumerable:!0,configurable:!0,get:E,set:E};function hn(e,t,n){fn.get=function(){return this[t][n]},fn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,fn)}var mn={lazy:!0};function gn(e,t,n){var i=!ne();"function"==typeof n?(fn.get=i?vn(t):bn(n),fn.set=E):(fn.get=n.get?i&&!1!==n.cache?vn(t):bn(n.get):E,fn.set=n.set||E),Object.defineProperty(e,t,fn)}function vn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ce.target&&t.depend(),t.value}}function bn(e){return function(){return e.call(this,this)}}function yn(e,t,n,i){return u(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}var _n=0;function wn(e){var t=e.options;if(e.super){var n=wn(e.super);if(n!==e.superOptions){e.superOptions=n;var i=function(e){var t,n=e.options,i=e.sealedOptions;for(var r in n)n[r]!==i[r]&&(t||(t={}),t[r]=n[r]);return t}(e);i&&O(e.extendOptions,i),(t=e.options=$e(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function xn(e){this._init(e)}function kn(e){return e&&(e.Ctor.options.name||e.tag)}function An(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===c.call(n)&&e.test(t));var n}function Cn(e,t){var n=e.cache,i=e.keys,r=e._vnode;for(var o in n){var a=n[o];if(a){var s=kn(a.componentOptions);s&&!t(s)&&Sn(n,o,i,r)}}}function Sn(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,v(n,t)}xn.prototype._init=function(e){var t=this;t._uid=_n++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),i=t._parentVnode;n.parent=t.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=$e(wn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Gt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=ut(t._renderChildren,r),e.$scopedSlots=i,e._c=function(t,n,i,r){return Ft(e,t,n,i,r,!1)},e.$createElement=function(t,n,i,r){return Ft(e,t,n,i,r,!0)};var o=n&&n.data;Ce(e,"$attrs",o&&o.attrs||i,null,!0),Ce(e,"$listeners",t._parentListeners||i,null,!0)}(t),Zt(t,"beforeCreate"),function(e){var t=ct(e.$options.inject,e);t&&(xe(!1),Object.keys(t).forEach(function(n){Ce(e,n,t[n])}),xe(!0))}(t),function(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},i=e._props={},r=e.$options._propKeys=[];e.$parent&&xe(!1);var o=function(o){r.push(o);var a=De(o,t,n,e);Ce(i,o,a),o in e||hn(e,"_props",o)};for(var a in t)o(a);xe(!0)}(e,t.props),t.methods&&function(e,t){for(var n in e.$options.props,t)e[n]="function"!=typeof t[n]?E:S(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){de();try{return e.call(t,t)}catch(e){return Ie(e,t,"data()"),{}}finally{pe()}}(t,e):t||{})||(t={});for(var n,i=Object.keys(t),r=e.$options.props,o=(e.$options.methods,i.length);o--;){var a=i[o];r&&y(r,a)||36!==(n=(a+"").charCodeAt(0))&&95!==n&&hn(e,"_data",a)}Ae(t,!0)}(e):Ae(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),i=ne();for(var r in t){var o=t[r],a="function"==typeof o?o:o.get;i||(n[r]=new pn(e,a||E,E,mn)),r in e||gn(e,r,o)}}(e,t.computed),t.watch&&t.watch!==Z&&function(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)yn(e,n,i[r]);else yn(e,n,i)}}(e,t.watch)}(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),Zt(t,"created"),t.$options.el&&t.$mount(t.$options.el)},function(e){Object.defineProperty(e.prototype,"$data",{get:function(){return this._data}}),Object.defineProperty(e.prototype,"$props",{get:function(){return this._props}}),e.prototype.$set=Se,e.prototype.$delete=Me,e.prototype.$watch=function(e,t,n){if(u(t))return yn(this,e,t,n);(n=n||{}).user=!0;var i=new pn(this,e,t,n);if(n.immediate)try{t.call(this,i.value)}catch(e){Ie(e,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(xn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var i=this;if(Array.isArray(e))for(var r=0,o=e.length;r<o;r++)i.$on(e[r],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var n=this;function i(){n.$off(e,i),t.apply(n,arguments)}return i.fn=t,n.$on(e,i),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var i=0,r=e.length;i<r;i++)n.$off(e[i],t);return n}var o,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((o=a[s])===t||o.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this._events[e];if(t){t=t.length>1?M(t):t;for(var n=M(arguments,1),i='event handler for "'+e+'"',r=0,o=t.length;r<o;r++)Be(t[r],this,n,this,i)}return this}}(xn),function(e){e.prototype._update=function(e,t){var n=this,i=n.$el,r=n._vnode,o=Qt(n);n._vnode=e,n.$el=r?n.__patch__(r,e):n.__patch__(n.$el,e,t,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Zt(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||v(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Zt(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(xn),function(e){Tt(e.prototype),e.prototype.$nextTick=function(e){return Ze(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,r=n._parentVnode;r&&(t.$scopedSlots=pt(r.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=r;try{Bt=t,e=i.call(t._renderProxy,t.$createElement)}catch(n){Ie(n,t,"render"),e=t._vnode}finally{Bt=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof fe||(e=me()),e.parent=r,e}}(xn);var Mn=[String,RegExp,Array],On={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Mn,exclude:Mn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Sn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){Cn(e,function(e){return An(t,e)})}),this.$watch("exclude",function(t){Cn(e,function(e){return!An(t,e)})})},render:function(){var e=this.$slots.default,t=Ut(e),n=t&&t.componentOptions;if(n){var i=kn(n),r=this.include,o=this.exclude;if(r&&(!i||!An(r,i))||o&&i&&An(o,i))return t;var a=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,v(s,l),s.push(l)):(a[l]=t,s.push(l),this.max&&s.length>parseInt(this.max)&&Sn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return F}};Object.defineProperty(e,"config",t),e.util={warn:se,extend:O,mergeOptions:$e,defineReactive:Ce},e.set=Se,e.delete=Me,e.nextTick=Ze,e.observable=function(e){return Ae(e),e},e.options=Object.create(null),q.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,O(e.options.components,On),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=M(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=$e(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,r=e._Ctor||(e._Ctor={});if(r[i])return r[i];var o=e.name||n.options.name,a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=$e(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)hn(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)gn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,q.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=O({},a.options),r[i]=a,a}}(e),function(e){q.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(xn),Object.defineProperty(xn.prototype,"$isServer",{get:ne}),Object.defineProperty(xn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(xn,"FunctionalRenderContext",{value:Et}),xn.version="2.6.11";var Tn=m("style,class"),En=m("input,textarea,option,select,progress"),Pn=m("contenteditable,draggable,spellcheck"),jn=m("events,caret,typing,plaintext-only"),Nn=function(e,t){return Rn(t)||"false"===t?"false":"contenteditable"===e&&jn(t)?t:"true"},$n=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Ln="http://www.w3.org/1999/xlink",Dn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},qn=function(e){return Dn(e)?e.slice(6,e.length):""},Rn=function(e){return null==e||!1===e};function Fn(e,t){return{staticClass:In(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function In(e,t){return e?t?e+" "+t:e:t||""}function Bn(e){return Array.isArray(e)?function(e){for(var t,n="",i=0,r=e.length;i<r;i++)o(t=Bn(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):l(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var zn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Hn=m("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Un=m("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Vn=function(e){return Hn(e)||Un(e)},Wn=Object.create(null),Yn=m("text,number,password,search,email,tel,url"),Gn=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(zn[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Kn={create:function(e,t){Qn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Qn(e,!0),Qn(t))},destroy:function(e){Qn(e,!0)}};function Qn(e,t){var n=e.data.ref;if(o(n)){var i=e.context,r=e.componentInstance||e.elm,a=i.$refs;t?Array.isArray(a[n])?v(a[n],r):a[n]===r&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(r)<0&&a[n].push(r):a[n]=[r]:a[n]=r}}var Jn=new fe("",{},[]),Xn=["create","activate","update","remove","destroy"];function Zn(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&o(e.data)===o(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,i=o(n=e.data)&&o(n=n.attrs)&&n.type,r=o(n=t.data)&&o(n=n.attrs)&&n.type;return i===r||Yn(i)&&Yn(r)}(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function ei(e,t,n){var i,r,a={};for(i=t;i<=n;++i)o(r=e[i].key)&&(a[r]=i);return a}var ti={create:ni,update:ni,destroy:function(e){ni(e,Jn)}};function ni(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,i,r,o=e===Jn,a=t===Jn,s=ri(e.data.directives,e.context),l=ri(t.data.directives,t.context),c=[],u=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,ai(r,"update",t,e),r.def&&r.def.componentUpdated&&u.push(r)):(ai(r,"bind",t,e),r.def&&r.def.inserted&&c.push(r));if(c.length){var d=function(){for(var n=0;n<c.length;n++)ai(c[n],"inserted",t,e)};o?ot(t,"insert",d):d()}if(u.length&&ot(t,"postpatch",function(){for(var n=0;n<u.length;n++)ai(u[n],"componentUpdated",t,e)}),!o)for(n in s)l[n]||ai(s[n],"unbind",e,e,a)}(e,t)}var ii=Object.create(null);function ri(e,t){var n,i,r=Object.create(null);if(!e)return r;for(n=0;n<e.length;n++)(i=e[n]).modifiers||(i.modifiers=ii),r[oi(i)]=i,i.def=Le(t.$options,"directives",i.name);return r}function oi(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function ai(e,t,n,i,r){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,i,r)}catch(i){Ie(i,n.context,"directive "+e.name+" "+t+" hook")}}var si=[Kn,ti];function li(e,t){var n=t.componentOptions;if(!(o(n)&&!1===n.Ctor.options.inheritAttrs||r(e.data.attrs)&&r(t.data.attrs))){var i,a,s=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};for(i in o(c.__ob__)&&(c=t.data.attrs=O({},c)),c)a=c[i],l[i]!==a&&ci(s,i,a);for(i in(G||Q)&&c.value!==l.value&&ci(s,"value",c.value),l)r(c[i])&&(Dn(i)?s.removeAttributeNS(Ln,qn(i)):Pn(i)||s.removeAttribute(i))}}function ci(e,t,n){e.tagName.indexOf("-")>-1?ui(e,t,n):$n(t)?Rn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Pn(t)?e.setAttribute(t,Nn(t,n)):Dn(t)?Rn(n)?e.removeAttributeNS(Ln,qn(t)):e.setAttributeNS(Ln,t,n):ui(e,t,n)}function ui(e,t,n){if(Rn(n))e.removeAttribute(t);else{if(G&&!K&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var di={create:li,update:li};function pi(e,t){var n=t.elm,i=t.data,a=e.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=function(e){for(var t=e.data,n=e,i=e;o(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Fn(i.data,t));for(;o(n=n.parent);)n&&n.data&&(t=Fn(t,n.data));return function(e,t){return o(e)||o(t)?In(e,Bn(t)):""}(t.staticClass,t.class)}(t),l=n._transitionClasses;o(l)&&(s=In(s,Bn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var fi,hi={create:pi,update:pi},mi="__r",gi="__c";function vi(e,t,n){var i=fi;return function r(){null!==t.apply(null,arguments)&&_i(e,r,n,i)}}var bi=Ve&&!(X&&Number(X[1])<=53);function yi(e,t,n,i){if(bi){var r=sn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=r||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}fi.addEventListener(e,t,ee?{capture:n,passive:i}:n)}function _i(e,t,n,i){(i||fi).removeEventListener(e,t._wrapper||t,n)}function wi(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};fi=t.elm,function(e){if(o(e[mi])){var t=G?"change":"input";e[t]=[].concat(e[mi],e[t]||[]),delete e[mi]}o(e[gi])&&(e.change=[].concat(e[gi],e.change||[]),delete e[gi])}(n),rt(n,i,yi,_i,vi,t.context),fi=void 0}}var xi,ki={create:wi,update:wi};function Ai(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,i,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in o(l.__ob__)&&(l=t.data.domProps=O({},l)),s)n in l||(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var c=r(i)?"":String(i);Ci(a,c)&&(a.value=c)}else if("innerHTML"===n&&Un(a.tagName)&&r(a.innerHTML)){(xi=xi||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var u=xi.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(i!==s[n])try{a[n]=i}catch(e){}}}}function Ci(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,i=e._vModifiers;if(o(i)){if(i.number)return h(n)!==h(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Si={create:Ai,update:Ai},Mi=_(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var i=e.split(n);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t});function Oi(e){var t=Ti(e.style);return e.staticStyle?O(e.staticStyle,t):t}function Ti(e){return Array.isArray(e)?T(e):"string"==typeof e?Mi(e):e}var Ei,Pi=/^--/,ji=/\s*!important$/,Ni=function(e,t,n){if(Pi.test(t))e.style.setProperty(t,n);else if(ji.test(n))e.style.setProperty(C(t),n.replace(ji,""),"important");else{var i=Li(t);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)e.style[i]=n[r];else e.style[i]=n}},$i=["Webkit","Moz","ms"],Li=_(function(e){if(Ei=Ei||document.createElement("div").style,"filter"!==(e=x(e))&&e in Ei)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<$i.length;n++){var i=$i[n]+t;if(i in Ei)return i}});function Di(e,t){var n=t.data,i=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var a,s,l=t.elm,c=i.staticStyle,u=i.normalizedStyle||i.style||{},d=c||u,p=Ti(t.data.style)||{};t.data.normalizedStyle=o(p.__ob__)?O({},p):p;var f=function(e,t){for(var n,i={},r=e;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=Oi(r.data))&&O(i,n);(n=Oi(e.data))&&O(i,n);for(var o=e;o=o.parent;)o.data&&(n=Oi(o.data))&&O(i,n);return i}(t);for(s in d)r(f[s])&&Ni(l,s,"");for(s in f)(a=f[s])!==d[s]&&Ni(l,s,null==a?"":a)}}var qi={create:Di,update:Di},Ri=/\s+/;function Fi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Ri).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ii(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Ri).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Bi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&O(t,zi(e.name||"v")),O(t,e),t}return"string"==typeof e?zi(e):void 0}}var zi=_(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),Hi=U&&!K,Ui="transition",Vi="animation",Wi="transition",Yi="transitionend",Gi="animation",Ki="animationend";Hi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Wi="WebkitTransition",Yi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Gi="WebkitAnimation",Ki="webkitAnimationEnd"));var Qi=U?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ji(e){Qi(function(){Qi(e)})}function Xi(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Fi(e,t))}function Zi(e,t){e._transitionClasses&&v(e._transitionClasses,t),Ii(e,t)}function er(e,t,n){var i=nr(e,t),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===Ui?Yi:Ki,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l<a&&c()},o+1),e.addEventListener(s,u)}var tr=/\b(transform|all)(,|$)/;function nr(e,t){var n,i=window.getComputedStyle(e),r=(i[Wi+"Delay"]||"").split(", "),o=(i[Wi+"Duration"]||"").split(", "),a=ir(r,o),s=(i[Gi+"Delay"]||"").split(", "),l=(i[Gi+"Duration"]||"").split(", "),c=ir(s,l),u=0,d=0;return t===Ui?a>0&&(n=Ui,u=a,d=o.length):t===Vi?c>0&&(n=Vi,u=c,d=l.length):d=(n=(u=Math.max(a,c))>0?a>c?Ui:Vi:null)?n===Ui?o.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===Ui&&tr.test(i[Wi+"Property"])}}function ir(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return rr(t)+rr(e[n])}))}function rr(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function or(e,t){var n=e.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=Bi(e.data.transition);if(!r(i)&&!o(n._enterCb)&&1===n.nodeType){for(var a=i.css,s=i.type,c=i.enterClass,u=i.enterToClass,d=i.enterActiveClass,p=i.appearClass,f=i.appearToClass,m=i.appearActiveClass,g=i.beforeEnter,v=i.enter,b=i.afterEnter,y=i.enterCancelled,_=i.beforeAppear,w=i.appear,x=i.afterAppear,k=i.appearCancelled,A=i.duration,C=Kt,S=Kt.$vnode;S&&S.parent;)C=S.context,S=S.parent;var M=!C._isMounted||!e.isRootInsert;if(!M||w||""===w){var O=M&&p?p:c,T=M&&m?m:d,E=M&&f?f:u,P=M&&_||g,j=M&&"function"==typeof w?w:v,N=M&&x||b,$=M&&k||y,D=h(l(A)?A.enter:A),q=!1!==a&&!K,R=lr(j),F=n._enterCb=L(function(){q&&(Zi(n,E),Zi(n,T)),F.cancelled?(q&&Zi(n,O),$&&$(n)):N&&N(n),n._enterCb=null});e.data.show||ot(e,"insert",function(){var t=n.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),j&&j(n,F)}),P&&P(n),q&&(Xi(n,O),Xi(n,T),Ji(function(){Zi(n,O),F.cancelled||(Xi(n,E),R||(sr(D)?setTimeout(F,D):er(n,s,F)))})),e.data.show&&(t&&t(),j&&j(n,F)),q||R||F()}}}function ar(e,t){var n=e.elm;o(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=Bi(e.data.transition);if(r(i)||1!==n.nodeType)return t();if(!o(n._leaveCb)){var a=i.css,s=i.type,c=i.leaveClass,u=i.leaveToClass,d=i.leaveActiveClass,p=i.beforeLeave,f=i.leave,m=i.afterLeave,g=i.leaveCancelled,v=i.delayLeave,b=i.duration,y=!1!==a&&!K,_=lr(f),w=h(l(b)?b.leave:b),x=n._leaveCb=L(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),y&&(Zi(n,u),Zi(n,d)),x.cancelled?(y&&Zi(n,c),g&&g(n)):(t(),m&&m(n)),n._leaveCb=null});v?v(k):k()}function k(){x.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),p&&p(n),y&&(Xi(n,c),Xi(n,d),Ji(function(){Zi(n,c),x.cancelled||(Xi(n,u),_||(sr(w)?setTimeout(x,w):er(n,s,x)))})),f&&f(n,x),y||_||x())}}function sr(e){return"number"==typeof e&&!isNaN(e)}function lr(e){if(r(e))return!1;var t=e.fns;return o(t)?lr(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function cr(e,t){!0!==t.data.show&&or(t)}var ur=function(e){var t,n,i={},l=e.modules,c=e.nodeOps;for(t=0;t<Xn.length;++t)for(i[Xn[t]]=[],n=0;n<l.length;++n)o(l[n][Xn[t]])&&i[Xn[t]].push(l[n][Xn[t]]);function u(e){var t=c.parentNode(e);o(t)&&c.removeChild(t,e)}function d(e,t,n,r,s,l,u){if(o(e.elm)&&o(l)&&(e=l[u]=ve(e)),e.isRootInsert=!s,!function(e,t,n,r){var s=e.data;if(o(s)){var l=o(e.componentInstance)&&s.keepAlive;if(o(s=s.hook)&&o(s=s.init)&&s(e,!1),o(e.componentInstance))return p(e,t),f(n,e.elm,r),a(l)&&function(e,t,n,r){for(var a,s=e;s.componentInstance;)if(o(a=(s=s.componentInstance._vnode).data)&&o(a=a.transition)){for(a=0;a<i.activate.length;++a)i.activate[a](Jn,s);t.push(s);break}f(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var d=e.data,m=e.children,g=e.tag;o(g)?(e.elm=e.ns?c.createElementNS(e.ns,g):c.createElement(g,e),b(e),h(e,m,t),o(d)&&v(e,t),f(n,e.elm,r)):a(e.isComment)?(e.elm=c.createComment(e.text),f(n,e.elm,r)):(e.elm=c.createTextNode(e.text),f(n,e.elm,r))}}function p(e,t){o(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,g(e)?(v(e,t),b(e)):(Qn(e),t.push(e))}function f(e,t,n){o(e)&&(o(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function h(e,t,n){if(Array.isArray(t))for(var i=0;i<t.length;++i)d(t[i],n,e.elm,null,!0,t,i);else s(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function g(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return o(e.tag)}function v(e,n){for(var r=0;r<i.create.length;++r)i.create[r](Jn,e);o(t=e.data.hook)&&(o(t.create)&&t.create(Jn,e),o(t.insert)&&n.push(e))}function b(e){var t;if(o(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)o(t=n.context)&&o(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;o(t=Kt)&&t!==e.context&&t!==e.fnContext&&o(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function y(e,t,n,i,r,o){for(;i<=r;++i)d(n[i],o,e,t,!1,n,i)}function _(e){var t,n,r=e.data;if(o(r))for(o(t=r.hook)&&o(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(o(t=e.children))for(n=0;n<e.children.length;++n)_(e.children[n])}function w(e,t,n){for(;t<=n;++t){var i=e[t];o(i)&&(o(i.tag)?(x(i),_(i)):u(i.elm))}}function x(e,t){if(o(t)||o(e.data)){var n,r=i.remove.length+1;for(o(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&u(e)}return n.listeners=t,n}(e.elm,r),o(n=e.componentInstance)&&o(n=n._vnode)&&o(n.data)&&x(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);o(n=e.data.hook)&&o(n=n.remove)?n(e,t):t()}else u(e.elm)}function k(e,t,n,i){for(var r=n;r<i;r++){var a=t[r];if(o(a)&&Zn(e,a))return r}}function A(e,t,n,s,l,u){if(e!==t){o(t.elm)&&o(s)&&(t=s[l]=ve(t));var p=t.elm=e.elm;if(a(e.isAsyncPlaceholder))o(t.asyncFactory.resolved)?M(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(a(t.isStatic)&&a(e.isStatic)&&t.key===e.key&&(a(t.isCloned)||a(t.isOnce)))t.componentInstance=e.componentInstance;else{var f,h=t.data;o(h)&&o(f=h.hook)&&o(f=f.prepatch)&&f(e,t);var m=e.children,v=t.children;if(o(h)&&g(t)){for(f=0;f<i.update.length;++f)i.update[f](e,t);o(f=h.hook)&&o(f=f.update)&&f(e,t)}r(t.text)?o(m)&&o(v)?m!==v&&function(e,t,n,i,a){for(var s,l,u,p=0,f=0,h=t.length-1,m=t[0],g=t[h],v=n.length-1,b=n[0],_=n[v],x=!a;p<=h&&f<=v;)r(m)?m=t[++p]:r(g)?g=t[--h]:Zn(m,b)?(A(m,b,i,n,f),m=t[++p],b=n[++f]):Zn(g,_)?(A(g,_,i,n,v),g=t[--h],_=n[--v]):Zn(m,_)?(A(m,_,i,n,v),x&&c.insertBefore(e,m.elm,c.nextSibling(g.elm)),m=t[++p],_=n[--v]):Zn(g,b)?(A(g,b,i,n,f),x&&c.insertBefore(e,g.elm,m.elm),g=t[--h],b=n[++f]):(r(s)&&(s=ei(t,p,h)),r(l=o(b.key)?s[b.key]:k(b,t,p,h))?d(b,i,e,m.elm,!1,n,f):Zn(u=t[l],b)?(A(u,b,i,n,f),t[l]=void 0,x&&c.insertBefore(e,u.elm,m.elm)):d(b,i,e,m.elm,!1,n,f),b=n[++f]);p>h?y(e,r(n[v+1])?null:n[v+1].elm,n,f,v,i):f>v&&w(t,p,h)}(p,m,v,n,u):o(v)?(o(e.text)&&c.setTextContent(p,""),y(p,null,v,0,v.length-1,n)):o(m)?w(m,0,m.length-1):o(e.text)&&c.setTextContent(p,""):e.text!==t.text&&c.setTextContent(p,t.text),o(h)&&o(f=h.hook)&&o(f=f.postpatch)&&f(e,t)}}}function C(e,t,n){if(a(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var S=m("attrs,class,staticClass,staticStyle,key");function M(e,t,n,i){var r,s=t.tag,l=t.data,c=t.children;if(i=i||l&&l.pre,t.elm=e,a(t.isComment)&&o(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(o(l)&&(o(r=l.hook)&&o(r=r.init)&&r(t,!0),o(r=t.componentInstance)))return p(t,n),!0;if(o(s)){if(o(c))if(e.hasChildNodes())if(o(r=l)&&o(r=r.domProps)&&o(r=r.innerHTML)){if(r!==e.innerHTML)return!1}else{for(var u=!0,d=e.firstChild,f=0;f<c.length;f++){if(!d||!M(d,c[f],n,i)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else h(t,c,n);if(o(l)){var m=!1;for(var g in l)if(!S(g)){m=!0,v(t,n);break}!m&&l.class&&tt(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s){if(!r(t)){var l,u=!1,p=[];if(r(e))u=!0,d(t,p);else{var f=o(e.nodeType);if(!f&&Zn(e,t))A(e,t,p,null,null,s);else{if(f){if(1===e.nodeType&&e.hasAttribute(D)&&(e.removeAttribute(D),n=!0),a(n)&&M(e,t,p))return C(t,p,!0),e;l=e,e=new fe(c.tagName(l).toLowerCase(),{},[],void 0,l)}var h=e.elm,m=c.parentNode(h);if(d(t,p,h._leaveCb?null:m,c.nextSibling(h)),o(t.parent))for(var v=t.parent,b=g(t);v;){for(var y=0;y<i.destroy.length;++y)i.destroy[y](v);if(v.elm=t.elm,b){for(var x=0;x<i.create.length;++x)i.create[x](Jn,v);var k=v.data.hook.insert;if(k.merged)for(var S=1;S<k.fns.length;S++)k.fns[S]()}else Qn(v);v=v.parent}o(m)?w([e],0,0):o(e.tag)&&_(e)}}return C(t,p,u),t.elm}o(e)&&_(e)}}({nodeOps:Gn,modules:[di,hi,ki,Si,qi,U?{create:cr,activate:cr,remove:function(e,t){!0!==e.data.show?ar(e,t):t()}}:{}].concat(si)});K&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&br(e,"input")});var dr={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?ot(n,"postpatch",function(){dr.componentUpdated(e,t,n)}):pr(e,t,n.context),e._vOptions=[].map.call(e.options,mr)):("textarea"===n.tag||Yn(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",gr),e.addEventListener("compositionend",vr),e.addEventListener("change",vr),K&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){pr(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,mr);r.some(function(e,t){return!N(e,i[t])})&&(e.multiple?t.value.some(function(e){return hr(e,r)}):t.value!==t.oldValue&&hr(t.value,r))&&br(e,"change")}}};function pr(e,t,n){fr(e,t,n),(G||Q)&&setTimeout(function(){fr(e,t,n)},0)}function fr(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],r)o=$(i,mr(a))>-1,a.selected!==o&&(a.selected=o);else if(N(mr(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));r||(e.selectedIndex=-1)}}function hr(e,t){return t.every(function(t){return!N(t,e)})}function mr(e){return"_value"in e?e._value:e.value}function gr(e){e.target.composing=!0}function vr(e){e.target.composing&&(e.target.composing=!1,br(e.target,"input"))}function br(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function yr(e){return!e.componentInstance||e.data&&e.data.transition?e:yr(e.componentInstance._vnode)}var _r={model:dr,show:{bind:function(e,t,n){var i=t.value,r=(n=yr(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,or(n,function(){e.style.display=o})):e.style.display=i?o:"none"},update:function(e,t,n){var i=t.value;!i!=!t.oldValue&&((n=yr(n)).data&&n.data.transition?(n.data.show=!0,i?or(n,function(){e.style.display=e.__vOriginalDisplay}):ar(n,function(){e.style.display="none"})):e.style.display=i?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,i,r){r||(e.style.display=e.__vOriginalDisplay)}}},wr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function xr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?xr(Ut(t.children)):e}function kr(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var r=n._parentListeners;for(var o in r)t[x(o)]=r[o];return t}function Ar(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Cr=function(e){return e.tag||Ht(e)},Sr=function(e){return"show"===e.name},Mr={name:"transition",props:wr,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Cr)).length){var i=this.mode,r=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return r;var o=xr(r);if(!o)return r;if(this._leaving)return Ar(e,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=kr(this),c=this._vnode,u=xr(c);if(o.data.directives&&o.data.directives.some(Sr)&&(o.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,u)&&!Ht(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=O({},l);if("out-in"===i)return this._leaving=!0,ot(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Ar(e,r);if("in-out"===i){if(Ht(o))return c;var p,f=function(){p()};ot(l,"afterEnter",f),ot(l,"enterCancelled",f),ot(d,"delayLeave",function(e){p=e})}}return r}}},Or=O({tag:String,moveClass:String},wr);function Tr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Er(e){e.data.newPos=e.elm.getBoundingClientRect()}function Pr(e){var t=e.data.pos,n=e.data.newPos,i=t.left-n.left,r=t.top-n.top;if(i||r){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete Or.mode;var jr={Transition:Mr,TransitionGroup:{props:Or,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=Qt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=kr(this),s=0;s<r.length;s++){var l=r[s];l.tag&&null!=l.key&&0!==String(l.key).indexOf("__vlist")&&(o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a)}if(i){for(var c=[],u=[],d=0;d<i.length;d++){var p=i[d];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?c.push(p):u.push(p)}this.kept=e(t,null,c),this.removed=u}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Tr),e.forEach(Er),e.forEach(Pr),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,i=n.style;Xi(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Yi,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Yi,e),n._moveCb=null,Zi(n,t))})}}))},methods:{hasMove:function(e,t){if(!Hi)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){Ii(n,e)}),Fi(n,t),n.style.display="none",this.$el.appendChild(n);var i=nr(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};xn.config.mustUseProp=function(e,t,n){return"value"===n&&En(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},xn.config.isReservedTag=Vn,xn.config.isReservedAttr=Tn,xn.config.getTagNamespace=function(e){return Un(e)?"svg":"math"===e?"math":void 0},xn.config.isUnknownElement=function(e){if(!U)return!0;if(Vn(e))return!1;if(e=e.toLowerCase(),null!=Wn[e])return Wn[e];var t=document.createElement(e);return e.indexOf("-")>-1?Wn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Wn[e]=/HTMLUnknownElement/.test(t.toString())},O(xn.options.directives,_r),O(xn.options.components,jr),xn.prototype.__patch__=U?ur:E,xn.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=me),Zt(e,"beforeMount"),new pn(e,function(){e._update(e._render(),n)},E,{before:function(){e._isMounted&&!e._isDestroyed&&Zt(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Zt(e,"mounted")),e}(this,e=e&&U?function(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}(e):void 0,t)},U&&setTimeout(function(){F.devtools&&ie&&ie.emit("init",xn)},0),t.exports=xn}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{timers:148}],161:[function(e,t,n){var i=n.cache={};function r(){}n.insert=function(e){if(i[e])return r;i[e]=!0;var t=document.createElement("style");return t.setAttribute("type","text/css"),"textContent"in t?t.textContent=e:t.styleSheet.cssText=e,document.getElementsByTagName("head")[0].appendChild(t),function(){document.getElementsByTagName("head")[0].removeChild(t),i[e]=!1}}},{}],162:[function(e,t,n){"use strict";!function(){var n=e("./utils").log,i=e("./utils").browserDetails;t.exports.browserDetails=i,t.exports.extractVersion=e("./utils").extractVersion,t.exports.disableLog=e("./utils").disableLog;var r=e("./chrome/chrome_shim")||null,o=e("./edge/edge_shim")||null,a=e("./firefox/firefox_shim")||null,s=e("./safari/safari_shim")||null;switch(i.browser){case"opera":case"chrome":if(!r||!r.shimPeerConnection)return void n("Chrome shim is not included in this adapter release.");n("adapter.js shimming chrome."),t.exports.browserShim=r,r.shimGetUserMedia(),r.shimMediaStream(),r.shimSourceObject(),r.shimPeerConnection(),r.shimOnTrack();break;case"firefox":if(!a||!a.shimPeerConnection)return void n("Firefox shim is not included in this adapter release.");n("adapter.js shimming firefox."),t.exports.browserShim=a,a.shimGetUserMedia(),a.shimSourceObject(),a.shimPeerConnection(),a.shimOnTrack();break;case"edge":if(!o||!o.shimPeerConnection)return void n("MS edge shim is not included in this adapter release.");n("adapter.js shimming edge."),t.exports.browserShim=o,o.shimGetUserMedia(),o.shimPeerConnection();break;case"safari":if(!s)return void n("Safari shim is not included in this adapter release.");n("adapter.js shimming safari."),t.exports.browserShim=s,s.shimGetUserMedia();break;default:n("Unsupported browser!")}}()},{"./chrome/chrome_shim":163,"./edge/edge_shim":165,"./firefox/firefox_shim":167,"./safari/safari_shim":169,"./utils":170}],163:[function(e,t,n){"use strict";var i=e("../utils.js").log,r=e("../utils.js").browserDetails,o={shimMediaStream:function(){window.MediaStream=window.MediaStream||window.webkitMediaStream},shimOnTrack:function(){"object"!=typeof window||!window.RTCPeerConnection||"ontrack"in window.RTCPeerConnection.prototype||Object.defineProperty(window.RTCPeerConnection.prototype,"ontrack",{get:function(){return this._ontrack},set:function(e){var t=this;this._ontrack&&(this.removeEventListener("track",this._ontrack),this.removeEventListener("addstream",this._ontrackpoly)),this.addEventListener("track",this._ontrack=e),this.addEventListener("addstream",this._ontrackpoly=function(e){e.stream.addEventListener("addtrack",function(n){var i=new Event("track");i.track=n.track,i.receiver={track:n.track},i.streams=[e.stream],t.dispatchEvent(i)}),e.stream.getTracks().forEach(function(t){var n=new Event("track");n.track=t,n.receiver={track:t},n.streams=[e.stream],this.dispatchEvent(n)}.bind(this))}.bind(this))}})},shimSourceObject:function(){"object"==typeof window&&(!window.HTMLMediaElement||"srcObject"in window.HTMLMediaElement.prototype||Object.defineProperty(window.HTMLMediaElement.prototype,"srcObject",{get:function(){return this._srcObject},set:function(e){var t=this;this._srcObject=e,this.src&&URL.revokeObjectURL(this.src),e?(this.src=URL.createObjectURL(e),e.addEventListener("addtrack",function(){t.src&&URL.revokeObjectURL(t.src),t.src=URL.createObjectURL(e)}),e.addEventListener("removetrack",function(){t.src&&URL.revokeObjectURL(t.src),t.src=URL.createObjectURL(e)})):this.src=""}}))},shimPeerConnection:function(){window.RTCPeerConnection=function(e,t){i("PeerConnection"),e&&e.iceTransportPolicy&&(e.iceTransports=e.iceTransportPolicy);var n=new webkitRTCPeerConnection(e,t),r=n.getStats.bind(n);return n.getStats=function(e,t,n){var i=this,o=arguments;if(arguments.length>0&&"function"==typeof e)return r(e,t);var a=function(e){var t={};return e.result().forEach(function(e){var n={id:e.id,timestamp:e.timestamp,type:e.type};e.names().forEach(function(t){n[t]=e.stat(t)}),t[n.id]=n}),t},s=function(e,t){var n=new Map(Object.keys(e).map(function(t){return[t,e[t]]}));return t=t||e,Object.keys(t).forEach(function(e){n[e]=t[e]}),n};if(arguments.length>=2){return r.apply(this,[function(e){o[1](s(a(e)))},arguments[0]])}return new Promise(function(t,n){1===o.length&&"object"==typeof e?r.apply(i,[function(e){t(s(a(e)))},n]):r.apply(i,[function(e){t(s(a(e),e.result()))},n])}).then(t,n)},n},window.RTCPeerConnection.prototype=webkitRTCPeerConnection.prototype,webkitRTCPeerConnection.generateCertificate&&Object.defineProperty(window.RTCPeerConnection,"generateCertificate",{get:function(){return webkitRTCPeerConnection.generateCertificate}}),["createOffer","createAnswer"].forEach(function(e){var t=webkitRTCPeerConnection.prototype[e];webkitRTCPeerConnection.prototype[e]=function(){var e=this;if(arguments.length<1||1===arguments.length&&"object"==typeof arguments[0]){var n=1===arguments.length?arguments[0]:void 0;return new Promise(function(i,r){t.apply(e,[i,r,n])})}return t.apply(this,arguments)}}),r.version<51&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){var t=webkitRTCPeerConnection.prototype[e];webkitRTCPeerConnection.prototype[e]=function(){var e=arguments,n=this,i=new Promise(function(i,r){t.apply(n,[e[0],i,r])});return e.length<2?i:i.then(function(){e[1].apply(null,[])},function(t){e.length>=3&&e[2].apply(null,[t])})}});var e=RTCPeerConnection.prototype.addIceCandidate;RTCPeerConnection.prototype.addIceCandidate=function(){return null===arguments[0]?Promise.resolve():e.apply(this,arguments)},["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){var t=webkitRTCPeerConnection.prototype[e];webkitRTCPeerConnection.prototype[e]=function(){return arguments[0]=new("addIceCandidate"===e?RTCIceCandidate:RTCSessionDescription)(arguments[0]),t.apply(this,arguments)}})},attachMediaStream:function(e,t){i("DEPRECATED, attachMediaStream will soon be removed."),r.version>=43?e.srcObject=t:void 0!==e.src?e.src=URL.createObjectURL(t):i("Error attaching stream to element.")},reattachMediaStream:function(e,t){i("DEPRECATED, reattachMediaStream will soon be removed."),r.version>=43?e.srcObject=t.srcObject:e.src=t.src}};t.exports={shimMediaStream:o.shimMediaStream,shimOnTrack:o.shimOnTrack,shimSourceObject:o.shimSourceObject,shimPeerConnection:o.shimPeerConnection,shimGetUserMedia:e("./getusermedia"),attachMediaStream:o.attachMediaStream,reattachMediaStream:o.reattachMediaStream}},{"../utils.js":170,"./getusermedia":164}],164:[function(e,t,n){"use strict";var i=e("../utils.js").log;t.exports=function(){var e=function(e){if("object"!=typeof e||e.mandatory||e.optional)return e;var t={};return Object.keys(e).forEach(function(n){if("require"!==n&&"advanced"!==n&&"mediaSource"!==n){var i="object"==typeof e[n]?e[n]:{ideal:e[n]};void 0!==i.exact&&"number"==typeof i.exact&&(i.min=i.max=i.exact);var r=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==i.ideal){t.optional=t.optional||[];var o={};"number"==typeof i.ideal?(o[r("min",n)]=i.ideal,t.optional.push(o),(o={})[r("max",n)]=i.ideal,t.optional.push(o)):(o[r("",n)]=i.ideal,t.optional.push(o))}void 0!==i.exact&&"number"!=typeof i.exact?(t.mandatory=t.mandatory||{},t.mandatory[r("",n)]=i.exact):["min","max"].forEach(function(e){void 0!==i[e]&&(t.mandatory=t.mandatory||{},t.mandatory[r(e,n)]=i[e])})}}),e.advanced&&(t.optional=(t.optional||[]).concat(e.advanced)),t},t=function(t,n){if((t=JSON.parse(JSON.stringify(t)))&&t.audio&&(t.audio=e(t.audio)),t&&"object"==typeof t.video){var r=t.video.facingMode;if((r=r&&("object"==typeof r?r:{ideal:r}))&&("user"===r.exact||"environment"===r.exact||"user"===r.ideal||"environment"===r.ideal)&&(!navigator.mediaDevices.getSupportedConstraints||!navigator.mediaDevices.getSupportedConstraints().facingMode)&&(delete t.video.facingMode,"environment"===r.exact||"environment"===r.ideal))return navigator.mediaDevices.enumerateDevices().then(function(o){var a=(o=o.filter(function(e){return"videoinput"===e.kind})).find(function(e){return-1!==e.label.toLowerCase().indexOf("back")})||o.length&&o[o.length-1];return a&&(t.video.deviceId=r.exact?{exact:a.deviceId}:{ideal:a.deviceId}),t.video=e(t.video),i("chrome: "+JSON.stringify(t)),n(t)});t.video=e(t.video)}return i("chrome: "+JSON.stringify(t)),n(t)},n=function(e){return{name:{PermissionDeniedError:"NotAllowedError",ConstraintNotSatisfiedError:"OverconstrainedError"}[e.name]||e.name,message:e.message,constraint:e.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}};navigator.getUserMedia=function(e,i,r){t(e,function(e){navigator.webkitGetUserMedia(e,i,function(e){r(n(e))})})};var r=function(e){return new Promise(function(t,n){navigator.getUserMedia(e,t,n)})};if(navigator.mediaDevices||(navigator.mediaDevices={getUserMedia:r,enumerateDevices:function(){return new Promise(function(e){var t={audio:"audioinput",video:"videoinput"};return MediaStreamTrack.getSources(function(n){e(n.map(function(e){return{label:e.label,kind:t[e.kind],deviceId:e.id,groupId:""}}))})})}}),navigator.mediaDevices.getUserMedia){var o=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(e){return t(e,function(e){return o(e).catch(function(e){return Promise.reject(n(e))})})}}else navigator.mediaDevices.getUserMedia=function(e){return r(e)};void 0===navigator.mediaDevices.addEventListener&&(navigator.mediaDevices.addEventListener=function(){i("Dummy mediaDevices.addEventListener called.")}),void 0===navigator.mediaDevices.removeEventListener&&(navigator.mediaDevices.removeEventListener=function(){i("Dummy mediaDevices.removeEventListener called.")})}},{"../utils.js":170}],165:[function(e,t,n){"use strict";var i=e("sdp"),r=e("../utils").log,o={shimPeerConnection:function(){window.RTCIceGatherer&&(window.RTCIceCandidate||(window.RTCIceCandidate=function(e){return e}),window.RTCSessionDescription||(window.RTCSessionDescription=function(e){return e})),window.RTCPeerConnection=function(e){var t=this,n=document.createDocumentFragment();if(["addEventListener","removeEventListener","dispatchEvent"].forEach(function(e){t[e]=n[e].bind(n)}),this.onicecandidate=null,this.onaddstream=null,this.ontrack=null,this.onremovestream=null,this.onsignalingstatechange=null,this.oniceconnectionstatechange=null,this.onnegotiationneeded=null,this.ondatachannel=null,this.localStreams=[],this.remoteStreams=[],this.getLocalStreams=function(){return t.localStreams},this.getRemoteStreams=function(){return t.remoteStreams},this.localDescription=new RTCSessionDescription({type:"",sdp:""}),this.remoteDescription=new RTCSessionDescription({type:"",sdp:""}),this.signalingState="stable",this.iceConnectionState="new",this.iceGatheringState="new",this.iceOptions={gatherPolicy:"all",iceServers:[]},e&&e.iceTransportPolicy)switch(e.iceTransportPolicy){case"all":case"relay":this.iceOptions.gatherPolicy=e.iceTransportPolicy;break;case"none":throw new TypeError('iceTransportPolicy "none" not supported')}if(this.usingBundle=e&&"max-bundle"===e.bundlePolicy,e&&e.iceServers){var i=JSON.parse(JSON.stringify(e.iceServers));this.iceOptions.iceServers=i.filter(function(e){if(e&&e.urls){var t=e.urls;return"string"==typeof t&&(t=[t]),!!(t=t.filter(function(e){return 0===e.indexOf("turn:")&&-1!==e.indexOf("transport=udp")})[0])}return!1})}this.transceivers=[],this._localIceCandidatesBuffer=[]},window.RTCPeerConnection.prototype._emitBufferedCandidates=function(){var e=this,t=i.splitSections(e.localDescription.sdp);this._localIceCandidatesBuffer.forEach(function(n){if(!n.candidate||0===Object.keys(n.candidate).length)for(var i=1;i<t.length;i++)-1===t[i].indexOf("\r\na=end-of-candidates\r\n")&&(t[i]+="a=end-of-candidates\r\n");else-1===n.candidate.candidate.indexOf("typ endOfCandidates")&&(t[n.candidate.sdpMLineIndex+1]+="a="+n.candidate.candidate+"\r\n");(e.localDescription.sdp=t.join(""),e.dispatchEvent(n),null!==e.onicecandidate&&e.onicecandidate(n),n.candidate||"complete"===e.iceGatheringState)||e.transceivers.every(function(e){return e.iceGatherer&&"completed"===e.iceGatherer.state})&&(e.iceGatheringState="complete")}),this._localIceCandidatesBuffer=[]},window.RTCPeerConnection.prototype.addStream=function(e){this.localStreams.push(e.clone()),this._maybeFireNegotiationNeeded()},window.RTCPeerConnection.prototype.removeStream=function(e){var t=this.localStreams.indexOf(e);t>-1&&(this.localStreams.splice(t,1),this._maybeFireNegotiationNeeded())},window.RTCPeerConnection.prototype.getSenders=function(){return this.transceivers.filter(function(e){return!!e.rtpSender}).map(function(e){return e.rtpSender})},window.RTCPeerConnection.prototype.getReceivers=function(){return this.transceivers.filter(function(e){return!!e.rtpReceiver}).map(function(e){return e.rtpReceiver})},window.RTCPeerConnection.prototype._getCommonCapabilities=function(e,t){var n={codecs:[],headerExtensions:[],fecMechanisms:[]};return e.codecs.forEach(function(e){for(var i=0;i<t.codecs.length;i++){var r=t.codecs[i];if(e.name.toLowerCase()===r.name.toLowerCase()&&e.clockRate===r.clockRate&&e.numChannels===r.numChannels){n.codecs.push(r);break}}}),e.headerExtensions.forEach(function(e){for(var i=0;i<t.headerExtensions.length;i++){var r=t.headerExtensions[i];if(e.uri===r.uri){n.headerExtensions.push(r);break}}}),n},window.RTCPeerConnection.prototype._createIceAndDtlsTransports=function(e,t){var n=this,r=new RTCIceGatherer(n.iceOptions),o=new RTCIceTransport(r);r.onlocalcandidate=function(a){var s=new Event("icecandidate");s.candidate={sdpMid:e,sdpMLineIndex:t};var l=a.candidate,c=!l||0===Object.keys(l).length;c?(void 0===r.state&&(r.state="completed"),s.candidate.candidate="candidate:1 1 udp 1 0.0.0.0 9 typ endOfCandidates"):(l.component="RTCP"===o.component?2:1,s.candidate.candidate=i.writeCandidate(l));var u=i.splitSections(n.localDescription.sdp);-1===s.candidate.candidate.indexOf("typ endOfCandidates")?u[s.candidate.sdpMLineIndex+1]+="a="+s.candidate.candidate+"\r\n":u[s.candidate.sdpMLineIndex+1]+="a=end-of-candidates\r\n",n.localDescription.sdp=u.join("");var d=n.transceivers.every(function(e){return e.iceGatherer&&"completed"===e.iceGatherer.state});switch(n.iceGatheringState){case"new":n._localIceCandidatesBuffer.push(s),c&&d&&n._localIceCandidatesBuffer.push(new Event("icecandidate"));break;case"gathering":n._emitBufferedCandidates(),n.dispatchEvent(s),null!==n.onicecandidate&&n.onicecandidate(s),d&&(n.dispatchEvent(new Event("icecandidate")),null!==n.onicecandidate&&n.onicecandidate(new Event("icecandidate")),n.iceGatheringState="complete")}},o.onicestatechange=function(){n._updateConnectionState()};var a=new RTCDtlsTransport(o);return a.ondtlsstatechange=function(){n._updateConnectionState()},a.onerror=function(){a.state="failed",n._updateConnectionState()},{iceGatherer:r,iceTransport:o,dtlsTransport:a}},window.RTCPeerConnection.prototype._transceive=function(e,t,n){var r=this._getCommonCapabilities(e.localCapabilities,e.remoteCapabilities);t&&e.rtpSender&&(r.encodings=e.sendEncodingParameters,r.rtcp={cname:i.localCName},e.recvEncodingParameters.length&&(r.rtcp.ssrc=e.recvEncodingParameters[0].ssrc),e.rtpSender.send(r)),n&&e.rtpReceiver&&(r.encodings=e.recvEncodingParameters,r.rtcp={cname:e.cname},e.sendEncodingParameters.length&&(r.rtcp.ssrc=e.sendEncodingParameters[0].ssrc),e.rtpReceiver.receive(r))},window.RTCPeerConnection.prototype.setLocalDescription=function(e){var t,n,r=this;if("offer"===e.type)this._pendingOffer&&(t=i.splitSections(e.sdp),n=t.shift(),t.forEach(function(e,t){var n=i.parseRtpParameters(e);r._pendingOffer[t].localCapabilities=n}),this.transceivers=this._pendingOffer,delete this._pendingOffer);else if("answer"===e.type){t=i.splitSections(r.remoteDescription.sdp),n=t.shift();var o=i.matchPrefix(n,"a=ice-lite").length>0;t.forEach(function(e,t){var a=r.transceivers[t],s=a.iceGatherer,l=a.iceTransport,c=a.dtlsTransport,u=a.localCapabilities,d=a.remoteCapabilities;if(!("0"===e.split("\n",1)[0].split(" ",2)[1])){var p=i.getIceParameters(e,n);if(o){var f=i.matchPrefix(e,"a=candidate:").map(function(e){return i.parseCandidate(e)}).filter(function(e){return"1"===e.component});f.length&&l.setRemoteCandidates(f)}var h=i.getDtlsParameters(e,n);o&&(h.role="server"),r.usingBundle&&0!==t||(l.start(s,p,o?"controlling":"controlled"),c.start(h));var m=r._getCommonCapabilities(u,d);r._transceive(a,m.codecs.length>0,!1)}})}switch(this.localDescription={type:e.type,sdp:e.sdp},e.type){case"offer":this._updateSignalingState("have-local-offer");break;case"answer":this._updateSignalingState("stable");break;default:throw new TypeError('unsupported type "'+e.type+'"')}var a=arguments.length>1&&"function"==typeof arguments[1];if(a){var s=arguments[1];window.setTimeout(function(){s(),"new"===r.iceGatheringState&&(r.iceGatheringState="gathering"),r._emitBufferedCandidates()},0)}var l=Promise.resolve();return l.then(function(){a||("new"===r.iceGatheringState&&(r.iceGatheringState="gathering"),window.setTimeout(r._emitBufferedCandidates.bind(r),500))}),l},window.RTCPeerConnection.prototype.setRemoteDescription=function(e){var t=this,n=new MediaStream,r=[],o=i.splitSections(e.sdp),a=o.shift(),s=i.matchPrefix(a,"a=ice-lite").length>0;switch(this.usingBundle=i.matchPrefix(a,"a=group:BUNDLE ").length>0,o.forEach(function(o,l){var c,u,d,p,f,h,m,g,v,b,y,_,w=i.splitLines(o)[0].substr(2).split(" "),x=w[0],k="0"===w[1],A=i.getDirection(o,a),C=i.parseRtpParameters(o);k||(y=i.getIceParameters(o,a),(_=i.getDtlsParameters(o,a)).role="client"),g=i.parseRtpEncodingParameters(o);var S,M=i.matchPrefix(o,"a=mid:");M=M.length?M[0].substr(6):i.generateIdentifier();var O=i.matchPrefix(o,"a=ssrc:").map(function(e){return i.parseSsrcMedia(e)}).filter(function(e){return"cname"===e.attribute})[0];O&&(S=O.value);var T=i.matchPrefix(o,"a=end-of-candidates").length>0,E=i.matchPrefix(o,"a=candidate:").map(function(e){return i.parseCandidate(e)}).filter(function(e){return"1"===e.component});if("offer"!==e.type||k)"answer"!==e.type||k||(u=(c=t.transceivers[l]).iceGatherer,d=c.iceTransport,p=c.dtlsTransport,f=c.rtpSender,h=c.rtpReceiver,m=c.sendEncodingParameters,v=c.localCapabilities,t.transceivers[l].recvEncodingParameters=g,t.transceivers[l].remoteCapabilities=C,t.transceivers[l].cname=S,(s||T)&&E.length&&d.setRemoteCandidates(E),t.usingBundle&&0!==l||(d.start(u,y,"controlling"),p.start(_)),t._transceive(c,"sendrecv"===A||"recvonly"===A,"sendrecv"===A||"sendonly"===A),!h||"sendrecv"!==A&&"sendonly"!==A?delete c.rtpReceiver:(b=h.track,r.push([b,h]),n.addTrack(b)));else{var P=t.usingBundle&&l>0?{iceGatherer:t.transceivers[0].iceGatherer,iceTransport:t.transceivers[0].iceTransport,dtlsTransport:t.transceivers[0].dtlsTransport}:t._createIceAndDtlsTransports(M,l);if(T&&P.iceTransport.setRemoteCandidates(E),v=RTCRtpReceiver.getCapabilities(x),m=[{ssrc:1001*(2*l+2)}],b=(h=new RTCRtpReceiver(P.dtlsTransport,x)).track,r.push([b,h]),n.addTrack(b),t.localStreams.length>0&&t.localStreams[0].getTracks().length>=l){var j=t.localStreams[0].getTracks()[l];f=new RTCRtpSender(j,P.dtlsTransport)}t.transceivers[l]={iceGatherer:P.iceGatherer,iceTransport:P.iceTransport,dtlsTransport:P.dtlsTransport,localCapabilities:v,remoteCapabilities:C,rtpSender:f,rtpReceiver:h,kind:x,mid:M,cname:S,sendEncodingParameters:m,recvEncodingParameters:g},t._transceive(t.transceivers[l],!1,"sendrecv"===A||"sendonly"===A)}}),this.remoteDescription={type:e.type,sdp:e.sdp},e.type){case"offer":this._updateSignalingState("have-remote-offer");break;case"answer":this._updateSignalingState("stable");break;default:throw new TypeError('unsupported type "'+e.type+'"')}return n.getTracks().length&&(t.remoteStreams.push(n),window.setTimeout(function(){var e=new Event("addstream");e.stream=n,t.dispatchEvent(e),null!==t.onaddstream&&window.setTimeout(function(){t.onaddstream(e)},0),r.forEach(function(i){var r=i[0],o=i[1],a=new Event("track");a.track=r,a.receiver=o,a.streams=[n],t.dispatchEvent(e),null!==t.ontrack&&window.setTimeout(function(){t.ontrack(a)},0)})},0)),arguments.length>1&&"function"==typeof arguments[1]&&window.setTimeout(arguments[1],0),Promise.resolve()},window.RTCPeerConnection.prototype.close=function(){this.transceivers.forEach(function(e){e.iceTransport&&e.iceTransport.stop(),e.dtlsTransport&&e.dtlsTransport.stop(),e.rtpSender&&e.rtpSender.stop(),e.rtpReceiver&&e.rtpReceiver.stop()}),this._updateSignalingState("closed")},window.RTCPeerConnection.prototype._updateSignalingState=function(e){this.signalingState=e;var t=new Event("signalingstatechange");this.dispatchEvent(t),null!==this.onsignalingstatechange&&this.onsignalingstatechange(t)},window.RTCPeerConnection.prototype._maybeFireNegotiationNeeded=function(){var e=new Event("negotiationneeded");this.dispatchEvent(e),null!==this.onnegotiationneeded&&this.onnegotiationneeded(e)},window.RTCPeerConnection.prototype._updateConnectionState=function(){var e,t={new:0,closed:0,connecting:0,checking:0,connected:0,completed:0,failed:0};if(this.transceivers.forEach(function(e){t[e.iceTransport.state]++,t[e.dtlsTransport.state]++}),t.connected+=t.completed,e="new",t.failed>0?e="failed":t.connecting>0||t.checking>0?e="connecting":t.disconnected>0?e="disconnected":t.new>0?e="new":(t.connected>0||t.completed>0)&&(e="connected"),e!==this.iceConnectionState){this.iceConnectionState=e;var n=new Event("iceconnectionstatechange");this.dispatchEvent(n),null!==this.oniceconnectionstatechange&&this.oniceconnectionstatechange(n)}},window.RTCPeerConnection.prototype.createOffer=function(){var e,t=this;if(this._pendingOffer)throw new Error("createOffer called while there is a pending offer.");1===arguments.length&&"function"!=typeof arguments[0]?e=arguments[0]:3===arguments.length&&(e=arguments[2]);var n=[],r=0,o=0;if(this.localStreams.length&&(r=this.localStreams[0].getAudioTracks().length,o=this.localStreams[0].getVideoTracks().length),e){if(e.mandatory||e.optional)throw new TypeError("Legacy mandatory/optional constraints not supported.");void 0!==e.offerToReceiveAudio&&(r=e.offerToReceiveAudio),void 0!==e.offerToReceiveVideo&&(o=e.offerToReceiveVideo)}for(this.localStreams.length&&this.localStreams[0].getTracks().forEach(function(e){n.push({kind:e.kind,track:e,wantReceive:"audio"===e.kind?r>0:o>0}),"audio"===e.kind?r--:"video"===e.kind&&o--});r>0||o>0;)r>0&&(n.push({kind:"audio",wantReceive:!0}),r--),o>0&&(n.push({kind:"video",wantReceive:!0}),o--);var a=i.writeSessionBoilerplate(),s=[];n.forEach(function(e,n){var r,o,a=e.track,l=e.kind,c=i.generateIdentifier(),u=t.usingBundle&&n>0?{iceGatherer:s[0].iceGatherer,iceTransport:s[0].iceTransport,dtlsTransport:s[0].dtlsTransport}:t._createIceAndDtlsTransports(c,n),d=RTCRtpSender.getCapabilities(l),p=[{ssrc:1001*(2*n+1)}];a&&(r=new RTCRtpSender(a,u.dtlsTransport)),e.wantReceive&&(o=new RTCRtpReceiver(u.dtlsTransport,l)),s[n]={iceGatherer:u.iceGatherer,iceTransport:u.iceTransport,dtlsTransport:u.dtlsTransport,localCapabilities:d,remoteCapabilities:null,rtpSender:r,rtpReceiver:o,kind:l,mid:c,sendEncodingParameters:p,recvEncodingParameters:null}}),this.usingBundle&&(a+="a=group:BUNDLE "+s.map(function(e){return e.mid}).join(" ")+"\r\n"),n.forEach(function(e,n){var r=s[n];a+=i.writeMediaSection(r,r.localCapabilities,"offer",t.localStreams[0])}),this._pendingOffer=s;var l=new RTCSessionDescription({type:"offer",sdp:a});return arguments.length&&"function"==typeof arguments[0]&&window.setTimeout(arguments[0],0,l),Promise.resolve(l)},window.RTCPeerConnection.prototype.createAnswer=function(){var e=this,t=i.writeSessionBoilerplate();this.usingBundle&&(t+="a=group:BUNDLE "+this.transceivers.map(function(e){return e.mid}).join(" ")+"\r\n"),this.transceivers.forEach(function(n){var r=e._getCommonCapabilities(n.localCapabilities,n.remoteCapabilities);t+=i.writeMediaSection(n,r,"answer",e.localStreams[0])});var n=new RTCSessionDescription({type:"answer",sdp:t});return arguments.length&&"function"==typeof arguments[0]&&window.setTimeout(arguments[0],0,n),Promise.resolve(n)},window.RTCPeerConnection.prototype.addIceCandidate=function(e){if(null===e)this.transceivers.forEach(function(e){e.iceTransport.addRemoteCandidate({})});else{var t=e.sdpMLineIndex;if(e.sdpMid)for(var n=0;n<this.transceivers.length;n++)if(this.transceivers[n].mid===e.sdpMid){t=n;break}var r=this.transceivers[t];if(r){var o=Object.keys(e.candidate).length>0?i.parseCandidate(e.candidate):{};if("tcp"===o.protocol&&0===o.port)return;if("1"!==o.component)return;"endOfCandidates"===o.type&&(o={}),r.iceTransport.addRemoteCandidate(o);var a=i.splitSections(this.remoteDescription.sdp);a[t+1]+=(o.type?e.candidate.trim():"a=end-of-candidates")+"\r\n",this.remoteDescription.sdp=a.join("")}}return arguments.length>1&&"function"==typeof arguments[1]&&window.setTimeout(arguments[1],0),Promise.resolve()},window.RTCPeerConnection.prototype.getStats=function(){var e=[];this.transceivers.forEach(function(t){["rtpSender","rtpReceiver","iceGatherer","iceTransport","dtlsTransport"].forEach(function(n){t[n]&&e.push(t[n].getStats())})});var t=arguments.length>1&&"function"==typeof arguments[1]&&arguments[1];return new Promise(function(n){var i=new Map;Promise.all(e).then(function(e){e.forEach(function(e){Object.keys(e).forEach(function(t){i.set(t,e[t]),i[t]=e[t]})}),t&&window.setTimeout(t,0,i),n(i)})})}},attachMediaStream:function(e,t){r("DEPRECATED, attachMediaStream will soon be removed."),e.srcObject=t},reattachMediaStream:function(e,t){r("DEPRECATED, reattachMediaStream will soon be removed."),e.srcObject=t.srcObject}};t.exports={shimPeerConnection:o.shimPeerConnection,shimGetUserMedia:e("./getusermedia"),attachMediaStream:o.attachMediaStream,reattachMediaStream:o.reattachMediaStream}},{"../utils":170,"./getusermedia":166,sdp:110}],166:[function(e,t,n){"use strict";t.exports=function(){var e=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(t){return e(t).catch(function(e){return Promise.reject(function(e){return{name:{PermissionDeniedError:"NotAllowedError"}[e.name]||e.name,message:e.message,constraint:e.constraint,toString:function(){return this.name}}}(e))})}}},{}],167:[function(e,t,n){"use strict";var i=e("../utils").log,r=e("../utils").browserDetails,o={shimOnTrack:function(){"object"!=typeof window||!window.RTCPeerConnection||"ontrack"in window.RTCPeerConnection.prototype||Object.defineProperty(window.RTCPeerConnection.prototype,"ontrack",{get:function(){return this._ontrack},set:function(e){this._ontrack&&(this.removeEventListener("track",this._ontrack),this.removeEventListener("addstream",this._ontrackpoly)),this.addEventListener("track",this._ontrack=e),this.addEventListener("addstream",this._ontrackpoly=function(e){e.stream.getTracks().forEach(function(t){var n=new Event("track");n.track=t,n.receiver={track:t},n.streams=[e.stream],this.dispatchEvent(n)}.bind(this))}.bind(this))}})},shimSourceObject:function(){"object"==typeof window&&(!window.HTMLMediaElement||"srcObject"in window.HTMLMediaElement.prototype||Object.defineProperty(window.HTMLMediaElement.prototype,"srcObject",{get:function(){return this.mozSrcObject},set:function(e){this.mozSrcObject=e}}))},shimPeerConnection:function(){if("object"==typeof window&&(window.RTCPeerConnection||window.mozRTCPeerConnection)){window.RTCPeerConnection||(window.RTCPeerConnection=function(e,t){if(r.version<38&&e&&e.iceServers){for(var n=[],i=0;i<e.iceServers.length;i++){var o=e.iceServers[i];if(o.hasOwnProperty("urls"))for(var a=0;a<o.urls.length;a++){var s={url:o.urls[a]};0===o.urls[a].indexOf("turn")&&(s.username=o.username,s.credential=o.credential),n.push(s)}else n.push(e.iceServers[i])}e.iceServers=n}return new mozRTCPeerConnection(e,t)},window.RTCPeerConnection.prototype=mozRTCPeerConnection.prototype,mozRTCPeerConnection.generateCertificate&&Object.defineProperty(window.RTCPeerConnection,"generateCertificate",{get:function(){return mozRTCPeerConnection.generateCertificate}}),window.RTCSessionDescription=mozRTCSessionDescription,window.RTCIceCandidate=mozRTCIceCandidate),["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){var t=RTCPeerConnection.prototype[e];RTCPeerConnection.prototype[e]=function(){return arguments[0]=new("addIceCandidate"===e?RTCIceCandidate:RTCSessionDescription)(arguments[0]),t.apply(this,arguments)}});var e=RTCPeerConnection.prototype.addIceCandidate;RTCPeerConnection.prototype.addIceCandidate=function(){return null===arguments[0]?Promise.resolve():e.apply(this,arguments)};var t=RTCPeerConnection.prototype.getStats;RTCPeerConnection.prototype.getStats=function(e,n,i){return t.apply(this,[e||null]).then(function(e){return function(e){var t=new Map;return Object.keys(e).forEach(function(n){t.set(n,e[n]),t[n]=e[n]}),t}(e)}).then(n,i)}}},attachMediaStream:function(e,t){i("DEPRECATED, attachMediaStream will soon be removed."),e.srcObject=t},reattachMediaStream:function(e,t){i("DEPRECATED, reattachMediaStream will soon be removed."),e.srcObject=t.srcObject}};t.exports={shimOnTrack:o.shimOnTrack,shimSourceObject:o.shimSourceObject,shimPeerConnection:o.shimPeerConnection,shimGetUserMedia:e("./getusermedia"),attachMediaStream:o.attachMediaStream,reattachMediaStream:o.reattachMediaStream}},{"../utils":170,"./getusermedia":168}],168:[function(e,t,n){"use strict";var i=e("../utils").log,r=e("../utils").browserDetails;t.exports=function(){var e=function(e){return{name:{SecurityError:"NotAllowedError",PermissionDeniedError:"NotAllowedError"}[e.name]||e.name,message:{"The operation is insecure.":"The request is not allowed by the user agent or the platform in the current context."}[e.message]||e.message,constraint:e.constraint,toString:function(){return this.name+(this.message&&": ")+this.message}}},t=function(t,n,o){var a=function(e){if("object"!=typeof e||e.require)return e;var t=[];return Object.keys(e).forEach(function(n){if("require"!==n&&"advanced"!==n&&"mediaSource"!==n){var i=e[n]="object"==typeof e[n]?e[n]:{ideal:e[n]};if(void 0===i.min&&void 0===i.max&&void 0===i.exact||t.push(n),void 0!==i.exact&&("number"==typeof i.exact?i.min=i.max=i.exact:e[n]=i.exact,delete i.exact),void 0!==i.ideal){e.advanced=e.advanced||[];var r={};"number"==typeof i.ideal?r[n]={min:i.ideal,max:i.ideal}:r[n]=i.ideal,e.advanced.push(r),delete i.ideal,Object.keys(i).length||delete e[n]}}}),t.length&&(e.require=t),e};return t=JSON.parse(JSON.stringify(t)),r.version<38&&(i("spec: "+JSON.stringify(t)),t.audio&&(t.audio=a(t.audio)),t.video&&(t.video=a(t.video)),i("ff37: "+JSON.stringify(t))),navigator.mozGetUserMedia(t,n,function(t){o(e(t))})};if(navigator.mediaDevices||(navigator.mediaDevices={getUserMedia:function(e){return new Promise(function(n,i){t(e,n,i)})},addEventListener:function(){},removeEventListener:function(){}}),navigator.mediaDevices.enumerateDevices=navigator.mediaDevices.enumerateDevices||function(){return new Promise(function(e){e([{kind:"audioinput",deviceId:"default",label:"",groupId:""},{kind:"videoinput",deviceId:"default",label:"",groupId:""}])})},r.version<41){var n=navigator.mediaDevices.enumerateDevices.bind(navigator.mediaDevices);navigator.mediaDevices.enumerateDevices=function(){return n().then(void 0,function(e){if("NotFoundError"===e.name)return[];throw e})}}if(r.version<49){var o=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(t){return o(t).catch(function(t){return Promise.reject(e(t))})}}navigator.getUserMedia=function(e,n,i){if(r.version<44)return t(e,n,i);console.warn("navigator.getUserMedia has been replaced by navigator.mediaDevices.getUserMedia"),navigator.mediaDevices.getUserMedia(e).then(n,i)}}},{"../utils":170}],169:[function(e,t,n){"use strict";var i={shimGetUserMedia:function(){navigator.getUserMedia=navigator.webkitGetUserMedia}};t.exports={shimGetUserMedia:i.shimGetUserMedia}},{}],170:[function(e,t,n){"use strict";var i=!0,r={disableLog:function(e){return"boolean"!=typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(i=e,e?"adapter.js logging disabled":"adapter.js logging enabled")},log:function(){if("object"==typeof window){if(i)return;"undefined"!=typeof console&&"function"==typeof console.log&&console.log.apply(console,arguments)}},extractVersion:function(e,t,n){var i=e.match(t);return i&&i.length>=n&&parseInt(i[n],10)},detectBrowser:function(){var e={browser:null,version:null,minVersion:null};if("undefined"==typeof window||!window.navigator)return e.browser="Not a browser.",e;if(navigator.mozGetUserMedia)e.browser="firefox",e.version=this.extractVersion(navigator.userAgent,/Firefox\/([0-9]+)\./,1),e.minVersion=31;else if(navigator.webkitGetUserMedia)if(window.webkitRTCPeerConnection)e.browser="chrome",e.version=this.extractVersion(navigator.userAgent,/Chrom(e|ium)\/([0-9]+)\./,2),e.minVersion=38;else{if(!navigator.userAgent.match(/Version\/(\d+).(\d+)/))return e.browser="Unsupported webkit-based browser with GUM support but no WebRTC support.",e;e.browser="safari",e.version=this.extractVersion(navigator.userAgent,/AppleWebKit\/([0-9]+)\./,1),e.minVersion=602}else{if(!navigator.mediaDevices||!navigator.userAgent.match(/Edge\/(\d+).(\d+)$/))return e.browser="Not a supported browser.",e;e.browser="edge",e.version=this.extractVersion(navigator.userAgent,/Edge\/(\d+).(\d+)$/,2),e.minVersion=10547}return e.version<e.minVersion&&r.log("Browser: "+e.browser+" Version: "+e.version+" < minimum supported version: "+e.minVersion+"\n some things might not work!"),e}};t.exports={log:r.log,disableLog:r.disableLog,browserDetails:r.detectBrowser(),extractVersion:r.extractVersion}},{}],171:[function(e,t,n){"use strict";var i,r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),o=64,a={},s=0,l=0;function c(e){var t="";do{t=r[e%o]+t,e=Math.floor(e/o)}while(e>0);return t}function u(){var e=c(+new Date);return e!==i?(s=0,i=e):e+"."+c(s++)}for(;l<o;l++)a[r[l]]=l;u.encode=c,u.decode=function(e){var t=0;for(l=0;l<e.length;l++)t=t*o+a[e.charAt(l)];return t},t.exports=u},{}],172:[function(e,t,n){"use strict";var i,r=e("store"),o=(i=r)&&i.__esModule?i:{default:i};e("spark-md5");t.exports=function(){var e=void 0,t=void 0;function n(t){e=t}return{init:function(){t=o.default.get("folder_passwords")||{}},setSessionPassword:function(e){return n(e)},updateFoldersPasswords:function(e){return function(e){for(var n in e)e.hasOwnProperty(n)&&(t.hasOwnProperty(n)||(t[n]={}),t[n]=Object.assign(t[n],e[n]));o.default.set("folder_passwords",t)}(e)},removeFolderPassword:function(e){return function(e){var n=e.type,i=e.slugFolderName;n in t&&i in t[n]&&delete t[n][i];o.default.set("folder_passwords",t)}(e)},getSessionPassword:function(){return e},getFoldersPasswords:function(){return t},getSessionPasswordFromLocalStorage:function(){return o.default.get("session_password")},saveSessionPasswordToLocalStorage:function(e){return function(e){o.default.set("session_password",e)}(e)},emptySessionPasswordInLocalStorage:function(){o.default.set("session_password","")},hashCode:function(e){return e.split("").reduce(function(e,t){return(e=(e<<5)-e+t.charCodeAt(0))&e},0)}}}()},{"spark-md5":135,store:136}],173:[function(e,t,n){"use strict";var i="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},r=a(e("socket.io-client")),o=a(e("vue"));function a(e){return e&&e.__esModule?e:{default:e}}t.exports={init:function(e,t,n){return new o.default({i18n:e,data:{socket:""},methods:{connect:function(e){var n={};if(e){var i=t.hashCode(e);n.query={hashed_session_password:i}}window.navigator.userAgent.indexOf("Chrome")>-1?n.transports=["websocket","polling"]:n.transports=["polling","websocket"],this.socket=r.default.connect(n),this.socket.on("connect",this._onSocketConnect),this.socket.on("reconnect",this._onReconnect),this.socket.on("pong",this._onPong),this.socket.on("error",this._onSocketError),this.socket.on("connect_error",this._onConnectError),this.socket.on("authentificated",this._authentificated),this.socket.on("listMedia",this._onListMedia),this.socket.on("listMedias",this._onListMedias),this.socket.on("listFolder",this._onListFolder),this.socket.on("listFolders",this._onListFolders),this.socket.on("listSpecificMedias",this._onListSpecificMedias),this.socket.on("publiPDFGenerated",this._onPubliPDFGenerated),this.socket.on("publiVideoGenerated",this._onPubliVideoGenerated),this.socket.on("publiVideoFailed",this._onPubliVideoFailed),this.socket.on("publiStopmotionIsGenerated",this._onPubliStopmotionGenerated),this.socket.on("publiStopmotionFailed",this._onPubliStopmotionFailed),this.socket.on("newNetworkInfos",this._onNewNetworkInfos),this.socket.on("notify",this._onNotify),this.socket.on("pong",this._onPong),this.socket.on("listClients",this._listClients)},_onSocketConnect:function(){var e=this.socket.io.engine.id;console.log("Connected as "+e),window.state.connected=!0,window.state.authentificated=!0,this.$eventHub.$emit("socketio.connect"),this.socket.emit("updateClientInfo",{}),this.sendAuth()},_onReconnect:function(){this.sendAuth(),this.$eventHub.$emit("socketio.reconnect"),console.log("Reconnected")},_onPong:function(){console.log("_onPong")},sendAuth:function(){var e=t.getFoldersPasswords();console.log("Asking for auth with "+JSON.stringify(e,null,4)),this.socket.emit("authenticate",{folder_passwords:e})},_onSocketError:function(e){console.log("Unable to connect to server: "+e),this.$eventHub.$emit("socketio.socketerror",e)},_onConnectError:function(e){console.log("Lost connection to server: "+e),window.state.connected=!1,this.$eventHub.$emit("socketio.connecterror",e)},_authentificated:function(e){console.log("Admin for "+JSON.stringify(e,null,4)),window.state.list_authorized_folders=e,t.getFoldersPasswords(),this.$eventHub.$emit("socketio.authentificated")},_onListMedia:function(e){console.log("Received _onListMedia packet.");var t=Object.keys(e)[0],n=Object.values(e)[0];for(var i in console.log("Type is "+t),n)if(console.log("Media data is for "+i+"."),window.store[t].hasOwnProperty(i)){window.store[t][i].medias=Object.assign({},window.store[t][i].medias,n[i].medias);var r=Object.values(n[i].medias)[0];r.hasOwnProperty("id")&&this.$eventHub.$emit("socketio.media_created_or_updated",r)}this.$eventHub.$emit("socketio."+t+".listMedia")},_onListMedias:function(e){console.log("Received _onListMedias packet.");var t=Object.keys(e)[0],n=Object.values(e)[0];for(var i in console.log("Type is "+t),n)console.log("Media data is for "+i+"."),window.store[t].hasOwnProperty(i)&&(window.store[t][i].medias=n[i].medias);this.$eventHub.$emit("socketio."+t+".listMedias")},_onListSpecificMedias:function(e){console.log("Received _onListSpecificMedias packet.");var t=Object.keys(e)[0],n=Object.values(e)[0];for(var i in console.log("Type is "+t),n)console.log("Media data is for "+i+"."),window.store[t].hasOwnProperty(i)&&window.store[t][i].hasOwnProperty("medias")&&(window.store[t][i].medias=Object.assign({},window.store[t][i].medias,n[i].medias));this.$eventHub.$emit("socketio."+t+".listSpecificMedias")},_onPubliPDFGenerated:function(e){console.log("Received _onPubliPDFGenerated packet."),this.$eventHub.$emit("socketio.publication.pdfIsGenerated",e)},_onPubliVideoGenerated:function(e){console.log("Received _onPubliVideoGenerated packet."),this.$eventHub.$emit("socketio.publication.videoIsGenerated",e)},_onPubliVideoFailed:function(){console.log("Received _onPubliVideoFailed packet."),this.$eventHub.$emit("socketio.publication.videoFailedToGenerate")},_onPubliStopmotionGenerated:function(e){console.log("Received _onPubliStopmotionGenerated packet."),this.$eventHub.$emit("socketio.publication.publiStopmotionIsGenerated",e)},_onPubliStopmotionFailed:function(){console.log("Received _onPubliStopmotionFailed packet."),this.$eventHub.$emit("socketio.publication.publiStopmotionFailed")},_listClients:function(e){console.log("Received _listClients packet."),window.state.clients=e},_onListFolder:function(e){console.log("Received _onListFolder packet.");var t=Object.keys(e)[0],n=Object.values(e)[0];for(var i in n)window.store[t].hasOwnProperty(i)&&window.store[t][i].hasOwnProperty("medias")&&(n[i].medias=window.store[t][i].medias),n[i].hasOwnProperty("id")&&this.$eventHub.$emit("socketio.folder_created_or_updated",n[i]);window.store[t]=Object.assign({},window.store[t],n),this.$eventHub.$emit("socketio."+t+".folder_listed")},_onListFolders:function(e){if(console.log("Received _onListFolders packet."),"object"===(void 0===e?"undefined":i(e))){var t=Object.keys(e)[0],n=Object.values(e)[0];for(var r in console.log("Type is "+t),n)window.store[t].hasOwnProperty(r)&&window.store[t][r].hasOwnProperty("medias")&&(n[r].medias=window.store[t][r].medias);window.store[t]=Object.assign({},n),this.$eventHub.$emit("socketio."+t+".folders_listed")}},_onNewNetworkInfos:function(e){console.log("Received _onNewNetworkInfos packet."),window.state.localNetworkInfos=e},_onNotify:function(e){var t=e.localized_string,i=e.not_localized_string,r=e.type,o=void 0===r?"log":r;console.log("Received _onNotify packet.");var a="";t&&i?a+=this.$t("notifications['"+t+"']")+"<br><i>"+i+"</i>":i?a+="<i>"+i+"</i>":t&&(a+=this.$t("notifications['"+t+"']")),"success"===o?n.closeLogOnClick(!0).delay(4e3).success(a):"error"===o?n.closeLogOnClick(!0).delay(1e4).error(a):n.closeLogOnClick(!0).delay(4e3).log(a)},listFolders:function(e){this.socket.emit("listFolders",e)},listFolder:function(e){this.socket.emit("listFolder",e)},createFolder:function(e){this.socket.emit("createFolder",e)},editFolder:function(e){this.socket.emit("editFolder",e)},removeFolder:function(e){this.socket.emit("removeFolder",e)},listMedias:function(e){this.socket.emit("listMedias",e)},createMedia:function(e){this.socket.emit("createMedia",e)},editMedia:function(e){this.socket.emit("editMedia",e)},copyMediaToFolder:function(e){this.socket.emit("copyMediaToFolder",e)},removeMedia:function(e){this.socket.emit("removeMedia",e)},listSpecificMedias:function(e){this.socket.emit("listSpecificMedias",e)},downloadPubliPDF:function(e){this.socket.emit("downloadPubliPDF",e)},downloadVideoPubli:function(e){this.socket.emit("downloadVideoPubli",e)},downloadStopmotionPubli:function(e){this.socket.emit("downloadStopmotionPubli",e)},addTempMediaToFolder:function(e){this.socket.emit("addTempMediaToFolder",e)},copyFolder:function(e){this.socket.emit("copyFolder",e)},updateNetworkInfos:function(){this.socket.emit("updateNetworkInfos")}}})}}},{"socket.io-client":126,vue:156}],174:[function(e,t,n){"use strict";r(e("store"));var i=r(e("jquery"));r(e("./vue/app.js"));function r(e){return e&&e.__esModule?e:{default:e}}if(window.$=window.jQuery=i.default,window.state.is_electron){document.body.addEventListener("click",function(e){e.path.every(function(t){if(void 0!==t.classList&&t.classList.length>0){if(t.classList.contains("js--openInBrowser")){var n=window.require("electron").shell;return e.preventDefault(),n.openExternal(t.href),!1}if(t.classList.contains("js--openInNativeApp")){var i=window.require("electron").shell;return e.preventDefault(),i.openItem(t.getAttribute("href")),!1}}return!0})})}document.addEventListener("dragover",function(e){return e.preventDefault(),!1},!1),document.addEventListener("drop",function(e){return e.preventDefault(),!1},!1),function(e){e.barcodeListener=function(t,n){var i={support:[8,10,12,13]},r=this;r.element=e(t),r.timeout=0,r.code="",r.settings={},r.init=function(){r.settings=e.extend({},i,n),r.element.on("keypress",function(e){r.listen(e)})},r.listen=function(e){var t=r.validateKey(e.which);13===t?r.validate():!1!==t&&(""==r.code&&setTimeout(r.clear(),1e3),r.add(t))},r.validate=function(){var e=r.code;if(r.settings.support.indexOf(e.length)>-1){var t=(new Date).getTime()-r.timeout;r.clear(),t<1e3&&r.element.trigger("barcode.valid",[e])}else r.clear()},r.clear=function(){r.code="",r.timeout=0},r.validateKey=function(e){var t=[224,38,233,34,39,40,167,232,33,231];return t.indexOf(e)>-1&&(e=[48,49,50,51,52,53,54,55,56,57][t.indexOf(e)]),(13==e||e>=48&&e<=57)&&(13==e?e:String.fromCharCode(e))},r.add=function(e){if(0===r.timeout){var t=new Date;r.timeout=t.getTime()}r.code+=e},r.init()},e.fn.barcodeListener=function(t){return this.each(function(){if(null==e(this).data("barcodeListener")){var n=new e.barcodeListener(this,t);e(this).data("barcodeListener",n)}})}}(i.default),$("body").barcodeListener().on("barcode.valid",function(e,t){window.dispatchEvent(new CustomEvent("tag.newTagDetected",{detail:t})),e.preventDefault()})},{"./vue/app.js":182,jquery:75,store:136}],175:[function(e,t,n){e("vueify/lib/insert-css").insert('/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0}td,th{padding:0}\n/*! Variables */:root{--font-sans-serif:sans-serif;--font-serif:serif;--font-system:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;--font-monospace:Menlo,Consolas,"DejaVu Sans Mono",monospace;--color-primary:tomato;--color-white:#fff;--color-navy:#001f3f;--color-blue:#0074d9;--color-aqua:#7fdbff;--color-teal:#39cccc;--color-olive:#3d9970;--color-green:#2ecc40;--color-lime:#01ff70;--color-yellow:#ffdc00;--color-orange:#ff851b;--color-red:#ff4136;--color-maroon:#85144b;--color-fuchsia:#f012be;--color-purple:#b10dc9;--color-black:#111;--color-gray:#aaa;--color-silver:#ddd;--state-success:var(--color-green);--state-info:var(--color-aqua);--state-warning:var(--color-orange);--state-danger:var(--color-red);--state-inverse:var(--color-black);--component-bg-color:#f2f2f2;--component-border-color:#ddd;--component-border-radius:.25rem;--component-border-width:1px;--component-spacing:1rem;--component-spacing-big:2rem;--component-spacing-small:.5rem;--body-bg-color:var(--color-white);--body-color:var(--color-black);--font-family:var(--font-system);--font-size:1rem;--font-size-big:1.25rem;--font-size-small:.875rem;--font-weight-light:300;--font-weight:400;--font-weight-bold:700;--line-height:1.5;--text-muted:var(--color-gray);--code-font-size:90%;--code-color:var(--color-black);--code-border-radius:var(--component-border-radius);--code-bg-color:var(--component-bg-color);--code-spacing-x:calc(var(--font-size) * .4);--code-spacing-y:calc(var(--font-size) * .2);--headings-font-family:var(--font-system);--headings-font-weight:var(--font-weight-light);--headings-line-height:1.1;--headings-margin-bottom:.5rem;--headings-color:inherit;--headings-font-size-h1:2.5rem;--headings-font-size-h2:2rem;--headings-font-size-h3:1.75rem;--headings-font-size-h4:1.5rem;--headings-font-size-h5:1.25rem;--headings-font-size-h6:1rem;--hr-border-width:1px;--hr-border-color:var(--component-border-color);--hr-spacing:var(--component-spacing-big);--kbd-font-size:90%;--kbd-color:var(--color-white);--kbd-border-radius:var(--component-border-radius);--kbd-bg-color:var(--color-black);--kbd-spacing-x:calc(var(--font-size) * .4);--kbd-spacing-y:calc(var(--font-size) * .2);--link-color:var(--color-primary);--link-text-decoration:none;--link-color-hover:var(--link-color);--link-text-decoration-hover:underline;--mark-color:inherit;--mark-bg-color:var(--color-yellow);--mark-spacing-x:calc(var(--font-size) * .4);--mark-spacing-y:calc(var(--font-size) * .2);--placeholder-color:var(--text-muted);--pre-color:var(--code-color);--pre-border-radius:var(--component-border-radius);--pre-bg-color:var(--code-bg-color);--pre-max-height:none;--selection-color:var(--color-white);--selection-bg-color:var(--color-primary);--alert-color:var(--color-white);--alert-border-radius:var(--component-border-radius);--alert-bg-color-primary:var(--color-primary);--alert-bg-color-success:var(--state-success);--alert-bg-color-info:var(--state-info);--alert-bg-color-warning:var(--state-warning);--alert-bg-color-danger:var(--state-danger);--alert-bg-color-inverse:var(--state-inverse);--alert-spacing-x:var(--component-spacing);--alert-spacing-y:var(--component-spacing);--badge-font-size:.8em;--badge-font-weight:var(--font-weight-bold);--badge-color:var(--color-white);--badge-border-radius:1em;--badge-bg-color-primary:var(--color-primary);--badge-bg-color-success:var(--state-success);--badge-bg-color-info:var(--state-info);--badge-bg-color-warning:var(--state-warning);--badge-bg-color-danger:var(--state-danger);--badge-bg-color-inverse:var(--state-inverse);--badge-spacing-x:calc(var(--component-spacing) * .5);--badge-spacing-y:calc(var(--component-spacing) * .15);--button-font-family:inherit;--button-font-weight:inherit;--button-font-size:var(--font-size);--button-color:var(--color-white);--button-border-radius:var(--component-border-radius);--button-box-shadow:inset 0 2px 0 hsla(0,0%,100%,.1),inset 0 -2px 0 rgba(0,0,0,.1);--button-box-shadow-hover:inset 0 2px 5rem rgba(0,0,0,.1),inset 0 -2px 0 rgba(0,0,0,.1);--button-box-shadow-active:inset 0 2px 5rem rgba(0,0,0,.1),inset 0 2px 0 rgba(0,0,0,.1);--button-bg-color-primary:var(--color-primary);--button-bg-color-success:var(--state-success);--button-bg-color-info:var(--state-info);--button-bg-color-warning:var(--state-warning);--button-bg-color-danger:var(--state-danger);--button-bg-color-inverse:var(--state-inverse);--dropdown-min-width:10rem;--dropdown-max-width:25rem;--dropdown-max-height:none;--dropdown-offset-x:0;--dropdown-offset-y:1px;--dropdown-border-color:var(--component-border-color);--dropdown-border-radius:var(--component-border-radius);--dropdown-border-width:var(--component-border-width);--dropdown-color:var(--body-color);--dropdown-color-hover:var(--color-white);--dropdown-bg-color:var(--color-white);--dropdown-bg-color-hover:var(--color-primary);--dropdown-box-shadow:0 1px 0 rgba(0,0,0,.05);--dropdown-divider-border-color:var(--component-border-color);--dropdown-divider-border-width:var(--component-border-width);--dropdown-spacing-x:var(--component-spacing);--dropdown-spacing-y:calc(var(--dropdown-spacing-x) / 4);--dropdown-z-index:100;--fieldset-border-color:var(--component-border-color);--fieldset-border-width:var(--component-border-width);--fieldset-border-radius:var(--component-border-radius);--fieldset-spacing-x:var(--component-spacing);--fieldset-spacing-y:var(--component-spacing);--input-font-family:inherit;--input-font-size:var(--font-size);--input-font-size-small:.8rem;--input-font-size-big:1.2rem;--input-font-weight:inherit;--input-height:3rem;--input-height-big:2.75rem;--input-height-small:1.25rem;--input-color:var(--body-color);--input-border-color:var(--component-border-color);--input-border-color-focus:var(--color-primary);--input-border-width:1px;--input-border-radius:var(--component-border-radius);--input-bg-color:var(--color-white);--input-box-shadow:inset 0 1px 0 rgba(0,0,0,.05);--input-readonly-bg-color:var(--component-bg-color);--input-range-track-color:var(--component-bg-color);--input-range-track-box-shadow:inset 0 1px 0 rgba(0,0,0,.05);--input-range-thumb-color:var(--color-primary);--input-range-thumb-height:2rem;--input-invalid-color:var(--state-danger);--input-invalid-border-color:var(--state-danger);--input-valid-color:var(--state-success);--input-valid-border-color:var(--state-success);--loader-bg-color:var(--component-bg-color);--loader-border-color:var(--color-primary);--loader-border-width:.25rem;--loader-size:2rem;--loader-speed:750ms;--loader-spacing-x:var(--component-spacing-small);--loader-spacing-y:0;--spacing-small:var(--component-spacing);--spacing-medium:calc(var(--component-spacing) * 2);--spacing-big:calc(var(--component-spacing) * 4);--switch-font-size:var(--input-font-size);--switch-font-size-small:var(--input-font-size-small);--switch-font-size-big:var(--input-font-size-big);--switch-bg-color:var(--component-border-color);--switch-bg-color-checked:var(--color-primary);--switch-border-radius:var(--switch-size);--switch-size:2rem;--switch-size-small:1rem;--switch-size-big:3rem;--switch-thumb-bg-color:#fff;--switch-thumb-border-radius:50%;--switch-thumb-spacing:2px;--switch-speed:.2s;--tab-bg-color:var(--body-bg);--tab-bg-color-hover:var(--body-bg);--tab-bg-color-active:var(--link-color);--tab-bg-color-disabled:var(--body-bg);--tab-border-radius:var(--component-border-radius);--tab-color:var(--link-color);--tab-color-hover:var(--link-color-hover);--tab-color-active:var(--color-white);--tab-color-disabled:var(--text-muted);--tab-spacing-x:var(--component-spacing);--tab-spacing-y:calc(var(--component-spacing) / 2);--tab-pane-border-color:var(--component-border-color);--tab-pane-border-radius:var(--component-border-radius);--tab-pane-border-width:var(--component-border-width);--tab-pane-spacing-x:var(--component-spacing);--tab-pane-spacing-y:var(--component-spacing);--table-border-color:var(--component-border-color);--table-border-width:var(--component-border-width);--table-header-bg-color:transparent;--table-stripe-bg-color:var(--component-bg-color);--table-hover-color:var(--color-white);--table-hover-bg-color:var(--color-primary);--table-spacing-x:calc(var(--component-spacing-small) * 1.5);--table-spacing-y:var(--component-spacing-small)}\n\n/*! Forms */fieldset{border:solid var(--fieldset-border-width) var(--fieldset-border-color);border-radius:var(--fieldset-border-radius);padding:var(--component-spacing) calc(var(--component-spacing) * 1.5);margin-bottom:1rem}fieldset legend{font-weight:var(--font-weight-bold);padding:0 .25rem}label{display:inline-block;margin-bottom:.25rem}label+label{margin-left:1rem}input[type=color],input[type=date],input[type=datetime-local],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{width:100%;font-family:var(--input-font-family);font-size:var(--input-font-size);font-weight:var(--input-font-weight);color:var(--input-color);border:solid var(--input-border-width) var(--input-border-color);border-radius:var(--input-border-radius);box-shadow:var(--input-box-shadow);background-color:var(--input-bg-color);height:var(--input-height);line-height:var(--input-height);vertical-align:middle;display:block;padding-left:calc(var(--component-spacing) * .5);padding-right:calc(var(--component-spacing) * .5);margin:0;transition:border-color .1s,background-color .1s,color .1s;-moz-appearance:none;-webkit-appearance:none}input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{outline:none;border-color:var(--input-border-color-focus)}select{position:relative;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width=\'41\' height=\'26\' viewBox=\'0 0 41 26\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath fill=\'%23000\' d=\'M0 5.382l19.983 19.983L40.14 5.208 34.932 0 19.869 15.062 4.84.032z\' fill-rule=\'evenodd\'/%3E%3C/svg%3E");background-position:right .4rem center;background-repeat:no-repeat;background-size:.75rem;padding-top:0;padding-bottom:0;padding-right:calc(var(--component-spacing) * .5 + 1rem)}textarea{height:auto;resize:vertical;line-height:var(--line-height)}input[type=color]{padding:calc(var(--component-spacing) * .5)}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:none;border-radius:var(--input-border-radius)}input[type=checkbox],input[type=radio]{padding:0}input[disabled]{opacity:.5;cursor:not-allowed}input[readonly]{background-color:var(--input-readonly-bg-color)}input.input-small,select.input-small{height:var(--input-height-small);line-height:var(--input-height-small)}input.input-small,select.input-small,textarea.input-small{font-size:var(--input-font-size-small)}input.input-big,select.input-big{height:var(--input-height-big);line-height:var(--input-height-big)}input.input-big,select.input-big,textarea.input-big{font-size:var(--input-font-size-big)}input[type=range]{margin:1rem 0}input[type=range]:focus{outline:none}input[type=range]::-webkit-slider-runnable-track{width:100%;height:.5rem;cursor:pointer;background:var(--input-range-track-color);border-radius:var(--input-border-radius);border:none;box-shadow:var(--input-range-track-box-shadow)}input[type=range]::-webkit-slider-thumb{border:none;width:1.5rem;height:1.5rem;border-radius:50%;background:var(--input-range-thumb-color);cursor:pointer;-webkit-appearance:none;margin-top:-.5rem}input[type=range]:focus::-webkit-slider-runnable-track{background:var(--input-range-track-color)}input[type=range]::-moz-range-track{width:100%;height:.5rem;cursor:pointer;background:var(--input-range-track-color);border-radius:var(--input-border-radius);border:none;box-shadow:var(--input-range-track-box-shadow)}input[type=range]::-moz-range-thumb{border:none;height:1.5rem;width:1.5rem;border-radius:50%;background:var(--input-range-thumb-color);cursor:pointer}input[type=range]::-ms-track{width:100%;height:.5rem;cursor:pointer;background:transparent;border-color:transparent;color:transparent}input[type=range]::-ms-fill-lower{background:#2f6ea5;border:none;border-radius:var(--input-border-radius)}input[type=range]::-ms-fill-upper{background:var(--input-range-track-color);border:none;border-radius:var(--input-border-radius)}input[type=range]::-ms-thumb{border:none;height:.5rem;width:.5rem;border-radius:50%;background:var(--input-range-thumb-color);cursor:pointer}input[type=range]:focus::-ms-fill-lower,input[type=range]:focus::-ms-fill-upper{background:var(--input-range-track-color)}progress{width:100%;vertical-align:middle}.input-group,.input-single{margin-bottom:1rem}.input-group>.button,.input-group>.dropdown .button,.input-group>.dropdown button,.input-group>button,.input-group>input{border-radius:0}.input-group>.button:first-child,.input-group>.dropdown:first-child .button,.input-group>.dropdown:first-child button,.input-group>button:first-child,.input-group>input:first-child{border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius)}.input-group>.button:last-child,.input-group>.dropdown:last-child .button,.input-group>.dropdown:last-child button,.input-group>button:last-child,.input-group>input:last-child{border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius)}.input-group>input+input{border-left-width:0}.input-group>input+input:focus{border-left-width:var(--input-border-width);margin-left:calc(var(--input-border-width) * -1)}.input-group :focus{transform:translateZ(0)}.input-addon{color:var(--text-muted);height:var(--input-height);line-height:var(--input-height);border-top:solid var(--input-border-width) var(--input-border-color);border-bottom:solid var(--input-border-width) var(--input-border-color);background:#f8f8f8;padding:0 calc(var(--component-spacing) * .5);white-space:nowrap}.input-addon-small{font-size:var(--input-font-size-small);height:var(--input-height-small);line-height:var(--input-height-small)}.input-addon-big{font-size:var(--input-font-size-big);height:var(--input-height-big);line-height:var(--input-height-big)}.input-addon:first-child{border-left:solid var(--input-border-width) var(--input-border-color);border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius)}.input-addon:last-child{border-right:solid var(--input-border-width) var(--input-border-color);border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius)}.input-invalid label{color:var(--input-invalid-color)!important}.input-invalid,.input-invalid input,.input-invalid select{color:var(--input-invalid-color)!important;border-color:var(--input-invalid-border-color)!important}.input-valid label{color:var(--input-valid-color)!important}.input-valid,.input-valid input,.input-valid select{color:var(--input-valid-color)!important;border-color:var(--input-valid-border-color)!important}\n\n/*! Tables */table{width:100%;border-collapse:collapse;margin-bottom:1rem}table caption{caption-side:bottom;font-size:var(--font-size-small);color:var(--text-muted);text-align:center;padding-top:var(--table-spacing-y)}table th{text-align:left;background:var(--table-header-bg-color);border-bottom:solid calc(var(--table-border-width) * 2) var(--table-border-color)}table td,table th{padding:var(--table-spacing-y) var(--table-spacing-x)}table td{border-bottom:solid var(--table-border-width) var(--table-border-color)}table.table-striped tr:nth-child(odd) td{background-color:var(--table-stripe-bg-color)}table.table-bordered{border:solid var(--table-border-width) var(--table-border-color)}table.table-bordered td{border:var(--table-border-width) solid var(--table-border-color)}table.table-hoverable tbody tr:hover td{color:var(--table-hover-color);background-color:var(--table-hover-bg-color)}\n\n/*! Loaders */@keyframes loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loader,.loader-bg:after{width:var(--loader-size);height:var(--loader-size);border-radius:50%;border:solid var(--loader-border-width) var(--loader-bg-color);border-top-color:var(--loader-border-color);border-left-color:var(--loader-border-color);display:inline-block;animation:loader var(--loader-speed) linear infinite;vertical-align:middle;margin:var(--loader-spacing-y) var(--loader-spacing-x)}.loader-bg-small:after,.loader-small{border-width:calc(var(--loader-border-width) / 2);width:calc(var(--loader-size) / 2);height:calc(var(--loader-size) / 2)}.loader-bg-big:after,.loader-big{border-width:calc(var(--loader-border-width) * 1.5);width:calc(var(--loader-size) * 2);height:calc(var(--loader-size) * 2)}.loader-bg{position:relative!important}.loader-bg:after{content:"";position:absolute;top:calc(50% - var(--loader-size) / 2);left:calc(50% - var(--loader-size) / 2);margin:0}.loader-bg-small:after{position:absolute;top:calc(50% - var(--loader-size) / 4);left:calc(50% - var(--loader-size) / 4)}.loader-bg-big:after{position:absolute;top:calc(50% - var(--loader-size) / 1);left:calc(50% - var(--loader-size) / 1)}\n\n/*! Switches */.switch{font-size:var(--switch-font-size)}.switch-small{font-size:var(--switch-font-size-small);--switch-size:var(--switch-size-small)}.switch-big{font-size:var(--switch-font-size-big);--switch-size:var(--switch-size-big)}.switch input{display:none}.switch input+label{position:relative;min-width:calc(var(--switch-size) * 2);height:var(--switch-size);line-height:var(--switch-size);display:inline-block;cursor:pointer;outline:none;user-select:none;vertical-align:middle;text-indent:calc(var(--switch-size) * 2 + .5rem)}.switch input+label:after,.switch input+label:before{content:"";position:absolute;top:0;left:0;width:calc(var(--switch-size) * 2);bottom:0;display:block}.switch input+label:before{right:0;background-color:var(--switch-bg-color);border-radius:var(--switch-border-radius);transition:background-color var(--switch-speed)}.switch input+label:after{top:var(--switch-thumb-spacing);left:var(--switch-thumb-spacing);width:calc(var(--switch-size) - var(--switch-thumb-spacing) * 2);height:calc(var(--switch-size) - var(--switch-thumb-spacing) * 2);border-radius:var(--switch-thumb-border-radius);background-color:var(--switch-thumb-bg-color);transition:margin var(--switch-speed)}.switch input:checked+label:before{background-color:var(--switch-bg-color-checked)}.switch input:checked+label:after{margin-left:var(--switch-size)}.switch input:disabled+label{opacity:.5;cursor:not-allowed}.switch+.switch{margin-left:1rem}@keyframes plyr-progress{to{background-position:25px 0}}@keyframes plyr-popup{0%{opacity:.5;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes plyr-fade-in{0%{opacity:0}to{opacity:1}}.plyr{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:subpixel-antialiased;direction:ltr;font-family:Avenir,Avenir Next,Helvetica Neue,Segoe UI,Helvetica,Arial,sans-serif;font-variant-numeric:tabular-nums;font-weight:500;line-height:1.7;max-width:100%;min-width:200px;position:relative;text-shadow:none;transition:box-shadow .3s ease}.plyr audio,.plyr video{border-radius:inherit;height:auto;vertical-align:middle;width:100%}.plyr button{font:inherit;line-height:inherit;width:auto}.plyr:focus{outline:0}.plyr--full-ui{box-sizing:border-box}.plyr--full-ui *,.plyr--full-ui :after,.plyr--full-ui :before{box-sizing:inherit}.plyr--full-ui a,.plyr--full-ui button,.plyr--full-ui input,.plyr--full-ui label{-ms-touch-action:manipulation;touch-action:manipulation}.plyr__badge{background:#4f5b5f;border-radius:2px;color:#fff;font-size:9px;line-height:1;padding:3px 4px}.plyr--full-ui ::-webkit-media-text-track-container{display:none}.plyr__captions{animation:plyr-fade-in .3s ease;bottom:0;color:#fff;display:none;font-size:14px;left:0;padding:10px;position:absolute;text-align:center;transition:transform .4s ease-in-out;width:100%}.plyr__captions .plyr__caption{background:rgba(0,0,0,.8);border-radius:2px;-webkit-box-decoration-break:clone;box-decoration-break:clone;line-height:185%;padding:.2em .5em;white-space:pre-wrap}.plyr__captions .plyr__caption div{display:inline}.plyr__captions span:empty{display:none}@media (min-width:480px){.plyr__captions{font-size:16px;padding:20px}}@media (min-width:768px){.plyr__captions{font-size:18px}}.plyr--captions-active .plyr__captions{display:block}.plyr:not(.plyr--hide-controls) .plyr__controls:not(:empty)~.plyr__captions{transform:translateY(-40px)}.plyr__control{background:0 0;border:0;border-radius:3px;color:inherit;cursor:pointer;-ms-flex-negative:0;flex-shrink:0;overflow:visible;padding:7px;position:relative;transition:all .3s ease}.plyr__control svg{display:block;fill:currentColor;height:18px;pointer-events:none;width:18px}.plyr__control:focus{outline:0}.plyr__control.plyr__tab-focus{box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}a.plyr__control{text-decoration:none}.plyr__control.plyr__control--pressed .icon--not-pressed,.plyr__control.plyr__control--pressed .label--not-pressed,.plyr__control:not(.plyr__control--pressed) .icon--pressed,.plyr__control:not(.plyr__control--pressed) .label--pressed,a.plyr__control:after,a.plyr__control:before{display:none}.plyr--audio .plyr__control.plyr__tab-focus,.plyr--audio .plyr__control:hover,.plyr--audio .plyr__control[aria-expanded=true]{background:#1aafff;color:#fff}.plyr--video .plyr__control svg{filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}.plyr--video .plyr__control.plyr__tab-focus,.plyr--video .plyr__control:hover,.plyr--video .plyr__control[aria-expanded=true]{background:#1aafff;color:#fff}.plyr__control--overlaid{background:rgba(26,175,255,.8);border:0;border-radius:100%;box-shadow:0 1px 1px rgba(0,0,0,.15);color:#fff;display:none;left:50%;padding:15px;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:2}.plyr__control--overlaid svg{left:2px;position:relative}.plyr__control--overlaid:focus,.plyr__control--overlaid:hover{background:#1aafff}.plyr--playing .plyr__control--overlaid{opacity:0;visibility:hidden}.plyr--full-ui.plyr--video .plyr__control--overlaid{display:block}.plyr--full-ui ::-webkit-media-controls{display:none}.plyr__controls{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;text-align:center}.plyr__controls .plyr__menu,.plyr__controls .plyr__progress,.plyr__controls .plyr__time,.plyr__controls .plyr__volume,.plyr__controls>.plyr__control{margin-left:5px}.plyr__controls .plyr__menu+.plyr__control,.plyr__controls .plyr__progress+.plyr__control,.plyr__controls>.plyr__control+.plyr__control,.plyr__controls>.plyr__control+.plyr__menu{margin-left:2px}.plyr__controls>.plyr__control:first-child,.plyr__controls>.plyr__control:first-child+[data-plyr=pause]{margin-left:0;margin-right:auto}.plyr__controls:empty{display:none}@media (min-width:480px){.plyr__controls .plyr__menu,.plyr__controls .plyr__progress,.plyr__controls .plyr__time,.plyr__controls .plyr__volume,.plyr__controls>.plyr__control{margin-left:10px}}.plyr--audio .plyr__controls{background:#fff;border-radius:inherit;color:#4f5b5f;padding:10px}.plyr--video .plyr__controls{background:linear-gradient(transparent,rgba(0,0,0,.7));border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;bottom:0;color:#fff;left:0;padding:20px 5px 5px;position:absolute;right:0;transition:opacity .4s ease-in-out,transform .4s ease-in-out;z-index:3}@media (min-width:480px){.plyr--video .plyr__controls{padding:35px 10px 10px}}.plyr--video.plyr--hide-controls .plyr__controls{opacity:0;pointer-events:none;transform:translateY(100%)}.plyr [data-plyr=airplay],.plyr [data-plyr=captions],.plyr [data-plyr=fullscreen],.plyr [data-plyr=pip]{display:none}.plyr--airplay-supported [data-plyr=airplay],.plyr--captions-enabled [data-plyr=captions],.plyr--fullscreen-enabled [data-plyr=fullscreen],.plyr--pip-supported [data-plyr=pip]{display:inline-block}.plyr__video-embed{height:0;padding-bottom:56.25%;position:relative}.plyr__video-embed iframe{border:0;height:100%;left:0;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.plyr--full-ui .plyr__video-embed>.plyr__video-embed__container{padding-bottom:240%;position:relative;transform:translateY(-38.28125%)}.plyr__menu{display:-ms-flexbox;display:flex;position:relative}.plyr__menu .plyr__control svg{transition:transform .3s ease}.plyr__menu .plyr__control[aria-expanded=true] svg{transform:rotate(90deg)}.plyr__menu .plyr__control[aria-expanded=true] .plyr__tooltip{display:none}.plyr__menu__container{animation:plyr-popup .2s ease;background:hsla(0,0%,100%,.9);border-radius:4px;bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);color:#4f5b5f;font-size:16px;margin-bottom:10px;position:absolute;right:-3px;text-align:left;white-space:nowrap;z-index:3}.plyr__menu__container>div{overflow:hidden;transition:height .35s cubic-bezier(.4,0,.2,1),width .35s cubic-bezier(.4,0,.2,1)}.plyr__menu__container:after{border:4px solid transparent;border-top-color:hsla(0,0%,100%,.9);content:"";height:0;position:absolute;right:15px;top:100%;width:0}.plyr__menu__container [role=menu]{padding:7px}.plyr__menu__container [role=menuitem],.plyr__menu__container [role=menuitemradio]{margin-top:2px}.plyr__menu__container [role=menuitem]:first-child,.plyr__menu__container [role=menuitemradio]:first-child{margin-top:0}.plyr__menu__container .plyr__control{-ms-flex-align:center;align-items:center;color:#4f5b5f;display:-ms-flexbox;display:flex;font-size:14px;padding:4px 11px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.plyr__menu__container .plyr__control>span{-ms-flex-align:inherit;align-items:inherit;display:-ms-flexbox;display:flex;width:100%}.plyr__menu__container .plyr__control:after{border:4px solid transparent;content:"";position:absolute;top:50%;transform:translateY(-50%)}.plyr__menu__container .plyr__control--forward{padding-right:28px}.plyr__menu__container .plyr__control--forward:after{border-left-color:rgba(79,91,95,.8);right:5px}.plyr__menu__container .plyr__control--forward.plyr__tab-focus:after,.plyr__menu__container .plyr__control--forward:hover:after{border-left-color:currentColor}.plyr__menu__container .plyr__control--back{font-weight:500;margin:7px;margin-bottom:3px;padding-left:28px;position:relative;width:calc(100% - 14px)}.plyr__menu__container .plyr__control--back:after{border-right-color:rgba(79,91,95,.8);left:7px}.plyr__menu__container .plyr__control--back:before{background:#b7c5cd;box-shadow:0 1px 0 #fff;content:"";height:1px;left:0;margin-top:4px;overflow:hidden;position:absolute;right:0;top:100%}.plyr__menu__container .plyr__control--back.plyr__tab-focus:after,.plyr__menu__container .plyr__control--back:hover:after{border-right-color:currentColor}.plyr__menu__container .plyr__control[role=menuitemradio]{padding-left:7px}.plyr__menu__container .plyr__control[role=menuitemradio]:after,.plyr__menu__container .plyr__control[role=menuitemradio]:before{border-radius:100%}.plyr__menu__container .plyr__control[role=menuitemradio]:before{background:rgba(0,0,0,.1);content:"";display:block;-ms-flex-negative:0;flex-shrink:0;height:16px;margin-right:10px;transition:all .3s ease;width:16px}.plyr__menu__container .plyr__control[role=menuitemradio]:after{background:#fff;border:0;height:6px;left:12px;opacity:0;top:50%;transform:translateY(-50%) scale(0);transition:transform .3s ease,opacity .3s ease;width:6px}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:before{background:#1aafff}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:after{opacity:1;transform:translateY(-50%) scale(1)}.plyr__menu__container .plyr__control[role=menuitemradio].plyr__tab-focus:before,.plyr__menu__container .plyr__control[role=menuitemradio]:hover:before{background:rgba(0,0,0,.1)}.plyr__menu__container .plyr__menu__value{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;margin-left:auto;margin-right:-5px;overflow:hidden;padding-left:25px;pointer-events:none}.plyr--full-ui input[type=range]{-webkit-appearance:none;background:0 0;border:0;border-radius:26px;color:#1aafff;display:block;height:19px;margin:0;padding:0;transition:box-shadow .3s ease;width:100%}.plyr--full-ui input[type=range]::-webkit-slider-runnable-track{background:0 0;border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;-webkit-user-select:none;user-select:none;background-image:linear-gradient(90deg,currentColor var(--value,0),transparent var(--value,0))}.plyr--full-ui input[type=range]::-webkit-slider-thumb{background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2);height:13px;position:relative;transition:all .2s ease;width:13px;-webkit-appearance:none;margin-top:-4px}.plyr--full-ui input[type=range]::-moz-range-track{background:0 0;border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;-moz-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-moz-range-thumb{background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2);height:13px;position:relative;transition:all .2s ease;width:13px}.plyr--full-ui input[type=range]::-moz-range-progress{background:currentColor;border-radius:2.5px;height:5px}.plyr--full-ui input[type=range]::-ms-track{color:transparent}.plyr--full-ui input[type=range]::-ms-fill-upper,.plyr--full-ui input[type=range]::-ms-track{background:0 0;border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;-ms-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-ms-fill-lower{background:0 0;border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;-ms-user-select:none;user-select:none;background:currentColor}.plyr--full-ui input[type=range]::-ms-thumb{background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2);height:13px;position:relative;transition:all .2s ease;width:13px;margin-top:0}.plyr--full-ui input[type=range]::-ms-tooltip{display:none}.plyr--full-ui input[type=range]:focus{outline:0}.plyr--full-ui input[type=range]::-moz-focus-outer{border:0}.plyr--full-ui input[type=range].plyr__tab-focus::-webkit-slider-runnable-track{box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}.plyr--full-ui input[type=range].plyr__tab-focus::-moz-range-track{box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}.plyr--full-ui input[type=range].plyr__tab-focus::-ms-track{box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}.plyr--full-ui.plyr--video input[type=range]::-webkit-slider-runnable-track{background-color:hsla(0,0%,100%,.25)}.plyr--full-ui.plyr--video input[type=range]::-moz-range-track{background-color:hsla(0,0%,100%,.25)}.plyr--full-ui.plyr--video input[type=range]::-ms-track{background-color:hsla(0,0%,100%,.25)}.plyr--full-ui.plyr--video input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px hsla(0,0%,100%,.5)}.plyr--full-ui.plyr--video input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px hsla(0,0%,100%,.5)}.plyr--full-ui.plyr--video input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px hsla(0,0%,100%,.5)}.plyr--full-ui.plyr--audio input[type=range]::-webkit-slider-runnable-track{background-color:rgba(183,197,205,.66)}.plyr--full-ui.plyr--audio input[type=range]::-moz-range-track{background-color:rgba(183,197,205,.66)}.plyr--full-ui.plyr--audio input[type=range]::-ms-track{background-color:rgba(183,197,205,.66)}.plyr--full-ui.plyr--audio input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px rgba(0,0,0,.1)}.plyr--full-ui.plyr--audio input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px rgba(0,0,0,.1)}.plyr--full-ui.plyr--audio input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px rgba(0,0,0,.1)}.plyr__poster{background-color:#000;background-position:50% 50%;background-repeat:no-repeat;background-size:contain;height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .2s ease;width:100%;z-index:1}.plyr--stopped.plyr__poster-enabled .plyr__poster{opacity:1}.plyr__time{font-size:14px}.plyr__time+.plyr__time:before{content:"\\2044";margin-right:10px}@media (max-width:767px){.plyr__time+.plyr__time{display:none}}.plyr--video .plyr__time{text-shadow:0 1px 1px rgba(0,0,0,.15)}.plyr__tooltip{background:hsla(0,0%,100%,.9);border-radius:3px;bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);color:#4f5b5f;font-size:14px;font-weight:500;left:50%;line-height:1.3;margin-bottom:10px;opacity:0;padding:5px 7.5px;pointer-events:none;position:absolute;transform:translate(-50%,10px) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;white-space:nowrap;z-index:2}.plyr__tooltip:before{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid hsla(0,0%,100%,.9);bottom:-4px;content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr .plyr__control.plyr__tab-focus .plyr__tooltip,.plyr .plyr__control:hover .plyr__tooltip,.plyr__tooltip--visible{opacity:1;transform:translate(-50%) scale(1)}.plyr .plyr__control:hover .plyr__tooltip{z-index:3}.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip,.plyr__controls>.plyr__control:first-child .plyr__tooltip{left:0;transform:translateY(10px) scale(.8);transform-origin:0 100%}.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip:before,.plyr__controls>.plyr__control:first-child .plyr__tooltip:before{left:16px}.plyr__controls>.plyr__control:last-child .plyr__tooltip{left:auto;right:0;transform:translateY(10px) scale(.8);transform-origin:100% 100%}.plyr__controls>.plyr__control:last-child .plyr__tooltip:before{left:auto;right:16px;transform:translateX(50%)}.plyr__controls>.plyr__control:first-child+.plyr__control.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control:hover .plyr__tooltip,.plyr__controls>.plyr__control:first-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child:hover .plyr__tooltip,.plyr__controls>.plyr__control:last-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:last-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:last-child:hover .plyr__tooltip{transform:translate(0) scale(1)}.plyr--video{background:#000;overflow:hidden}.plyr--video.plyr--menu-open{overflow:visible}.plyr__video-wrapper{background:#000;border-radius:inherit;overflow:hidden;position:relative;z-index:0}.plyr__progress{-ms-flex:1;flex:1;left:6.5px;margin-right:13px;position:relative}.plyr__progress__buffer,.plyr__progress input[type=range]{margin-left:-6.5px;margin-right:-6.5px;width:calc(100% + 13px)}.plyr__progress input[type=range]{position:relative;z-index:2}.plyr__progress .plyr__tooltip{font-size:14px;left:0}.plyr__progress__buffer{-webkit-appearance:none;background:0 0;border:0;border-radius:100px;height:5px;left:0;margin-top:-2.5px;padding:0;position:absolute;top:50%}.plyr__progress__buffer::-webkit-progress-bar{background:0 0}.plyr__progress__buffer::-webkit-progress-value{background:currentColor;border-radius:100px;min-width:5px;transition:width .2s ease}.plyr__progress__buffer::-moz-progress-bar{background:currentColor;border-radius:100px;min-width:5px;transition:width .2s ease}.plyr__progress__buffer::-ms-fill{border-radius:100px;transition:width .2s ease}.plyr--video .plyr__progress__buffer{box-shadow:0 1px 1px rgba(0,0,0,.15);color:hsla(0,0%,100%,.25)}.plyr--audio .plyr__progress__buffer{color:rgba(183,197,205,.66)}.plyr--loading .plyr__progress__buffer{animation:plyr-progress 1s linear infinite;background-image:linear-gradient(-45deg,rgba(47,52,61,.6) 25%,transparent 0,transparent 50%,rgba(47,52,61,.6) 0,rgba(47,52,61,.6) 75%,transparent 0,transparent);background-repeat:repeat-x;background-size:25px 25px;color:transparent}.plyr--video.plyr--loading .plyr__progress__buffer{background-color:hsla(0,0%,100%,.25)}.plyr--audio.plyr--loading .plyr__progress__buffer{background-color:rgba(183,197,205,.66)}.plyr__volume{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;position:relative}.plyr__volume input[type=range]{margin-left:5px;position:relative;z-index:2}@media (min-width:480px){.plyr__volume{max-width:90px}}@media (min-width:768px){.plyr__volume{max-width:110px}}.plyr--is-ios.plyr--vimeo [data-plyr=mute],.plyr--is-ios .plyr__volume{display:none!important}.plyr:fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:fullscreen video{height:100%}.plyr:fullscreen .plyr__video-wrapper{height:100%;width:100%}.plyr:fullscreen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;transform:translateY(-50%)}.plyr:fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:21px}.plyr:-ms-fullscreen .plyr__captions{font-size:21px}.plyr:-moz-full-screen .plyr__captions{font-size:21px}.plyr:fullscreen .plyr__captions{font-size:21px}}.plyr:-webkit-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-webkit-full-screen video{height:100%}.plyr:-webkit-full-screen .plyr__video-wrapper{height:100%;width:100%}.plyr:-webkit-full-screen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;transform:translateY(-50%)}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-webkit-full-screen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:21px}}.plyr:-moz-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-moz-full-screen video{height:100%}.plyr:-moz-full-screen .plyr__video-wrapper{height:100%;width:100%}.plyr:-moz-full-screen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;transform:translateY(-50%)}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-moz-full-screen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-moz-full-screen .plyr__captions{font-size:21px}}.plyr:-ms-fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-ms-fullscreen video{height:100%}.plyr:-ms-fullscreen .plyr__video-wrapper{height:100%;width:100%}.plyr:-ms-fullscreen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;transform:translateY(-50%)}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-ms-fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-ms-fullscreen .plyr__captions{font-size:21px}}.plyr--fullscreen-fallback{background:#000;border-radius:0!important;height:100%;margin:0;width:100%;bottom:0;left:0;position:fixed;right:0;top:0;z-index:10000000}.plyr--fullscreen-fallback video{height:100%}.plyr--fullscreen-fallback .plyr__video-wrapper{height:100%;width:100%}.plyr--fullscreen-fallback.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;transform:translateY(-50%)}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen{display:block}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr--fullscreen-fallback.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr--fullscreen-fallback .plyr__captions{font-size:21px}}.plyr__ads{border-radius:inherit;bottom:0;cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:-1}.plyr__ads>div,.plyr__ads>div iframe{height:100%;position:absolute;width:100%}.plyr__ads:after{background:rgba(47,52,61,.8);border-radius:2px;bottom:10px;color:#fff;content:attr(data-badge-text);font-size:11px;padding:2px 6px;pointer-events:none;position:absolute;right:10px;z-index:3}.plyr__ads:after:empty{display:none}.plyr__cues{background:currentColor;display:block;height:5px;left:0;margin:-2.5px 0 0;opacity:.8;position:absolute;top:50%;width:3px;z-index:3}.plyr__preview-thumb{background-color:hsla(0,0%,100%,.9);border-radius:3px;bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);margin-bottom:10px;opacity:0;padding:3px;pointer-events:none;position:absolute;transform:translateY(10px) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;z-index:2}.plyr__preview-thumb--is-shown{opacity:1;transform:translate(0) scale(1)}.plyr__preview-thumb:before{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid hsla(0,0%,100%,.9);bottom:-4px;content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr__preview-thumb__image-container{background:#b7c5cd;border-radius:2px;overflow:hidden;position:relative;z-index:0}.plyr__preview-thumb__image-container img{height:100%;left:0;max-height:none;max-width:none;position:absolute;top:0;width:100%}.plyr__preview-thumb__time-container{bottom:6px;left:0;position:absolute;right:0;white-space:nowrap;z-index:3}.plyr__preview-thumb__time-container span{background-color:rgba(0,0,0,.55);border-radius:2px;color:#fff;font-size:14px;padding:3px 6px}.plyr__preview-scrubbing{bottom:0;filter:blur(1px);height:100%;left:0;margin:auto;opacity:0;overflow:hidden;position:absolute;right:0;top:0;transition:opacity .3s ease;width:100%;z-index:1}.plyr__preview-scrubbing--is-shown{opacity:1}.plyr__preview-scrubbing img{height:100%;left:0;max-height:none;max-width:none;-o-object-fit:contain;object-fit:contain;position:absolute;top:0;width:100%}.plyr--no-transition{transition:none!important}.plyr__sr-only{clip:rect(1px,1px,1px,1px);overflow:hidden;border:0!important;height:1px!important;padding:0!important;position:absolute!important;width:1px!important}.plyr [hidden]{display:none!important}code[class*=language-],pre[class*=language-]{-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none;white-space:pre;white-space:pre-wrap;word-wrap:normal;font-family:Fira Code,Menlo,Monaco,Courier New,monospace;font-size:.8rem;color:#fff;text-shadow:none}:not(pre)>code[class*=language-],pre[class*=language-]{background:#353535}pre[class*=language-]{padding:10px;border-radius:4px;overflow:auto;position:relative}pre[class*=language-] code{white-space:pre;display:block}:not(pre)>code[class*=language-]{padding:.15em .2em .05em;border-radius:.3em;border:.13em solid #7a6652;box-shadow:inset 1px 1px .3em -.1em #000}.token.property{color:#fc4b60}.token.namespace{opacity:.7}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#b9b9b9}.token.boolean,.token.number,.token.operator{color:#1d327f}.language-css .token.string,.style .token.string,.token.attr-name,.token.entity,.token.string,.token.url{color:#ffbe32}.token.inserted,.token.selector{color:#52c5b9}.token.atrule,.token.attr-value,.token.deleted,.token.important,.token.keyword{color:#ff808c}.token.regex,.token.statement{color:#bec6e5}.token.placeholder,.token.variable{color:#fff}.token.bold,.token.important,.token.statement{font-weight:700}.token.punctuation{color:#52c5b9}.token.entity{cursor:help}.token.italic{font-style:italic}code.language-markup{color:#f9f9f9}code.language-markup .token.tag{color:#ef3b7d}code.language-markup .token.attr-name{color:#a6e22d}code.language-markup .token.attr-value{color:#e6d06c}code.language-markup .token.script,code.language-markup .token.script .token.keyword,code.language-markup .token.style{color:#76d9e6}pre[class*=language-][data-line]{position:relative;padding:1em 0 1em 3em}pre[data-line] .line-highlight{position:absolute;left:0;right:0;padding:0;margin-top:1em;background:hsla(0,0%,100%,.08);pointer-events:none;line-height:inherit;white-space:pre}pre[data-line] .line-highlight:before,pre[data-line] .line-highlight[data-end]:after{content:attr(data-start);position:absolute;top:.4em;left:.6em;min-width:1em;padding:.2em .5em;background-color:hsla(0,0%,100%,.4);color:#000;font:700 65%/1 sans-serif;height:1em;line-height:1em;text-align:center;border-radius:999px;text-shadow:none;box-shadow:0 1px 1px hsla(0,0%,100%,.7)}pre[data-line] .line-highlight[data-end]:after{content:attr(data-end);top:auto;bottom:.4em}:root{--body-color:#000;--body-bg-color:#fff;--table-stripe-bg-color:#eee;--color-primary:#fc4b60;--c-noir:#353535;--c-orange:#ffbe32;--c-gris-clair:#e5e5e5;--c-gris-tresclair:#f1f1f1;--spacing:1.62rem;--font-family:"Fira";--font-size:1.1rem;--input-font-size-big:1.4rem;--line-height:1.35;--input-box-shadow:none;--input-border-width:3px;--input-border-color:#b9b9b9;--input-border-color-focus:#ffbe32}.button,button{background-color:transparent;border:none;font-size:inherit;font-family:inherit;background-color:#fff;display:inline-block;text-decoration:none;text-align:center;text-transform:uppercase;font-weight:500;letter-spacing:.06em;flex-shrink:0;margin:0;cursor:pointer;min-height:2.43rem;padding:0 .81rem;border-radius:6px;transition:color .25s ease-out,opacity .5s}.button.is--disabled,.button[disabled],button.is--disabled,button[disabled]{opacity:.38;cursor:not-allowed}.button.is--disabled[class*=bg-]:not(.bg-transparent),.button[disabled][class*=bg-]:not(.bg-transparent),button.is--disabled[class*=bg-]:not(.bg-transparent),button[disabled][class*=bg-]:not(.bg-transparent){background-color:gray}.button.is--active,button.is--active{background-color:#353535;color:#fff}.button.bg-noir.is--active,button.bg-noir.is--active{background-color:#fff;color:#353535}.button.bg-bleuvert,.button.bg-orange,.button.bg-rouge,button.bg-bleuvert,button.bg-orange,button.bg-rouge{color:#fff}.button:focus,button:focus{outline:0}.button a,button a{text-decoration:none}.button.button-thin,button.button-thin{min-height:0;line-height:1;margin:.405rem;padding:.81rem;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;border-radius:1.62rem}.button.button-redthin,button.button-redthin{background-color:#fc4b60}.button.button-greenthin,.button.button-redthin,button.button-greenthin,button.button-redthin{min-height:0;line-height:1;margin:.405rem;padding:.81rem;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;border-radius:1.62rem;color:#fff}.button.button-greenthin,button.button-greenthin{background-color:#52c5b9}.button.button-bg_rounded>*,button.button-bg_rounded>*{display:inline-block;vertical-align:middle}.button.button-bg_rounded rect,button.button-bg_rounded rect{fill:currentColor}.button.button-outline,button.button-outline{background-color:transparent;border:2px solid currentColor}.button.button-outline svg>*,button.button-outline svg>*{fill:currentColor}.button.button-outline.is--selected,.button.button-outline:focus,.button.button-outline:hover,button.button-outline.is--selected,button.button-outline:focus,button.button-outline:hover{border:2px solid transparent;background-color:#fff;color:#ffbe32}.button.button-outline.is--selected span,.button.button-outline:focus span,.button.button-outline:hover span,button.button-outline.is--selected span,button.button-outline:focus span,button.button-outline:hover span{color:inherit}.button.button-outline.is--selected svg>*,.button.button-outline:focus svg>*,.button.button-outline:hover svg>*,button.button-outline.is--selected svg>*,button.button-outline:focus svg>*,button.button-outline:hover svg>*{fill:currentColor}.button.button-outline.is--selected.c-rouge,.button.button-outline:focus.c-rouge,.button.button-outline:hover.c-rouge,button.button-outline.is--selected.c-rouge,button.button-outline:focus.c-rouge,button.button-outline:hover.c-rouge{background-color:#fc4b60;color:#ffbe32}.button.button-arrow,button.button-arrow{max-width:3em;padding:0;color:#ffbe32}.button img,.button svg,button img,button svg{min-width:0;width:48px;height:48px;margin:auto}.button.is--small img,.button.is--small svg,button.is--small img,button.is--small svg{width:36px;height:36px}.button.button-triangle:after,button.button-triangle:after{content:"◄";display:inline-block;margin-left:.5em;transition:transform .5s,color .5s}.button.button-triangle.is--active,button.button-triangle.is--active{color:#fc4b60}.button.button-triangle.is--active:after,button.button-triangle.is--active:after{transform:rotate(-90deg)}.buttonLink{position:relative;display:inline-block;background-color:inherit;text-decoration:none;font-size:.9em;line-height:1.25;padding:.405rem;margin:.405rem;font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#757575;font-weight:400;min-height:0}.buttonLink:after{content:"";display:block;width:100%;border-bottom:1px solid currentColor}.buttonLink._no_underline:after{display:none}.button-nostyle{appearance:none;padding:0;margin:0;min-height:0;background-color:transparent;text-transform:none;padding-top:.405rem;padding-bottom:.405rem;margin-top:-.405rem;margin-bottom:-.405rem}.button-nostyle.is--active{background-color:transparent;color:inherit}.sectionTitle_small{text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;color:#757575}.sectionTitle_small label{font-size:.8rem;color:inherit;vertical-align:middle;margin-bottom:0;line-height:var(--switch-size)}b,strong{font-weight:500}.c-blanc{color:#fff}.c-gris{color:#b9b9b9}.c-gris_fonce{color:#757575}.c-orange{color:#ffbe32}.c-bleumarine{color:#1d327f}.c-bleuvert{color:#52c5b9}.c-rouge{color:#fc4b60}.c-noir{color:#353535}.bg-transparent{background-color:transparent}.bg-noir{background-color:#353535}.bg-blanc{background-color:#fff}.bg-creme{background-color:#f4f3ef}.bg-rouge{background-color:#fc4b60}.bg-rouge_fonce{background-color:#cc334a}.bg-orange{background-color:#ffbe32}.bg-gris_fonce{background-color:#757575}.bg-gris_clair{background-color:#e5e5e5}.bg-gris{background-color:#b9b9b9}.bg-gris_tresclair{background-color:#f1f1f1}.bg-bleuvert{background-color:#52c5b9}.bg-bleuvert_fonce{background-color:#47998d}.bg-bleumarine{background-color:#1d327f}.bg-bleumarine_clair{background-color:#bec6e5}.border-circled{border:1px solid currentColor}.border-none{border-width:0}.border{border:2px solid #b9b9b9}.border-vert{border:0 solid #e5e5e5;border-top-width:1px;border-bottom-width:1px}.border-bottom-dashed{border-bottom-width:1px;border-image:repeating-linear-gradient(90deg,currentColor,currentColor 1ch,transparent 0,transparent calc(1ch + 2px)) 1;border-image-repeat:round}.border-top-dashed{border-top-width:1px;border-image:repeating-linear-gradient(90deg,currentColor,currentColor 1ch,transparent 0,transparent calc(1ch + 2px)) 1;border-image-repeat:round}.border-bottom{border-bottom:1px solid #e5e5e5}.border-bottom-none{border-bottom:none}.border-left{border-left:4px solid #e5e5e5}.border-top{border:4px solid #e5e5e5}.button-thin{min-height:0;line-height:1}.button-wide{min-width:3.5em}.button-allwide{width:100%}.button-inline{display:flex;flex-flow:row wrap;align-items:center;justify-content:center}.button-rectangle{border-radius:0}.display-inline{display:inline}.font-medium{font-size:1em;line-height:1.25}.font-small{font-size:.9em;line-height:1.25}.font-verysmall{font-size:.8rem}.font-large{font-size:1.5rem}.font-verylarge{font-size:2.5rem}.font-folder_title,.font-publi_title{font-size:1.5rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em}.font-thin{font-weight:200}.font-normal{font-weight:400}.text-centered{text-align:center}.margin-none{margin:0}.margin-medium{margin:1.62rem}.margin-right-small{margin-right:.81rem}.margin-right-verysmall{margin-right:.405rem}.margin-small{margin:.81rem}.margin-sides-negative-verysmall{margin-left:-.405rem;margin-right:-.405rem}.margin-sides-negative-small{margin-left:-.81rem;margin-right:-.81rem}.margin-sides-negative-medium{margin-left:-1.62rem;margin-right:-1.62rem}.margin-verysmall{margin:.405rem}.margin-veryverysmall{margin:.2025rem}.margin-bottom-small{margin-bottom:.81rem}.margin-bottom-verysmall{margin-bottom:.405rem}.margin-bottom-medium{margin-bottom:1.62rem}.margin-bottom-large{margin-bottom:3.24rem}.margin-bottom-none{margin-bottom:0}.margin-auto{margin:auto}.margin-sides-medium{margin-left:1.62rem;margin-right:1.62rem}.margin-sides-small{margin-left:.81rem;margin-right:.81rem}.margin-sides-verysmall{margin-left:.405rem;margin-right:.405rem}.margin-left-small{margin-left:.81rem}.margin-left-verysmall{margin-left:.405rem}.margin-left-none{margin-left:0}.margin-right-medium{margin-right:1.62rem}.margin-top-medium{margin-top:1.62rem}.margin-top-small{margin-top:.81rem}.margin-top-verysmall{margin-top:.405rem}.margin-vert-verysmall{margin-top:.405rem;margin-bottom:.405rem}.margin-vert-small{margin-top:.81rem;margin-bottom:.81rem}.margin-vert-medium{margin-top:1.62rem;margin-bottom:1.62rem}.margin-vert-large{margin-top:3.24rem;margin-bottom:3.24rem}.margin-vert-verylarge{margin-top:6.48rem;margin-bottom:6.48rem}.rounded{border-radius:4px}.padding-none{padding:0}.padding-vert-large{padding-top:3.24rem;padding-bottom:3.24rem}.padding-vert-medium{padding-top:1.62rem;padding-bottom:1.62rem}.padding-vert-small{padding-top:.81rem;padding-bottom:.81rem}.padding-vert-verysmall{padding-top:.405rem;padding-bottom:.405rem}.padding-large{padding:3.24rem}.padding-medium{padding:1.62rem}.padding-small{padding:.81rem}.padding-verysmall{padding:.405rem}.padding-veryverysmall{padding:.2025rem}.padding-sides-verysmall{padding-left:.405rem;padding-right:.405rem}.padding-sides-small{padding-left:.81rem;padding-right:.81rem}.padding-sides-medium{padding-left:1.62rem;padding-right:1.62rem}.padding-top-medium{padding-top:1.62rem}.padding-bottom-medium{padding-bottom:1.62rem}.padding-top-small{padding-top:.81rem}.padding-top-verysmall{padding-top:.405rem}.padding-bottom-small{padding-bottom:.81rem}.padding-left-small{padding-left:.81rem}.padding-left-verysmall{padding-left:.405rem}.padding-right-verysmall{padding-right:.405rem}.padding-right-small{padding-right:.81rem}.padding-bottom-verysmall{padding-bottom:.405rem}.button-small{font-size:.9em;line-height:1.25}.button-round{border-radius:10%;border:2px solid #e5e5e5;margin:.405rem;padding:0}.button-round>span{display:block;margin-top:.81rem}.button-round-small{width:40px;height:40px;min-height:0}h1,h2,h3,h4{font-weight:400;font-size:1em;margin:0}.text-formatting h2{text-decoration:underline;font-style:italic}.textarea,textarea{padding:.81rem;min-height:7rem}.textarea,input[type=color],input[type=date],input[type=datetime-local],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{background-color:#f1f1f1;border-top-width:0;border-left-width:0;border-right-width:0;transition:background-color .2s}.textarea[readonly],input[readonly],textarea[readonly]{background-color:var(--input-readonly-bg-color)}.text-cap,.text-uc{text-transform:uppercase}.text-cap{font-weight:500;letter-spacing:.06em}.text-ital{font-style:italic;letter-spacing:.05em}.text-underline{display:inline;text-decoration:none;padding-bottom:1px;border-bottom:1px solid}.text-underline:after{content:"\\A"}.text-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cursor-pointer{cursor:pointer}:focus{outline-color:hsla(0,0%,63%,.3)}.boxs-card-0{box-shadow:0 1px 4px rgba(0,0,0,.1)}.boxs-card-1{box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24)}.boxs-card-2{box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23)}.boxs-card-3{box-shadow:0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23)}.boxs-card-4{box-shadow:0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.boxs-card-5{box-shadow:0 19px 38px rgba(0,0,0,.3),0 15px 12px rgba(0,0,0,.22)}a{color:inherit}hr{margin:1.62rem 0;border:none;border-bottom:2px solid #e5e5e5}table{border:2px solid #fff}.label,label{font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#757575}svg.inline-svg{display:inline-block;width:1em;height:1em}svg.inline-svg>*{fill:currentColor}svg.inline-svg_larger{width:1.5em;height:1.5em;margin-top:-.25em;margin-bottom:-.25em}pre{font-family:Fira Mono;font-style:normal;font-weight:400}.break-long-lines{word-break:break-word}input[type=range]{-webkit-appearance:none;width:100%;height:1.6rem;line-height:1.6rem;vertical-align:middle;background:transparent;--input-range-track-box-shadow:none}input[type=range]::-webkit-slider-thumb{border:.2rem solid currentColor!important}input[type=file]{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}input[type=file]+label{display:flex;width:100%;max-width:380px;text-align:center;cursor:pointer;overflow:hidden;word-break:break-word;flex-direction:row;align-items:center;justify-content:space-around;padding:.81rem 1.62rem;margin-bottom:0;border-radius:5px;min-height:3.3125rem;transition:color 1s}input[type=file].has-focus+label,input[type=file] :focus+label{outline:1px dotted #fc4b60;outline:5px auto -webkit-focus-ring-color}input[type=file]+label *{display:block}input[type=file]+label svg{width:1.5rem;height:1.5rem;flex-shrink:0;fill:currentColor;margin-right:1.62rem}input[type=file].inputfile-2+label{background-color:#fc4b60;color:#fff;border:0 solid currentColor}.input-group{width:100%;display:flex;margin-bottom:.81rem}.input-group button{margin-bottom:0;margin-top:0;margin-left:0}.input-group button+button{margin-left:2px}.input-group+*{margin-top:-.81rem}.input-addon{border-top:none;border-right:none}.input-addon button{background-color:transparent;font-size:2em;color:#333}.input-addon:last-child{border-right:none}.input-group,.input-single{margin-bottom:1.62rem}blockquote,figure,h1,h2,h3,h4,ol,p,table,ul{margin:1.62rem 0}img{max-width:100%;width:100%;height:auto;display:block}figcaption{color:#b9b9b9}figcaption>p{margin:0;margin-top:.81rem}code{font-family:inherit}.margin-left-none{margin-left:0!important}audio,img,svg,video{display:block;max-width:100%;height:auto;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}input:required{background-size:16px 16px;background-position:100% 0;background-repeat:no-repeat;background-image:radial-gradient(#fc4b60 18%,transparent 25%);transition:background-size .2s}input:required:focus{background-size:20px 20px}th{font-weight:400}.float-right{float:right}.flex-wrap{display:flex;flex-flow:row wrap}.flex-wrap>*{flex:1 1 auto}.flex-nowrap{display:flex;flex-flow:row nowrap}.flex-nowrap>*{flex:1 1 auto}.flex-same-basis>*{flex-basis:0}.flex-no-grow>*{flex-grow:0}.flex-vertically-centered{align-content:center;align-items:center}.flex-vertically-start{align-content:center;align-items:flex-start}.flex-vertically-stretched{align-items:stretch}.flex-horizontally-start{justify-content:flex-start}.flex-horizontally-centered{justify-content:center}.flex-space-around{justify-content:space-around}.flex-space-between{justify-content:space-between}.limited-width{max-width:1300px;margin-left:auto;margin-right:auto}.flex-size-1\\/2{flex:1 1 50%}.flex-size-1\\/3{flex:1 1 33.333%}.flex-size-2\\/3{flex:1 1 66.666%}.flex-size-1\\/5{flex:1 1 20%}.flex-size-2\\/5{flex:1 1 40%}.flex-size-3\\/5{flex:1 1 60%}.flex-size-4\\/5{flex:1 1 80%}.m_modal--mask{position:absolute;z-index:10000;min-height:100%;top:0;width:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:hsla(0,0%,100%,.9);display:flex;align-items:center;justify-content:center;transition:all .2s ease-out}.m_modal--mask::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_modal--mask::-webkit-scrollbar-thumb,.m_modal--mask::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_modal--mask::-webkit-scrollbar-track{background-color:transparent}.m_modal--mask::-webkit-scrollbar-thumb{background-color:#353535}.m_modal--mask::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}#app:not(.is--wide) .m_modal--mask{align-items:flex-start;overflow:scroll!important;padding:0!important;height:100%!important;background-color:#fff}.m_modal--mask.is_invisible{opacity:0;pointer-events:none}.m_modal--mask.is_minimized{background:transparent;pointer-events:none;align-items:flex-end}.m_modal--container{position:relative;transition:all .3s ease;width:100%;cursor:auto;max-width:400px;pointer-events:all;z-index:1000;transition:all .15s ease-out}.m_modal--container.is_invisible{opacity:0;transform:translate3d(0,15px,0) scale(.98)}.m_modal--container.is_minimized{transform:scale(.25);transform-origin:bottom left;margin-left:5px!important;margin-bottom:5px!important;margin-right:auto!important}.m_modal--container.is_minimized .m_modal--container--content{border:30px solid #fff;border-radius:20px}.m_modal--container .m_modal--container--content{height:auto;background-color:#fff;border-radius:2px;box-shadow:0 1px 4px rgba(0,0,0,.1);border:1px solid #e5e5e5;display:flex;flex-flow:row wrap;transition:background-color .4s ease-out}.m_modal--container .m_modal--container--content>*{flex:1 1 200px}.m_modal--container .m_modal--container--content>.m_modal--sidebar{flex:0 1 400px;max-height:90vh;width:0}#app:not(.is--wide) .m_modal--container .m_modal--container--content>.m_modal--sidebar{max-height:none;flex:1 1 400px}.m_modal--container .m_modal--container--content>.m_modal--sidebar.is_collapsed{flex-basis:0px}.m_modal--container .m_modal--container--content>.m_modal--preview{position:relative;width:100%;height:90vh;overflow:hidden;border-right:1px solid #e5e5e5}.color-red.m_modal--container .m_modal--container--content{background-color:#fc4b60}.color-blue.m_modal--container .m_modal--container--content{background-color:#1d327f}.color-orange.m_modal--container .m_modal--container--content,.color-yellow.m_modal--container .m_modal--container--content{background-color:#ffbe32}.m_modal--container .m_modal--container--content .textarea,.m_modal--container .m_modal--container--content input,.m_modal--container .m_modal--container--content select,.m_modal--container .m_modal--container--content textarea{color:#353535}.m_modal--mask.typeOfModal-LargeAndScroll{padding-top:3.24rem;padding-bottom:3.24rem;overflow-y:auto}.m_modal--mask.typeOfModal-LargeAndScroll .m_modal--container{max-width:1600px;align-self:flex-start}.m_modal--mask.typeOfModal-LargeAndScroll .m_modal--container .m_modal--preview{height:auto}#app:not(.is--wide) .m_modal--mask.typeOfModal-LargeAndScroll .m_modal--container .m_modal--preview{position:relative}#app.is--wide .m_modal--mask.typeOfModal-LargeAndScroll .m_modal--container{width:90vw}.m_modal--mask.typeOfModal-LargeAndScroll .m_modal--container .m_modal--sidebar{margin-top:0}.m_modal--mask.typeOfModal-LargeAndNoScroll{overflow:hidden}.m_modal--mask.typeOfModal-LargeAndNoScroll .m_modal--container{margin:0;max-width:1600px}#app.is--wide .m_modal--mask.typeOfModal-LargeAndNoScroll .m_modal--container .m_modal--preview{min-height:70vh}#app:not(.is--wide) .m_modal--mask.typeOfModal-LargeAndNoScroll .m_modal--container .m_modal--preview{position:fixed;height:50vh}#app:not(.is--wide) .m_modal--mask.typeOfModal-LargeAndNoScroll .m_modal--container .m_modal--sidebar{margin-top:50vh;margin-bottom:3em}#app.is--wide .m_modal--mask.typeOfModal-LargeAndNoScroll .m_modal--container{width:90vw;margin-bottom:20px}.m_modal--mask.typeOfModal-SmallAndScroll{overflow-y:auto}.m_modal--mask.typeOfModal-SmallAndScroll .m_modal--container{padding:5vh 0;align-self:flex-start}.m_modal--mask.typeOfModal-SmallAndScroll .m_modal--container .m_modal--preview{display:flex;flex-flow:column nowrap;min-height:10vh;height:auto}.m_modal--mask.typeOfModal-LargeAndNoScrollWithButtons .m_modal--container{max-width:none;height:80vmin;width:80vmin}.m_modal--mask.typeOfModal-LargeAndNoScrollWithButtons .m_modal--container .m_modal--container--content{flex-flow:column wrap;height:100%}.m_modal--mask.typeOfModal-LargeAndNoScrollWithButtons .m_modal--container .m_modal--container--content .m_modal--sidebar{position:relative;flex-grow:1}.m_modal--mask.typeOfModal-LargeAndNoScrollWithButtons .m_modal--container .m_modal--container--content .m_modal--sidebar .m_modal--metaOptions{padding:0;display:flex;flex-flow:column wrap}.m_modal--mask.typeOfModal-LargeAndNoScrollWithButtons .m_modal--container .m_modal--container--content .m_modal--sidebar .m_modal--metaOptions>.m_modal--metaOptions--media{flex:1 1 auto}.m_modal--mask.typeOfModal-LargeAndNoScrollWithButtons .m_modal--container .m_modal--container--content .m_modal--buttons,.m_modal--mask.typeOfModal-LargeAndNoScrollWithButtons .m_modal--container .m_modal--container--content .m_modal--sidebar .m_modal--metaOptions>.m_modal--metaOptions--fav{flex:0 0 auto}.m_modal--sidebar{position:relative;display:flex;flex-flow:column nowrap;background-color:#fff}.m_modal--sidebar>*{flex:0 0 auto}.m_modal--sidebar .m_modal--sidebar--toggle{position:absolute;top:.972rem;right:100%;padding:.81rem;font-weight:700;font-size:1.5rem;border-radius:50% 0 0 50%;line-height:1}.m_modal--sidebar .m_modal--metaOptions{flex:1 1 auto;padding-top:.81rem;padding-bottom:.81rem;overflow-y:auto}.m_modal--sidebar .m_modal--metaOptions::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_modal--sidebar .m_modal--metaOptions::-webkit-scrollbar-thumb,.m_modal--sidebar .m_modal--metaOptions::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_modal--sidebar .m_modal--metaOptions::-webkit-scrollbar-track{background-color:transparent}.m_modal--sidebar .m_modal--metaOptions::-webkit-scrollbar-thumb{background-color:#353535}.m_modal--sidebar .m_modal--metaOptions::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_modal--sidebar .m_modal--metaOptions>*{margin-left:1.62rem;margin-right:1.62rem}.m_modal--sidebar .m_modal--metaOptions>.m_modal--buttonrow{margin:0;padding-left:.81rem;padding-right:.81rem;text-align:center}#app:not(.is--wide) .m_modal--sidebar .m_modal--metaOptions>.m_modal--buttonrow>a,#app:not(.is--wide) .m_modal--sidebar .m_modal--metaOptions>.m_modal--buttonrow>button{font-size:.7rem;padding:0}.m_modal--sidebar .m_modal--metaOptions>:first-child{margin-top:0}.m_modal--sidebar .m_modal--metaOptions hr{margin:0;margin:.81rem}.m_modal--sidebar .m_modal--metaOptions table{margin:0}.m_modal--sidebar .m_modal--metaOptions>:last-child{margin-bottom:0}.m_modal--preview .mediaContainer{height:100%;overflow:hidden;position:relative;background-color:#353535}.m_modal--preview .mediaContainer[data-context=edit]>*{width:100%;height:100%}.m_modal--preview .mediaContainer img{position:absolute;top:0;right:0;width:auto;height:auto;object-fit:contain;object-position:center}.m_modal--preview .mediaContainer .plyr--video,.m_modal--preview .mediaContainer .plyr__poster,.m_modal--preview .mediaContainer .plyr__video-wrapper{background-color:transparent}.m_modal--preview .mediaContainer .plyr__controls{color:#fff!important}.m_modal--preview .mediaContainer .plyr--audio{display:flex;justify-content:center;align-items:center}.m_modal--preview .mediaContainer .plyr--audio .plyr__controls{width:80%;margin:0 auto}.m_modal--preview .mediaContainer.type-text .ql-container{height:100%}.m_modal--preview .mediaContainer.type-text .ql-container .ql-editor{overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}.m_modal--preview .mediaContainer.type-text .ql-container .ql-editor::-webkit-scrollbar{height:7px;width:7px;background-color:hsla(0,0%,100%,0)}.m_modal--preview .mediaContainer.type-text .ql-container .ql-editor::-webkit-scrollbar-thumb,.m_modal--preview .mediaContainer.type-text .ql-container .ql-editor::-webkit-scrollbar-track{border:2px solid hsla(0,0%,100%,0);border-radius:8px;background-clip:padding-box;transition:all .4s}.m_modal--preview .mediaContainer.type-text .ql-container .ql-editor::-webkit-scrollbar-track{background-color:transparent}.m_modal--preview .mediaContainer.type-text .ql-container .ql-editor::-webkit-scrollbar-thumb{background-color:#333}.m_modal--preview .mediaContainer.type-text .ql-container .ql-editor::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:2px solid hsla(0,0%,100%,0)}.m_modal--preview .mediaContainer.type-audio audio{width:500px;margin:auto;height:50%}.m_modal--preview .mediaContainer.type-other{color:#fff}.m_modal--preview .mediaContainer pre{margin-top:0}.m_modal--preview .m_modal--preview--media{width:100%;height:100%}.m_modal--preview .m_modal--preview--media>*{width:100%;height:100%;object-fit:contain;object-position:center}.m_modal--close_button{position:fixed;top:0;right:0;z-index:1500}.m_modal--close_button line{fill:none;stroke:#4d4d4d;stroke-miterlimit:10;stroke-width:3px}html.touchevents .m_modal--close_button{top:0;right:0}.m_modal--minimize_button{position:fixed;bottom:0;left:0;z-index:1500;pointer-events:auto;transition:transform .2s ease-out}.m_modal--minimize_button.is_minimized{transform:scale(-1) rotate(-1turn)}#app:not(.is--wide) .m_modal--minimize_button{display:none}.m_modal--nav_left,.m_modal--nav_right{position:fixed;top:auto;bottom:0;z-index:1500}#app:not(.is--wide) .m_modal--nav_left,#app:not(.is--wide) .m_modal--nav_right{top:auto;bottom:0;border:none}.m_modal--nav_left{left:auto;right:50%}#app:not(.is--wide) .m_modal--nav_left{left:0;right:auto}.m_modal--nav_right{left:50%}#app:not(.is--wide) .m_modal--nav_right{left:auto;right:0}.m_modal--header{border-bottom:2px solid #e5e5e5}.m_modal--header h3{padding:1.62rem;font-weight:700;font-size:1.5rem}.m_modal--buttons{padding:.405rem;border-top:2px solid #e5e5e5;display:flex;justify-content:center;min-height:3em}#app:not(.is--wide) .m_modal--buttons{position:fixed;z-index:1000;bottom:0;left:0;width:100%;background-color:#fff}.m_modal--buttons button{margin:.405rem}#app:not(.is--wide) .m_modal--buttons button[type=submit]{width:10em;margin:0 auto;text-align:center;min-height:0}@media print{.m_modal--container{max-width:none!important}.m_modal--container--content{box-shadow:none!important;border:none!important}.m_modal--preview{height:100vh!important;border:none!important}.m_modal--header,.m_modal--preview{display:none}.m_modal--mask{height:auto!important}.m_modal--sidebar{overflow:auto;max-height:none!important}.m_modal--footer{display:none}}\n/*!\n * Quill Editor v1.3.6\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{box-sizing:border-box;font-family:inherit;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{counter-reset:a b c d e f g h i}.ql-editor ul>li:before{content:"\\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\\2610"}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li.ql-indent-1{counter-increment:a}.ql-editor ol li.ql-indent-1:before{content:counter(a,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:b c d e f g h i}.ql-editor ol li.ql-indent-2{counter-increment:b}.ql-editor ol li.ql-indent-2:before{content:counter(b,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:c d e f g h i}.ql-editor ol li.ql-indent-3{counter-increment:c}.ql-editor ol li.ql-indent-3:before{content:counter(c,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:d e f g h i}.ql-editor ol li.ql-indent-4{counter-increment:d}.ql-editor ol li.ql-indent-4:before{content:counter(d,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:e f g h i}.ql-editor ol li.ql-indent-5{counter-increment:e}.ql-editor ol li.ql-indent-5:before{content:counter(e,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:f g h i}.ql-editor ol li.ql-indent-6{counter-increment:f}.ql-editor ol li.ql-indent-6:before{content:counter(f,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:g h i}.ql-editor ol li.ql-indent-7{counter-increment:g}.ql-editor ol li.ql-indent-7:before{content:counter(g,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:h i}.ql-editor ol li.ql-indent-8{counter-increment:h}.ql-editor ol li.ql-indent-8:before{content:counter(h,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:i}.ql-editor ol li.ql-indent-9{counter-increment:i}.ql-editor ol li.ql-indent-9:before{content:counter(i,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover{color:#06c}.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item:before,.ql-snow .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item:before,.ql-snow .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item:before,.ql-snow .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:0 2px 8px rgba(0,0,0,.2)}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.mediaTextContent{color:inherit;font-size:1em;line-height:1.4375em}.mediaTextContent>:first-child,.mediaTextContent>:first-child>:first-child{margin-top:0}.mediaTextContent .h1,.mediaTextContent h1{font-size:2.25em;line-height:1.27777778em;margin-top:.63888889em;margin-bottom:0}.mediaTextContent .h2,.mediaTextContent h2{font-size:1.6875em;line-height:1.7037037em;margin-top:.85185185em;margin-bottom:0}.mediaTextContent .h3,.mediaTextContent .h4,.mediaTextContent .h5,.mediaTextContent h3,.mediaTextContent h4,.mediaTextContent h5{font-size:1em;line-height:1.4375em;margin-top:1.4375em;margin-bottom:0}.mediaTextContent blockquote,.mediaTextContent ol,.mediaTextContent ol ol,.mediaTextContent ol ul,.mediaTextContent p,.mediaTextContent pre,.mediaTextContent table,.mediaTextContent ul,.mediaTextContent ul ol,.mediaTextContent ul ul{margin-top:0;margin-bottom:0}.mediaTextContent .hr,.mediaTextContent hr{border:1px solid;margin:-1px 0}.mediaTextContent a,.mediaTextContent b,.mediaTextContent code,.mediaTextContent em,.mediaTextContent i,.mediaTextContent small,.mediaTextContent strong{line-height:0}.mediaTextContent sub,.mediaTextContent sup{line-height:0;position:relative;vertical-align:baseline}.mediaTextContent sup{top:-.5em}.mediaTextContent sub{bottom:-.25em}.mediaTextContent h1+h2,.mediaTextContent h2+h2{margin-top:0}.mediaTextContent ol,.mediaTextContent ul{padding-left:1.5em}.mediaTextContent ol>li,.mediaTextContent ul>li{list-style-type:none}.mediaTextContent ul>li:before{content:"\\2022"}.mediaTextContent li:before{display:inline-block;white-space:nowrap;width:1.2em}.mediaTextContent ol li{counter-reset:a b c d e f g h i;counter-increment:j}.mediaTextContent ol li:before{content:counter(j,decimal) ". "}.mediaTextContent b,.mediaTextContent strong{font-weight:700}.mediaTextContent a{text-decoration:underline;text-decoration-style:solid;color:#12224c;font-weight:600}.mediaTextContent h1,.mediaTextContent h2{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.mediaTextContent h1,.mediaTextContent h2,.mediaTextContent h3,.mediaTextContent h4{font-weight:700}.mediaTextContent blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.mediaTextContent code,.mediaTextContent pre{background-color:#f0f0f0;border-radius:3px}.mediaTextContent pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.mediaTextContent code{font-size:85%;padding:2px 4px}::-moz-selection{background:hsla(0,0%,59%,.25)}::selection{background:hsla(0,0%,59%,.25)}*{box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body,html{height:100%}html::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}html::-webkit-scrollbar-thumb,html::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}html::-webkit-scrollbar-track{background-color:transparent}html::-webkit-scrollbar-thumb{background-color:#353535}html::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}body{font-family:Fira Sans,sans-serif;font-weight:400;font-size:var(--font-size);line-height:var(--line-height);background-color:#f4f3ef;color:#353535;position:relative;margin:0}body.has_modal_opened{overflow-y:auto}.range-xs,.switch-xs{--switch-size:0.9rem}.plyr{width:100%;height:100%;min-width:100px;font-family:inherit;font-weight:300}.plyr button{min-height:0}.plyr .plyr__poster,.plyr .plyr__video-wrapper,.plyr video{width:100%;height:100%;object-fit:cover}.plyr .plyr__poster>video,.plyr .plyr__video-wrapper>video,.plyr video>video{object-fit:contain;height:100%}.plyr .plyr__video-wrapper{background-color:#353535}.plyr.plyr--audio .plyr__controls{background:transparent;color:#353535}.plyr .plyr__controls{background:linear-gradient(rgba(53,53,53,0),#353535);color:#fff}.plyr .plyr__control--overlaid{background-color:var(--c-orange)}.plyr input[type=range]{color:var(--c-orange)}.plyr .plyr__control.plyr__tab-focus,.plyr .plyr__control:hover,.plyr .plyr__control[aria-expanded=true]{background-color:var(--c-orange)}.plyr .plyr__progress__container{flex:1}#app{width:100%;height:100%;margin:0 auto;display:flex;flex-flow:column nowrap}#app>*{flex:0 0 auto}#app>.m_activitiesPanel{flex-grow:1}#systemBar{position:absolute;z-index:10;top:0;width:100%;height:22px;font-size:.9em;line-height:1.25;text-align:center}#systemBar>.fixedBand{-webkit-user-select:none;-webkit-app-region:drag;font-style:italic;height:22px;background-color:#fff;border-bottom:1px solid #b9b9b9;color:#b9b9b9;padding:2px;z-index:15000;overflow:hidden;transition:all .2s ease-out}#systemBar>.fixedBand:hover{color:#333}.m_topbar{position:relative;z-index:10;width:100%;top:0;min-height:70px;background-color:#fff;margin-top:0;box-shadow:0 1px 4px rgba(0,0,0,.1);display:flex;flex-flow:row wrap;user-select:none}.m_topbar>*{flex:1 1 auto}body.has_systembar .m_topbar{padding-top:14.652px}.m_topbar>*{min-width:180px;flex:1 1 0}#app:not(.is--wide) .m_topbar>*{flex:1 0 100%}.m_topbar>.m_topbar--center{min-width:200px;max-width:200px}#app:not(.is--wide) .m_topbar>.m_topbar--center{max-width:none}.m_topbar .m_topbar--left,.m_topbar .m_topbar--left .m_topbar--left--logo{display:flex;align-items:center;justify-content:flex-start}.m_topbar .m_topbar--left .m_topbar--left--logo{width:auto;margin-left:0;height:70px;cursor:pointer;flex-shrink:0}.m_topbar .m_topbar--left .m_topbar--left--logo>*{flex:0 0 auto}.m_topbar .m_topbar--left .m_topbar--left--logo .backButton{display:block;color:#fff;background-color:#353535;border-radius:0 6px 6px 0;width:86px;height:46px;min-height:0;padding:0;margin:0;font-size:1em;font-weight:200;text-align:center;text-transform:lowercase}#app:not(.is--wide) .m_topbar .m_topbar--left .m_topbar--left--logo .backButton{width:42px}#app:not(.is--wide) .m_topbar .m_topbar--left .m_topbar--left--logo .backButton .backButton--text{display:none}.m_topbar .m_topbar--left .m_topbar--left--logo img{padding:.81rem;display:block;width:180px;height:100%;-moz-user-select:none;user-select:none}#app:not(.is--wide) .m_topbar .m_topbar--left .m_topbar--left--logo img{padding:.81rem;width:140px}.m_topbar .m_topbar--left .m_topbar--left--logo img:active,.m_topbar .m_topbar--left .m_topbar--left--logo img:focus{outline:0}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb{position:relative;padding-right:1.62rem;overflow:hidden;display:flex;flex-flow:row nowrap;align-content:flex-start;align-items:center}#app:not(.is--wide) .m_topbar .m_topbar--left .m_topbar--left--breadcrumb{display:none}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb>*{flex:0 1 auto}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button{position:relative;display:flex;align-items:center;text-align:left;margin:0;padding:0;min-height:0;margin-bottom:-3px;pointer-events:auto;transition:border-radius .4s;background-color:transparent;overflow:hidden;padding:15px 5px;color:#fc4b60;font-weight:400;font-style:italic;transition:color .2s}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button:disabled{cursor:inherit;opacity:1}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button span{display:block;text-transform:none;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-shadow:1px 1px #fff,-1px 1px #fff,-1px -1px #fff,1px -1px #fff;background-image:linear-gradient(90deg,currentColor 100%,transparent 0);background-position:bottom .12em left;background-repeat:no-repeat;background-size:0 2px;transition:all .4s ease-out}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button:not(:first-child){padding-left:0}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button:not(:first-child):before{content:"/";padding-left:.81rem;padding-right:.81rem;font-weight:200}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button:not(:last-child) span{background-size:100% 2px}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button:first-child{flex-shrink:1}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button:nth-child(2){color:#ffbe32}.m_topbar .m_topbar--left .m_topbar--left--menuButton{display:block;margin-left:auto}.m_topbar .m_topbar--left .m_topbar--left--menuButton svg{width:auto;height:auto;padding:.81rem;cursor:pointer}.m_topbar .m_topbar--center{display:flex;justify-content:center;align-items:center}.m_topbar .m_topbar--center .m_topbar--center--authors{position:relative}.m_topbar .m_topbar--center .m_topbar--center--authors .m_topbar--center--authors--currentAuthor{position:relative;padding:0;padding-left:0;min-height:0;display:flex;align-items:center;background-color:#fff;background-color:#bec6e5;color:#1d327f;padding:.405rem;font-weight:400}.m_topbar .m_topbar--center .m_topbar--center--authors .m_topbar--center--authors--currentAuthor .m_topbar--center--authors--portrait{width:40px;height:40px;margin-right:5px;position:relative;border-radius:50%;background-color:#1d327f;overflow:hidden;display:flex;align-items:center}.m_topbar .m_topbar--center .m_topbar--center--authors .m_topbar--center--authors--currentAuthor .m_topbar--center--authors--portrait img{width:100%;height:100%;object-fit:cover}.m_topbar .m_topbar--center .m_topbar--center--authors .m_topbar--center--authors--currentAuthor .m_topbar--center--authors--name{font-size:1.5rem;font-weight:200;max-width:7em;text-transform:none;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.m_topbar .m_topbar--right .m_topbar--right--pictos{display:flex;flex-flow:row wrap;justify-content:flex-end;align-items:center;color:#b9b9b9;padding-left:.81rem;padding-right:.81rem;height:100%}.m_topbar .m_topbar--right .m_topbar--right--pictos>*{flex:1 1 auto;flex:0 0 auto;width:auto;height:auto;padding:.81rem;cursor:pointer}.m_topbar .m_topbar--right .m_topbar--right--pictos>* svg{width:20px;height:20px}.m_topbar .m_topbar--right .m_topbar--right--pictos>* path{fill:#b9b9b9}.m_topbar .m_topbar--status{width:100%;flex:1 1 auto;background-color:#fc4b60;font-size:.8rem;color:#fff;padding-left:1.62rem;padding-right:1.62rem}.m_authorsList{display:flex;flex-flow:row wrap;align-items:flex-start;justify-content:flex-start;margin:.81rem}.m_authorsList>*{padding:.81rem;margin:.81rem;flex:0 0 200px;min-height:160px}.m_authorsList .m_authorsList--createAuthor,.m_authorsList .m_authorsList--editAuthor{position:relative;border:4px solid #f1f1f1;border-radius:6px;font-size:.9em;line-height:1.25;display:flex;align-items:center;justify-content:center;max-width:none}.m_authorsList .m_authorsList--createAuthor .m_authorsList--createAuthor--createButton,.m_authorsList .m_authorsList--editAuthor .m_authorsList--createAuthor--createButton{position:absolute;width:100%;height:100%;top:0;left:0;max-height:none;display:block;border:none;padding-left:.81rem;padding-right:.81rem;background-color:#f1f1f1}.m_authorsList .m_authorsList--createAuthor>form,.m_authorsList .m_authorsList--editAuthor>form{width:265px}.m_authorsList .m_authorsList--author{position:relative;background-color:#f1f1f1;border-radius:6px;text-align:center;text-transform:none;display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.m_authorsList .m_authorsList--author .m_authorsList--author--card{text-transform:none;font-weight:400;background-color:transparent;font-weight:200;font-size:1.5rem;letter-spacing:-.01em}.m_authorsList .m_authorsList--author.is--selected{color:#12224c;background-color:#bec6e5}.m_authorsList .m_authorsList--author.is--selected hr{border-color:currentColor}.m_authorsList .m_authorsList--author.is--selected .buttonLink{color:currentColor}.m_authorsList .m_authorsList--author .m_authorsList--author--name{font-size:1.5rem;line-height:1.1;max-width:15ch}.m_authorsList .m_authorsList--author .m_authorsList--author--removeButton{position:absolute;top:0;right:0}.m_authorsList .m_authorsList--author .m_authorsList--author--editButton{position:absolute;top:0;left:0}.m_authorsList .m_authorsList--author img{display:inline-block;width:100px;height:100px;border-radius:50%;object-fit:cover;margin-top:.405rem;margin-bottom:.405rem}.m_authorsList .m_authorsList--author hr{margin:0;border-color:#1d327f}.m_authorsList .m_authorsList--author button{margin:0}.m_uploadFile{position:relative;display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;color:#353535;font-size:.8rem;height:60px;margin-bottom:.81rem;background-color:#f1f1f1;border-radius:6px;overflow:hidden}.m_uploadFile .m_uploadFile--progressBar{content:"";position:absolute;width:100%;height:100%;transform:scaleX(var(--progress-percent));transform-origin:left center;transition:all .1s;background-color:#fc4b60}.m_uploadFile>*{flex:1 1 auto;position:relative;z-index:1}.m_uploadFile.is--failed:before{background-color:#fc4b60}.m_uploadFile .m_uploadFile--image{display:block;flex:0 0 60px;width:60px;height:60px;object-fit:contain;object-position:center;background-color:hsla(0,0%,100%,.35)}.m_uploadFile .m_uploadFile--filename{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:.9em;line-height:1.25;color:#353535;padding:.405rem}.m_uploadFile .m_uploadFile--action,.m_uploadFile .m_uploadFile--size{flex:0 0 70px}.m_uploadFile .m_uploadFile--action button{background-color:transparent;color:inherit}.m_filterBar{max-height:4.86rem;overflow:hidden;font-weight:500;display:flex;flex-flow:row nowrap;justify-content:stretch;align-items:center;background-color:#e5e5e5}.m_filterBar>*{flex:1 1 0;padding:.81rem}.m_filterBar .m_filterBar--header{display:flex;align-items:center}.m_filterBar .m_filterBar--header svg{margin:.81rem}.publiButton{position:absolute;top:30px;right:100%;width:3em;margin-right:0;z-index:100;min-height:3em;border-radius:3em 0 0 3em;box-shadow:2px 3px 10px rgba(82,197,185,.5);box-shadow:inset 5px 0 5px rgba(71,153,141,.5);user-select:none;padding:.405rem;display:flex;flex-flow:row wrap;align-items:center;justify-content:center;color:#fff;font-weight:400;background-color:#52c5b9;cursor:-webkit-grab;cursor:-moz-grab}.publiButton.is--dragged{cursor:-webkit-grabbing;cursor:-moz-grabbing}.publiButton>*{pointer-events:none}.publiButton span{padding:.405rem;display:none}.publiButton.is--allthewaytotheleft{transform:scaleX(-1);transform-origin:right center}.publiButton.is--allthewaytotheleft.is--open{box-shadow:0 2px 5px #47998d}.publiButton.is--allthewaytotheleft+div>.m_publicationview{border-color:transparent!important}.m_activitiesPanel{position:relative;width:100%}.m_activitiesPanel .m_activitiesPanel--do{position:relative;top:0;left:0;width:100%;height:100%;min-width:320px;min-height:320px;display:flex;flex-flow:column nowrap}.m_activitiesPanel .m_activitiesPanel--doc{position:relative;height:100%;min-width:320px;background-color:#47998d;transition:all .4s}.m_captureview,.m_listview,.m_mediaview,.m_projectview,.m_publicationsview,.m_publicationview{position:absolute;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:1;background-color:#f4f3ef;width:100%;height:100%;top:0;left:0}.m_captureview::-webkit-scrollbar,.m_listview::-webkit-scrollbar,.m_mediaview::-webkit-scrollbar,.m_projectview::-webkit-scrollbar,.m_publicationsview::-webkit-scrollbar,.m_publicationview::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_captureview::-webkit-scrollbar-thumb,.m_captureview::-webkit-scrollbar-track,.m_listview::-webkit-scrollbar-thumb,.m_listview::-webkit-scrollbar-track,.m_mediaview::-webkit-scrollbar-thumb,.m_mediaview::-webkit-scrollbar-track,.m_projectview::-webkit-scrollbar-thumb,.m_projectview::-webkit-scrollbar-track,.m_publicationsview::-webkit-scrollbar-thumb,.m_publicationsview::-webkit-scrollbar-track,.m_publicationview::-webkit-scrollbar-thumb,.m_publicationview::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_captureview::-webkit-scrollbar-track,.m_listview::-webkit-scrollbar-track,.m_mediaview::-webkit-scrollbar-track,.m_projectview::-webkit-scrollbar-track,.m_publicationsview::-webkit-scrollbar-track,.m_publicationview::-webkit-scrollbar-track{background-color:transparent}.m_captureview::-webkit-scrollbar-thumb,.m_listview::-webkit-scrollbar-thumb,.m_mediaview::-webkit-scrollbar-thumb,.m_projectview::-webkit-scrollbar-thumb,.m_publicationsview::-webkit-scrollbar-thumb,.m_publicationview::-webkit-scrollbar-thumb{background-color:#353535}.m_captureview::-webkit-scrollbar-thumb:hover,.m_listview::-webkit-scrollbar-thumb:hover,.m_mediaview::-webkit-scrollbar-thumb:hover,.m_projectview::-webkit-scrollbar-thumb:hover,.m_publicationsview::-webkit-scrollbar-thumb:hover,.m_publicationview::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_publicationsview{background-color:#47998d}.m_publicationview{background-color:#52c5b9}.m_publicationsview .sectionTitle_small,.m_publicationview .sectionTitle_small{color:#fff}.m_projectview{background-color:#e5e5e5}.m_projectview .m_project{min-height:100%;overflow-y:scroll}small{font-size:.8rem;color:#757575;letter-spacing:-.01em;font-style:italic}.m_publicationsview .m_actionbar{border-color:#fff;margin-left:1.62rem;margin-right:1.62rem}.m_publicationsview .m_actionbar .m_actionbar--text{color:#fff}.m_activitiesPanel--do.is--large .m_listview .m_projects{display:flex;flex-flow:column nowrap;align-content:stretch;height:100%}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_actionbar{margin:1.62rem;margin-bottom:0}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list{overflow-y:auto;-webkit-overflow-scrolling:touch;padding-left:.81rem;padding-right:.81rem;grid-gap:1.62rem}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list::-webkit-scrollbar-thumb,.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list::-webkit-scrollbar-track{background-color:transparent}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list::-webkit-scrollbar-thumb{background-color:#353535}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}@supports (display:grid){.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));padding-left:1.62rem;padding-right:1.62rem}}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_allmedias--list{overflow-y:auto;-webkit-overflow-scrolling:touch;padding-left:.81rem;padding-right:.81rem}.m_activitiesPanel--do.is--large .m_projectview .m_project{height:100%}.m_activitiesPanel--do.is--large .m_projectview .m_project--library{display:flex;flex-flow:column nowrap;align-content:stretch;height:100%;user-select:none}.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_actionbar{margin:1.62rem;margin-bottom:0}.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias{padding-top:.81rem;padding-left:.81rem;padding-right:.81rem}.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias .m_media{padding-left:.81rem;padding-right:.81rem}@supports (display:grid){.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias .m_media{padding:0}}.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias .m_media>*{margin-bottom:1.62rem}@supports (display:grid){.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias .m_media>*{margin:0}}.m_activitiesPanel--do .m_projects>.m_actionbar{flex:0 0 auto}.m_activitiesPanel--do .m_projects>.m_projects--list{flex:1 1 auto}.m_activitiesPanel--do .m_projects .m_project{min-height:100%}.m_allmedias--list,.m_project--library--medias{padding-bottom:.81rem;padding-top:.81rem;display:block}.m_allmedias--list .m_mediaShowAll,.m_project--library--medias .m_mediaShowAll{padding-bottom:.81rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));grid-auto-rows:max-content;padding-left:.81rem;padding-right:.81rem;grid-gap:.81rem}.m_allmedias--list h3,.m_project--library--medias h3{font-size:1rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em}.m_allmedias--list h3:before,.m_project--library--medias h3:before{content:" ";margin-right:.4em;margin-left:.4em}.m_projects--list{position:relative;padding-bottom:1.62rem;padding-top:1.62rem;display:flex;flex-flow:row wrap;justify-content:flex-start;align-items:flex-start}.m_projects--list>*{flex:1 1 auto}@supports (display:grid){.m_projects--list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-auto-rows:max-content;grid-gap:.81rem;-ms-flex-align:start;align-items:start;padding-left:.81rem;padding-right:.81rem}}.m_projects--list>*{z-index:1}.m_projects--list .m_project{flex:0 1 320px;margin-left:.81rem;margin-right:.81rem;margin-bottom:1.62rem;z-index:1}@supports (display:grid){.m_projects--list .m_project{margin:0}}@supports (display:grid){.m_projects--list .m_project .m_project--presentation{flex-basis:100%!important}}.m_projects--list .m_project{border-bottom:2px solid #b9b9b9;border-radius:6px;background-color:#fff;box-shadow:0 1px 4px rgba(0,0,0,.1);transition:all .4s cubic-bezier(.19,1,.22,1)}.m_projects--list .m_project:not(.is--not_authorized_to_admin):hover{transform:translateY(-4px);box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23)}.m_projects--list .m_project.is--not_authorized_to_admin{cursor:not-allowed}.m_projects--list .m_project--presentation--buttons{margin-top:.405rem!important;margin:0!important}.m_project{background-color:#fff;border-radius:0;overflow-y:auto;display:flex;flex-flow:row wrap;justify-content:center}.m_project>*{flex:1 1 auto}.m_project .m_project--presentation{position:relative;z-index:0;flex:0 1 320px;min-width:320px;max-width:320px;background-color:#fff;box-shadow:0 1px 4px rgba(0,0,0,.1);display:flex;flex-flow:column nowrap;justify-items:center;align-items:stretch;overflow-y:auto}@supports (display:grid){.m_project .m_project--presentation{min-width:auto;max-width:none}}#app:not(.is--wide) .m_project .m_project--presentation{flex-basis:320px;max-width:none}.m_project .m_project--presentation .m_project--presentation--novignette{position:relative;width:100%;background-color:#f1f1f1;text-align:center}.m_project .m_project--presentation .m_project--presentation--novignette button{font-size:50%}.m_project .m_project--presentation .m_project--presentation--vignette{position:relative;width:100%;overflow:hidden;height:0;padding-bottom:66%;background-color:#e5e5e5;user-select:none}.m_project .m_project--presentation .m_project--presentation--vignette img{position:absolute;width:100%;height:100%;object-fit:cover}.m_project .m_project--presentation .m_project--presentation--text .m_project--presentation--text--title{margin:0;padding:.81rem .81rem .405rem;padding-bottom:.81rem;font-size:1.5rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em}.m_project .m_project--presentation .m_project--presentation--text .m_project--presentation--text--infos{margin-left:.81rem;margin-right:.81rem}.m_project .m_project--presentation .m_project--presentation--text .m_project--presentation--text--infos input{min-width:0}.m_project .m_project--presentation .m_project--presentation--buttons{margin:.81rem;display:flex;flex-flow:row wrap;justify-content:center}.m_project .m_project--presentation .m_project--presentation--buttons>*{flex:1 1 auto;flex-grow:0}.m_project .m_project--presentation .m_project--presentation--buttons .m_project--presentation--buttons--openButton{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%;background-color:transparent;text-indent:-1000px}.m_project .m_project--presentation .m_project--presentation--password{margin:.405rem 1.62rem}.m_project ._button_forgetpassword{z-index:150;position:relative;display:inline-block;background-color:inherit;text-decoration:none;font-size:.9em;line-height:1.25;padding:.405rem;margin:.405rem;font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#757575;font-weight:400;min-height:0;display:block;margin:0 auto}.m_project ._button_forgetpassword:after{content:"";display:block;width:100%;border-bottom:1px solid currentColor}.m_project ._button_forgetpassword._no_underline:after{display:none}.m_project .m_project--library{flex:1 1 420px;background-color:#e5e5e5}.m_project .m_project--favMedias{width:100%;background-color:#f1f1f1;padding:0;padding:1.62rem .81rem}.m_project .m_project--favMedias .m_project--favMedias--list{display:flex;flex-flow:row wrap}.m_project .m_project--favMedias .m_project--favMedias--list>*{flex:0 0 33.33333333%}.m_project .m_project--library--medias{flex:1 1 auto;position:relative;width:100%;padding-top:.81rem;padding-bottom:1.62rem;overflow-y:auto;-webkit-overflow-scrolling:touch}.m_project .m_project--library--medias::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_project .m_project--library--medias::-webkit-scrollbar-thumb,.m_project .m_project--library--medias::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_project .m_project--library--medias::-webkit-scrollbar-track{background-color:transparent}.m_project .m_project--library--medias::-webkit-scrollbar-thumb{background-color:#353535}.m_project .m_project--library--medias::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_actionbar{margin:.81rem;margin-bottom:0;border-bottom:4px solid #f1f1f1}.m_actionbar .m_actionbar--buttonBar{display:flex;flex-flow:row wrap;align-items:flex-start}.m_actionbar .m_actionbar--text{text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;color:#757575;margin-bottom:.81rem}.m_actionbar .m_actionbar--text label{font-size:.8rem;color:inherit;vertical-align:middle;margin-bottom:0;line-height:var(--switch-size)}.m_actionbar .m_actionbar--text .switch{font-size:inherit}.m_listview .m_actionbar{border-color:#fff}.barButton{margin:0;margin:.81rem;margin-left:0;margin-top:0;min-height:0;border-radius:4px}.barButton label{text-transform:inherit;font-family:inherit;font-size:inherit;margin-bottom:0;color:inherit;cursor:inherit}#app:not(.is--wide) .barButton{margin:.405rem;margin-left:0;margin-top:0}#app:not(.is--wide) .barButton label,#app:not(.is--wide) .barButton span{font-size:.9em;line-height:1.25}#app:not(.is--wide) .barButton:last-child{margin-right:0}.barButton>span,.barButton label{display:inline-block;vertical-align:middle;padding-top:.81rem;padding-bottom:.81rem}.m_activitiesPanel--do:not(.is--large) .barButton{font-size:.7em;padding-top:.405rem}.m_activitiesPanel--do:not(.is--large) .barButton>span,.m_activitiesPanel--do:not(.is--large) .barButton label{display:block;padding-top:.405rem;padding-bottom:.405rem}.barButton:before{content:"";display:inline-block;vertical-align:middle;width:28px;height:28px;padding-right:4px;background-repeat:no-repeat}.barButton.barButton_createProject{color:#fff;background-color:#fc4b60}.m_activitiesPanel--do:not(.is--large) .barButton.barButton_createProject{margin:.81rem;margin-left:0;margin-top:0;padding:0;padding-left:.405rem;padding-right:.405rem;font-size:.9em;line-height:1.25;font-size:inherit;line-height:inherit}.m_activitiesPanel--do:not(.is--large) .barButton.barButton_createProject span{display:inline-block;padding-top:.81rem;padding-bottom:.81rem}.barButton.barButton_createProject:before{background-image:url(/images/i_add.svg)}.barButton.barButton_text{color:#1d327f}.barButton.barButton_text:before{background-image:url(/images/i_text.svg)}.barButton.barButton_capture{color:#ffbe32}.barButton.barButton_capture:before{background-image:url(/images/i_record.svg)}.barButton.barButton_import{color:#fc4b60}.barButton.barButton_import:before{background-image:url(/images/i_importer.svg)}.barButton.barButton_createPubli{color:#52c5b9}.barButton.barButton_createPubli:before{background-image:url(/images/i_add_publi.svg)}.m_searchProject>div{background-color:#fff;padding:.81rem}.m_searchProject>div>:last-child{margin-bottom:0}.m_searchProject input{max-width:18ch;font-size:1.5rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em;color:#353535}._drop_indicator{position:fixed;top:0;left:0;right:0;bottom:0;background-color:hsla(0,0%,100%,.95);z-index:50000;display:flex;justify-content:center;align-items:center;text-align:center}._drop_indicator>*{display:block;width:200px;height:200px}.m_mediaShowAll{display:flex;flex-flow:row wrap}.m_mediaShowAll>*{flex:0 0 16.66666667%}.m_qrSnippet{padding:0;display:flex;flex-flow:row wrap;align-items:center;justify-content:center;cursor:auto;background-color:#f4f3ef;border-radius:6px}.m_qrSnippet .m_qrSnippet--text{position:relative;text-align:center;text-transform:uppercase;font-weight:500;letter-spacing:.06em;margin:.81rem;margin-top:0;background-color:transparent;width:100%}.m_qrSnippet .m_qrSnippet--text a{display:block;background-color:transparent;text-decoration:none}.m_qrSnippet .m_qrSnippet--text .m_qrSnippet--text--dodoclogo{float:left;width:100px;padding:.405rem}.m_qrSnippet .m_qrSnippet--text .m_qrSnippet--text--printButton{float:right}.m_qrSnippet .m_qrSnippet--motif{width:100%;margin:.81rem}.m_qrSnippet .m_qrSnippet--motif canvas{background-color:#f1f1f1;padding:.405rem;background-color:#fff;width:100%}.m_media{position:relative;width:100%;min-width:120px;max-width:220px;z-index:1;padding-left:.405rem;padding-right:.405rem;border-radius:4px;transition:opacity .4s}@supports (display:grid){.m_media{padding:0;margin:0}}.m_media.is--ownMedia .m_metaField{background-color:#bec6e5}.m_media.is--just_added .m_metaField>:after{content:"●";font-size:100%;line-height:1;color:#ffbe32}.m_media.is--inPubli{animation-duration:.6s;animation-name:nudgeright;animation-timing-function:ease-out}@keyframes nudgeright{0%{left:0}40%{left:20px}to{left:0}}.m_media.is--inPubli .buttonLink{color:#b9b9b9!important}.m_media.is--inPubli .m_media--add_to_recipe .button_addToPubli{background-color:#ffbe32;border-color:#d19833}.m_media>*{margin-bottom:.81rem}@supports (display:grid){.m_media>*{margin:0}}.m_media figure{position:relative;margin:0;overflow:visible;min-height:100px;display:flex;flex-flow:column nowrap;cursor:pointer;background-color:#fff;border-radius:4px;overflow:hidden;transition:all 1s cubic-bezier(.25,.8,.25,1) .2s}.m_media figure.is--hovered{transform:translateY(-4px);box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23);transition:all .4s cubic-bezier(.25,.8,.25,1)}.m_media figure .m_metaField{margin-bottom:0;height:1rem;text-transform:lowercase;border-bottom:0;border-bottom:1px solid #e5e5e5;display:block}.m_media figure .m_metaField svg{color:#fc4b60;vertical-align:text-bottom}.m_media figure .mediaContainer{position:relative;overflow:hidden}.m_media figure .mediaContainer:after{content:"";display:block;width:100%;height:0;padding-bottom:100%}.m_media figure .mediaContainer>*{position:absolute;width:100%;height:100%;margin:0;padding:0;object-fit:contain;object-position:50% 47%}.m_media figure .mediaContainer audio{height:50px}.m_media figure .mediaContainer p:first-child,.m_media figure .mediaContainer pre:first-child{margin-top:0}.m_media figure .mediaContainer pre{white-space:normal;word-break:break-all}.m_media figure .mediaContainer h1,.m_media figure .mediaContainer h2,.m_media figure .mediaContainer h3,.m_media figure .mediaContainer h4,.m_media figure .mediaContainer h5,.m_media figure .mediaContainer p{font-size:inherit}.m_media figure .mediaContainer b,.m_media figure .mediaContainer h1,.m_media figure .mediaContainer h2,.m_media figure .mediaContainer h3,.m_media figure .mediaContainer h4,.m_media figure .mediaContainer h5,.m_media figure .mediaContainer strong{font-weight:700}.m_media figure .mediaContainer .play_picto{display:block;display:flex;justify-content:center;align-items:center}.m_media figure .mediaContainer .play_picto svg{width:20px;height:20px;padding:4px;background-color:#ffbe32;fill:#fff;border-radius:10px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}.m_media figure .mediaContainer.type-document,.m_media figure .mediaContainer.type-other,.m_media figure .mediaContainer.type-text{margin:.405rem;font-size:.8rem}.m_media figure .m_media--add_to_recipe{position:absolute;top:0;left:0;height:100%;right:0;transform:translate3d(0,-50%,0);top:50%;left:auto;display:flex;justify-content:flex-end;align-items:center;align-content:flex-end}.m_media figure .m_media--add_to_recipe .button_addToPubli{width:2em;height:2em;padding:0;border-radius:50%;min-width:0;color:#fff;border:2px solid #47998d;box-shadow:0 2px 16px 0 rgba(0,0,0,.4);font-weight:700;font-size:1.2em;font-family:Fira Code;transition:all .4s}.m_media figure .m_media--caption{width:100%;height:1.1rem;overflow:hidden}.m_media figure .m_media--caption span{display:block;width:100%;padding-left:2px;padding-right:2px;border-top:1px solid #e5e5e5;font-size:.8rem;color:#353535;background-color:#fff;position:absolute;bottom:0;max-height:4.9rem}.m_media figure:not(.is--hovered) .m_media--caption span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.m_media figure nav{display:flex;flex-flow:row wrap;justify-content:center;padding:.81rem}.m_metaField{position:relative;display:flex;flex-flow:row wrap;justify-content:space-between;align-items:flex-end;color:#353535;border-bottom:1px dashed #b9b9b9;border-radius:2px;margin-bottom:.81rem}.m_metaField>:first-child{margin-right:.81rem}.m_metaField>:first-child,.m_metaField>:nth-child(2){font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#757575}.m_metaField>:nth-child(2){text-transform:none;font-weight:400}.m_metaField button{min-height:0;padding:0}.m_tagsAndAuthorFilters .item :not(.is--active){opacity:.4}.m_tagsAndAuthorFilters>*{max-height:20vh;overflow:auto}.m_tagsAndAuthorFilters>::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_tagsAndAuthorFilters>::-webkit-scrollbar-thumb,.m_tagsAndAuthorFilters>::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_tagsAndAuthorFilters>::-webkit-scrollbar-track{background-color:transparent}.m_tagsAndAuthorFilters>::-webkit-scrollbar-thumb{background-color:#353535}.m_tagsAndAuthorFilters>::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_authorField{position:relative;margin-bottom:0;font-size:.8rem;letter-spacing:.04em;display:flex;flex-flow:row wrap;text-transform:none;font-weight:400}.m_authorField .m_authorField--show_all_authors{text-transform:uppercase;background-color:transparent!important;border:2px solid #b9b9b9;font-size:80%!important;font-weight:700}.m_authorField .m_authorField--show_all_authors:before{display:none}.m_authorField>button,.m_authorField>span{flex-basis:auto;display:flex;align-items:center;min-height:0;border-radius:4px!important;background-color:#e5e5e5!important;color:#757575;font-size:inherit!important;padding:.4em;text-transform:none;font-weight:inherit;margin:0!important;margin-right:.405rem!important;margin-bottom:.405rem!important;transition:all .06s cubic-bezier(.19,1,.22,1)}.m_authorField>button.is--active,.m_authorField>span.is--active{background-color:#bec6e5!important;color:#12224c!important}.m_authorField>button.is--active:before,.m_authorField>span.is--active:before{opacity:.6}.m_authorField>button:before,.m_authorField>span:before{content:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2084%2084%22%3E%0A%20%20%3Ctitle%3Etext%20copie%2010%3C/title%3E%0A%20%20%3Cg%20id%3D%22Calque_6%22%20data-name%3D%22Calque%206%22%3E%0A%20%20%20%20%3Cg%20id%3D%22flc%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M64%2C56.53a18.29%2C18.29%2C0%2C0%2C0-10.06-8.09s-3.44-1.71-12.28-1.71-12.27%2C1.71-12.27%2C1.71a18.31%2C18.31%2C0%2C0%2C0-10.07%2C8.09c-1%2C1.47-1.47%2C4.66-1.71%2C6.37v2.45c0%2C3.19%2C2.2%2C5.89%2C4.9%2C5.89H60.56c2.7%2C0%2C4.91-2.7%2C4.91-5.89V62.9A10.5%2C10.5%2C0%2C0%2C0%2C64%2C56.53M28.41%2C24.91c0%2C7.36%2C4.66%2C18.39%2C13.5%2C18.39%2C8.59%2C0%2C13.5-11%2C13.5-18.39a13.44%2C13.44%2C0%2C0%2C0-13.5-13.47%2C13.29%2C13.29%2C0%2C0%2C0-13.5%2C13.47%22/%3E%0A%20%20%20%20%3C/g%3E%0A%20%20%3C/g%3E%0A%3C/svg%3E%0A");display:inline-block;vertical-align:baseline;width:20px;height:20px;opacity:.2;transform:scale(.8)}.m_typeField{font-size:.8rem;display:flex;flex-flow:row wrap;align-items:flex-start;text-transform:none;font-family:Fira Mono;color:#fff}.m_typeField>.input{border:none!important;padding:0!important}.m_typeField>label,.m_typeField>span{cursor:pointer;flex-basis:auto;display:flex;align-items:center;border-radius:4px!important;background-color:#f1f1f1;color:var(--c-noir)!important;min-height:0;line-height:inherit!important;font-size:inherit!important;padding:.4em;text-transform:none;font-weight:inherit;font-weight:400;margin:0!important;margin-right:.405rem!important;margin-bottom:.405rem!important}.m_typeField>label.is--active,.m_typeField>span.is--active{font-weight:700}.m_typeField>label.is--active:before,.m_typeField>span.is--active:before{color:#000}.m_typeField>label input,.m_typeField>span input{display:inline-block}.m_typeField>label label,.m_typeField>span label{font-size:inherit;line-height:inherit!important;text-transform:lowercase}.m_keywordField,.vue-tags-input{position:relative;margin-bottom:.405rem;margin-bottom:0;font-size:.8rem;display:flex;flex-flow:row wrap;align-items:flex-start;text-transform:none;font-family:Fira Mono;font-weight:0}.m_keywordField>.input,.vue-tags-input>.input{border:none!important;padding:0!important}.m_keywordField>.autocomplete,.vue-tags-input>.autocomplete{position:relative!important;background-color:transparent;border:4px solid #e5e5e5!important;padding:.405rem;margin-bottom:.405rem;padding-bottom:0;flex:1 0 100%}.m_keywordField>.autocomplete>div,.vue-tags-input>.autocomplete>div{display:flex;flex-flow:row wrap}.m_keywordField .m_keywordField--show_all_keywords,.vue-tags-input .m_keywordField--show_all_keywords{display:block;text-transform:uppercase;background-color:transparent!important;border:2px solid #b9b9b9;font-size:80%!important;font-weight:700;color:#757575!important}.m_keywordField .m_keywordField--show_all_keywords:before,.vue-tags-input .m_keywordField--show_all_keywords:before{display:none}.m_keywordField .item,.vue-tags-input .item{border-radius:4px}.m_keywordField .item.selected-item,.vue-tags-input .item.selected-item{background-color:#52c5b9!important}.m_keywordField .tags,.vue-tags-input .tags{flex-flow:row wrap!important}.m_keywordField .new-tag-input-wrapper,.vue-tags-input .new-tag-input-wrapper{position:relative;padding:0!important;background-color:transparent;font-size:1em;line-height:1.25;margin-right:.405rem!important;margin-bottom:.405rem!important;display:flex!important;flex-flow:row nowrap;transform:all 1s cubic-bezier(.19,1,.22,1)}.m_keywordField .new-tag-input-wrapper input,.vue-tags-input .new-tag-input-wrapper input{position:relative;z-index:1;padding:.405rem!important;margin:0!important;border-radius:4px;min-width:15ch!important;flex:1 1 auto;background-color:#f1f1f1;font-size:inherit!important;line-height:1;height:auto!important;border-bottom:2px solid #b9b9b9!important}.m_keywordField .new-tag-input-wrapper button,.vue-tags-input .new-tag-input-wrapper button{display:block;font-size:.9em;line-height:1.25;font-size:2em;background-color:#b9b9b9;background-color:#52c5b9;color:#fff;flex:0 0 1em;min-height:0;width:1em;overflow:hidden;padding:0;margin-left:-4px;padding-left:4px;border-radius:0 4px 4px 0}.m_keywordField .new-tag-input-wrapper button[disabled],.vue-tags-input .new-tag-input-wrapper button[disabled]{background-color:#b9b9b9}.m_keywordField .item,.m_keywordField .tag,.m_keywordField>button,.m_keywordField>span,.vue-tags-input .item,.vue-tags-input .tag,.vue-tags-input>button,.vue-tags-input>span{flex-basis:auto;display:flex;align-items:center;min-height:0;border-radius:4px!important;background-color:#a5e5da!important;color:#000!important;font-size:inherit!important;padding:.4em;text-transform:none;font-weight:inherit;font-weight:400;margin:0!important;margin-right:.405rem!important;margin-bottom:.405rem!important}.m_keywordField .item.is--active,.m_keywordField .tag.is--active,.m_keywordField>button.is--active,.m_keywordField>span.is--active,.vue-tags-input .item.is--active,.vue-tags-input .tag.is--active,.vue-tags-input>button.is--active,.vue-tags-input>span.is--active{font-weight:700}.m_keywordField .item.is--active:before,.m_keywordField .tag.is--active:before,.m_keywordField>button.is--active:before,.m_keywordField>span.is--active:before,.vue-tags-input .item.is--active:before,.vue-tags-input .tag.is--active:before,.vue-tags-input>button.is--active:before,.vue-tags-input>span.is--active:before{color:#000}.m_keywordField .item.tagcolorid_0,.m_keywordField .tag.tagcolorid_0,.m_keywordField>button.tagcolorid_0,.m_keywordField>span.tagcolorid_0,.vue-tags-input .item.tagcolorid_0,.vue-tags-input .tag.tagcolorid_0,.vue-tags-input>button.tagcolorid_0,.vue-tags-input>span.tagcolorid_0{background-color:#a5e5da!important}.m_keywordField .item.tagcolorid_1,.m_keywordField .tag.tagcolorid_1,.m_keywordField>button.tagcolorid_1,.m_keywordField>span.tagcolorid_1,.vue-tags-input .item.tagcolorid_1,.vue-tags-input .tag.tagcolorid_1,.vue-tags-input>button.tagcolorid_1,.vue-tags-input>span.tagcolorid_1{background-color:#ff808c!important}.m_keywordField .item.tagcolorid_2,.m_keywordField .tag.tagcolorid_2,.m_keywordField>button.tagcolorid_2,.m_keywordField>span.tagcolorid_2,.vue-tags-input .item.tagcolorid_2,.vue-tags-input .tag.tagcolorid_2,.vue-tags-input>button.tagcolorid_2,.vue-tags-input>span.tagcolorid_2{background-color:#ffd892!important}.m_keywordField .item:before,.m_keywordField .tag:before,.m_keywordField>button:before,.m_keywordField>span:before,.vue-tags-input .item:before,.vue-tags-input .tag:before,.vue-tags-input>button:before,.vue-tags-input>span:before{content:"•";flex-shrink:0;margin-left:.405rem;margin-right:.405rem;margin-left:.2025rem;display:inline-block;vertical-align:middle;color:#fff;font-size:1em;border-radius:50%;transform:scale(1.7);transition:all .2s cubic-bezier(.19,1,.22,1)}.m_keywordField .item.can_be_removed:before,.m_keywordField .tag.can_be_removed:before,.m_keywordField>button.can_be_removed:before,.m_keywordField>span.can_be_removed:before,.vue-tags-input .item.can_be_removed:before,.vue-tags-input .tag.can_be_removed:before,.vue-tags-input>button.can_be_removed:before,.vue-tags-input>span.can_be_removed:before{content:"×";transform:scale(1.5);transition:transform .15s ease}.m_keywordField .item.can_be_removed:hover:before,.m_keywordField .tag.can_be_removed:hover:before,.m_keywordField>button.can_be_removed:hover:before,.m_keywordField>span.can_be_removed:hover:before,.vue-tags-input .item.can_be_removed:hover:before,.vue-tags-input .tag.can_be_removed:hover:before,.vue-tags-input>button.can_be_removed:hover:before,.vue-tags-input>span.can_be_removed:hover:before{color:#000}.m_keywordField .item .actions,.m_keywordField .tag .actions,.m_keywordField>button .actions,.m_keywordField>span .actions,.vue-tags-input .item .actions,.vue-tags-input .tag .actions,.vue-tags-input>button .actions,.vue-tags-input>span .actions{margin-left:.405rem;margin-right:.405rem;margin-right:0}.m_keywordField .item>div,.vue-tags-input .item>div{margin:0}.m_captureview{display:flex;flex-flow:column nowrap}.m_captureview .m_captureview--modeSelector{display:flex;width:100%;flex-flow:row wrap;justify-content:center;align-items:center;padding:.81rem 0}.m_activitiesPanel--do:not(.is--large) .m_captureview .m_captureview--modeSelector{flex-flow:row nowrap}.m_captureview .m_captureview--modeSelector button{color:#ffbe32}.m_activitiesPanel--do:not(.is--large) .m_captureview .m_captureview--modeSelector button{display:none}.m_captureview .m_captureview--modeSelector>*{flex:0 0 auto;display:flex;flex-flow:row wrap;font-family:inherit}.m_captureview .m_captureview--modeSelector input{width:0;height:0;visibility:hidden}.m_captureview .m_captureview--modeSelector input:checked+label{background-color:#ffbe32}.m_captureview .m_captureview--modeSelector input:checked+label span{color:#fff}.m_captureview .m_captureview--modeSelector input[disabled]+label{filter:grayscale(100%);opacity:.3;cursor:not-allowed}.m_captureview .m_captureview--modeSelector label{background-color:transparent;border:none;font-size:inherit;font-family:inherit;display:inline-block;text-decoration:none;text-transform:uppercase;font-weight:500;letter-spacing:.06em;flex-shrink:0;margin:0;cursor:pointer;min-height:2.43rem;padding:0 .81rem;border-radius:6px;transition:color .25s ease-out,opacity .5s;display:flex;flex-flow:row wrap;align-items:center;justify-content:center;background-color:#fff;letter-spacing:0;padding:0 .405rem;margin:1vw;text-align:center;transition:all 1s}.m_captureview .m_captureview--modeSelector label.is--disabled,.m_captureview .m_captureview--modeSelector label[disabled]{opacity:.38;cursor:not-allowed}.m_captureview .m_captureview--modeSelector label.is--disabled[class*=bg-]:not(.bg-transparent),.m_captureview .m_captureview--modeSelector label[disabled][class*=bg-]:not(.bg-transparent){background-color:gray}.m_captureview .m_captureview--modeSelector label.is--active{background-color:#353535;color:#fff}.m_captureview .m_captureview--modeSelector label.bg-noir.is--active{background-color:#fff;color:#353535}.m_captureview .m_captureview--modeSelector label.bg-bleuvert,.m_captureview .m_captureview--modeSelector label.bg-orange,.m_captureview .m_captureview--modeSelector label.bg-rouge{color:#fff}.m_captureview .m_captureview--modeSelector label:focus{outline:0}.m_captureview .m_captureview--modeSelector label a{text-decoration:none}.m_captureview .m_captureview--modeSelector label.button-thin{min-height:0;line-height:1;margin:.405rem;padding:.81rem;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;border-radius:1.62rem}.m_captureview .m_captureview--modeSelector label.button-redthin{background-color:#fc4b60}.m_captureview .m_captureview--modeSelector label.button-greenthin,.m_captureview .m_captureview--modeSelector label.button-redthin{min-height:0;line-height:1;margin:.405rem;padding:.81rem;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;border-radius:1.62rem;color:#fff}.m_captureview .m_captureview--modeSelector label.button-greenthin{background-color:#52c5b9}.m_captureview .m_captureview--modeSelector label.button-bg_rounded>*{display:inline-block;vertical-align:middle}.m_captureview .m_captureview--modeSelector label.button-bg_rounded rect{fill:currentColor}.m_captureview .m_captureview--modeSelector label.button-outline{background-color:transparent;border:2px solid currentColor}.m_captureview .m_captureview--modeSelector label.button-outline svg>*{fill:currentColor}.m_captureview .m_captureview--modeSelector label.button-outline.is--selected,.m_captureview .m_captureview--modeSelector label.button-outline:focus,.m_captureview .m_captureview--modeSelector label.button-outline:hover{border:2px solid transparent;background-color:#fff;color:#ffbe32}.m_captureview .m_captureview--modeSelector label.button-outline.is--selected span,.m_captureview .m_captureview--modeSelector label.button-outline:focus span,.m_captureview .m_captureview--modeSelector label.button-outline:hover span{color:inherit}.m_captureview .m_captureview--modeSelector label.button-outline.is--selected svg>*,.m_captureview .m_captureview--modeSelector label.button-outline:focus svg>*,.m_captureview .m_captureview--modeSelector label.button-outline:hover svg>*{fill:currentColor}.m_captureview .m_captureview--modeSelector label.button-outline.is--selected.c-rouge,.m_captureview .m_captureview--modeSelector label.button-outline:focus.c-rouge,.m_captureview .m_captureview--modeSelector label.button-outline:hover.c-rouge{background-color:#fc4b60;color:#ffbe32}.m_captureview .m_captureview--modeSelector label.button-arrow{max-width:3em;padding:0;color:#ffbe32}.m_captureview .m_captureview--modeSelector label img,.m_captureview .m_captureview--modeSelector label svg{min-width:0;width:48px;height:48px;margin:auto}.m_captureview .m_captureview--modeSelector label.is--small img,.m_captureview .m_captureview--modeSelector label.is--small svg{width:36px;height:36px}.m_captureview .m_captureview--modeSelector label.button-triangle:after{content:"◄";display:inline-block;margin-left:.5em;transition:transform .5s,color .5s}.m_captureview .m_captureview--modeSelector label.button-triangle.is--active{color:#fc4b60}.m_captureview .m_captureview--modeSelector label.button-triangle.is--active:after{transform:rotate(-90deg)}.m_activitiesPanel--do:not(.is--large) .m_captureview .m_captureview--modeSelector label{margin:0 1vw}.m_captureview .m_captureview--modeSelector label .picto{border-radius:50%;overflow:hidden;display:block;width:36px;height:36px;margin:.405rem;padding:4px;color:#fff}.m_activitiesPanel--do:not(.is--large) .m_captureview .m_captureview--modeSelector label .picto{margin:0}.m_captureview .m_captureview--modeSelector label .picto img{width:100%;height:100%}.m_captureview .m_captureview--modeSelector label span{display:block;font-weight:400;text-transform:lowercase;margin:.405rem;font-family:Fira Code;font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#757575;font-weight:600}.m_activitiesPanel--do:not(.is--large) .m_captureview .m_captureview--modeSelector label span{display:none}.m_captureview .m_captureview--panels{flex:1 1 auto;position:relative;height:auto;margin-bottom:1.62rem;display:flex;flex-flow:row wrap;justify-content:center}.m_captureview .m_captureview--panels>.m_panel{min-width:300px;flex:0 1 auto;overflow:auto;box-shadow:0 1px 4px rgba(0,0,0,.1);background-color:#fff}.m_captureview .m_captureview--panels>.m_panel:first-child{flex-basis:90%}.m_captureview .m_captureview--panels>.m_panel:nth-child(2){flex-basis:0;width:0;min-width:0}.m_captureview .m_captureview--panels.stopmotion_inprogress .m_panel--previewCard--live{background-color:#353535}.m_captureview .m_captureview--options{display:flex;flex-flow:row wrap}.m_captureview .m_captureview--options>*{flex:1 1 300px}.m_captureview .m_panel{position:relative;display:flex;flex-flow:column nowrap;min-height:300px;border-radius:10px;overflow:hidden;color:#fff}.m_captureview .m_panel--modeOverlay{position:absolute;left:0;top:0;right:0;bottom:0;background-color:#ffbe32;z-index:1;font-size:2.5rem;display:flex;justify-content:center;align-items:center}.m_captureview .m_panel--previewCard{position:relative;flex:1 1 auto}.m_captureview .m_panel--previewCard>div{position:absolute;width:100%;height:100%;border-radius:10px 10px 0 0;overflow:hidden}.m_captureview .m_panel--previewCard .m_panel--previewCard--live{display:flex;flex-flow:row nowrap}.m_captureview .m_panel--previewCard .m_panel--previewCard--live.is--recording{background-color:#353535}.m_captureview .m_panel--previewCard .m_panel--previewCard--live>*{flex:1 1 auto}.m_captureview .m_panel--previewCard .m_panel--previewCard--live canvas,.m_captureview .m_panel--previewCard .m_panel--previewCard--live video{object-fit:contain;min-width:120px}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer{position:absolute;bottom:0;width:100%;z-index:100;text-align:center;pointer-events:none;padding:.405rem;display:flex;flex-flow:column nowrap;justify-content:center}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer label{display:inline-block;margin:0 auto;background-color:#fc4b60;padding-left:.405rem;padding-right:.405rem;margin-bottom:.405rem;color:#fff;border-radius:4px;pointer-events:auto}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer .recording_timer--timelapse{font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#757575;max-width:450px;margin:.81rem auto;pointer-events:auto}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer .recording_timer--timelapse>*{background-color:#fc4b60;color:#fff;padding-left:.405rem;padding-right:.405rem;border-radius:4px;width:auto}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer .recording_timer--timelapse input{display:inline-block;min-width:2em;max-width:3em;height:1.2em;margin:2px;padding:0 2px;width:auto;text-align:center;color:#fff;background-color:#ff808c;border-bottom:0}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer .recording_timer--timelapse input:active,.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer .recording_timer--timelapse input:focus{border-bottom-color:#cc334a}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--options{flex:0 0 250px;max-width:250px;background-color:#fff;color:#353535;padding:.81rem;overflow-y:auto;height:100%;border-right:2px solid #fc4b60}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--options::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--options::-webkit-scrollbar-thumb,.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--options::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--options::-webkit-scrollbar-track{background-color:transparent}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--options::-webkit-scrollbar-thumb{background-color:#fc4b60}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--options::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist{position:relative;flex:0 0 250px;max-width:250px;color:#1d327f;padding:.81rem;overflow-y:auto;height:100%;border-left:2px solid #1d327f;font-size:.8rem}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist::-webkit-scrollbar-thumb,.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist::-webkit-scrollbar-track{background-color:transparent}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist::-webkit-scrollbar-thumb{background-color:#1d327f}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist ul{margin:0;padding:0;list-style:none}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist button{position:relative;background-color:#fff;display:block;width:100%;padding:0;margin-top:.81rem;margin-bottom:.81rem}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist button:hover{background-color:#bec6e5}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist button .pictures_list{display:flex;flex-flow:row nowrap;justify-content:flex-start;overflow-x:auto}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist button .pictures_list>*{flex:0 0 50px;padding-left:.405rem;padding-bottom:.405rem}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist button .pictures_list>:last-child{padding-right:.405rem}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist button .pictures_list>* img{max-width:100%;width:auto;height:auto}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist button:first-child{margin-top:0}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--onionskin{position:absolute;top:0;left:0;right:0;bottom:0;opacity:.2;opacity:var(--onionskin-opacity)}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--onionskin img{width:100%;height:100%;object-fit:contain}.m_captureview .m_panel--previewCard .m_panel--previewCard--validate{background-color:#353535;display:flex;justify-content:center;align-items:center}.m_captureview .m_panel--previewCard .m_panel--previewCard--validate>*{object-fit:contain;width:100%;height:100%;margin:0}.m_captureview .m_panel--previewCard .m_panel--previewCard--validate>.m_panel--previewCard--validate--svg svg{max-width:100%;margin:auto}.m_captureview .m_panel--previewCard .m_panel--previewCard--validate .m_panel--previewCard--validate--audio{height:100%;width:100%;display:flex;flex-flow:column nowrap}.m_captureview .m_panel--previewCard .m_panel--previewCard--validate .m_panel--previewCard--validate--audio .plyr .plyr__controls{color:#fff}.m_captureview .m_panel--previewCard .m_panel--previewCard--validate .m_panel--previewCard--validate--audio>*{flex:1 1 auto;height:90%}.m_captureview .m_panel--previewCard .m_panel--previewCard--validate .m_panel--previewCard--validate--audio>:last-child{height:10%}.m_captureview .m_panel--previewCard>canvas{image-rendering:pixelated}.m_captureview .m_panel--previewCard #vectoContainer{display:flex;flex-flow:row wrap;align-items:center;justify-content:center}.m_captureview .m_panel--previewCard .mediaContainer{overflow:hidden}.m_captureview .m_panel--previewCard .mediaContainer audio{height:50%}.m_captureview .m_panel--previewCard .m_panel--previewCard--captureOverlay{position:absolute;left:0;top:0;right:0;bottom:0;background-color:#fc4b60;z-index:100}.m_captureview .m_panel--buttons{position:relative;flex:0 0 auto;min-height:70px;overflow-y:hidden;z-index:1}.m_captureview .m_panel--buttons .m_panel--buttons--row{position:absolute;width:100%;height:100%;display:flex;justify-content:space-between;align-items:center;padding:.81rem}.m_captureview .m_panel--buttons .m_panel--buttons--row>*{flex:0 1 180px}.m_captureview .m_panel--buttons .m_panel--buttons--row img{width:48px;height:48px}.m_captureview .m_panel--buttons .m_panel--buttons--row input[type=range]{margin:0}.m_captureview .m_panel--buttons .m_panel--buttons--row .m_panel--buttons--row--captureButton{position:relative;display:flex;flex-flow:row wrap;justify-content:center;align-items:center}.m_captureview .m_panel--buttons .m_panel--buttons--row .m_panel--buttons--row--captureButton .m_panel--buttons--row--captureButton--btn{transition:transform .4s}.m_captureview .m_panel--buttons .m_panel--buttons--row .m_panel--buttons--row--captureButton .m_panel--buttons--row--captureButton--btn:hover{transform:scale(1.2)}.m_captureview .m_panel--buttons .m_panel--buttons--row .m_panel--buttons--row--captureButton .m_panel--buttons--row--captureButton--btn.is--justCaptured{transform:scale(0)}.m_captureview .m_panel--buttons .m_panel--buttons--row .m_panel--buttons--row--captureButton .m_panel--buttons--row--captureButton--advancedOptions{color:#fff;background-color:#ffbe32;width:24px;height:24px;display:block;min-height:0;line-height:0;border-radius:50%;text-align:center;font-weight:700;padding:0}.m_captureview .m_panel--buttons .m_panel--buttons--row .m_panel--buttons--row--captureButton .m_panel--buttons--row--captureButton--advancedOptions svg{width:100%;height:100%}.m_captureview .m_panel--buttons .m_panel--buttons--row .m_panel--buttons--row--captureButton .m_panel--buttons--row--captureButton--advancedOptions.is--active{background-color:#fc4b60;color:#ffbe32}.m_mediaValidationButtons{position:relative;z-index:105;display:flex;justify-content:space-between;align-items:center;padding:.81rem;flex:0 0 auto;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;height:auto;background-color:#353535}.m_mediaValidationButtons>*{flex:0 1 180px}.m_mediaValidationButtons .m_mediaValidationButtons--overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background-color:rgba(53,53,53,.9);--loader-bg-color:transparent;--loader-border-color:#fc4b60}.m_mediaValidationButtons .m_mediaValidationButtons--overlay .m_mediaValidationButtons--overlay--percent{position:absolute;margin-left:4em}.m_clientsList--indicator{background-color:#bec6e5;min-height:0;line-height:1;padding-left:.405rem;padding-right:.405rem;padding:0;display:flex;align-items:center}.m_clientsList--indicator:after{content:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2084%2084%22%3E%0A%20%20%3Ctitle%3Etext%20copie%208%3C/title%3E%0A%20%20%3Cg%20id%3D%22Calque_6%22%20data-name%3D%22Calque%206%22%3E%0A%20%20%20%20%3Cg%20id%3D%22flc%22%3E%0A%20%20%20%20%20%20%3Cg%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M55%2C54.13a10.45%2C10.45%2C0%2C0%2C0-5.75-4.62s-2-1-7-1-7%2C1-7%2C1a10.47%2C10.47%2C0%2C0%2C0-5.76%2C4.62%2C10.92%2C10.92%2C0%2C0%2C0-1%2C3.65v1.4a3.15%2C3.15%2C0%2C0%2C0%2C2.81%2C3.36H53a3.15%2C3.15%2C0%2C0%2C0%2C2.8-3.36v-1.4A6.08%2C6.08%2C0%2C0%2C0%2C55%2C54.13M34.64%2C36.06c0%2C4.21%2C2.66%2C10.51%2C7.71%2C10.51s7.72-6.3%2C7.72-10.51a7.69%2C7.69%2C0%2C0%2C0-7.72-7.7%2C7.59%2C7.59%2C0%2C0%2C0-7.71%2C7.7%22/%3E%0A%20%20%20%20%20%20%20%20%3Cg%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M33.79%2C47.69a9%2C9%2C0%2C0%2C0-4.63-3.22s-1.82-1-6.45-1-6.45%2C1-6.45%2C1a9.87%2C9.87%2C0%2C0%2C0-5.48%2C4.34%2C7.46%2C7.46%2C0%2C0%2C0-.84%2C3.36v1.12a2.86%2C2.86%2C0%2C0%2C0%2C2.67%2C3.09H25.66a8.12%2C8.12%2C0%2C0%2C1%2C1-3A13.1%2C13.1%2C0%2C0%2C1%2C33.79%2C47.69Z%22/%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M22.71%2C41.53c4.63%2C0%2C7.16-5.89%2C7.16-9.81a7.16%2C7.16%2C0%2C0%2C0-14.32%2C0C15.41%2C35.64%2C17.94%2C41.53%2C22.71%2C41.53Z%22/%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%20%20%20%20%3Cg%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M50.77%2C47.69a9%2C9%2C0%2C0%2C1%2C4.63-3.22s1.82-1%2C6.46-1%2C6.45%2C1%2C6.45%2C1a9.85%2C9.85%2C0%2C0%2C1%2C5.47%2C4.34%2C7.46%2C7.46%2C0%2C0%2C1%2C.84%2C3.36v1.12A2.86%2C2.86%2C0%2C0%2C1%2C72%2C56.38h-13a8.12%2C8.12%2C0%2C0%2C0-1-3A13.12%2C13.12%2C0%2C0%2C0%2C50.77%2C47.69Z%22/%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M62%2C41.53c-4.63%2C0-7.16-5.89-7.16-9.81a7.16%2C7.16%2C0%2C0%2C1%2C14.31%2C0C69.15%2C35.64%2C66.63%2C41.53%2C62%2C41.53Z%22/%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%3C/g%3E%0A%20%20%3C/g%3E%0A%3C/svg%3E%0A");display:block;width:20px;height:20px;margin-right:.405rem}.m_clientsList--indicator span{margin-left:.405rem;margin-right:.405rem}.m_clientsList{position:absolute;top:50%;transform:translateY(-50%);left:100%;margin-left:.405rem;font-size:.8rem;color:#1d327f}.m_clientsList--list{position:absolute;top:100%;margin-top:.405rem;left:0;width:220px;max-height:200px;overflow:auto;padding:.405rem;padding-top:.405rem;font-size:.8rem;background-color:#bec6e5;border-radius:8px;max-width:220px}#app:not(.is--wide) .m_clientsList--list{left:auto;right:0;margin-top:1.62rem}.m_clientsList--list label{color:currentColor}.m_clientsList--list .m_clientsList--list--close{position:absolute;top:0;right:0;min-height:0;padding:.81rem;background-color:transparent;font-size:2em;line-height:.5}.m_clientsList--list .m_clientsList--list--client:not(:last-child):after{content:",";margin-right:.2em}.m_stopmotionpanel{position:relative;display:flex;flex-flow:column nowrap;flex:0 1 auto}.m_stopmotionpanel.is--showing_video_validation{flex-grow:1}.m_stopmotionpanel>*{transition:all .4s}.m_stopmotionpanel .m_stopmotionpanel--toprowbuttons{position:absolute;left:0;z-index:10;bottom:100%}.m_stopmotionpanel .m_stopmotionpanel--toprowbuttons button{background-color:#353535;color:#fff}.m_stopmotionpanel .m_stopmotionpanel--medias{flex:1 1 auto;display:flex;flex-flow:row nowrap;max-height:120px}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list{display:block;flex:1 1 auto;position:relative;display:flex;flex-flow:row nowrap;align-items:center;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;padding:.405rem;margin:.405rem;scroll-behavior:smooth;background-color:#f1f1f1;border-radius:6px;counter-reset:k}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list::-webkit-scrollbar{height:7px;width:7px;background-color:hsla(0,0%,100%,0)}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list::-webkit-scrollbar-thumb,.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list::-webkit-scrollbar-track{border:2px solid hsla(0,0%,100%,0);border-radius:8px;background-clip:padding-box;transition:all .4s}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list::-webkit-scrollbar-track{background-color:transparent}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list::-webkit-scrollbar-thumb{background-color:#333}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:2px solid hsla(0,0%,100%,0)}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>*{position:relative;overflow:hidden;width:auto;flex:0 0 90px;margin-right:1px;cursor:pointer}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>:before{counter-increment:k 1;content:counter(k) " ";position:absolute;left:0;top:0;padding:.2025rem;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;background-color:#353535;color:#fff;border-radius:0 0 .4em 0;line-height:1;z-index:1}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>:last-child{flex-basis:190px}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>:last-child video{width:90px}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>:last-child:before{content:"LIVE"}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>.is--current_single:before{color:#fff;background-color:#fc4b60}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>* .mediaContainer{width:100%;height:100%;width:auto}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>* .mediaContainer img,.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>* .mediaContainer video{width:100%;height:100%;margin:0;object-fit:contain;background-color:#353535}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--validation{flex-shrink:0;padding:.405rem;display:flex;flex:row nowrap;align-items:center;--input-height:2em}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--validation .m_stopmotionpanel--medias--validation--fpscounter{display:flex;flex-flow:row nowrap;align-items:center}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--validation .m_stopmotionpanel--medias--validation--fpscounter select{margin-left:.405rem;margin-right:.405rem;flex:0 0 auto;max-width:50px;font-size:.9em;line-height:1.25}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--validation .m_stopmotionpanel--medias--validation--fpscounter label{margin-left:.405rem;margin-right:.405rem;color:#fff;max-width:80px;font-size:.6em}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--validation button{padding:0}.m_stopmotionpanel .m_stopmotionpanel--videopreview{position:relative;flex:1 1 auto;overflow:hidden}.m_stopmotionpanel .m_stopmotionpanel--videopreview .mediaContainer{position:absolute;height:100%;width:100%}.m_stopmotionpanel .m_stopmotionpanel--videopreview .mediaContainer>*{width:100%;height:100%}.m_stopmotionpanel .m_stopmotionpanel--videopreview .mediaContainer video{height:100%;width:100%;background-color:#353535}.m_stopmotionpanel .m_stopmotionpanel--buttons{flex:0 0 auto;width:100%;color:#353535}.m_stopmotionpanel .m_stopmotionpanel--buttons>*{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:center;padding:.81rem}.m_stopmotionpanel .m_stopmotionpanel--buttons>:nth-child(2){border-top:2px solid #fff;justify-content:center;background-color:#353535}.m_stopmotionpanel .m_stopmotionpanel--buttons input[type=number]{width:50px}.m_stopmotionpanel .m_stopmotionpanel--loader{position:absolute;z-index:2;top:0;left:0;bottom:0;right:0;background-color:hsla(0,0%,100%,.9);display:flex;justify-content:center;align-items:center}.m_mediaview{display:flex;justify-content:center;flex-flow:row wrap}.m_mediaview>.m_mediaview--sidebar{flex:0 1 400px}.m_mediaview>.m_mediaview--preview{min-width:400px;flex:1 1 600px}.m_mediaview .m_mediaview--sidebar>*{background-color:#fff;min-height:101%;padding-left:1.62rem;padding-right:1.62rem;border:1px solid #e5e5e5;border-top:0}.m_mediaview .m_mediaview--sidebar h1{font-size:1.5rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em;margin:0;margin-bottom:1.62rem;padding-top:1.62rem;padding-bottom:1.62rem;border-bottom:2px solid #e5e5e5}.m_mediaview .m_mediaview--sidebar .m_mediaview--sidebar--buttonrow{margin:0;margin-top:1.62rem;margin-bottom:1.62rem;padding:0;text-align:center}.m_mediaview .m_mediaview--sidebar .m_mediaview--sidebar--buttonrow hr{margin:0;margin-top:.81rem;margin-bottom:.81rem}.m_mediaview .m_mediaview--preview{padding:1.62rem}.mediaContainer{position:relative}.mediaContainer--videoPlay{width:100%;height:100%;padding:10px calc(50% - 50px);position:absolute;top:0;left:0;display:block;opacity:.95;cursor:pointer;background-image:linear-gradient(transparent,rgba(0,0,0,.1));transition:opacity .15s}.mediaContainer--videoPlay.is--hidden{opacity:0}.m_imageselect{width:100%}.m_imageselect .m_imageselect--selectFromMedias{background-color:var(--c-rouge)}.m_imageselect .m_imageselect--selectFromMedias .m_imageselect--selectFromMedias--imageList{background-color:var(--c-gris-tresclair);border-radius:0 0 var(--input-border-radius) var(--input-border-radius);padding:calc(var(--spacing) / 8);padding-top:var(--spacing);margin-top:calc(var(--spacing) * 7/8 * -1);display:flex;flex-flow:row wrap;max-height:300px;overflow-y:auto}.m_imageselect .m_imageselect--selectFromMedias .m_imageselect--selectFromMedias--imageList button{display:block;width:57px;height:57px;margin:calc(var(--spacing) / 8);padding:0;border-radius:var(--input-border-radius);overflow:hidden;transition:all .4s cubic-bezier(.19,1,.22,1)}.m_imageselect .m_imageselect--selectFromMedias .m_imageselect--selectFromMedias--imageList button:hover{transform:translateY(-4px);box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24)}.m_imageselect .m_imageselect--selectFromMedias .m_imageselect--selectFromMedias--imageList button img{object-fit:contain;width:100%;height:100%}.m_imageselect .m_imageselect--image{background-color:#f1f1f1;border-radius:6px;overflow:hidden;border-bottom:solid var(--input-border-width) var(--input-border-color)}.m_imageselect .m_imageselect--image img{width:100%}.m_imageselect .m_imageselect--image button{display:block}.m_authorsList .m_imageselect .m_imageselect--image img{width:240px;height:240px;border-radius:50%;object-fit:cover}.m_recipes{margin:.81rem;margin-top:.81rem;margin-bottom:.81rem;margin-bottom:1.62rem}.m_recipes--recipe{border:4px solid #52c5b9;margin:.81rem;background-color:#52c5b9;border-radius:6px;display:flex;flex-flow:row wrap;justify-content:stretch}.m_recipes--recipe>*{flex:1 1 auto;margin-bottom:.81rem;padding:.81rem}.m_recipes--recipe>:last-child{margin-bottom:0}.m_recipes--recipe .m_recipes--recipe--icon{flex:0 1 200px;min-width:120px;margin-top:1.62rem}.m_recipes--recipe .m_recipes--recipe--icon svg{width:100%;max-width:200px;margin:0 auto}.m_recipes--recipe .m_recipes--recipe--text{flex-basis:50%;max-width:44ch;margin-top:.405rem;margin-bottom:.405rem;color:#000}.m_recipes--recipe .m_recipes--recipe--text h2{font-size:1.5rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em;font-family:Fira Code;margin-top:0;margin-bottom:.405rem;margin-bottom:0}.m_recipes--recipe .m_recipes--recipe--text p{margin-top:.81rem;margin-bottom:.81rem;margin-bottom:1.62rem;font-size:.9em;line-height:1.25;line-height:1.4}.m_recipes--recipe .m_recipes--recipe--text hr{border:none;border-top:2px solid #000;width:1em}.m_recipes--recipe .m_recipes--recipe--text .buttonLink{color:#000}.m_recipes--recipe--mealList{flex-basis:100%;padding:.81rem;max-width:800px}.m_recipes--recipe--mealList table{margin:0;border:0}.m_recipes--recipe--mealList table thead label{color:#353535;width:100%;text-align:center}.m_recipes--recipe--mealList--meal{font-size:inherit;text-transform:none;cursor:pointer;background-color:#fff;padding:.81rem;text-align:left}.m_recipes--recipe--mealList--meal .m_recipes--recipe--mealList--mealTitle{margin:0}.m_publicationItems{margin:.81rem;display:flex;flex-flow:row wrap}.m_publicationItems--item{width:100%;background-color:#fff;margin:.405rem .81rem;padding:.81rem;text-align:center;display:flex;flex-flow:row wrap;align-items:center;justify-content:space-between;align-content:center}.m_publicationItems--item>*{flex:0 0 auto;padding-top:.405rem;padding-bottom:.405rem}.m_publicationItems--item .m_publicationItems--item--title{margin:0;font-size:1.5rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em;text-align:left;flex-basis:100px;flex-grow:1}.m_publicationItems--item .m_metaField{min-width:220px;margin-left:1.62rem;margin-right:1.62rem}.m_publicationItems--item button{margin:0}.m_exportModal video{width:600px}.m_publicationMeta{margin:.81rem}.m_publicationMeta>.buttonLink{flex:0 0 0}.m_publicationMeta .m_publicationMeta--topbar{background-color:#fff;border-radius:10px;margin:0;display:flex;flex-flow:row wrap;justify-content:space-between;align-content:flex-start;align-items:center;padding-top:.81rem;padding-bottom:.81rem}.m_publicationMeta .m_publicationMeta--topbar>*{display:flex;flex-flow:row nowrap;justify-content:center;align-content:center;align-items:center;margin-left:.81rem;margin-right:.81rem}.m_publicationMeta .m_publicationMeta--topbar .m_publicationMeta--topbar--backbutton{background-color:#353535;color:#fff;min-height:0;min-width:0;width:2em;height:2em;margin-right:.81rem;border-radius:50%;font-weight:300}.m_publicationMeta .m_publicationMeta--topbar .m_publicationMeta--topbar--title{font-size:1.5rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em;flex:1 1 auto}.m_publicationFooter{width:100%;display:flex;justify-content:center;font-size:.8rem;color:#b9b9b9}.m_publicationFooter a{text-decoration:none;text-align:center}.m_publicationFooter img{width:80px;padding:5px;margin:0 auto}.m_publicationview{padding-left:0;border-left:.81rem solid #52c5b9;transition:all .4s ease-out}.m_publicationview.is--preview{background-color:#f4f3ef}.m_publicationview.is--fullscreen{border:none}.m_publicationview .m_publicationSettings{position:fixed;bottom:20px;right:40px;pointer-events:none;z-index:1000}.m_publicationview .m_publicationSettings>button{display:block;pointer-events:auto;height:44px;width:44px;padding:14px;margin-top:.81rem;margin-bottom:.81rem;min-height:0;text-align:center;line-height:0;font-weight:300;border-radius:50%;background-color:#fff;box-shadow:0 2px 16px 0 rgba(0,0,0,.4)}.m_publicationview .m_publicationSettings>button.is--active{background-color:#ffbe32}.m_publicationview .m_publicationSettings>button svg{width:100%;height:100%}.m_publicationview .m_publicationSettings>button:first-child{padding:9px}.m_publicationview .m_publicationview--settings{background-color:#fff;margin-left:1.62rem;margin-right:1.62rem;border-radius:4px;max-width:600px;display:flex;flex-flow:row wrap;align-content:flex-start;align-items:center}.m_publicationview .m_publicationview--settings>:not(hr):not(h4){flex:1 0 120px;margin:.81rem}.m_publicationview .m_publicationview--settings>:not(hr):not(h4) input[type=range]{max-width:320px}.m_publicationview .m_publicationview--settings>h4,.m_publicationview .m_publicationview--settings>hr{flex:1 0 100%;margin-left:.81rem;margin-right:.81rem}.m_publicationview .m_publicationview--settings hr{opacity:0;margin:0;padding:0}.m_publicationview .m_publicationview--pages{padding-top:.81rem;padding-bottom:.81rem}.m_publicationview .m_publicationview--pages--pageContainer{position:relative;margin:.81rem auto;transition:all .2s}.m_publicationview .m_publicationview--pages--pageContainer.is--active:before{content:">";display:block;position:absolute;right:calc(100% + 4px);height:100%;width:40px;color:#fc4b60;border-right:5px solid currentColor;font-family:Fira Mono;font-weight:500;font-size:4em;display:flex;align-items:center}.m_publicationview .m_page{position:relative;background-color:#fff;box-shadow:0 2px 16px 0 rgba(0,0,0,.2);z-index:0;transform-origin:top left;margin:0 auto;font-variant-ligatures:none;color:#000;transition:all .2s}.m_publicationview .m_page .m_page--header{position:absolute;bottom:calc(100% - 1.4cm);padding:0 1cm;width:100%;display:flex;justify-content:space-between;font-size:10pt;font-weight:500;text-transform:uppercase}.m_publicationview .m_page .m_page--header:after{content:"";position:absolute;border-bottom:1px solid #000;left:1cm;right:1cm;bottom:0}.m_publicationview .m_page .m_page--pageNumber{position:absolute;bottom:0;left:0;margin:.8cm 1cm;font-size:10pt;font-weight:500}.m_publicationview .m_page .m_page--pageNumber.toRight{left:auto;right:0}.m_publicationview .m_page .m_page--margins_rule{position:absolute;width:1px;height:100%;z-index:-9;background-color:#b9b9b9}.m_publicationview .m_page .m_page--margins_rule:first-of-type{left:var(--margin_left);top:0}.m_publicationview .m_page .m_page--margins_rule:nth-of-type(2){right:var(--margin_right);top:0}.m_publicationview .m_page .m_page--margins_rule:nth-of-type(3){top:var(--margin_top);left:0;width:100%;height:1px}.m_publicationview .m_page .m_page--margins_rule:nth-of-type(4){bottom:var(--margin_bottom);left:0;width:100%;height:1px}.m_publicationview .m_page .m_page--grid{--gridstep:10mm;--gridstep_before:calc(var(--gridstep) - 1px);background-image:repeating-linear-gradient(90deg,transparent,transparent var(--gridstep_before),#f1f1f1 var(--gridstep_before),#f1f1f1 var(--gridstep)),repeating-linear-gradient(180deg,transparent,transparent var(--gridstep_before),#f1f1f1 var(--gridstep_before),#f1f1f1 var(--gridstep));background-position:50% 100%;background-repeat:no-repeat;position:absolute;opacity:1;left:var(--margin_left);right:var(--margin_right);top:var(--margin_top);bottom:var(--margin_bottom);z-index:-20001;display:block;pointer-events:none}.m_publicationview .m_stopmotionAnimationPublication{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));padding:.405rem;padding-left:1.62rem;padding-right:1.62rem;margin:0 auto;margin-top:.81rem;margin-bottom:.81rem;max-width:1024px;counter-reset:k}.m_publicationview .m_stopmotionAnimationPublication .m_mediaMontagePublication--withdraw{top:-5px;right:-5px}.m_publicationview .m_stopmotionAnimationPublication>*{background-color:#fff;padding:.405rem;margin-top:.81rem;margin-bottom:.81rem;position:relative;transition:all .4s}.m_publicationview .m_stopmotionAnimationPublication>:before{counter-increment:k 1;content:counter(k) " ";position:absolute;top:0;left:0;background-color:#fff;font-size:.8rem;z-index:1;padding:0 2px 0 0;margin:0 2px;font-weight:700;border-radius:5px 0 5px 0}.m_publicationview .m_stopmotionAnimationPublication>:first-child{border-top-left-radius:6px;border-bottom-left-radius:6px}.m_publicationview .m_stopmotionAnimationPublication>:last-child{border-top-right-radius:6px;border-bottom-right-radius:6px}.m_publicationview .m_mixAudioAndImagePublication{padding:.405rem;padding-left:1.62rem;padding-right:1.62rem;margin:0 auto;margin-top:.81rem;margin-bottom:.81rem;width:100%;max-width:400px}.m_publicationview .m_mixAudioAndImagePublication .m_mixAudioAndImagePublication--media{background-color:#fff;padding:.405rem;margin-top:.81rem;margin-bottom:.81rem;border-radius:6px}.m_publicationview .m_videoPublication{display:flex;justify-content:center;align-content:center;padding:.405rem;padding-left:1.62rem;padding-right:1.62rem;margin:0 auto;margin-top:.81rem;margin-bottom:.81rem;max-width:1024px}.m_publicationview .m_videoPublication .m_videoPublication--media{position:relative;max-width:400px;height:auto;padding:.81rem;margin:.81rem;background-color:#fff;border-radius:4px}.m_publicationview .m_videoPublication .m_videoPublication--media .m_metaField{margin-top:.405rem;margin-bottom:.405rem}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--moveItemButtons{position:absolute;left:-48px;top:0;height:100%;width:48px}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--moveItemButtons>*{background-color:transparent;color:#47998d;transition:opacity .4s}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--moveItemButtons>:hover{opacity:1}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--moveItemButtons .m_videoPublication--media--moveItemButton--before{transform:rotate(90deg);position:absolute;top:0;padding:0}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--moveItemButtons .m_videoPublication--media--moveItemButton--after{position:absolute;top:auto;bottom:0;padding:0;transform:rotate(90deg)}.m_carreauPublication{padding:.405rem;padding-left:1.62rem;padding-right:1.62rem;margin:0 auto;margin-top:.81rem;margin-bottom:.81rem}.m_carreauPublication .m_carreauPublication--container{position:relative;overflow-y:visible;background-color:#fff}.m_carreauPublication .m_carreauPublication--container .m_carreauPublication--container--content{position:relative;transform-origin:center center;background-color:#fff;margin:0 auto}.m_carreauPublication .m_carreauPublication--container .m_carreauPublication--container--content .m_carreauPublication--container--content--title{display:block;font-weight:300;font-size:3em;padding:.81rem 1.62rem}.m_mediaPublication{position:absolute;-moz-user-select:none;user-select:none;min-width:20mm;min-height:20mm;z-index:0;transform-origin:top left;transition:transform .2s cubic-bezier(.25,.8,.25,1)}.m_mediaPublication.is--dragged,.m_mediaPublication.is--resized,.m_mediaPublication.is--rotated{transition:none ease-out;z-index:2}.m_mediaPublication .m_mediaPublication--overflowing_sign{position:absolute;bottom:2px;font-weight:700;text-align:center;width:100%;margin:0 auto;z-index:2;min-height:0;background:transparent;pointer-events:none}.m_mediaPublication .m_mediaPublication--overflowing_sign span{display:block;width:1em;height:1em;margin:0 auto;line-height:.5;background-color:#fc4b60;color:#fff;pointer-events:auto}.m_mediaPublication .m_mediaPublication--edit_styles{position:absolute;bottom:100%;left:50%;transform:translate(-50%);margin:0 auto;padding:.405rem;max-width:300px;min-width:200px;width:100%;height:auto}.m_mediaPublication .m_mediaPublication--edit_styles>.m_mediaPublication--edit_styles--helpButton{position:absolute;top:.7em;right:.5em;color:#e5e5e5;z-index:1;background-color:transparent;min-height:0;min-width:0;height:1em;width:1em;display:block;line-height:0;padding:0}.m_mediaPublication .m_mediaPublication--edit_styles .prism-editor__code{min-height:3.5em;max-height:200px;overflow:auto;overscroll-behavior-y:contain}.m_mediaPublication .m_mediaPublication--edit_styles .prism-editor__code::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_mediaPublication .m_mediaPublication--edit_styles .prism-editor__code::-webkit-scrollbar-thumb,.m_mediaPublication .m_mediaPublication--edit_styles .prism-editor__code::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_mediaPublication .m_mediaPublication--edit_styles .prism-editor__code::-webkit-scrollbar-track{background-color:transparent}.m_mediaPublication .m_mediaPublication--edit_styles .prism-editor__code::-webkit-scrollbar-thumb{background-color:#fff}.m_mediaPublication .m_mediaPublication--edit_styles .prism-editor__code::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_mediaPublication .m_mediaPublication--edit_styles pre{margin:0;border:3px solid transparent}.m_mediaPublication .m_mediaPublication--edit_styles pre:focus{outline:0;border-color:#ffbe32}.m_mediaPublication .mediaContainer{overflow:hidden;height:100%;width:100%}.m_mediaPublication .mediaContainer>*{width:100%;height:100%}.m_mediaPublication .mediaContainer img{width:100%;height:100%;object-fit:cover}.m_mediaPublication .mediaCaption{margin-top:0;font-size:85%}.m_mediaPublication .controlFrame{position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:1;color:#000;border:3px solid currentColor;border-style:solid;cursor:pointer;background:transparent;cursor:-webkit-grab;cursor:-moz-grab}.is--hovered.m_mediaPublication .controlFrame{color:#ffbe32}.is--dragged.m_mediaPublication .controlFrame{color:#ffbe32;cursor:-webkit-grabbing;cursor:-moz-grabbing}.is--dragged.m_mediaPublication .controlFrame,.is--hovered.m_mediaPublication .controlFrame{background-color:rgba(255,190,50,.1)}.is--waitingForServerResponse.m_mediaPublication .controlFrame{color:#b9b9b9}.m_mediaPublication .controlFrame .handle{position:absolute;z-index:1;width:60px;height:60px;pointer-events:auto;border-style:inherit;border-width:0;border-radius:50%;display:flex;justify-content:center;align-items:center;z-index:150}.m_mediaPublication .controlFrame .handle svg{width:34px;height:34px;padding:6px;border:3px solid currentColor;border-style:inherit;border-radius:50%;overflow:visible;background-color:#ffbe32}.m_mediaPublication .controlFrame .handle_resizeMedia{bottom:-30px;right:-30px;cursor:nwse-resize;color:#353535;transition:transform .2s}.m_mediaPublication .controlFrame .handle_resizeMedia:hover{color:#ffbe32}.m_mediaPublication .controlFrame .handle_rotateMedia{top:-30px;right:-30px;cursor:nwse-rotate;color:#353535;transition:transform .2s}.m_mediaPublication .controlFrame .handle_rotateMedia:hover{color:#ffbe32}.m_mediaPublication .m_mediaPublication--caption{font-family:Fira Mono;font-size:10pt;margin-top:.5em;white-space:pre-wrap}.m_mediaPublication .m_mediaPublication--buttons{position:absolute;top:0;right:0;width:100%;z-index:2;overflow:hidden;pointer-events:none;padding:.405rem;display:flex;flex-flow:row wrap;justify-content:flex-end}.m_mediaPublication .m_mediaPublication--buttons>*{display:block;color:inherit;background-color:#ffbe32;color:#353535;font-weight:700;pointer-events:auto;margin:.405rem;min-width:2.5em;min-height:2.5em}.m_mediaPublication .m_mediaPublication--buttons>.is--active{background-color:#353535;color:#ffbe32}.m_mediaCarreau{position:absolute;top:0;left:0;-moz-user-select:none;user-select:none;min-width:50px;min-height:50px;z-index:0;box-shadow:0 0 50px rgba(0,0,0,.3);background-color:#fff;transform-origin:center center;transition:all .25s cubic-bezier(.19,1,.22,1)}.m_mediaCarreau.is--dragged,.m_mediaCarreau.is--rotated{transition:none ease-out}.m_mediaCarreau.is--resized{transition:none ease-out;z-index:2}.m_mediaCarreau .mediaContainer{overflow:hidden;height:100%;width:100%}.m_mediaCarreau .mediaContainer>*{width:100%;height:100%}.m_mediaCarreau .mediaContainer img{width:100%;height:100%;object-fit:cover}.m_mediaCarreau .m_mediaCarreau--buttons .m_mediaCarreau--buttons--removeMedia{position:absolute;top:0;right:0;z-index:1;background-color:hsla(0,0%,100%,.4)}.m_mediaCarreau .controlFrame{position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;z-index:1;color:#000;cursor:pointer;background:transparent;display:flex;justify-content:flex-end;align-items:flex-end;cursor:-webkit-grab;cursor:-moz-grab}.is--hovered.m_mediaCarreau .controlFrame{color:#353535}.is--dragged.m_mediaCarreau .controlFrame{color:#52c5b9;cursor:-webkit-grabbing;cursor:-moz-grabbing}.is--waitingForServerResponse.m_mediaCarreau .controlFrame{color:#b9b9b9}.m_mediaCarreau .controlFrame .handle{z-index:1;width:24px;height:24px;pointer-events:auto;border-style:inherit;border-width:0;border-radius:50%;margin:.405rem}.m_mediaCarreau .controlFrame .handle svg{width:24px;height:24px;padding:6px;border-radius:50%;overflow:visible;background-color:hsla(0,0%,100%,.4);fill:#353535}.m_mediaCarreau .controlFrame .handle_resizeMedia{cursor:nwse-resize;color:#353535;transition:transform .2s}.m_mediaCarreau .controlFrame .handle_resizeMedia:hover{color:#ffbe32}.m_mediaCarreau .controlFrame .handle_rotateMedia{cursor:nwse-rotate;color:#353535;transition:transform .2s}.m_mediaCarreau .controlFrame .handle_rotateMedia:hover{color:#ffbe32}.m_mediaCarreau .mediaContainer.type-audio .plyr,.m_mediaCarreau .plyr__controls{z-index:1}.m_mediaMontagePublication{position:relative}.m_mediaMontagePublication .mediaCaption{margin-top:0;margin-bottom:0;font-size:85%}.m_mediaMontagePublication .m_mediaMontagePublication--set_props{display:flex;flex-flow:row wrap;align-items:flex-end}.m_mediaMontagePublication .m_mediaMontagePublication--set_props input[type=number]{max-width:60px;text-align:center;height:2em;line-height:1;width:auto;margin-left:.405rem;margin-right:.405rem}.m_mediaMontagePublication--withdraw{position:absolute;top:-1.25em;right:-1.25em;display:flex;color:inherit;color:#353535;font-weight:700;pointer-events:auto;min-width:2.5em;min-height:2.5em}.m_mediaMontagePublication--withdraw.is--active{background-color:#353535;color:#ffbe32}.m_addcreationtoproject{padding:.81rem;background-color:#f4f3ef;border-radius:4px}.m_addcreationtoproject input,.m_addcreationtoproject select{background-color:#fff}.m_standaloneMedia{width:100%;height:100%}.m_standaloneMedia .mediaContainer{width:100%;height:100%;background-color:#353535}.m_standaloneMedia .mediaContainer>*{width:100%;height:100%;background-color:transparent;object-fit:contain}.m_standaloneMedia .mediaContainer>* .plyr .plyr__controls{color:#fff}.m_standaloneMedia .mediaContainer>* .plyr--audio{padding:40vh 0;margin:0 auto;max-width:500px}.m_standaloneMedia .mediaContainer.type-text{background:transparent;width:66ch;margin:1.62rem auto;height:auto}.m_standaloneMedia .mediaContainer.type-text>*{height:auto}.m_mediaCSSEditWindow{position:fixed;bottom:0;left:50px;z-index:1;background-color:red}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.vue-splitter-container{width:100%;height:100%;position:absolute;overflow:hidden}.splitter-pane,.splitter-pane-resizer{transition:all .4s ease-out}.splitter-pane-resizer.is--dragged,.splitter-pane.is--dragged{transition:none}.splitter-pane-resizer{box-sizing:border-box;background:#000;position:absolute;z-index:2;background-clip:padding-box}.splitter-pane-resizer.vertical{width:.81rem;height:100%;pointer-events:none;opacity:1;background-color:transparent;background-position:50%;background-repeat:no-repeat}.splitter-pane-resizer.vertical:before{top:0;bottom:0;right:0;left:0;background-position:50%}.splitter-pane.vertical.splitter-paneL{position:absolute;left:0;height:100%}.splitter-pane.vertical.splitter-paneR{position:absolute;right:0;height:100%;z-index:1}.splitter-pane.horizontal.splitter-paneL{position:absolute;top:0;width:100%}.splitter-pane.horizontal.splitter-paneR{position:absolute;bottom:0;width:100%;padding-top:3px}.alertify{z-index:20000;background-color:rgba(51,51,51,.86)}.alertify .dialog>*{width:450px;border-radius:2px;box-shadow:0 1px 4px rgba(0,0,0,.1);border:1px solid #e5e5e5}.alertify .dialog>* nav button.ok{background-color:transparent;border:none;font-size:inherit;font-family:inherit;background-color:#fff;display:inline-block;text-decoration:none;text-align:center;text-transform:uppercase;font-weight:500!important;letter-spacing:.06em;flex-shrink:0;margin:0;cursor:pointer;min-height:3.24rem;padding:0 .81rem!important;border-radius:6px!important;transition:color .25s ease-out,opacity .5s;color:#fff!important;background-color:#52c5b9!important}.alertify-logs{z-index:20001;right:48px;pointer-events:none;font-size:.9em;line-height:1.25}.alertify-logs>*,.alertify-logs>.default{background-color:#e5e5e5;color:#353535;pointer-events:auto}.alertify-logs>.error{background-color:#fc4b60;color:#fff}.alertify-logs>.success{background-color:#52c5b9;color:#fff}.animated{animation-duration:3s;animation-fill-mode:both;animation-iteration-count:infinite}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.flash{animation-name:flash}.m_footer{color:#b9b9b9;width:100%;text-align:center}.m_footer:before{content:"";display:inline-block;position:relative;width:100px;border-top:2px solid #e5e5e5}.tippy-popper.tippy-popper{z-index:100000!important}.tippy-popper.tippy-popper>*{color:#fff;text-transform:lowercase;font-size:80%;pointer-events:none}.tippy-popper.tippy-popper>* .tippy-backdrop{background:#353535!important}.tippy-popper.tippy-popper code{font-family:Fira Code}.quillWrapper{display:flex;flex-flow:column nowrap;overflow:hidden}.quillWrapper .ql-toolbar{flex:1 1 0}.quillWrapper .ql-container{flex:1 1 0;overflow:hidden;font-family:inherit}.quillWrapper .ql-container.ql-snow{border:none}.quillWrapper .ql-toolbar button{min-height:0}.quillWrapper .ql-toolbar.ql-snow{background-color:#fff;font-family:inherit;border-color:#e5e5e5;border-top:none;border-left:none;border-right:none}.quillWrapper>*{flex:0 0 auto}.quillWrapper>.ql-container{flex:1 1 auto;height:auto}.quillWrapper>* .ql-editor{min-height:200px;background-color:#fff;border-left:2px solid transparent;height:100%;border-left:solid var(--input-border-width) var(--input-border-color);border-radius:var(--input-border-radius);border-radius:0}.quillWrapper>* .ql-editor:focus{border-left-color:#ffbe32;background-color:#fff}.quillWrapper>* .ql-editor>:first-child{margin-top:0}.fade-enter-active,.fade-leave-active{opacity:1;transition:opacity .6s linear}.fade-enter,.fade-leave-to{opacity:0;transition:opacity .6s linear}.fade_fast-enter-active,.fade_fast-leave-active{opacity:1;transition:opacity .15s linear}.fade_fast-enter,.fade_fast-leave-to{opacity:0;transition:opacity .15s linear}.slideup-enter-active,.slideup-leave-active{transform:translateY(0);transition:opacity .4s linear,transform .4s ease-out}.slideup-enter,.slideup-leave-to{transform:translateY(100%);transition:opacity .4s linear,transform .4s ease-out}.slideleft-enter-active,.slideleft-leave-active{transform:translateX(0);transition:opacity .4s linear,transform .4s ease-out}.slideleft-enter,.slideleft-leave-to{transform:translateX(-100%);transition:opacity .4s linear,transform .4s ease-out}.slideright-enter-active,.slideright-leave-active{transform:translateX(0);transition:opacity .4s linear,transform .4s ease-out}.slideright-enter,.slideright-leave-to{transform:translateX(100%);transition:opacity .4s linear,transform .4s ease-out}.list-complete-move{position:relative;transition:transform .6s cubic-bezier(.19,1,.22,1),opacity .4s cubic-bezier(.19,1,.22,1)!important}.list-complete-enter,.list-complete-leave-to{opacity:0}.list-complete-leave-active{position:absolute;z-index:0!important}.fileupload_list-move{transition:all 1s cubic-bezier(.19,1,.22,1)}.fileupload_list-complete-enter,.fileupload_list-complete-leave-to{opacity:0;transform:translateY(30px)}.fileupload_list-complete-leave-active{position:absolute}.ListView-enter-active,.ListView-leave-active{opacity:1;transform:scale(1);transform-origin:center center;transition:all .5s linear}.ListView-enter,.ListView-leave-to{opacity:0;transform:scale(.96);transition:all .5s linear}.ProjectView-enter-active,.ProjectView-leave-active{transform:translateY(0);transition:transform .5s cubic-bezier(.25,.8,.25,1)}.ProjectView-enter,.ProjectView-leave-to{transform:translateY(100vh);transition:transform .5s cubic-bezier(.25,.2,.25,1)}.CaptureView-enter-active,.CaptureView-leave-active{transform:translateX(0);transition:transform .5s cubic-bezier(.25,.8,.25,1)}.CaptureView-enter,.CaptureView-leave-to{transform:translateX(100vw);transition:transform .5s cubic-bezier(.25,.2,.25,1)}.MediaView-enter-active,.MediaView-leave-active{transform:translateX(0);transition:transform .5s cubic-bezier(.25,.8,.25,1)}.MediaView-enter,.MediaView-leave-to{transform:translateX(100vw);transition:transform .5s cubic-bezier(.25,.2,.25,1)}.popUp-enter-active,.popUp-leave-active{transform:translateZ(0);transition:transform 1s cubic-bezier(.25,.2,.25,1)}.popUp-enter,.popUp-leave-to{transform:translate3d(0,150px,0);transition:transform 1s cubic-bezier(.25,.2,.25,1)}.mediaCapture-leave-active{opacity:1;transition:all .3s ease-out}.mediaCapture-leave-to{opacity:0;transition:all .3s ease-out}.scaleIn-enter-active,.scaleIn-leave-active{opacity:1;transform:scale(1);transform-origin:center center!important;transition:all .3s ease-out}.scaleIn-enter,.scaleIn-leave-to{transform:scale(.7);opacity:0}.slideFromTop-enter-active,.slideFromTop-leave-active{opacity:1;transform:translateZ(0);transform-origin:center center!important;transition:all .3s ease-out}.slideFromTop-enter,.slideFromTop-leave-to{transform:translate3d(0,-15px,0);opacity:0}.BackButton-enter-active,.BackButton-leave-active{max-width:100px;opacity:1;transition:all .5s cubic-bezier(.25,.2,.25,1)}.BackButton-enter,.BackButton-leave-to{max-width:0;opacity:0;transition:all .5s cubic-bezier(.25,.2,.25,1)}.enableMode-enter-active,.enableMode-leave-active{opacity:1;transition:all .1s ease-out}.enableMode-enter{opacity:0}.enableMode-leave-to{opacity:0;transition:all .3s ease-out}body[data-mode=export_publication] .m_publicationview--pages,body[data-mode=link_publication] .m_publicationview--pages{padding:0!important}body[data-mode=export_publication] .m_publicationview--pages--pageContainer,body[data-mode=link_publication] .m_publicationview--pages--pageContainer{width:auto!important;height:auto!important}body[data-mode=export_publication] .m_publicationview--pages--pageContainer:before,body[data-mode=link_publication] .m_publicationview--pages--pageContainer:before{display:none!important}body[data-mode=export_publication] .m_publicationMeta,body[data-mode=link_publication] .m_publicationMeta{max-width:400px;margin-left:auto;margin-right:auto;text-align:center}body[data-mode=export_publication] .m_publicationMeta .m_publicationMeta--topbar,body[data-mode=link_publication] .m_publicationMeta .m_publicationMeta--topbar{justify-content:center}body[data-mode=export_publication] .m_publicationview,body[data-mode=link_publication] .m_publicationview{height:auto;border:transparent;background-color:transparent;overflow-y:visible}body[data-mode=export_publication] .m_page,body[data-mode=link_publication] .m_page{box-shadow:0 2px 16px 0 rgba(0,0,0,.1)}@media print{#systemBar,.controlFrame,.hide_on_print,.m_activitiesPanel--do,.m_mediaPublication--buttons,.m_modal--close_button,.m_modal--minimize_button,.m_modal--nav_left,.m_modal--nav_right,.m_page--grid,.m_page--margins_rule,.m_publicationFooter,.m_publicationMeta,.m_publicationSettings,.m_publicationview--pages--pageContainer:before,.m_scanQR,.m_topbar,.publiButton{display:none!important}body{width:var(--page-width);height:var(--page-height)}.m_activitiesPanel--doc{border:none!important;background-color:transparent!important;padding:0!important}.m_publicationview{border:transparent}.m_qrSnippet{background-color:transparent!important}.m_qrSnippet--motif{width:8cm!important;height:8cm!important}.m_activitiesPanel{height:auto!important}.vue-splitter-container{position:relative!important;height:auto!important;overflow:visible!important}.splitter-pane.splitter-pane{position:relative!important;height:auto!important;width:auto!important}.splitter-pane-resizer{display:none!important}.m_publicationview{position:relative;height:auto;padding:0;background-color:transparent!important;overflow:visible}.m_publicationview--pages{display:block!important;padding:0!important;-webkit-print-color-adjust:exact}.m_publicationview--pages>*{page-break-before:always;page-break-inside:avoid}.m_page,.m_publicationview--pages--pageContainer{margin:0!important}.m_page{transform:none!important;box-shadow:none;page-break-before:always;page-break-after:always;page-break-inside:avoid;-webkit-region-break-inside:avoid;box-shadow:none!important}.m_page:before{display:none!important}.m_mediaPublication{filter:none!important}.alertify-logs{display:none}}');!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=_(e("./SystemBar.vue")),i=_(e("./TopBar.vue")),r=_(e("./ListView.vue")),o=_(e("./ProjectView.vue")),a=_(e("./CaptureView.vue")),s=_(e("./components/modals/EditMedia.vue")),l=_(e("./components/modals/SessionPassword.vue")),c=_(e("./components/subcomponents/MediaContent.vue")),u=_(e("./Publications.vue")),d=_(e("./components/publication_templates/PagePublication.vue")),p=_(e("./components/publication_templates/Carreau.vue")),f=_(e("./components/publication_templates/VideoPublication.vue")),h=_(e("./components/publication_templates/DrawingPad.vue")),m=_(e("./components/publication_templates/StopmotionAnimation.vue")),g=_(e("./components/publication_templates/MixAudioAndVideo.vue")),v=_(e("./components/publication_templates/MixAudioAndImage.vue")),b=_(e("./components/splitpane/Resizer.vue")),y=_(e("./components/splitpane/Pane.vue"));function _(e){return e&&e.__esModule?e:{default:e}}n.default={name:"app",components:{SystemBar:t.default,TopBar:i.default,ListView:r.default,ProjectView:o.default,CaptureView:a.default,EditMedia:s.default,SessionPassword:l.default,Publications:u.default,PagePublication:d.default,Carreau:p.default,VideoPublication:f.default,DrawingPad:h.default,StopmotionAnimation:m.default,MixAudioAndVideo:g.default,MixAudioAndImage:v.default,Resizer:b.default,Pane:y.default,MediaContent:c.default},props:{},data:function(){return{minPercent:0,split:"vertical",is_dragged:!1,drag_offset:0,hasMoved:!1,height:null,percent:100,type:"width",resizeType:"left"}},watch:{activity_panel_percent:function(){this.$eventHub.$emit("activity_panels_resized")}},created:function(){},computed:{userSelect:function(){return this.is_dragged?"none":""},cursor:function(){return this.is_dragged?"col-resize":""},activitiesPanel_is_comfortable:function(){return!(this.percent/100*this.$root.settings.windowWidth<850)&&!(this.$root.settings.windowHeight<650)},activity_panel_percent:function(){return this.$root.screen_is_wide?this.percent:100}},methods:{dragPubliPanel:function(e,t){"debug"===this.$root.state.dev_mode&&console.log("METHODS • App: dragPubliPanel with type = "+t+" and is_dragged = "+this.is_dragged),this.drag_offset=-e.target.offsetWidth+e.offsetX,this.drag_offset||(this.drag_offset=0),"mouse"===t?(window.addEventListener("mousemove",this.dragMove),window.addEventListener("mouseup",this.dragUp)):"touch"===t&&(window.addEventListener("touchmove",this.dragMove),window.addEventListener("touchend",this.dragUp))},dragMove:function(e){if(console.log("METHODS • App: dragMove"),this.is_dragged){var t=e.pageX?e.pageX:e.touches[0].pageX;t-=this.drag_offset;var n=Math.floor(t/this.$root.settings.windowWidth*1e4)/100;n>this.minPercent&&n<100-this.minPercent&&(this.percent=n),this.$emit("resize"),this.hasMoved=!0}else this.is_dragged=!0},dragUp:function(e){if("debug"===this.$root.state.dev_mode&&console.log("METHODS • App: dragUp with is_dragged = "+this.is_dragged),window.removeEventListener("mousemove",this.dragMove),window.removeEventListener("mouseup",this.dragUp),window.removeEventListener("touchmove",this.dragMove),window.removeEventListener("touchend",this.dragUp),this.is_dragged){if(this.is_dragged=!1,this.percent>=90)return this.percent=100,void this.$root.closePubliPanel();!1===this.$root.settings.show_publi_panel&&this.$root.openPubliPanel(),this.percent<=10&&(this.percent=0)}else this.$root.settings.show_publi_panel?(this.percent=100,this.$root.closePubliPanel()):(this.percent=50,this.$root.openPubliPanel());return!1}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e,t,n,i=this,r=i.$createElement,o=i._self._c||r;return o("div",{class:{"is--wide":i.$root.screen_is_wide},attrs:{id:"app"}},["standalone"===i.$root.store.request.display?[o("div",{staticClass:"m_standaloneMedia"},[o("MediaContent",{attrs:{context:"full",autoplay:!0,slugFolderName:i.$root.store.request.slugProjectName,media:i.$root.requested_media},model:{value:i.$root.requested_media.content,callback:function(e){i.$set(i.$root.requested_media,"content",e)},expression:"$root.requested_media.content"}})],1)]:"live"!==i.$root.state.mode||i.$root.state.authentificated?"live"===i.$root.state.mode&&"standalone"!==i.$root.store.request.display?[i.$root.settings.enable_system_bar?o("SystemBar",{attrs:{withTitleBar:!0}}):i._e(),i._v(" "),o("TopBar",{attrs:{has_back_button:"ListView"!==i.$root.do_navigation.view,slugProjectName:i.$root.do_navigation.current_slugProjectName,project:i.$root.currentProject,authors:i.$root.store.authors}}),i._v(" "),o("div",{staticClass:"m_activitiesPanel"},[o("div",{staticClass:"vue-splitter-container clearfix",style:{cursor:i.cursor,userSelect:i.userSelect}},[o("pane",{staticClass:"splitter-pane splitter-paneL",class:{"is--dragged":i.is_dragged},style:(e={},e[i.type]=i.activity_panel_percent+"%",e),attrs:{split:i.split}},[o("div",{staticClass:"m_activitiesPanel--do",class:{"is--large":i.activitiesPanel_is_comfortable}},[o("div",{staticStyle:{position:"relative",width:"100%",height:"100%",overflow:"hidden"}},[o("transition",{attrs:{name:"ListView",duration:500}},[o("ListView",{directives:[{name:"show",rawName:"v-show",value:"ListView"===i.$root.do_navigation.view,expression:"$root.do_navigation.view === 'ListView'"}],attrs:{presentationMD:i.$root.store.presentationMD,read_only:!i.$root.state.connected,projects:i.$root.store.projects}})],1),i._v(" "),o("transition",{attrs:{name:"ProjectView",duration:500}},[["ProjectView","CaptureView"].includes(i.$root.do_navigation.view)?o("ProjectView",{attrs:{slugProjectName:i.$root.do_navigation.current_slugProjectName,project:i.$root.currentProject,read_only:!i.$root.state.connected}}):i._e()],1),i._v(" "),o("transition",{attrs:{name:"CaptureView",duration:500}},["CaptureView"===i.$root.do_navigation.view?o("CaptureView",{attrs:{slugProjectName:i.$root.do_navigation.current_slugProjectName,project:i.$root.currentProject,read_only:!i.$root.state.connected}}):i._e()],1)],1)])]),i._v(" "),o("Resizer",{class:{"is--dragged":i.is_dragged},style:(t={},t[i.resizeType]=i.activity_panel_percent+"%",t),attrs:{className:i.className,split:i.split},nativeOn:{mousedown:function(e){return i.onMouseDown(e)},click:function(e){return i.onClick(e)}}}),i._v(" "),o("pane",{staticClass:"splitter-pane splitter-paneR",class:{"is--dragged":i.is_dragged},style:(n={},n[i.type]=100-i.activity_panel_percent+"%",n),attrs:{split:i.split}},[o("div",{staticClass:"m_activitiesPanel--doc",class:{"is--open":i.$root.settings.show_publi_panel}},[i.$root.screen_is_wide?o("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"left",delay:[600,0]},expression:"{\n placement: 'left',\n delay: [600, 0]\n }"}],key:"openPubli",staticClass:"publiButton",class:{"is--open":i.$root.settings.show_publi_panel,"is--dragged":i.is_dragged,"is--allthewaytotheleft":0===i.activity_panel_percent},attrs:{content:i.$t("mix_medias")},on:{mousedown:function(e){return e.stopPropagation(),e.preventDefault(),i.dragPubliPanel(e,"mouse")},touchstart:function(e){return e.stopPropagation(),e.preventDefault(),i.dragPubliPanel(e,"touch")}}},[o("img",{attrs:{src:"/images/i_marmite.svg",width:"48",height:"48",draggable:"false"}}),i._v(" "),o("span",{staticClass:"margin-small"},[i._v(i._s(i.$t("publication")))])]):i._e(),i._v(" "),o("div",{staticStyle:{position:"relative",height:"100%",overflow:"hidden"}},[o("transition",{attrs:{name:"ListView",duration:500}},[i.$root.settings.show_publi_panel?o("Publications",{attrs:{publications:i.$root.store.publications,read_only:!i.$root.state.connected}}):i._e()],1),i._v(" "),!1!==i.$root.settings.current_publication.slug?o("transition",{attrs:{name:"ProjectView",duration:500}},[!1!==i.$root.settings.current_publication.slug&&"page_by_page"===i.$root.store.publications[i.$root.settings.current_publication.slug].template?o("PagePublication",{attrs:{slugPubliName:i.$root.settings.current_publication.slug,publication:i.$root.store.publications[i.$root.settings.current_publication.slug],read_only:!i.$root.state.connected}}):i._e(),i._v(" "),!1!==i.$root.settings.current_publication.slug&&"carreau"===i.$root.store.publications[i.$root.settings.current_publication.slug].template?o("Carreau",{attrs:{slugPubliName:i.$root.settings.current_publication.slug,publication:i.$root.store.publications[i.$root.settings.current_publication.slug],read_only:!i.$root.state.connected}}):!1!==i.$root.settings.current_publication.slug&&"video_assemblage"===i.$root.store.publications[i.$root.settings.current_publication.slug].template?o("VideoPublication",{attrs:{slugPubliName:i.$root.settings.current_publication.slug,publication:i.$root.store.publications[i.$root.settings.current_publication.slug],read_only:!i.$root.state.connected}}):!1!==i.$root.settings.current_publication.slug&&"drawing_pad"===i.$root.store.publications[i.$root.settings.current_publication.slug].template?o("DrawingPad",{attrs:{slugPubliName:i.$root.settings.current_publication.slug,publication:i.$root.store.publications[i.$root.settings.current_publication.slug],read_only:!i.$root.state.connected}}):!1!==i.$root.settings.current_publication.slug&&"stopmotion_animation"===i.$root.store.publications[i.$root.settings.current_publication.slug].template?o("StopmotionAnimation",{attrs:{slugPubliName:i.$root.settings.current_publication.slug,publication:i.$root.store.publications[i.$root.settings.current_publication.slug],read_only:!i.$root.state.connected}}):!1!==i.$root.settings.current_publication.slug&&"mix_audio_and_video"===i.$root.store.publications[i.$root.settings.current_publication.slug].template?o("MixAudioAndVideo",{attrs:{slugPubliName:i.$root.settings.current_publication.slug,publication:i.$root.store.publications[i.$root.settings.current_publication.slug],read_only:!i.$root.state.connected}}):!1!==i.$root.settings.current_publication.slug&&"mix_audio_and_image"===i.$root.store.publications[i.$root.settings.current_publication.slug].template?o("MixAudioAndImage",{attrs:{slugPubliName:i.$root.settings.current_publication.slug,publication:i.$root.store.publications[i.$root.settings.current_publication.slug],read_only:!i.$root.state.connected}}):i._e()],1):i._e()],1)])])],1)]),i._v(" "),i.$root.media_modal.open?o("EditMedia",{key:i.$root.media_modal.current_slugProjectName+i.$root.media_modal.current_metaFileName,attrs:{slugMediaName:i.$root.media_modal.current_metaFileName,slugProjectName:i.$root.media_modal.current_slugProjectName,media:i.$root.store.projects[i.$root.media_modal.current_slugProjectName].medias[i.$root.media_modal.current_metaFileName],read_only:!i.$root.state.connected},on:{close:function(e){return i.$root.closeMedia()}}}):i._e()]:["export_publication","print_publication","link_publication"].includes(i.$root.state.mode)?[!1!==i.$root.settings.current_publication.slug?o("PagePublication",{attrs:{slugPubliName:i.$root.settings.current_publication.slug,publication:i.$root.store.publications[i.$root.settings.current_publication.slug],read_only:!i.$root.state.connected}}):i._e()]:i._e():[i.$root.showSessionPasswordModal?o("SessionPassword",{attrs:{read_only:!i.$root.state.connected},on:{close:function(e){i.$root.showSessionPasswordModal=!1}}}):i._e()],i._v(" "),o("portal-target",{attrs:{name:"modal_container"}})],2)},i.staticRenderFns=[]},{"./CaptureView.vue":176,"./ListView.vue":177,"./ProjectView.vue":178,"./Publications.vue":179,"./SystemBar.vue":180,"./TopBar.vue":181,"./components/modals/EditMedia.vue":191,"./components/modals/SessionPassword.vue":198,"./components/publication_templates/Carreau.vue":203,"./components/publication_templates/DrawingPad.vue":204,"./components/publication_templates/MixAudioAndImage.vue":205,"./components/publication_templates/MixAudioAndVideo.vue":206,"./components/publication_templates/PagePublication.vue":207,"./components/publication_templates/StopmotionAnimation.vue":208,"./components/publication_templates/VideoPublication.vue":209,"./components/splitpane/Pane.vue":210,"./components/splitpane/Resizer.vue":211,"./components/subcomponents/MediaContent.vue":223,"vueify/lib/insert-css":161}],176:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=u(e("./components/subcomponents/MediaContent.vue")),i=u(e("./components/subcomponents/StopmotionPanel.vue")),r=u(e("./components/subcomponents/MediaValidationButtons.vue")),o=u(e("./components/subcomponents/DistantFlux.vue")),a=u(e("recordrtc"));e("webrtc-adapter");var s=u(e("imagetracerjs")),l=e("timers"),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(e("axios"));function u(e){return e&&e.__esModule?e:{default:e}}n.default={props:{project:{type:Object,default:""},slugProjectName:String,read_only:Boolean},components:{MediaContent:t.default,StopmotionPanel:i.default,MediaValidationButtons:r.default,DistantFlux:o.default},data:function(){return{selected_mode:"",available_modes:[{picto:"/images/i_icone-dodoc_image.svg",key:"photo"},{picto:"/images/i_icone-dodoc_video.svg",key:"video"},{picto:"/images/i_icone-dodoc_anim.svg",key:"stopmotion"},{picto:"/images/i_icone-dodoc_audio.svg",key:"audio"},{picto:"/images/i_icone-dodoc_vecto.svg",key:"vecto"}],recordVideoFeed:void 0,recordVideoWithAudio:!0,show_capture_settings:!1,show_stopmotion_list:!1,is_showing_live_feed:!0,capture_button_pressed:!1,videoStream:null,audioStream:null,available_devices:{},mode_just_changed:!1,is_recording:!1,timer_recording:!1,actual_current_video_resolution:!1,media_to_validate:!1,media_is_being_sent:!1,media_being_sent_percent:0,media_send_timeout:1e4,media_send_timeout_timer:!1,current_username:this.$root.settings.capture_options.distant_flux.username,callee_username:this.$root.settings.capture_options.distant_flux.callee_username,is_calling:!1,current_stopmotion:!1,is_validating_stopmotion_video:!1,timelapse_mode:!1,timelapse_interval:2,timelapse_event:!1,plyr_options:{controls:["play-large","play","progress","current-time","mute","volume","fullscreen"],iconUrl:"/images/plyr.svg"},ideal_camera_resolution:{name:"hd",width:1280,height:720},available_camera_resolutions:[{name:"vga",width:640,height:480},{name:"hd",width:1280,height:720},{name:"full hd",width:1920,height:1080}],selected_devicesId:{audioinput:"",videoinput:"",audiooutput:""},vecto:{svgstr:"",blurradius:0},stopmotion:{onion_skin_img:!1,onion_skin_opacity:0}}},created:function(){var e=this;console.log("CREATED • CaptureView"),navigator.mediaDevices.enumerateDevices().then(function(t){e.available_devices=t,Object.keys(e.selected_devicesId).map(function(t){if(e.sorted_available_devices.hasOwnProperty(t)){var n=e.sorted_available_devices[t].filter(function(n){return n.deviceId===e.$root.settings.capture_options.selected_devicesId[t]});if(n.length>0)return void(e.selected_devicesId[t]=n[0].deviceId);if("videoinput"===t){var i=e.sorted_available_devices[t].filter(function(e){return e.label.includes("back")});if(i.length>0)return void(e.selected_devicesId[t]=i[0].deviceId)}e.selected_devicesId[t]=e.sorted_available_devices[t][0].deviceId}}),""!==e.$root.settings.capture_options.selected_mode?e.selected_mode=e.$root.settings.capture_options.selected_mode:e.selected_mode=e.available_modes[0].key,""!==e.$root.settings.capture_options.ideal_camera_resolution.width&&(e.ideal_camera_resolution=e.$root.settings.capture_options.ideal_camera_resolution)})},mounted:function(){document.addEventListener("keyup",this.captureKeyListener),this.$root.settings.capture_mode_cant_be_changed=!1},beforeDestroy:function(){document.removeEventListener("keyup",this.captureKeyListener),this.stopAllFeeds()},watch:{"selected_devicesId.audioinput":function(){console.log("WATCH • Capture: selected_devicesId.audioinput = "+this.selected_devicesId.audioinput),this.$root.settings.capture_options.selected_devicesId.audioinput=this.selected_devicesId.audioinput},"selected_devicesId.audiooutput":function(){console.log("WATCH • Capture: selected_devicesId.audiooutput = "+this.selected_devicesId.audiooutput),this.$root.settings.capture_options.selected_devicesId.audiooutput=this.selected_devicesId.audiooutput},"selected_devicesId.videoinput":function(){console.log("WATCH • Capture: selected_devicesId.videoinput = "+this.selected_devicesId.videoinput),this.$root.settings.capture_options.selected_devicesId.videoinput=this.selected_devicesId.videoinput},selected_mode:function(){var e=this;console.log("WATCH • Capture: selected_mode : "+this.selected_mode),this.mode_just_changed=!0,this.show_stopmotion_list=!1,this.$root.settings.capture_options.selected_mode=this.selected_mode,window.setTimeout(function(){e.mode_just_changed=!1},1e3),this.$nextTick(function(){e.startMode()})},is_recording:function(){d.setSarahCouleur(this.is_recording),this.is_recording?this.timer_recording=this.$root.currentTime:this.timer_recording=!1},ideal_camera_resolution:function(){console.log("WATCH • Capture: ideal_camera_resolution = "+Object.entries(this.ideal_camera_resolution)),this.$root.settings.capture_options.ideal_camera_resolution=this.ideal_camera_resolution},"$root.settings.capture_options.distant_flux.active":function(){this.startMode()},media_to_validate:function(){console.log("WATCH • Capture: media_to_validate = "+this.media_to_validate),this.media_to_validate?this.$refs.videoElement.pause():this.$refs.videoElement.play()},current_stopmotion:function(){this.$root.settings.capture_mode_cant_be_changed=!!this.current_stopmotion&&this.current_stopmotion},show_stopmotion_list:function(){this.show_stopmotion_list&&this.$socketio.listFolders({type:"stopmotions"})}},computed:{is_making_stopmotion:function(){var e=!!this.current_stopmotion;return e&&(this.show_capture_settings=!1),e},stopmotions:function(){var e=Object.values(this.$root.store.stopmotions);return e=this.$_.sortBy(e,function(e){return e.date_created}).reverse(),e},sorted_available_devices:function(){return this.$_.groupBy(this.available_devices,"kind")},uriToUploadMedia:function(){return"_file-upload/projects/"+this.slugProjectName},recording_duration:function(){return!!this.timer_recording&&this.$moment(this.$root.currentTime-this.timer_recording).startOf("second").format("mm:ss")},time_before_next_picture:function(){var e=this.$moment(this.$root.currentTime-this.timer_recording).seconds()%this.timelapse_interval;return 0===e?0:this.timelapse_interval-e}},methods:{startMode:function(){var e=this;console.log("METHODS • CaptureView: startMode"),"photo"===this.selected_mode?this.stopAllFeeds().then(function(){e.startCameraFeed()}):"video"===this.selected_mode?this.stopAllFeeds().then(function(){e.startCameraFeed()}):"stopmotion"===this.selected_mode?this.stopAllFeeds().then(function(){e.startCameraFeed()}):"audio"===this.selected_mode?this.stopAllFeeds().then(function(){d.clearCanvas(),e.startAudioFeed().then(function(t){d.start(e.$refs.equalizerElement,t)}).catch(function(e){})}):"vecto"===this.selected_mode&&this.stopAllFeeds().then(function(){e.startVectoFeed()})},previousMode:function(){var e=this;if(console.log("METHODS • CaptureView: previousMode"),!this.$root.settings.capture_mode_cant_be_changed){var t=this.available_modes.findIndex(function(t){return t.key===e.selected_mode});t>0&&(this.selected_mode=this.available_modes[t-1].key)}},nextMode:function(){var e=this;if(console.log("METHODS • CaptureView: nextMode"),!this.$root.settings.capture_mode_cant_be_changed){var t=this.available_modes.findIndex(function(t){return t.key===e.selected_mode});t<this.available_modes.length-1&&(this.selected_mode=this.available_modes[t+1].key)}},updateSettings:function(){this.startMode(),this.$root.settings.capture_options.distant_flux.active&&(this.$root.settings.capture_options.distant_flux.username=this.current_username,this.$root.settings.capture_options.distant_flux.callee_username=this.callee_username,""!==this.$root.settings.capture_options.distant_flux.callee_username&&this.$eventHub.$emit("call_callee"))},captureKeyListener:function(e){if(console.log("METHODS • CaptureView: captureKeyListener"),this.media_to_validate||this.is_validating_stopmotion_video)return!1;switch(e.key){case"w":case"z":case"ArrowLeft":this.previousMode();break;case"s":case"ArrowRight":this.nextMode();break;case"a":case"q":case" ":this.captureOrStop()}},changeStreamTo:function(e){var t=this;console.log("METHODS • CaptureView: changeStreamTo"),this.videoStream=e,this.$refs.videoElement.srcObject=e,this.$refs.videoElement.volume=0,(0,l.setTimeout)(function(){t.$refs.videoElement.play()},500)},stopAudioFeed:function(){console.log("METHODS • CaptureView: stopAudioFeed"),this.audioStream&&(this.audioStream.getAudioTracks().forEach(function(e){e.stop()}),this.audioStream=null),d.stop()},stopVideoFeed:function(){if(console.log("METHODS • CaptureView: stopVideoFeed"),this.videoStream){var e=!0,t=!1,n=void 0;try{for(var i,r=this.videoStream.getVideoTracks()[Symbol.iterator]();!(e=(i=r.next()).done);e=!0){i.value.stop()}}catch(e){t=!0,n=e}finally{try{!e&&r.return&&r.return()}finally{if(t)throw n}}this.videoStream=null}},stopAllFeeds:function(){var e=this;return new Promise(function(t,n){console.log("METHODS • CaptureView: stopAllFeeds"),e.stopVideoFeed(),e.stopAudioFeed(),t()})},startCameraFeed:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise(function(n,i){if(console.log("METHODS • CaptureView: startCameraFeed"),""===e.selected_devicesId.videoinput)return i(e.$t("notifications.video_source_not_set"));e.getCameraFeed(t).then(function(t){return console.log("METHODS • CaptureView: startCameraFeed / got camera stream"),e.videoStream!==t&&(e.videoStream=t,e.$refs.videoElement.srcObject=t,e.$refs.videoElement.volume=0,e.$nextTick(function(){(0,l.setTimeout)(function(){e.$refs.videoElement.videoWidth&&(e.actual_current_video_resolution={width:e.$refs.videoElement.videoWidth,height:e.$refs.videoElement.videoHeight})},200)})),n()}).catch(function(t){e.$alertify.error(t),i()})})},getCameraFeed:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise(function(n,i){console.log("METHODS • CaptureView: getCameraFeed");var r={video:{deviceId:e.selected_devicesId.videoinput?{exact:e.selected_devicesId.videoinput}:void 0,width:{min:640,ideal:e.ideal_camera_resolution.width,max:1920},height:{min:480,ideal:e.ideal_camera_resolution.height,max:1080}},audio:t};navigator.getUserMedia(r,function(e){n(e)},function(t){return i(e.$t("notifications.failed_to_start_video_change_source_or_res")+"<br>"+t)})})},startAudioFeed:function(){var e=this;return new Promise(function(t,n){console.log("METHODS • CaptureView: startAudioFeed"),e.getAudioFeed().then(function(n){e.audioStream=n,t(n)}).catch(function(t){e.$alertify.error(t),n()})})},getAudioFeed:function(){var e=this;return new Promise(function(t,n){console.log("METHODS • CaptureView: getAudioFeed"),""===e.selected_devicesId.audioinput&&n(e.$t("notifications.audio_source_not_set"));var i={video:!1,audio:{optional:[{sourceId:e.selected_devicesId.audioinput}]}};navigator.getUserMedia(i,function(e){return t(e)},function(t){return n(e.$t("notifications.failed_to_start_video_change_source_or_res"))})})},getStaticImageFromVideoElement:function(){var e=this;return new Promise(function(t,n){var i=document.createElement("canvas");i.width=e.$refs.videoElement.videoWidth,i.height=e.$refs.videoElement.videoHeight,i.getContext("2d").drawImage(e.$refs.videoElement,0,0,i.width,i.height);i.toBlob(function(e){return t(e)},"image/jpeg",.95)})},startRecordCameraFeed:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise(function(n,i){e.startCameraFeed(t).then(function(){var t=(0,a.default)(e.videoStream),i={recorderType:a.default.MediaStreamRecorder,type:"video",videoBitsPerSecond:4112e3};(0,l.setTimeout)(function(){return t.startRecording(i)},500),e.is_recording=!0,e.$root.settings.capture_mode_cant_be_changed=!0,e.$eventHub.$on("capture.stopRecording",function(){e.$eventHub.$off("capture.stopRecording"),t.stopRecording(function(){e.is_recording=!1;var i=t.getBlob();return t=null,n(i)})})})})},startRecordAudioFeed:function(){var e=this;return new Promise(function(t,n){if(e.audioStream){var i=(0,a.default)(e.audioStream,{type:"audio"});i.startRecording(),e.is_recording=!0,e.$root.settings.capture_mode_cant_be_changed=!0,e.$eventHub.$on("capture.stopRecording",function(){e.$eventHub.$off("capture.stopRecording"),i.stopRecording(function(){e.is_recording=!1;var n=i.getBlob();return i=null,t(n)})})}})},captureOrStop:function(){var e=this;if(this.capture_button_pressed=!0,window.setTimeout(function(){e.capture_button_pressed=!1},400),"stopmotion"===this.selected_mode&&this.timelapse_mode){if(this.is_recording)return this.is_recording=!1,void clearInterval(this.timelapse_event);this.is_recording=!0,this.timelapse_event=window.setInterval(function(){e.capture_button_pressed=!0,window.setTimeout(function(){e.capture_button_pressed=!1},400),e.addStopmotionImage()},1e3*this.timelapse_interval)}this.is_recording&&"stopmotion"!==this.selected_mode?this.$eventHub.$emit("capture.stopRecording"):"photo"===this.selected_mode?this.getStaticImageFromVideoElement().then(function(t){e.media_to_validate={rawData:t,objectURL:URL.createObjectURL(t),type:"image"}}):"video"===this.selected_mode?(this.stopVideoFeed(),this.startRecordCameraFeed(this.recordVideoWithAudio).then(function(t){e.media_to_validate={rawData:t,objectURL:URL.createObjectURL(t),type:"video"}})):"audio"===this.selected_mode?(d.clearCanvas(),this.startRecordAudioFeed().then(function(t){var n=e.$refs.equalizerElement.toDataURL("image/png");e.media_to_validate={preview:n,rawData:t,objectURL:URL.createObjectURL(t),type:"audio"}})):"stopmotion"===this.selected_mode?this.addStopmotionImage():"vecto"===this.selected_mode&&(this.media_to_validate={preview:this.vecto.svgstr,rawData:new Blob([this.vecto.svgstr],{type:"text/xml"}),type:"svg"})},addStopmotionImage:function(){var e=this,t={name:this.slugProjectName+"-"+this.$moment().format("YYYYMMDD_HHmmss"),linked_project:this.slugProjectName,authors:this.$root.settings.current_author.hasOwnProperty("name")?[{name:this.$root.settings.current_author.name}]:""};this.getStaticImageFromVideoElement().then(function(n){e.current_stopmotion?e.addImageToStopmotion(n):(e.$eventHub.$on("socketio.folder_created_or_updated",function(t){t.id===e.$root.justCreatedFolderID&&(e.$eventHub.$off("socketio.folder_created_or_updated"),e.current_stopmotion=t.slugFolderName,e.addImageToStopmotion(n))}),e.$root.createFolder({type:"stopmotions",data:t}))})},addImageToStopmotion:function(e){console.log("METHODS • CaptureView: addImageToStopmotion"),this.$root.createMedia({slugFolderName:this.current_stopmotion,type:"stopmotions",rawData:e,additionalMeta:{type:"image"}})},startVectoFeed:function(){var e=this;return new Promise(function(t,n){if(console.log("METHODS • CaptureView: startVectoFeed"),""===e.selected_devicesId.videoinput)return n(e.$t("notifications.video_source_not_set"));e.ideal_camera_resolution=e.available_camera_resolutions[0],e.startCameraFeed().then(function(){window.setTimeout(function t(){"vecto"===e.selected_mode&&e.videoStream&&(e.media_to_validate?window.setTimeout(t,1e3):e.getStaticImageFromVideoElement().then(function(n){s.default.imageToSVG(URL.createObjectURL(n),function(n){e.vecto.svgstr=n,window.setTimeout(t,1e3)},{colorsampling:!1,numberofcolors:2,colorquantcycles:1,scale:1,strokewidth:1,blurradius:e.vecto.blurradius,pal:[{r:255,g:255,b:255,a:255},{r:0,g:0,b:0,a:255}]})}))},500),t()}).catch(function(t){e.$alertify.error(t),n()})})},sendMedia:function(e){var t=this,n=e.fav,i=void 0!==n&&n;return new Promise(function(e,n){console.log("METHODS • CaptureView: sendMedia with fav="+i),"debug"===t.$root.state.dev_mode&&console.log("METHODS • CaptureView / sendMedia"),t.$root.settings.capture_mode_cant_be_changed=!1;var r=t.$moment().format("YYYYMMDD_HHmmss"),o=(Math.random().toString(36)+"00000000000000000").slice(2,5),a=t.media_to_validate.type+"-"+r+"-"+o+"."+{image:"jpeg",video:"webm",audio:"wav",svg:"svg"}[t.media_to_validate.type],s=new Date,l=t.media_to_validate.rawData,u=new FormData;u.append("files",l,a);var d={fileCreationDate:s,fav:i,authors:t.$root.settings.current_author.hasOwnProperty("name")?[{name:t.$root.settings.current_author.name}]:""};u.append(a,JSON.stringify(d));var p=t.$socketio.socket.id;void 0!==p&&u.append("socketid",p),"debug"===t.$root.state.dev_mode&&console.log("METHODS • sendThisFile: name = "+a+" / formData is ready"),t.media_is_being_sent=!0,t.media_being_sent_percent=0,c.post(t.uriToUploadMedia,u,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(e){console.log("METHODS • CaptureView: onUploadProgress for name = "+a+" / "+parseInt(Math.round(100*e.loaded/e.total))+"% "),this.media_being_sent_percent=parseInt(Math.round(100*e.loaded/e.total))}.bind(t)}).then(function(e){return e.data}).then(function(n){"debug"===t.$root.state.dev_mode&&console.log("METHODS • CaptureView: name = "+a+" / success uploading"),t.$alertify.closeLogOnClick(!0).delay(4e3).success(t.$t("notifications.media_was_sent")),t.media_is_being_sent=!1,t.media_to_validate=!1,e()}).catch(function(e){"debug"===t.$root.state.dev_mode&&console.log("METHODS • sendThisFile: name = "+a+" / failed uploading"),t.media_is_being_sent=!1,t.media_being_sent_percent=0,t.$alertify.closeLogOnClick(!0).delay(4e3).error(t.$t("notifications.media_couldnt_be_sent")),n()})})},cancelValidation:function(){this.media_to_validate=!1,this.$root.settings.capture_mode_cant_be_changed=!1},updateSingleImage:function(e){this.stopmotion.onion_skin_img=e},loadStopmotionMedias:function(e){0===Object.values(this.$root.store.stopmotions[e].medias).length&&this.$socketio.listMedias({type:"stopmotions",slugFolderName:e})},loadStopmotion:function(e){this.current_stopmotion=e}}};var d=function(){window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e,t){window.setTimeout(e,1e3/60)};var e,t,n,i,r,o,a,s="gray",l=1024,c=0,u=1280,d=720;function p(){for(var e=9999999,t=0,n=0;n<i.length;n++){var r=i[n]/256;r>t?t=r:r<e&&(e=r)}var o=d-d*e-1,l=d-d*t-1;a.fillStyle=s,a.fillRect(c,o,1,l-o),(c+=1)>=u&&(c=0,f())}function f(){if(void 0!==a){c=0,a.clearRect(0,0,u,d),a.strokeStyle="blue";var e=d/2+.5;a.moveTo(0,e),a.lineTo(u-1,e),a.stroke()}}return{start:function(s,c){a=s.getContext("2d"),window.AudioContext=window.AudioContext||window.mozAudioContext;try{e=new AudioContext}catch(e){console.log("Web Audio API is not supported in this browser")}!function(a){console.log("starting equalizer"),f(),function(a){o=e.createMediaStreamSource(a),r=a,t=e.createAnalyser(),n=e.createScriptProcessor(l,1,1),i=new Uint8Array(t.frequencyBinCount),n.onaudioprocess=function(){i=new Uint8Array(t.frequencyBinCount),t.getByteTimeDomainData(i),requestAnimFrame(p)},o.connect(t),t.connect(n),n.connect(e.destination)}(a)}(c)},stop:function(){!function(){void 0!==n&&(n.onaudioprocess=null);void 0!==r&&r.stop();void 0!==o&&o.disconnect()}()},setSarahCouleur:function(e){s=e?"red":"gray"},clearCanvas:function(){f()}}}()}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_captureview"},[n("div",{staticClass:"m_captureview--modeSelector"},[n("button",{directives:[{name:"show",rawName:"v-show",value:!e.$root.settings.capture_mode_cant_be_changed,expression:"!$root.settings.capture_mode_cant_be_changed"}],staticClass:"bg-transparent",attrs:{type:"button"},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.previousMode()},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.previousMode()}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 169 169"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"169px",height:"169px",viewBox:"0 0 169 169","xml:space":"preserve"}},[n("path",{attrs:{fill:"currentColor",d:"M60.2,84.5l48.6-24.3l0,48.6L60.2,84.5z"}})])]),e._v(" "),e._l(e.available_modes,function(t){return n("div",{key:t.key},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.selected_mode,expression:"selected_mode"}],attrs:{type:"radio",id:t.key,disabled:e.$root.settings.capture_mode_cant_be_changed},domProps:{value:t.key,checked:e._q(e.selected_mode,t.key)},on:{change:function(n){e.selected_mode=t.key}}}),e._v(" "),n("label",{attrs:{for:t.key}},[n("div",{staticClass:"picto"},[n("img",{attrs:{src:t.picto}})]),e._v(" "),n("span",[e._v(e._s(e.$t(t.key)))])])])}),e._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:!e.$root.settings.capture_mode_cant_be_changed,expression:"!$root.settings.capture_mode_cant_be_changed"}],staticClass:"bg-transparent",attrs:{type:"button"},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.nextMode()},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.nextMode()}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 169 169"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"169px",height:"169px",viewBox:"0 0 169 169","xml:space":"preserve"}},[n("path",{attrs:{fill:"currentColor",d:"M108.8,84.5l-48.6,24.3V60.2L108.8,84.5z"}})])])],2),e._v(" "),n("div",{staticClass:"m_captureview--panels",class:{stopmotion_inprogress:e.$root.store.stopmotions.hasOwnProperty(e.current_stopmotion)}},[n("div",{staticClass:"m_panel"},[n("transition",{attrs:{name:"enableMode",duration:400}},[e.mode_just_changed?n("div",{staticClass:"m_panel--modeOverlay"},[e._v("\n "+e._s(e.$t(e.selected_mode))+"\n ")]):e._e()]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.is_validating_stopmotion_video,expression:"!is_validating_stopmotion_video"}],staticClass:"m_panel--previewCard"},[n("div",{staticClass:"m_panel--previewCard--live",class:{"is--recording":e.is_recording}},[n("transition",{attrs:{name:"slideleft",duration:400}},[e.show_capture_settings&&!e.is_recording?n("div",{staticClass:"m_panel--previewCard--live--options"},[n("div",{staticClass:"margin-bottom-small"},[n("div",[n("label",[e._v("Sources")])]),e._v(" "),e._l(e.selected_devicesId,function(t,i){return n("div",{key:i},[n("span",{staticClass:"font-verysmall"},[e._v(e._s(i))]),e._v(" "),e.sorted_available_devices.hasOwnProperty(i)?n("select",{directives:[{name:"model",rawName:"v-model",value:e.selected_devicesId[i],expression:"selected_devicesId[kind]"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.selected_devicesId,i,t.target.multiple?n:n[0])}}},e._l(e.sorted_available_devices[i],function(t,i){return n("option",{key:t.deviceId,domProps:{value:t.deviceId}},[""===t.label?[e._v(e._s(e.$t("device"))+" "+e._s(i))]:[e._v(e._s(e.$t(t.label)))]],2)}),0):e._e()])})],2),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("div",[n("label",[e._v("Resolution")])]),e._v(" "),e.actual_current_video_resolution?n("div",[n("span",{staticClass:"font-verysmall"},[e._v(e._s(e.$t("current"))+" :\n "+e._s(e.actual_current_video_resolution.width)+" x\n "+e._s(e.actual_current_video_resolution.height))])]):e._e(),e._v(" "),e._l(e.available_camera_resolutions,function(t){return n("div",{key:t.name},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.ideal_camera_resolution,expression:"ideal_camera_resolution"}],attrs:{type:"radio",id:t.name},domProps:{value:t,checked:e._q(e.ideal_camera_resolution,t)},on:{change:function(n){e.ideal_camera_resolution=t}}}),e._v(" "),n("label",{attrs:{for:t.name}},[n("span",[e._v(e._s(t.name))])])])})],2),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("div",[n("label",[e._v("Accès à distance (experimental)")])]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.$root.settings.capture_options.distant_flux.active,expression:"\n $root.settings.capture_options.distant_flux.active\n "}],staticClass:"switch",attrs:{type:"checkbox",id:"distantaccessswitch"},domProps:{checked:Array.isArray(e.$root.settings.capture_options.distant_flux.active)?e._i(e.$root.settings.capture_options.distant_flux.active,null)>-1:e.$root.settings.capture_options.distant_flux.active},on:{change:function(t){var n=e.$root.settings.capture_options.distant_flux.active,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&e.$set(e.$root.settings.capture_options.distant_flux,"active",n.concat([null])):o>-1&&e.$set(e.$root.settings.capture_options.distant_flux,"active",n.slice(0,o).concat(n.slice(o+1)))}else e.$set(e.$root.settings.capture_options.distant_flux,"active",r)}}}),e._v(" "),n("label",{attrs:{for:"distantaccessswitch"}},[e._v("Activer")])])]),e._v(" "),e.$root.settings.capture_options.distant_flux.active?[n("div",{staticClass:"margin-bottom-small"},[n("span",{staticClass:"font-verysmall"},[e._v("Partager les flux sous le nom :")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.current_username,expression:"current_username"}],attrs:{type:"text"},domProps:{value:e.current_username},on:{input:function(t){t.target.composing||(e.current_username=t.target.value)}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("span",{staticClass:"font-verysmall"},[e._v("Accéder au flux qui a le nom :")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.callee_username,expression:"callee_username"}],attrs:{type:"text"},domProps:{value:e.callee_username},on:{input:function(t){t.target.composing||(e.callee_username=t.target.value)}}})])]:e._e()],2),e._v(" "),n("hr"),e._v(" "),n("button",{staticClass:"button button-bg_rounded button-outline c-rouge",attrs:{type:"button"},on:{click:e.updateSettings}},[n("span",{},[e._v(e._s(e.$t("update")))])])]):e._e()]),e._v(" "),n("transition-group",{staticClass:"recording_timer",attrs:{tag:"div",name:"slideFromTop"}},["stopmotion"!==e.selected_mode&&e.is_recording&&e.recording_duration?n("label",{key:"duration",domProps:{innerHTML:e._s(e.recording_duration)}}):e._e(),e._v(" "),"stopmotion"===e.selected_mode&&e.is_recording&&e.recording_duration?n("label",{key:"time_before",domProps:{innerHTML:e._s(e.time_before_next_picture)}}):e._e(),e._v(" "),"stopmotion"===e.selected_mode&&e.timelapse_mode?n("div",{key:"timelapse_interval",staticClass:"recording_timer--timelapse"},[n("div",[n("span",[e._v(e._s(e.$t("interval_between_pictures")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.timelapse_interval,expression:"timelapse_interval",modifiers:{number:!0}}],attrs:{type:"number"},domProps:{value:e.timelapse_interval},on:{input:function(t){t.target.composing||(e.timelapse_interval=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),n("span",[e._v(e._s(e.$t("seconds")))])])]):e._e()]),e._v(" "),n("video",{directives:[{name:"show",rawName:"v-show",value:["photo","video","stopmotion"].includes(e.selected_mode),expression:"['photo', 'video', 'stopmotion'].includes(selected_mode)"}],ref:"videoElement",attrs:{autoplay:"",playsinline:""}}),e._v(" "),"audio"===e.selected_mode?n("canvas",{ref:"equalizerElement",staticClass:"m_panel--previewCard--live--equalizer",attrs:{width:"1280",height:"720"}}):e._e(),e._v(" "),"stopmotion"===e.selected_mode&&e.stopmotion.onion_skin_img&&e.current_stopmotion?n("MediaContent",{staticClass:"m_panel--previewCard--live--onionskin",style:e.is_showing_live_feed?"--onionskin-opacity: "+e.stopmotion.onion_skin_opacity:"",attrs:{context:"edit",slugFolderName:e.current_stopmotion,media:e.stopmotion.onion_skin_img,subfolder:"_stopmotions/"}}):e._e(),e._v(" "),"vecto"===e.selected_mode?n("div",{attrs:{id:"vectoContainer"},domProps:{innerHTML:e._s(e.vecto.svgstr)}}):e._e(),e._v(" "),n("transition",{attrs:{name:"slideright",duration:400}},[e.show_stopmotion_list&&!e.is_making_stopmotion?n("div",{staticClass:"m_panel--previewCard--live--stopmotionlist"},[n("div",{staticClass:"margin-bottom-small"},[Object.keys(e.stopmotions).length>0?[n("ul",e._l(e.stopmotions,function(t){return n("li",{key:t.slugFolderName},[n("button",{attrs:{type:"button"},on:{mouseenter:function(n){return e.loadStopmotionMedias(t.slugFolderName)},click:function(n){return e.loadStopmotion(t.slugFolderName)}}},[n("div",{staticClass:"padding-verysmall"},[e._v("\n "+e._s(t.date_created)+"\n ")]),e._v(" "),Object.values(t.medias).length>0?[n("div",{staticClass:"padding-bottom-verysmall"},[e._v("\n "+e._s(Object.values(t.medias).length)+"\n photos\n ")]),e._v(" "),n("div",{staticClass:"pictures_list"},e._l(Object.values(t.medias),function(e){return n("div",{key:e.slugMediaName},[n("MediaContent",{attrs:{context:"preview",slugFolderName:t.slugFolderName,media:e,subfolder:"_stopmotions/",preview_size:150}})],1)}),0)]:e._e()],2)])}),0)]:[e._v(e._s(e.$t("no_stopmotion_created_yet")))]],2)]):e._e()])],1),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:150}},[e.media_to_validate?n("div",{staticClass:"m_panel--previewCard--validate"},["image"===e.media_to_validate.type?n("img",{attrs:{src:e.media_to_validate.objectURL}}):"video"===e.media_to_validate.type?n("vue-plyr",{attrs:{options:e.plyr_options}},[n("video",{attrs:{poster:e.linkToVideoThumb,src:e.media_to_validate.objectURL,preload:"none"}})]):"audio"===e.media_to_validate.type?n("div",{staticClass:"m_panel--previewCard--validate--audio"},[n("img",{attrs:{src:e.media_to_validate.preview}}),e._v(" "),n("vue-plyr",{attrs:{options:e.plyr_options}},[n("audio",{attrs:{src:e.media_to_validate.objectURL,preload:"none"}})])],1):"svg"===e.media_to_validate.type?n("div",{staticClass:"m_panel--previewCard--validate--svg",domProps:{innerHTML:e._s(e.media_to_validate.preview)}}):e._e()],1):e._e()]),e._v(" "),n("transition",{attrs:{name:"mediaCapture",duration:300}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.capture_button_pressed,expression:"capture_button_pressed"}],staticClass:"m_panel--previewCard--captureOverlay"})])],1),e._v(" "),e.$root.store.stopmotions.hasOwnProperty(e.current_stopmotion)?n("StopmotionPanel",{attrs:{stopmotiondata:e.$root.store.stopmotions[e.current_stopmotion],slugProjectName:e.slugProjectName,read_only:e.read_only,videoStream:e.videoStream},on:{close:function(t){e.current_stopmotion=!1},new_single_image:e.updateSingleImage,show_live_feed:function(t){e.is_showing_live_feed=t},validating_video:function(t){e.is_validating_stopmotion_video=t}}}):e._e(),e._v(" "),n("div",{staticClass:"m_panel--buttons"},[n("div",{staticClass:"m_panel--buttons--row",class:{"bg-orange":e.is_recording}},[n("button",{staticClass:"button c-rouge font-small bg-transparent",attrs:{type:"button",disabled:e.is_recording||e.is_making_stopmotion},on:{click:function(t){e.show_capture_settings=!e.show_capture_settings}}},[n("svg",{staticClass:"inline-svg inline-svg_larger",attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 140 140","xml:space":"preserve"}},[n("path",{staticStyle:{fill:"currentColor"},attrs:{d:"M122.7,88.8v-10c0-1.1,0.6-2.1,1.6-2.6l9.6-4.9l-2-5.8l-11,1.6c-1.1,0.2-2.2-0.3-2.9-1.2l-6-8.1\n c-0.7-0.9-0.8-2.1-0.3-3l4.8-9.6l-5.2-3.6l-7.7,7.5c-0.8,0.8-2,1-3.1,0.7l-9.9-3c-1.1-0.3-1.9-1.3-2.1-2.4L86.8,34h-6.4l-1.7,10.4\n c-0.2,1.1-0.9,2-2,2.4L66.8,50c-1.1,0.3-2.2,0.1-3.1-0.7L55.9,42l-5.1,3.7l4.9,9.4c0.5,1,0.4,2.1-0.2,3l-6,8.2\n c-0.6,0.9-1.8,1.4-2.9,1.2L35.8,66L34,71.8l9.7,4.8c1,0.5,1.7,1.5,1.7,2.6v10c0,1.1-0.6,2.1-1.6,2.6l-9.6,4.9l2,5.9l10.9-1.6\n c1.1-0.2,2.2,0.3,2.9,1.2l6,8.1c0.7,0.9,0.8,2.1,0.3,3l-4.8,9.6l5.1,3.6l7.7-7.5c0.8-0.8,2-1,3.1-0.7l9.9,3\n c1.1,0.3,1.9,1.3,2.1,2.4l1.9,10.4h6.4l1.7-10.4c0.2-1.1,0.9-2,2-2.4l9.9-3.2c1.1-0.3,2.2-0.1,3.1,0.7l7.8,7.3l5.1-3.7l-4.9-9.4\n c-0.5-1-0.4-2.1,0.2-3l6-8.1c0.7-0.9,1.8-1.4,2.9-1.2l10.8,1.5l1.8-5.9l-9.7-4.8C123.3,90.9,122.7,89.9,122.7,88.8z M84,104.5\n c-11.7,0-21.1-9.2-21.1-20.5c0-11.3,9.5-20.5,21.1-20.5s21.1,9.2,21.1,20.5C105.1,95.3,95.7,104.5,84,104.5z"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("settings")))])]),e._v(" "),n("div",{staticClass:"m_panel--buttons--row--captureButton"},[n("button",{staticClass:"padding-verysmall bg-transparent m_panel--buttons--row--captureButton--btn",class:{"is--justCaptured":e.capture_button_pressed},attrs:{type:"button"},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.captureOrStop()},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.captureOrStop()}}},[e.is_recording?n("img",{attrs:{src:"/images/i_stop.svg"}}):n("img",{attrs:{src:"/images/i_record.svg"}})]),e._v(" "),"stopmotion"===e.selected_mode?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0]\n }"}],staticClass:"m_panel--buttons--row--captureButton--advancedOptions",class:{"is--active":e.timelapse_mode},attrs:{type:"button",content:e.$t("timelapse")},on:{click:function(t){e.timelapse_mode=!e.timelapse_mode}}},[n("svg",{staticClass:"inline-svg margin-right-verysmall",staticStyle:{"enable-background":"new 0 0 81 81"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"81px",height:"81px",viewBox:"0 0 81 81","xml:space":"preserve"}},[n("path",{staticClass:"st1",attrs:{d:"M69.6,20.8c-0.9,0.6-1.7,1.1-2.6,1.7c-6-8.8-15.9-14-26.5-14c-17.6,0-32,14.4-32,32s14.4,32,32,32\n c3.1,0,6.2-0.4,9.1-1.3l-1.7-5.8c-2.4,0.7-4.9,1.1-7.4,1.1c-14.3,0-26-11.7-26-26s11.7-26,26-26c8.6,0,16.6,4.2,21.5,11.4\n c-0.8,0.5-1.6,1.1-2.4,1.6c-0.7,0.4-0.9,1.1-0.8,1.7c0,0.7,0.4,1.4,1.2,1.6c0.2,0.1,0.3,0.1,0.5,0.1c2.7,0.5,5.3,1.1,8,1.6\n c1,0.2,2-0.4,2.3-1.4c0.6-2.8,1.1-5.5,1.7-8.3C72.8,21.3,71,19.9,69.6,20.8z"}}),e._v(" "),n("path",{staticClass:"st1",attrs:{d:"M23,49.4c-1.3,0-2.4-0.8-2.9-2.1c-0.5-1.6,0.4-3.3,1.9-3.8L39,38.3V27.2c0-1.7,1.3-3,3-3s3,1.3,3,3v13.3\n c0,1.3-0.8,2.5-2.1,2.9l-19,5.9C23.6,49.4,23.3,49.4,23,49.4z"}})])]):e._e()]),e._v(" "),n("div",{staticClass:"m_panel--buttons--row--options"},["vecto"===e.selected_mode?n("div",[n("label",[e._v(e._s(e.$t("smoothing")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.vecto.blurradius,expression:"vecto.blurradius"}],staticClass:"margin-none",attrs:{type:"range",min:"0",max:"20"},domProps:{value:e.vecto.blurradius},on:{__r:function(t){return e.$set(e.vecto,"blurradius",t.target.value)}}})]):e._e(),e._v(" "),"stopmotion"===e.selected_mode&&e.stopmotion.onion_skin_img&&e.is_showing_live_feed?n("div",[n("label",[e._v(e._s(e.$t("onion_skin")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.stopmotion.onion_skin_opacity,expression:"stopmotion.onion_skin_opacity"}],staticClass:"margin-none",attrs:{type:"range",min:"0",max:".9",step:"0.01"},domProps:{value:e.stopmotion.onion_skin_opacity},on:{__r:function(t){return e.$set(e.stopmotion,"onion_skin_opacity",t.target.value)}}})]):e._e(),e._v(" "),"stopmotion"!==e.selected_mode||e.is_making_stopmotion?e._e():n("button",{staticClass:"button c-bleumarine font-small bg-transparent",attrs:{type:"button"},on:{click:function(t){e.show_stopmotion_list=!e.show_stopmotion_list}}},[n("span",{},[e._v(e._s(e.$t("stopmotion_list")))])]),e._v(" "),"video"===e.selected_mode?n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.recordVideoWithAudio,expression:"recordVideoWithAudio"}],staticClass:"switch",attrs:{id:"recordVideoWithAudio",type:"checkbox",disabled:e.is_recording},domProps:{checked:Array.isArray(e.recordVideoWithAudio)?e._i(e.recordVideoWithAudio,null)>-1:e.recordVideoWithAudio},on:{change:function(t){var n=e.recordVideoWithAudio,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&(e.recordVideoWithAudio=n.concat([null])):o>-1&&(e.recordVideoWithAudio=n.slice(0,o).concat(n.slice(o+1)))}else e.recordVideoWithAudio=r}}}),e._v(" "),n("label",{attrs:{for:"recordVideoWithAudio"}},[e._v(e._s(e.$t("with_sound")))])]):e._e()])]),e._v(" "),n("transition",{attrs:{name:"slideup",duration:400}},[e.media_to_validate?n("MediaValidationButtons",{attrs:{read_only:e.read_only,media_is_being_sent:e.media_is_being_sent,media_being_sent_percent:e.media_being_sent_percent},on:{cancel:function(t){return e.cancelValidation()},save:function(t){return e.sendMedia({})},save_and_fav:function(t){return e.sendMedia({fav:!0})}}}):e._e()],1)],1)],1)]),e._v(" "),e.$root.settings.capture_options.distant_flux.active?n("DistantFlux",{key:e.$root.settings.capture_options.distant_flux.username,on:{changeStreamTo:function(t){e.changeStreamTo(t)}}}):e._e()],1)},i.staticRenderFns=[]},{"./components/subcomponents/DistantFlux.vue":218,"./components/subcomponents/MediaContent.vue":223,"./components/subcomponents/MediaValidationButtons.vue":226,"./components/subcomponents/StopmotionPanel.vue":229,axios:6,imagetracerjs:70,recordrtc:97,timers:148,"webrtc-adapter":162}],177:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t="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},i=c(e("./components/BottomFooter.vue")),r=c(e("./components/Project.vue")),o=c(e("./components/modals/CreateProject.vue")),a=c(e("./components/subcomponents/MediaCard.vue")),s=c(e("./components/subcomponents/TagsAndAuthorFilters.vue")),l=e("timers");c(e("debounce"));function c(e){return e&&e.__esModule?e:{default:e}}n.default={props:{presentationMD:Object,read_only:Boolean,projects:Object},components:{CreateProject:o.default,Project:r.default,BottomFooter:i.default,MediaCard:a.default,TagsAndAuthorFilters:s.default},data:function(){return{showCreateProjectModal:!1,currentLang:this.$root.lang.current,show_medias_instead_of_projects:!1,is_loading_all_medias:!1,currentSort:{field:"date_created",type:"date",order:"descending"},show_filters:!1,show_search:!1,debounce_search_project_name:"",debounce_search_project_name_function:void 0}},mounted:function(){(this.$root.settings.project_filter.keyword||this.$root.settings.project_filter.author)&&(this.show_filters=!0),this.$eventHub.$on("modal.prev_media",this.prevMedia),this.$eventHub.$on("modal.next_media",this.nextMedia)},beforeDestroy:function(){this.$eventHub.$off("modal.prev_media",this.prevMedia),this.$eventHub.$off("modal.next_media",this.nextMedia)},watch:{currentLang:function(){this.$root.updateLocalLang(this.currentLang)},show_medias_instead_of_projects:function(){var e=this;this.show_medias_instead_of_projects&&(this.$root.loadAllProjectsMedias(),this.is_loading_all_medias=!0,this.$eventHub.$once("socketio.has_finished_loading_all_medias",function(){e.is_loading_all_medias=!1}))},show_filters:function(){this.show_filters||(this.$root.settings.project_filter.keyword="",this.$root.settings.project_filter.author="",this.$root.settings.project_filter.name="",this.debounce_search_project_name="",this.$root.settings.media_filter.keyword="",this.$root.settings.media_filter.author="",this.$root.settings.media_filter.fav=!1,this.$root.settings.media_filter.type=!1)},debounce_search_project_name:function(){var e=this;this.debounce_tweet_filter_function&&clearTimeout(this.debounce_tweet_filter_function),this.debounce_tweet_filter_function=(0,l.setTimeout)(function(){e.$root.settings.project_filter.name=e.debounce_search_project_name},340)}},computed:{projectsKeywords:function(){return this.$root.getAllKeywordsFrom(this.projects)},projectsAuthors:function(){return this.$root.getAllAuthorsFrom(this.projects)},mediasKeywords:function(){return this.$root.getAllKeywordsFrom(this.filteredMedias)},mediasAuthors:function(){return this.$root.getAllAuthorsFrom(this.filteredMedias)},mediaTypes:function(){return this.$root.getAllTypesFrom(this.filteredMedias)},sortedProjectsSlug:function(){var e=this,n=[];if(!this.projects||0===this.projects.length)return[];for(var i in this.projects){var r=void 0;"date"===this.currentSort.type?r=+this.$moment(this.projects[i][this.currentSort.field],"YYYY-MM-DD HH:mm:ss"):"alph"===this.currentSort.type&&(r=this.projects[i][this.currentSort.field]),(""===this.$root.settings.project_filter.name||this.projects[i].name.toLowerCase().includes(this.$root.settings.project_filter.name.toLowerCase()))&&(this.$root.settings.project_filter.keyword||this.$root.settings.project_filter.author?this.$root.settings.project_filter.keyword&&this.$root.settings.project_filter.author?this.projects[i].hasOwnProperty("keywords")&&"object"===t(this.projects[i].keywords)&&this.projects[i].keywords.filter(function(t){return t.title===e.$root.settings.project_filter.keyword}).length>0&&this.projects[i].hasOwnProperty("authors")&&"object"===t(this.projects[i].authors)&&this.projects[i].authors.filter(function(t){return t.name===e.$root.settings.project_filter.author}).length>0&&n.push({slugProjectName:i,orderBy:r}):this.$root.settings.project_filter.keyword?this.projects[i].hasOwnProperty("keywords")&&"object"===t(this.projects[i].keywords)&&this.projects[i].keywords.filter(function(t){return t.title===e.$root.settings.project_filter.keyword}).length>0&&n.push({slugProjectName:i,orderBy:r}):this.$root.settings.project_filter.author&&this.projects[i].hasOwnProperty("authors")&&"object"===t(this.projects[i].authors)&&this.projects[i].authors.filter(function(t){return t.name===e.$root.settings.project_filter.author}).length>0&&n.push({slugProjectName:i,orderBy:r}):n.push({slugProjectName:i,orderBy:r}))}0===n.length&&this.$nextTick(function(){});var o=n.sort(function(e,t){var n=e.orderBy,i=t.orderBy;return"string"==typeof e.orderBy&&"string"==typeof t.orderBy&&(n=n.toLowerCase(),i=i.toLowerCase()),n<i?-1:n>i?1:0});return"descending"===this.currentSort.order&&o.reverse(),o},presentationText:function(){return this.presentationMD.hasOwnProperty(this.currentLang)?this.presentationMD[this.currentLang]:this.presentationMD.hasOwnProperty("content")?this.presentationMD.content:this.presentationMD},allMedias:function(){var e=this,t=[];return void 0===this.projects||0===Object.keys(this.projects).length?[]:(Object.keys(this.projects).map(function(n){var i=e.projects[n];if(i.hasOwnProperty("medias")){var r=i.medias;Object.keys(r).map(function(e){var i=JSON.parse(JSON.stringify(r[e]));i.slugProjectName=n,t.push(i)})}}),t)},filteredMedias:function(){var e=this;return this.allMedias.filter(function(t){return e.$root.filterMedia(t)})},sortedMedias:function(){var e=this.$_.sortBy(this.filteredMedias,"date_created");return e.reverse()},groupedMedias:function(){var e=this,t=this.$_.groupBy(this.sortedMedias,function(t){var n=void 0;if(t.hasOwnProperty("date_created")&&t.date_created)n=t.date_created;else{if(!t.hasOwnProperty("date_uploaded")||!t.date_uploaded)return e.$t("invalid_date");n=t.date_uploaded}return e.$moment(n).format("YYYY-MM-DD")});return t=this.$_.pairs(t),t=(t=this.$_.sortBy(t)).reverse()}},methods:{setSort:function(e){this.currentSort=e},urlToPortrait:function(e,t){return void 0===t?"":"/"+this.$root.state.authorsFolder+"/"+e+"/"+t},prevMedia:function(){this.mediaNav(-1)},nextMedia:function(){this.mediaNav(1)},mediaNav:function(e){var t=this;if("ListView"===this.$root.do_navigation.view){var n=this.sortedMedias.findIndex(function(e){return e.metaFileName===t.$root.media_modal.current_metaFileName}),i=this.sortedMedias[n+e];this.$root.closeMedia(),i&&this.$nextTick(function(){t.$root.openMedia({slugProjectName:i.slugProjectName,metaFileName:i.metaFileName})})}}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_listview"},[n("main",{staticClass:"m_projects main_scroll_panel"},[n("div",{staticClass:"m_actionbar"},[n("div",{staticClass:"m_actionbar--buttonBar"},[n("button",{key:"createButton",staticClass:"barButton barButton_createProject",attrs:{disabled:e.read_only},on:{click:function(t){e.showCreateProjectModal=!0}}},[n("span",[e._v(e._s(e.$t("create_a_project")))])]),e._v(" "),e.showCreateProjectModal?n("CreateProject",{attrs:{read_only:e.read_only},on:{close:function(t){e.showCreateProjectModal=!1}}}):e._e()],1),e._v(" "),n("div",{staticClass:"m_actionbar--text"},[n("div",{staticClass:"switch switch-xs switch_twoway"},[n("label",{staticClass:"cursor-pointer",attrs:{for:"media_switch"}},[n("span",{},[e._v(e._s(e.$t("projects")))])]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.show_medias_instead_of_projects,expression:"show_medias_instead_of_projects"}],attrs:{type:"checkbox",id:"media_switch"},domProps:{checked:Array.isArray(e.show_medias_instead_of_projects)?e._i(e.show_medias_instead_of_projects,null)>-1:e.show_medias_instead_of_projects},on:{change:function(t){var n=e.show_medias_instead_of_projects,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&(e.show_medias_instead_of_projects=n.concat([null])):o>-1&&(e.show_medias_instead_of_projects=n.slice(0,o).concat(n.slice(o+1)))}else e.show_medias_instead_of_projects=r}}}),e._v(" "),n("label",{attrs:{for:"media_switch"}},[n("span",{},[e._v(e._s(e.$t("medias")))])])]),e._v(" "),n("div",[Object.keys(e.projects).length>0?[e.show_medias_instead_of_projects?[e._v("\n "+e._s(e.$t("showing"))+"\n "),n("span",{class:{"c-rouge":Object.keys(e.sortedMedias).length!==Object.keys(e.allMedias).length}},[e._v("\n "+e._s(Object.keys(e.sortedMedias).length)+"\n "+e._s(e.$t("medias_of"))+"\n "+e._s(Object.keys(e.allMedias).length)+"\n ")]),e._v(" "),e.$root.allKeywords.length>0||e.$root.allAuthors.length>0?[e._v("\n —\n "),n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_filters},attrs:{type:"button"},on:{click:function(t){e.show_filters=!e.show_filters}}},[e._v(e._s(e.$t("filters")))])]:e._e(),e._v(" "),e.show_filters?n("TagsAndAuthorFilters",{attrs:{allKeywords:e.mediasKeywords,allAuthors:e.mediasAuthors,allTypes:e.mediaTypes,keywordFilter:e.$root.settings.media_filter.keyword,authorFilter:e.$root.settings.media_filter.author,favFilter:e.$root.settings.media_filter.fav},on:{setKeywordFilter:function(t){return e.$root.setMediaKeywordFilter(t)},setAuthorFilter:function(t){return e.$root.setMediaAuthorFilter(t)},setFavFilter:function(t){return e.$root.setFavAuthorFilter(t)},setTypeFilter:function(t){return e.$root.setTypeFilter(t)}}}):e._e()]:[n("div",[e._v("\n "+e._s(e.$t("showing"))+"\n "),n("span",{class:{"c-rouge":Object.keys(e.sortedProjectsSlug).length!==Object.keys(e.projects).length}},[e._v("\n "+e._s(e.sortedProjectsSlug.length)+"\n "+e._s(e.$t("projects_of"))+"\n "+e._s(Object.keys(e.projects).length)+"\n ")]),e._v(" "),e.$root.allKeywords.length>0||e.$root.allAuthors.length>0?[e._v("\n —\n "),n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_filters},attrs:{type:"button"},on:{click:function(t){e.show_filters=!e.show_filters}}},[e._v(e._s(e.$t("filters")))])]:e._e(),e._v(" "),e.show_filters?n("TagsAndAuthorFilters",{attrs:{allKeywords:e.projectsKeywords,allAuthors:e.projectsAuthors,keywordFilter:e.$root.settings.project_filter.keyword,authorFilter:e.$root.settings.project_filter.author},on:{setKeywordFilter:function(t){return e.$root.setProjectKeywordFilter(t)},setAuthorFilter:function(t){return e.$root.setProjectAuthorFilter(t)}}}):e._e()],2),e._v(" "),n("div",{staticClass:"m_searchProject"},[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_search||e.$root.settings.project_filter.name.length>0},attrs:{type:"button"},on:{click:function(t){e.show_search=!e.show_search}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"margin-bottom":"-2px"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"96.2px",height:"96.2px",viewBox:"0 0 96.2 96.2","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{fill:"currentColor",d:"M10.3,59.9c11.7,11.7,29.5,13.4,43,5.2l9.7,9.7l21.3,21.3l11.9-11.9L74.9,63l-9.7-9.7c8.2-13.5,6.4-31.3-5.2-43\n\tC46.2-3.4,24-3.4,10.3,10.3C-3.4,24-3.4,46.2,10.3,59.9z M50.8,19.5c8.6,8.6,8.6,22.6,0,31.3c-8.6,8.6-22.6,8.6-31.3,0\n\tc-8.6-8.6-8.6-22.6,0-31.3C28.1,10.8,42.1,10.8,50.8,19.5z"}})]),e._v("\n "+e._s(e.$t("search"))+"\n ")]),e._v(" "),e.show_search||e.debounce_search_project_name.length>0?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("project_name_to_find")))]),e._v(" "),n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.debounce_search_project_name,expression:"debounce_search_project_name"}],staticClass:"input-sm",attrs:{type:"text"},domProps:{value:e.debounce_search_project_name},on:{input:function(t){t.target.composing||(e.debounce_search_project_name=t.target.value)}}}),e._v(" "),e.debounce_search_project_name.length>0?n("span",{staticClass:"input-addon"},[n("button",{attrs:{type:"button",disabled:0===e.debounce_search_project_name.length},on:{click:function(t){e.debounce_search_project_name=""}}},[e._v("×")])]):e._e()])]):e._e()])]]:[e._v(e._s(e.$t("no_projects_yet")))]],2)])]),e._v(" "),e.show_medias_instead_of_projects?e.show_medias_instead_of_projects&&!e.is_loading_all_medias?n("transition-group",{staticClass:"m_allmedias--list mini_scroll_panel",attrs:{name:"list-complete"}},e._l(e.groupedMedias,function(t){return n("div",{key:t[0]},[n("h3",{staticClass:"font-folder_title margin-sides-small margin-none margin-bottom-small"},[e._v(e._s(e.$root.formatDateToHuman(t[0])))]),e._v(" "),n("div",{staticClass:"m_mediaShowAll"},e._l(t[1],function(e){return n("div",{key:e.slugMediaName},[n("MediaCard",{key:e.slugMediaName,attrs:{media:e,metaFileName:e.metaFileName,slugProjectName:e.slugProjectName,preview_size:180}})],1)}),0)])}),0):e._e():n("transition-group",{staticClass:"m_projects--list",attrs:{name:"list-complete",duration:800}},e._l(e.sortedProjectsSlug,function(t,i){return n("Project",{key:t.slugProjectName,attrs:{slugProjectName:t.slugProjectName,project:e.projects[t.slugProjectName],read_only:e.read_only,index:i}})}),1)],1)])},i.staticRenderFns=[]},{"./components/BottomFooter.vue":183,"./components/Project.vue":186,"./components/modals/CreateProject.vue":189,"./components/subcomponents/MediaCard.vue":221,"./components/subcomponents/TagsAndAuthorFilters.vue":230,debounce:41,timers:148}],178:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("./components/Project.vue"),r=(t=i)&&t.__esModule?t:{default:t};n.default={props:{slugProjectName:String,project:Object,read_only:Boolean},components:{Project:r.default},data:function(){return{}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"m_projectview"},[t("Project",{attrs:{slugProjectName:this.slugProjectName,project:this.project,read_only:this.read_only,context:"full"}})],1)},i.staticRenderFns=[]},{"./components/Project.vue":186}],179:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("./components/modals/CreatePublication.vue"),r=(t=i)&&t.__esModule?t:{default:t};n.default={props:["publications","read_only"],components:{CreatePublication:r.default},data:function(){return{showCreatePublicationModal:!1,createPubliTemplateKey:!1,recipes:[{key:"page_by_page",summary:"page_by_page_summary",show_instructions:!1,instructions:"page_by_page_instructions",show_all_recipes:!1,icon:'\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 201 201">\n <title>recipe_icon_page</title>\n <g id="Calque_6" data-name="Calque 6">\n <g>\n <rect x="35.68" y="8.83" width="129.64" height="183.35" style="fill: #fff"/>\n <rect x="46.15" y="31.82" width="39.07" height="27.55" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.0944702326735385px"/>\n <rect x="118.95" y="68.62" width="35.9" height="53.44" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.9170289512680598px"/>\n <rect x="46.15" y="68.62" width="63.37" height="53.44" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.161211202864444px"/>\n <rect x="73.36" y="136.54" width="54.27" height="4.99" style="fill: #353535"/>\n <rect x="73.36" y="153.02" width="54.27" height="4.99" style="fill: #353535"/>\n <rect x="73.36" y="144.78" width="54.27" height="4.99" style="fill: #353535"/>\n <rect x="73.36" y="161.26" width="54.27" height="4.99" style="fill: #353535"/>\n <line x1="46.15" y1="22.57" x2="154.85" y2="22.57" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.8953584524134504px"/>\n </g>\n </g>\n</svg>\n '},{key:"video_assemblage",summary:"video_assemblage_summary",show_instructions:!1,instructions:"video_assemblage_instructions",show_all_recipes:!1,icon:'\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 201 201">\n <title>recipe_icon_montage</title>\n <g id="Calque_6" data-name="Calque 6">\n <g>\n <g>\n <rect x="68.73" y="12.93" width="63.54" height="72" style="fill: #fff"/>\n <rect x="73.23" y="17.52" width="53.94" height="43.04" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.161211202864444px"/>\n <rect x="72.36" y="66.15" width="31.66" height="4.99" style="fill: #353535"/>\n <rect x="72.36" y="73.43" width="23.67" height="4.99" style="fill: #353535"/>\n <path d="M94.24,47.59c-.7.45-1.28.14-1.28-.69V31.19c0-.83.58-1.14,1.28-.69l11.92,7.72a.91.91,0,0,1,0,1.65Z" style="fill: #353535"/>\n </g>\n <g>\n <rect x="68.73" y="114.16" width="63.54" height="72" style="fill: #fff"/>\n <rect x="73.23" y="118.76" width="53.94" height="43.04" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.161211202864444px"/>\n <rect x="72.36" y="167.38" width="31.66" height="4.99" style="fill: #353535"/>\n <rect x="72.36" y="174.66" width="23.67" height="4.99" style="fill: #353535"/>\n <path d="M94.24,148.82c-.7.46-1.28.14-1.28-.69v-15.7c0-.84.58-1.15,1.28-.7l11.92,7.72a.91.91,0,0,1,0,1.65Z" style="fill: #353535"/>\n </g>\n <path d="M101.87,98.27h4.24v2.54h-4.24v4.33H99.11v-4.33H94.89V98.27h4.22V94h2.76Z" style="fill: #fff"/>\n </g>\n </g>\n</svg>\n '},{key:"stopmotion_animation",summary:"stopmotion_animation_summary",show_instructions:!1,instructions:"stopmotion_animation_instructions",show_all_recipes:!1,icon:'\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 201 201">\n <title>recipe_icon_stopmotion</title>\n <g id="Calque_6" data-name="Calque 6">\n <g>\n <g>\n <g>\n <g>\n <rect x="25.5" y="9.92" width="50" height="46.04" style="fill: #fff"/>\n <rect x="29.04" y="13.24" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(46.15 33.42)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">1</text>\n </g>\n <g>\n <g>\n <rect x="75.5" y="9.92" width="50" height="46.04" style="fill: #fff"/>\n <rect x="79.04" y="13.24" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(96.15 33.42)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">2</text>\n </g>\n <g>\n <g>\n <rect x="125.5" y="9.92" width="50" height="46.04" style="fill: #fff"/>\n <rect x="129.04" y="13.24" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(146.15 33.42)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">3</text>\n </g>\n </g>\n <g>\n <g>\n <g>\n <rect x="25.5" y="77.48" width="50" height="46.04" style="fill: #fff"/>\n <rect x="29.04" y="80.81" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(46.15 100.99)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">5</text>\n </g>\n <g>\n <g>\n <rect x="75.5" y="77.48" width="50" height="46.04" style="fill: #fff"/>\n <rect x="79.04" y="80.81" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(96.15 100.99)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">6</text>\n </g>\n <g>\n <g>\n <rect x="125.5" y="77.48" width="50" height="46.04" style="fill: #fff"/>\n <rect x="129.04" y="80.81" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(146.15 100.99)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">7</text>\n </g>\n </g>\n <g>\n <g>\n <g>\n <rect x="25.5" y="145.05" width="50" height="46.04" style="fill: #fff"/>\n <rect x="29.04" y="148.38" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(46.15 168.55)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">9</text>\n </g>\n <g>\n <g>\n <rect x="75.5" y="145.05" width="50" height="46.04" style="fill: #fff"/>\n <rect x="79.04" y="148.38" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(91.81 168.55)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">10</text>\n </g>\n </g>\n </g>\n </g>\n</svg>\n '},{key:"mix_audio_and_video",summary:"mix_audio_and_video_summary",show_instructions:!1,instructions:"mix_audio_and_video_instructions",show_all_recipes:!1,icon:'\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 201 201">\n <title>recipe_icon_video_sound</title>\n <g id="Calque_6" data-name="Calque 6">\n <g>\n <g>\n <rect x="68.88" y="30.28" width="63.54" height="72" style="fill: #fff"/>\n <rect x="73.38" y="34.87" width="53.94" height="43.04" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.161211202864444px"/>\n <rect x="72.52" y="83.5" width="31.66" height="4.99" style="fill: #353535"/>\n <rect x="72.52" y="90.78" width="23.67" height="4.99" style="fill: #353535"/>\n <path d="M94.39,64.94c-.7.45-1.28.14-1.28-.69V48.54c0-.83.58-1.14,1.28-.69l11.92,7.72a.91.91,0,0,1,0,1.65Z" style="fill: #353535"/>\n </g>\n <g>\n <rect x="68.58" y="134.72" width="63.54" height="36" style="fill: #fff"/>\n <rect x="72.21" y="153.34" width="31.66" height="4.99" style="fill: #353535"/>\n <rect x="72.21" y="160.62" width="23.67" height="4.99" style="fill: #353535"/>\n <g>\n <line x1="73.38" y1="143.52" x2="127.32" y2="143.52" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.161211202864444px"/>\n <g>\n <path d="M94.69,151c-.28.18-.51.06-.51-.28V137c0-.34.23-.46.51-.28l10.56,6.84a.36.36,0,0,1,0,.66Z" style="fill: #353535"/>\n <path d="M94.69,151c-.28.18-.51.06-.51-.28V137c0-.34.23-.46.51-.28l10.56,6.84a.36.36,0,0,1,0,.66Z" style="fill: none;stroke: #fff;stroke-miterlimit: 10;stroke-width: 2px"/>\n </g>\n <circle cx="74.38" cy="143.52" r="2.58" style="fill: #353535"/>\n <circle cx="126.32" cy="143.52" r="2.58" style="fill: #353535"/>\n </g>\n </g>\n <path d="M102,117.63h4.24v2.54H102v4.32H99.27v-4.32H95v-2.54h4.23V113.3H102Z" style="fill: #fff"/>\n </g>\n </g>\n</svg>\n '},{key:"mix_audio_and_image",summary:"mix_audio_and_image_summary",show_instructions:!1,instructions:"mix_audio_and_image_instructions",show_all_recipes:!1,icon:'\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 201 201">\n <title>recipe_icon_image_sound</title>\n <g id="Calque_6" data-name="Calque 6">\n <g>\n <g>\n <rect x="68.88" y="30.28" width="63.54" height="62" style="fill: #fff"/>\n <rect x="73.38" y="34.87" width="53.94" height="43.04" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.16121120286444px"/>\n </g>\n <g>\n <rect x="68.58" y="124.72" width="63.54" height="36" style="fill: #fff"/>\n <rect x="72.21" y="143.34" width="31.66" height="4.99" style="fill: #353535"/>\n <rect x="72.21" y="150.62" width="23.67" height="4.99" style="fill: #353535"/>\n <g>\n <line x1="73.38" y1="133.52" x2="127.32" y2="133.52" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.16121120286444px"/>\n <g>\n <path d="M94.69,141c-.28.18-.51.06-.51-.28V127c0-.34.23-.46.51-.28l10.56,6.84a.36.36,0,0,1,0,.66Z" style="fill: #353535"/>\n <path d="M94.69,141c-.28.18-.51.06-.51-.28V127c0-.34.23-.46.51-.28l10.56,6.84a.36.36,0,0,1,0,.66Z" style="fill: none;stroke: #fff;stroke-miterlimit: 10;stroke-width: 2px"/>\n </g>\n <circle cx="74.38" cy="133.52" r="2.58" style="fill: #353535"/>\n <circle cx="126.32" cy="133.52" r="2.58" style="fill: #353535"/>\n </g>\n </g>\n <path d="M102,107.63h4.24v2.54H102v4.32H99.27v-4.32H95v-2.54h4.23V103.3H102Z" style="fill: #fff"/>\n </g>\n </g>\n</svg> \n '},{key:"carreau",summary:"carreau_summary",show_instructions:!1,instructions:"carreau_instructions",show_all_recipes:!1,icon:"\n\n "}]}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{createPubliDefaultName:function(){var e=this.all_recipes_of_this_template(this.createPubliTemplateKey).length+1;return this.$t(this.createPubliTemplateKey)+" Nº"+e}},methods:{openPublication:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publications: openPublication / slugPubliName = "+e),this.$root.openPublication(e)},all_recipes_of_this_template:function(e){var t=Object.values(this.publications).filter(function(t){return t.template===e}),n=this.$_.sortBy(t,"date_created");return n=n.reverse()},recipe_of_this_template:function(e){return this.recipes.find(function(t){return t.key===e}).show_all_recipes?this.all_recipes_of_this_template(e):this.all_recipes_of_this_template(e).slice(0,3)},openCreatePublicationModal:function(e){this.showCreatePublicationModal=!0,this.createPubliTemplateKey=e},createAndOpenPublication:function(e){var t=this,n={name:this.$t("untitled"),slugFolderName:e,template:e,authors:this.$root.settings.current_author.hasOwnProperty("name")?[{name:this.$root.settings.current_author.name}]:[]};"page_by_page"===e&&(n.pages=[{id:+new Date+"_"+(Math.random().toString(36)+"00000000000000000").slice(2,3)}],n.width=210,n.height=297),this.$eventHub.$on("socketio.folder_created_or_updated",function(e){e.id===t.$root.justCreatedFolderID&&(t.$eventHub.$off("socketio.folder_created_or_updated"),t.openPublication(e.slugFolderName))}),this.$root.createFolder({type:"publications",data:n})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_publicationsview"},[n("div",{staticClass:"m_actionbar"},[n("div",{staticClass:"m_actionbar--buttonBar"},[e.showCreatePublicationModal?n("CreatePublication",{attrs:{default_name:e.createPubliDefaultName,default_template:e.createPubliTemplateKey,read_only:e.read_only},on:{close:function(t){e.showCreatePublicationModal=!1}}}):e._e()],1),e._v(" "),n("div",{staticClass:"m_actionbar--text"},[e._v(e._s(e.$t("cooking_pot"))+": "+e._s(e.$t("cooking_pot_instructions")))])]),e._v(" "),n("div",{staticClass:"m_recipes"},e._l(e.recipes,function(t){return n("div",{key:t.key,staticClass:"m_recipes--recipe"},[n("div",{staticClass:"m_recipes--recipe--icon",domProps:{innerHTML:e._s(t.icon)}}),e._v(" "),n("div",{staticClass:"m_recipes--recipe--text"},[n("h2",{},[e._v(e._s(e.$t(t.key)))]),e._v(" "),n("p",{staticClass:"margin-vert-small"},[n("span",{staticClass:"margin-vert-verysmall",domProps:{innerHTML:e._s(e.$t(t.summary))}}),e._v(" "),n("br"),e._v(" "),!t.show_instructions&&t.instructions?n("button",{staticClass:"buttonLink margin-left-none padding-left-none",attrs:{type:"button"},on:{click:function(e){t.show_instructions=!t.show_instructions}}},[e._v("+ "+e._s(e.$t("more_informations")))]):e._e()]),e._v(" "),t.show_instructions?[n("hr"),e._v(" "),n("p",[n("span",{domProps:{innerHTML:e._s(e.$t(t.instructions))}})])]:e._e(),e._v(" "),n("button",{staticClass:"barButton barButton_createPubli",attrs:{type:"button",disabled:e.read_only},on:{click:function(n){return e.openCreatePublicationModal(t.key)}}},[n("span",[e._v(e._s(e.$t("create")))])])],2),e._v(" "),e.recipe_of_this_template(t.key).length>0?n("div",{staticClass:"m_recipes--recipe--mealList"},[n("table",[n("thead",[n("tr",[n("th",{attrs:{colspan:"2"}},[n("label",[e._v(e._s(e.$t("previous_creations")))])])])]),e._v(" "),n("tbody",[e._l(e.recipe_of_this_template(t.key),function(t){return n("tr",{key:t.slugFolderName,staticClass:"m_recipes--recipe--mealList--meal",on:{click:function(n){return e.openPublication(t.slugFolderName)}}},[n("td",[e._v(e._s(t.name))]),e._v(" "),n("td",{attrs:{width:"150px"}},[n("small",[e._v(e._s(e.$root.formatDateToHuman(t.date_created)))])])])}),e._v(" "),!t.show_all_recipes&&e.all_recipes_of_this_template(t.key).length>3?n("tr",{staticClass:"m_recipes--recipe--mealList--meal",on:{click:function(e){t.show_all_recipes=!0}}},[n("td",{attrs:{colspan:"2"}},[n("button",{staticClass:"buttonLink margin-none",attrs:{type:"button"}},[e._v(e._s(e.$t("show_all")))])])]):e._e()],2)])]):e._e()])}),0)])},i.staticRenderFns=[]},{"./components/modals/CreatePublication.vue":190}],180:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{withTitleBar:{type:Boolean,default:!0}},components:{},data:function(){return{is_dragged:!1}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{mousedown:function(e){console.log("METHODS • SystemBar: mousedown"),this.is_dragged=!1},mousemove:function(e){this.is_dragged||(this.is_dragged=!0)},mouseup:function(e){console.log("METHODS • SystemBar: mouseup"),console.log("with is_dragged = "+this.is_dragged),this.is_dragged||this.$root.closeProject(),this.is_dragged=!1}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"systemBar"}},[t("div",{staticClass:"fixedBand"},[t("transition",{attrs:{name:"fade",duration:600}},[this.withTitleBar?t("div",{staticClass:"titleText",on:{mousedown:this.mousedown,mousemove:this.mousemove,mouseup:this.mouseup}},[this._v("do•doc")]):this._e()])],1)])},i.staticRenderFns=[]},{}],181:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(e("./components/modals/QRCode.vue")),i=a(e("./components/modals/SettingsModal.vue")),r=a(e("./components/modals/AuthorsList.vue")),o=a(e("./components/Clients.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:["has_back_button","slugProjectName","authors","project"],components:{QRCode:t.default,SettingsModal:i.default,AuthorsList:r.default,Clients:o.default},data:function(){return{showQRModal:!1,showSettingsModal:!1,showAuthorsListModal:!1,show_menu:!1}},created:function(){},mounted:function(){this.menuVisibility()},beforeDestroy:function(){},watch:{"$root.settings.windowWidth":function(){this.menuVisibility()}},computed:{show_advanced_options:function(){return this.$root.screen_is_wide||!this.$root.screen_is_wide&&this.show_menu}},methods:{menuVisibility:function(){},goBack:function(){this.$root.navigation_back()},goHomeOrReload:function(){"ListView"!==this.$root.do_navigation.view?this.$root.closeProject():window.location.reload()},toggleMenu:function(){this.show_menu=!this.show_menu},urlToPortrait:function(e,t){return t?t.filter(function(e){return 180===e.size})[0].path:""}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_topbar",class:{"is--collapsable":!e.$root.screen_is_wide}},[n("div",{staticClass:"m_topbar--left"},[n("div",{staticClass:"m_topbar--left--logo"},[n("transition",{attrs:{name:"BackButton",duration:500}},[e.has_back_button?n("button",{staticClass:"backButton text-ellipsis",attrs:{type:"button"},on:{click:function(t){return e.goBack()}}},[e._v("\n ‹\n "),n("span",{staticClass:"backButton--text"},[e._v(e._s(e.$t("back")))])]):e._e()]),e._v(" "),n("img",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[1e3,0]},expression:"{\n placement: 'bottom',\n delay: [1000, 0]\n }"}],attrs:{content:"do•doc version "+e.$root.state.appVersion,src:"/images/i_logo.svg",draggable:"false"},on:{click:function(t){return e.goHomeOrReload()}}})],1),e._v(" "),n("div",{staticClass:"m_topbar--left--breadcrumb"},[e.project.hasOwnProperty("name")?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0]\n }"}],attrs:{type:"button",disabled:"ProjectView"===e.$root.do_navigation.view,content:e.$t("back_to_project")},on:{click:function(t){e.$root.do_navigation.view="ProjectView"}}},[n("span",[e._v(e._s(e.project.name))])]):e._e(),e._v(" "),e.project.hasOwnProperty("name")&&"CaptureView"===e.$root.do_navigation.view?n("button",{attrs:{type:"button"}},[n("span",[e._v("Capture")])]):e._e()]),e._v(" "),e.$root.screen_is_wide?e._e():n("button",{staticClass:"m_topbar--left--menuButton",attrs:{type:"button"},on:{click:function(t){return e.toggleMenu()}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 90 90"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"20px",height:"20px",viewBox:"0 0 90 90","xml:space":"preserve"}},[n("rect",{staticClass:"st0",attrs:{width:"108.2",height:"21"}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{y:"36.5",width:"108.2",height:"21"}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{y:"73",width:"108.2",height:"21"}})])])]),e._v(" "),e.show_advanced_options?n("div",{staticClass:"m_topbar--center"},[n("div",{staticClass:"m_topbar--center--authors"},[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0]\n }"}],staticClass:"m_topbar--center--authors--currentAuthor",attrs:{type:"button",content:e.$t("login")},on:{click:function(t){e.showAuthorsListModal=!0}}},[e.$root.settings.current_author?[e.$root.settings.current_author.hasOwnProperty("preview")&&""!==e.$root.settings.current_author.preview.length?n("div",{staticClass:"m_topbar--center--authors--portrait"},[n("img",{attrs:{src:e.urlToPortrait(e.$root.settings.current_author.slugFolderName,e.$root.settings.current_author.preview),width:"100",height:"100",draggable:"false"}})]):e._e(),e._v(" "),n("div",{staticClass:"m_topbar--center--authors--name"},[e._v("\n "+e._s(e.$root.settings.current_author.name)+"\n ")])]:[n("div",{staticClass:"font-medium"},[e._v("("+e._s(e.$t("authors"))+")")])]],2),e._v(" "),n("Clients"),e._v(" "),e.showAuthorsListModal?n("AuthorsList",{attrs:{authors:e.authors},on:{close:function(t){e.showAuthorsListModal=!1}}}):e._e()],1)]):e._e(),e._v(" "),e.show_advanced_options?n("div",{staticClass:"m_topbar--right"},[n("div",{staticClass:"m_topbar--right--pictos"},[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom-end",delay:[600,0]},expression:"{\n placement: 'bottom-end',\n delay: [600, 0]\n }"}],attrs:{type:"button",content:e.$t("share_access")},on:{click:function(t){e.showQRModal=!e.showQRModal}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 90 90"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"20px",height:"20px",viewBox:"0 0 90 90","xml:space":"preserve"}},[n("path",{attrs:{d:"M48,0v42h42V0H48z M84,36H54V6h30V36z M13,77h16V61H13V77z M0,90h42V48H0V90z M6,54h30v30H6V54z M63,48H48v13h15V48z M69,54\n h8v7h-8v12h-8v-8h-9v8h5v9h-9v8h21v-8h13v-9h-5v-8h13V48H69V54z M0,42h42V0H0V42z M6,6h30v30H6V6z M90,90v-8h-8v8H90z M13,29h16V13\n H13V29z M77,13H61v16h16V13z"}})])]),e._v(" "),e.showQRModal?n("QRCode",{attrs:{slugProjectName:e.slugProjectName},on:{close:function(t){e.showQRModal=!1}}}):e._e(),e._v(" "),n("a",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0]\n }"}],staticClass:"js--openInBrowser",attrs:{target:"_blank",href:"https://latelier-des-chercheurs.fr/docs/manuel-dodoc",content:e.$t("help")}},[n("svg",{staticStyle:{"enable-background":"new 0 0 12 20.3"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"12px",height:"20.3px",viewBox:"0 0 12 20.3","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M9.4,0.6c0.9,0.4,1.5,1,2,1.7C11.8,3,12,3.7,12,4.6c0,0.8-0.1,1.4-0.4,1.9s-0.6,1-1,1.3\n c-0.4,0.3-0.9,0.7-1.5,1.1c-0.8,0.5-1.3,1-1.7,1.4C7.1,10.8,7,11.3,7,12v1H3.6v-1.1c0-0.8,0.1-1.6,0.4-2.2c0.3-0.6,0.6-1.1,1-1.4\n C5.4,8,5.8,7.6,6.4,7.2c0.6-0.4,1.1-0.8,1.4-1.1c0.3-0.3,0.4-0.7,0.4-1.2c0-0.6-0.2-1.1-0.6-1.4C7.2,3,6.6,2.9,5.9,2.9\n c-1.3,0-2.5,0.6-3.6,1.9L0,2.9C1.6,1,3.7,0,6.2,0C7.5,0,8.5,0.2,9.4,0.6z M7,16.4c0.5,0.4,0.7,1,0.7,1.6c0,0.6-0.2,1.2-0.7,1.6\n c-0.5,0.5-1,0.7-1.6,0.7c-0.6,0-1.1-0.2-1.6-0.7c-0.4-0.5-0.7-1-0.7-1.6c0-0.6,0.2-1.2,0.6-1.6c0.4-0.4,1-0.7,1.6-0.7\n S6.5,16,7,16.4z"}})])]),e._v(" "),n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom-end",delay:[600,0]},expression:"{\n placement: 'bottom-end',\n delay: [600, 0]\n }"}],attrs:{type:"button",content:e.$t("settings")},on:{click:function(t){e.showSettingsModal=!e.showSettingsModal}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 90 90"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"90px",height:"90px",viewBox:"0 0 90 90","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M79.8,49.3v-9c0-1,0.6-1.9,1.4-2.3l8.7-4.5l-1.8-5.2l-9.9,1.4c-1,0.2-2-0.3-2.6-1.1l-5.4-7.3\n\tc-0.6-0.8-0.7-1.8-0.2-2.7l4.3-8.6l-4.7-3.2l-6.9,6.8C62,14.3,61,14.5,60,14.2l-8.9-2.7c-1-0.3-1.7-1.1-1.9-2.2L47.5,0h-5.7\n\tl-1.6,9.4c-0.1,1-0.9,1.8-1.8,2.2l-8.9,2.8c-1,0.3-2,0.1-2.7-0.6l-7-6.6l-4.6,3.3l4.4,8.5c0.5,0.9,0.4,1.9-0.2,2.7L14,29\n\tc-0.6,0.8-1.6,1.2-2.6,1.1l-9.7-1.3L0,34l8.7,4.3c0.9,0.5,1.5,1.4,1.5,2.4v9c0,1-0.6,1.9-1.4,2.3l-8.6,4.5l1.8,5.3l9.8-1.4\n\tc1-0.1,2,0.3,2.6,1.1l5.4,7.3c0.6,0.8,0.7,1.8,0.2,2.7L15.7,80l4.6,3.2l6.9-6.8c0.7-0.7,1.8-0.9,2.7-0.6l8.9,2.7\n\tc1,0.3,1.7,1.1,1.9,2.1l1.7,9.4h5.7l1.6-9.4c0.1-1,0.9-1.8,1.8-2.2l8.9-2.8c1-0.3,2-0.1,2.7,0.6l7,6.6l4.6-3.3L70.4,71\n\tc-0.5-0.9-0.4-1.9,0.2-2.7L76,61c0.6-0.8,1.6-1.2,2.6-1.1l9.7,1.3L90,56l-8.7-4.3C80.4,51.2,79.8,50.3,79.8,49.3z M45,63.4\n\tc-10.5,0-19-8.3-19-18.4c0-10.2,8.5-18.4,19-18.4S64,34.8,64,45C64,55.2,55.5,63.4,45,63.4z"}})])]),e._v(" "),e.showSettingsModal?n("SettingsModal",{on:{close:function(t){e.showSettingsModal=!1}}}):e._e()],1)]):e._e(),e._v(" "),e.$root.state.connected?e._e():n("div",{staticClass:"m_topbar--status"},[e._v("\n "+e._s(e.$t("notifications.connection_lost"))+"\n "+e._s(e.$t("notifications.contents_wont_be_editable"))+"\n ")])])},i.staticRenderFns=[]},{"./components/Clients.vue":184,"./components/modals/AuthorsList.vue":187,"./components/modals/QRCode.vue":197,"./components/modals/SettingsModal.vue":199}],182:[function(e,t,n){"use strict";var i="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},r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=_(e("vue")),a=_(e("store")),s=_(e("underscore")),l=_(e("alertify.js")),c=_(e("../adc-core/auth-client.js")),u=_(e("./locale_strings.js"));e("prismjs");var d=_(e("portal-vue")),p=_(e("vue-i18n")),f=_(e("vue-plyr")),h=e("vue-tippy"),m=_(h),g=_(e("./components/subcomponents/DateField.vue")),v=_(e("moment"));e("moment/locale/fr"),e("moment/locale/en-gb"),e("moment/locale/nl"),e("./moment_locale_oc.js");var b=_(e("../adc-core/custom-socketio.js")),y=_(e("./App.vue"));function _(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(o.default.prototype,"$_",{value:s.default}),o.default.prototype.$alertify=l.default,c.default.init(),o.default.prototype.$auth=c.default,o.default.prototype.$eventHub=new o.default,o.default.use(d.default),o.default.use(p.default),o.default.use(f.default),o.default.use(m.default),o.default.component("tippy",h.TippyComponent),o.default.component("DateField",g.default);var w={available:[{key:"fr",name:"Français"},{key:"en",name:"English"},{key:"de",name:"Deutsch"},{key:"nl",name:"Nederlands"},{key:"oc",name:"Occitan"}],default:"en",current:"",init:function(){var e=a.default.get("language");if(void 0!==e&&this.available.find(function(t){return t.key===e})&&(this.current=e),""===this.current){var t=this.available.find(function(e){return window.navigator.language.includes(e.key)});this.current=t?t.key:this.default}}};w.init(),v.default.locale(w.current),o.default.prototype.$moment=v.default,document.documentElement.setAttribute("lang",w.current);var x={};Object.entries(u.default).map(function(e){var t=r(e,2),n=t[0],o=t[1];Object.entries(o).map(function(e){var t=r(e,2),o=t[0],a=t[1];if("object"===(void 0===a?"undefined":i(a))){var s=o,l=a;Object.entries(l).map(function(e){var t=r(e,2),i=t[0],o=t[1];x[i].hasOwnProperty(n)||(x[i][n]={}),x[i][n].hasOwnProperty(s)||(x[i][n][s]={}),x[i][n][s]=o})}else x.hasOwnProperty(o)||(x[o]={}),x[o].hasOwnProperty(n)||(x[o][n]={}),x[o][n]=a})});w.available.map(function(e){return e.key});var k=new p.default({locale:w.current,fallbackLocale:"en",messages:x});o.default.prototype.$socketio=b.default.init(k,c.default,l.default);new o.default({i18n:k,el:"#app",components:{App:y.default},template:"\n <App\n />\n ",data:{store:window.store,state:window.state,justCreatedFolderID:!1,justCreatedMediaID:!1,currentTime:"",app_is_fullscreen:!1,do_navigation:{view:"ListView",current_slugProjectName:!1},media_modal:{open:!1,minimized:!1,show_sidebar:!0,current_slugProjectName:!1,current_metaFileName:!1},showSessionPasswordModal:!1,settings:{has_modal_opened:!1,capture_mode_cant_be_changed:!1,windowWidth:window.innerWidth,windowHeight:window.innerHeight,capture_options:{selected_mode:"",selected_devicesId:{audioinput:"",videoinput:"",audiooutput:""},ideal_camera_resolution:{name:"",width:"",height:""},distant_flux:{active:!1,username:"dodoc-"+(Math.random().toString(36)+"00000000000000000").slice(2,5),callee_username:""}},current_publication:{slug:!1,accepted_media_type:[]},current_author:!1,publi_zoom:.8,show_publi_panel:!1,enable_system_bar:window.state.is_electron&&window.state.is_darwin,project_filter:{keyword:"",author:"",name:""},media_filter:{keyword:"",author:"",fav:!1,type:""}},lang:{available:w.available,current:w.current}},created:function(){var e=this;if("debug"===window.state.dev_mode&&console.log("ROOT EVENT: created"),"standalone"===this.store.request.display)return!1;if(this.settings.enable_system_bar&&document.body.classList.add("has_systembar"),"debug"===window.state.dev_mode&&console.log("ROOT EVENT: created / checking for password"),document.addEventListener("fullscreenchange",this.detectFullScreen),document.addEventListener("mozfullscreenchange",this.detectFullScreen),document.addEventListener("webkitfullscreenchange",this.detectFullScreen),window.addEventListener("resize",function(){e.settings.windowWidth=window.innerWidth,e.settings.windowHeight=window.innerHeight}),this.currentTime=this.$moment().millisecond(0),setInterval(function(){return e.currentTime=e.$moment().millisecond(0)},1e3),this.state.noticeOfError)"failed_to_find_folder"===this.state.noticeOfError?this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t('notifications["failed_to_get_folder:"]')+" "+this.store.request.slugProjectName):this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.state.noticeOfError);else if("debug"===window.state.dev_mode&&console.log("ROOT EVENT: created / no errors, checking for content to load"),this.store.request.slugProjectName?(this.$eventHub.$once("socketio.projects.folders_listed",function(){e.openProject(e.store.request.slugProjectName)}),this.store.request.metaFileName&&this.$eventHub.$once("socketio.projects.listMedias",function(){var t=e.store.request.metaFileName;e.media_modal.show_sidebar=!1,e.openMedia({slugProjectName:e.store.request.slugProjectName,metaFileName:t})})):["export_publication","print_publication","link_publication"].includes(this.state.mode)&&Object.keys(this.store.publications).length>0&&(this.settings.current_publication.slug=Object.keys(this.store.publications)[0]),this.$eventHub.$on("socketio.reconnect",function(){e.$socketio.listFolders({type:"authors"}),e.$socketio.listFolders({type:"projects"}),e.settings.current_publication.slug&&(e.$socketio.listFolder({type:"publications",slugFolderName:e.settings.current_publication.slug}),e.$socketio.listMedias({type:"publications",slugFolderName:e.settings.current_publication.slug})),e.do_navigation.current_slugProjectName&&(e.$socketio.listFolder({type:"projects",slugFolderName:e.do_navigation.current_slugProjectName}),e.$socketio.listMedias({type:"projects",slugFolderName:e.do_navigation.current_slugProjectName}))}),window.onpopstate=function(t){console.log("ROOT EVENT: popstate with event.state.slugProjectName = "+t.state.slugProjectName),e.do_navigation.current_slugProjectName=t.state.slugProjectName},window.addEventListener("tag.newTagDetected",this.newTagDetected),"live"===this.state.mode){if(console.log("ROOT EVENT: created / now connecting with socketio"),this.$root.state.is_electron||(this.$eventHub.$on("socketio.connect",function(){e.$alertify.closeLogOnClick(!0).delay(4e3).success(e.$t('notifications["connected_to_dodoc"]'))}),this.$eventHub.$on("socketio.reconnect",function(){e.$alertify.closeLogOnClick(!0).delay(4e3).success(e.$t('notifications["connected_to_dodoc"]'))})),"has_pass"===this.$root.state.session_password){var t=this.$auth.getSessionPasswordFromLocalStorage();t?(this.$socketio.connect(t),this.$alertify.closeLogOnClick(!0).delay(4e3).log(this.$t("notifications.using_saved_password")),this.$eventHub.$once("socketio.socketerror",function(){e.showSessionPasswordModal=!0})):this.showSessionPasswordModal=!0,this.$eventHub.$on("socketio.socketerror",function(){e.$alertify.closeLogOnClick(!0).delay(4e3).error(e.$t('notifications["wrong_password_for_dodoc"]')),e.showSessionPasswordModal=!0})}else this.$socketio.connect();this.$eventHub.$once("socketio.authentificated",function(){e.$socketio.listFolders({type:"authors"}),e.$socketio.listFolders({type:"projects"})})}},beforeDestroy:function(){},watch:{"settings.has_modal_opened":function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: var has changed: has_modal_opened: "+this.settings.has_modal_opened),this.has_modal_opened?document.body.style.overflow="hidden":document.body.style.overflow=""},"store.authors":function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: var has changed: store.authors"),this.settings.current_author&&!this.store.authors.hasOwnProperty(this.settings.current_author.slugFolderName)&&this.unsetAuthor()}},computed:{currentProject:function(){return this.store.hasOwnProperty("projects")&&0!==Object.keys(this.store.projects).length&&this.store.projects.hasOwnProperty(this.do_navigation.current_slugProjectName)?this.store.projects[this.do_navigation.current_slugProjectName]:(this.closeProject(),{})},current_publication:function(){return!(!this.settings.current_publication.slug||!this.store.publications.hasOwnProperty(this.settings.current_publication.slug))&&this.store.publications[this.settings.current_publication.slug]},projects_that_are_accessible:function(){var e=this;return Object.values(this.store.projects).filter(function(t){return e.canAccessFolder({type:"projects",slugFolderName:t.slugFolderName})})},current_publication_medias:function(){return!(!this.current_publication||!this.current_publication.hasOwnProperty("medias"))&&this.current_publication.medias},requested_media:function(){return this.store.projects[this.store.request.slugProjectName].medias[this.store.request.metaFileName]},allAuthors:function(){var e=[];for(var t in this.store.authors){var n=this.store.authors[t];e.push(n)}return e=e.filter(function(t,n){return e.indexOf(t)==n}),e},allKeywords:function(){var e=[];for(var t in this.store.projects){var n=this.store.projects[t],i=n.keywords;i&&i.map(function(t){e.push(t.title)}),n.hasOwnProperty("medias")&&Object.keys(n.medias).length>0&&Object.values(n.medias).map(function(t){t.hasOwnProperty("keywords")&&t.keywords.length>0&&(e=e.concat(t.keywords.map(function(e){return e.title})))})}return e=e.filter(function(t,n){return e.indexOf(t)==n}),e.map(function(e){return{text:e,classes:"tagcolorid_"+parseInt(e,36)%2}})},currentTime_human:function(){return this.$moment(this.currentTime).format("LL LTS")},screen_is_wide:function(){return!(this.settings.windowWidth<750)}},methods:{getAllKeywordsFrom:function(e){var t=[];return Object.values(e).map(function(e){e.keywords&&e.keywords.map(function(e){-1==t.indexOf(e.title)&&t.push(e.title)})}),(t=t.sort(function(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())})).map(function(e){return{text:e,classes:"tagcolorid_"+parseInt(e,36)%2}})},getAllAuthorsFrom:function(e){var t=[];return Object.values(e).map(function(e){e.authors&&("string"==typeof e.authors&&(e.authors=[{name:e.authors}]),e.authors.map(function(e){-1==t.indexOf(e.name)&&t.push(e.name)}))}),(t=t.sort(function(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())})).map(function(e){return{name:e}})},getAllTypesFrom:function(e){var t=[];return Object.values(e).map(function(e){e.type&&-1==t.indexOf(e.type)&&t.push(e.type)}),t=t.sort(function(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())})},detectFullScreen:function(){var e=document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement;this.app_is_fullscreen=!!e},createFolder:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: createfolder: "+JSON.stringify(e,null,4)),this.justCreatedFolderID=e.id=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),this.$socketio.createFolder(e)},editFolder:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: editFolder: "+JSON.stringify(e,null,4)),this.$socketio.editFolder(e)},removeFolder:function(e){var t=e.type,n=e.slugFolderName;"debug"===window.state.dev_mode&&console.log("ROOT EVENT: removeFolder: slugFolderName = "+n+" of type = "+t),this.$socketio.removeFolder({type:t,slugFolderName:n})},createMedia:function(e){var t=this;"debug"===window.state.dev_mode&&console.log("ROOT EVENT: createMedia"),this.justCreatedMediaID=e.id=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),this.settings.current_author.hasOwnProperty("name")&&(e.hasOwnProperty("additionalMeta")||(e.additionalMeta={}),e.additionalMeta.authors=[{name:this.settings.current_author.name}]),this.$nextTick(function(){t.$socketio.createMedia(e)})},removeMedia:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: removeMedia: "+JSON.stringify(e,null,4)),this.$socketio.removeMedia(e)},editMedia:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: editMedia: "+JSON.stringify(e,null,4)),this.$socketio.editMedia(e)},canAccessFolder:function(e){var t=e.type,n=e.slugFolderName;return!!this.store[t].hasOwnProperty(n)&&("has_pass"!==this.store[t][n].password||this.state.list_authorized_folders.filter(function(e){return!!(e&&e.hasOwnProperty("type")&&e.type===t&&e.hasOwnProperty("allowed_slugFolderNames")&&e.allowed_slugFolderNames.indexOf(n)>=0)}).length>0)},openProject:function(e){if("debug"===window.state.dev_mode&&console.log("ROOT EVENT: openProject: "+e),!this.store.projects.hasOwnProperty(e)||!this.canAccessFolder({type:"projects",slugFolderName:e}))return console.log("Missing folder key on the page, aborting."),this.closeProject(),!1;this.do_navigation.view="ProjectView",this.do_navigation.current_slugProjectName=e,this.$socketio.listMedias({type:"projects",slugFolderName:e}),history.pushState({slugProjectName:e},this.store.projects[e].name,"/"+e)},closeProject:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: closeProject"),this.do_navigation.view="ListView",this.do_navigation.current_slugProjectName="",history.pushState({slugProjectName:""},"","/")},openMedia:function(e){var t=e.slugProjectName,n=e.metaFileName;"debug"===window.state.dev_mode&&console.log("ROOT EVENT: openMedia with slugProjectName = "+t+" and metaFileName = "+n),this.media_modal.open=!0,this.media_modal.minimized=!1,this.media_modal.current_slugProjectName=t,this.media_modal.current_metaFileName=n},closeMedia:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: closeMedia"),this.media_modal.open=!1},setProjectKeywordFilter:function(e){this.settings.project_filter.keyword!==e?this.settings.project_filter.keyword=e:this.settings.project_filter.keyword=""},setProjectAuthorFilter:function(e){this.settings.project_filter.author!==e?this.settings.project_filter.author=e:this.settings.project_filter.author=""},setMediaKeywordFilter:function(e){this.settings.media_filter.keyword!==e?this.settings.media_filter.keyword=e:this.settings.media_filter.keyword=""},setMediaAuthorFilter:function(e){this.settings.media_filter.author!==e?this.settings.media_filter.author=e:this.settings.media_filter.author=""},setFavAuthorFilter:function(){this.settings.media_filter.fav=!this.settings.media_filter.fav},setTypeFilter:function(e){this.settings.media_filter.type!==e&&e.length>0?this.settings.media_filter.type=e:this.settings.media_filter.type=""},filterMedia:function(e){var t=this;return(!this.settings.media_filter.fav||function(e){return e.hasOwnProperty("fav")&&"boolean"==typeof e.fav&&e.fav===t.settings.media_filter.fav}(e))&&(!this.settings.media_filter.keyword||function(e){return e.hasOwnProperty("keywords")&&"object"===i(e.keywords)&&e.keywords.filter(function(e){return e.title===t.settings.media_filter.keyword}).length>0}(e))&&(!this.settings.media_filter.author||function(e){return e.hasOwnProperty("authors")&&"object"===i(e.authors)&&e.authors.filter(function(e){return e.name===t.settings.media_filter.author}).length>0}(e))&&(!this.settings.media_filter.type||function(e){return e.hasOwnProperty("type")&&"string"==typeof e.type&&t.settings.media_filter.type.includes(e.type)}(e))},updateLocalLang:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: updateLocalLang"),k.locale=e,v.default.locale(e),this.lang.current=e,document.documentElement.setAttribute("lang",e),a.default.set("language",e)},setAuthor:function(e){this.settings.current_author=e,this.$socketio.socket.emit("updateClientInfo",{author:e})},unsetAuthor:function(){this.settings.current_author=!1},togglePubliPanel:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: togglePubliPanel"),this.settings.show_publi_panel?this.closePubliPanel():this.openPubliPanel()},openPubliPanel:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: openPubliPanel"),this.settings.show_publi_panel=!0,this.settings.current_publication.slug=!1,this.$socketio.listFolders({type:"publications"})},closePubliPanel:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: closePubliPanel"),this.settings.show_publi_panel=!1,this.settings.current_publication.slug=!1},openPublication:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: openPublication: "+e),this.$socketio.listFolder({type:"publications",slugFolderName:e}),this.$socketio.listMedias({type:"publications",slugFolderName:e}),this.settings.current_publication.slug=e},closePublication:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: closePublication"),this.settings.current_publication.slug=!1},downloadPubliPDF:function(e){var t=e.slugPubliName;"debug"===window.state.dev_mode&&console.log("ROOT EVENT: downloadPubliPDF: "+t),this.$socketio.downloadPubliPDF({slugPubliName:t})},listSpecificMedias:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: listSpecificMedias with medias_list = "+JSON.stringify(e,null,4)),this.$socketio.listSpecificMedias(e)},setPublicationZoom:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: setPublicationZoom with val = "+e),this.settings.publi_zoom=e},newTagDetected:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: newTagDetected with e.detail = "+e.detail);var t=this.$_.findWhere(this.store.authors,{nfc_tag:e.detail});t?(this.$alertify.closeLogOnClick(!0).delay(4e3).success(this.$t("notifications.author_found_with_nfc_tag")+' <button class="bg-blanc padding-none c-bleumarine font-thin">'+t.name+"</button>"),this.setAuthor(t)):this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.no_content_found_with_nfc_tag"))},setMediaFilter:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: setMediaFilter"),this.settings.media_filter=e},unsetMediaFilter:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: unsetMediaFilter"),this.settings.media_filter={}},loadAllProjectsMedias:function(){var e=this;"debug"===window.state.dev_mode&&console.log("ROOT EVENT: loadAllProjectsMedias"),Object.keys(this.store.projects).forEach(function(t){e.store.projects[t];e.$socketio.listMedias({type:"projects",slugFolderName:t})});var t=Object.keys(this.store.projects).length;this.$eventHub.$on("socketio.projects.listMedias",function(){0===--t&&e.$eventHub.$emit("socketio.has_finished_loading_all_medias")}),setTimeout(function(){e.$eventHub.$emit("socketio.has_finished_loading_all_medias")},5e3)},formatDateToHuman:function(e){return this.$moment(e,"YYYY-MM-DD HH:mm:ss").format("LL")},formatDateToPrecise:function(e){return this.$moment(e,"YYYY-MM-DD HH:mm:ss").format("LTS L")},updateNetworkInfos:function(){this.$socketio.updateNetworkInfos()},navigation_back:function(){"CaptureView"===this.do_navigation.view?this.do_navigation.view="ProjectView":"ProjectView"===this.do_navigation.view&&this.closeProject()}}})},{"../adc-core/auth-client.js":172,"../adc-core/custom-socketio.js":173,"./App.vue":175,"./components/subcomponents/DateField.vue":216,"./locale_strings.js":232,"./moment_locale_oc.js":233,"alertify.js":4,moment:79,"moment/locale/en-gb":76,"moment/locale/fr":77,"moment/locale/nl":78,"portal-vue":92,prismjs:93,store:136,underscore:150,vue:156,"vue-i18n":151,"vue-plyr":152,"vue-tippy":154}],183:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement,t=this._self._c||e;return t("footer",{staticClass:"m_footer limited-width"},[t("div",{staticClass:"padding-vert-medium padding-sides-medium"},[t("p",[this._v("do•doc version "+this._s(this.$root.state.appVersion))])])])},i.staticRenderFns=[],i._scopeId="data-v-7a219ba8"},{}],184:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{},components:{},data:function(){return{showClientList:!1}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{uniqueClients:function(){return this.$root.state.clients}},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.uniqueClients.length>1?n("div",{staticClass:"m_clientsList"},[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0]\n }"}],staticClass:"m_clientsList--indicator",attrs:{type:"button",content:e.$t("other_users_connected")},on:{click:function(t){e.showClientList=!e.showClientList}}},[n("span",[e._v(e._s(e.uniqueClients.length-1))])]),e._v(" "),e.showClientList?n("div",{staticClass:"m_clientsList--list"},[n("button",{staticClass:"m_clientsList--list--close",attrs:{type:"button"},on:{click:function(t){e.showClientList=!1}}},[e._v("\n ×\n ")]),e._v(" "),n("label",[e._v(e._s(e.$t("other_users")))]),e._v(" "),n("br"),e._v(" "),e._l(e.uniqueClients,function(t){return t.id!==e.$root.$socketio.socket.id?n("span",{key:t.id,staticClass:"m_clientsList--list--client"},[t.data.hasOwnProperty("author")?[e._v(e._s(t.data.author.name))]:[e._v(e._s(e.$t("anonymous")))]],2):e._e()})],2):e._e()]):e._e()},i.staticRenderFns=[]},{}],185:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t="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},i=s(e("./modals/UploadFile.vue")),r=s(e("./subcomponents/MediaCard.vue")),o=s(e("./subcomponents/TagsAndAuthorFilters.vue")),a=(e("timers"),s(e("debounce")));function s(e){return e&&e.__esModule?e:{default:e}}n.default={props:{project:Object,slugProjectName:String,read_only:Boolean},components:{MediaCard:r.default,UploadFile:i.default,TagsAndAuthorFilters:o.default},data:function(){return{mediaSort:{field:"date_uploaded"},selected_files:[],is_iOS_device:!!window.navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform),show_filters:!1,show_drop_container:!1,media_metaFileName_initially_present:[],last_media_added:[],input_file_fields:[{key:"file",label:"import",accept:"",capture:!1,svg:"\n "}]}},mounted:function(){(this.$root.settings.media_filter.keyword||this.$root.settings.media_filter.author||this.$root.settings.media_filter.fav||this.$root.settings.media_filter.type)&&(this.show_filters=!0),document.addEventListener("dragover",this.ondragover),this.cancelDragOver=(0,a.default)(this.cancelDragOver,300),this.$eventHub.$on("modal.prev_media",this.prevMedia),this.$eventHub.$on("modal.next_media",this.nextMedia),this.$eventHub.$on("socketio.media_created_or_updated",this.media_created)},created:function(){},beforeDestroy:function(){this.$root.settings.media_filter.author="",this.$root.settings.media_filter.keyword="",this.$root.settings.media_filter.fav=!1,this.$root.settings.media_filter.type="",this.$eventHub.$off("modal.prev_media",this.prevMedia),this.$eventHub.$off("modal.next_media",this.nextMedia),this.$eventHub.$off("socketio.media_created_or_updated",this.media_created),document.addEventListener("dragover",this.ondragover)},watch:{"project.medias":function(){var e=this;0===this.media_metaFileName_initially_present.length?this.media_metaFileName_initially_present=Object.values(this.project.medias).map(function(e){return e.metaFileName}):this.last_media_added=Object.values(this.project.medias).map(function(e){return e.metaFileName}).filter(function(t){return!e.media_metaFileName_initially_present.includes(t)})}},computed:{numberOfMedias:function(){return this.project.hasOwnProperty("medias")?Object.keys(this.project.medias).length:0},mediaKeywords:function(){return this.$root.getAllKeywordsFrom(this.project.medias)},mediaAuthors:function(){return this.$root.getAllAuthorsFrom(this.project.medias)},mediaTypes:function(){return this.$root.getAllTypesFrom(this.project.medias)},filteredMedias:function(){var e=this;return!(!this.project.medias||"object"!==t(this.project.medias))&&Object.values(this.project.medias).filter(function(t){return e.$root.filterMedia(t)})},sortedMedias:function(){var e=this.$_.sortBy(this.filteredMedias,this.mediaSort.field);return e.reverse()},groupedMedias:function(){var e=this,t=this.$_.groupBy(this.sortedMedias,function(t){var n=void 0;return t.hasOwnProperty(e.mediaSort.field)&&t[e.mediaSort.field]?(n=t[e.mediaSort.field],e.$moment(n).format("YYYY-MM-DD")):e.$t("invalid_date")});return t=this.$_.pairs(t),t=(t=this.$_.sortBy(t)).reverse()}},methods:{prevMedia:function(){this.mediaNav(-1)},nextMedia:function(){this.mediaNav(1)},mediaNav:function(e){var t=this,n=this.sortedMedias.findIndex(function(e){return e.metaFileName===t.$root.media_modal.current_metaFileName}),i=this.sortedMedias[n+e];this.$root.closeMedia(),i&&i.hasOwnProperty("metaFileName")&&i.metaFileName&&this.$nextTick(function(){t.openMediaModal(i.metaFileName)})},media_created:function(e){},openMediaModal:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaLibrary: openMediaModal"),this.$root.openMedia({slugProjectName:this.slugProjectName,metaFileName:e})},createTextMedia:function(){this.$eventHub.$on("socketio.media_created_or_updated",this.newTextMediaCreated),this.$root.createMedia({slugFolderName:this.slugProjectName,type:"projects",additionalMeta:{type:"text"}})},newTextMediaCreated:function(e){this.$root.justCreatedMediaID===e.id&&(this.$root.justCreatedMediaID=!1,this.$eventHub.$off("socketio.media_created_or_updated",this.newTextMediaCreated),this.openMediaModal(e.metaFileName))},openCapture:function(){this.$root.do_navigation.view="CaptureView"},updateInputFiles:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • AddMedia / updateSelectedFiles"),this.selected_files=Array.from(e.target.files),e.target.value=""},ondragover:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • AddMedia / ondragover"),this.show_drop_container=!0,this.cancelDragOver()},cancelDragOver:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • AddMedia / cancelDragOver"),this.show_drop_container=!1},dropHandler:function(e){if("debug"===this.$root.state.dev_mode&&console.log("METHODS • AddMedia / dropHandler"),e.preventDefault(),e.dataTransfer.items){for(var t=[],n=0;n<e.dataTransfer.items.length;n++)"file"===e.dataTransfer.items[n].kind&&t.push(e.dataTransfer.items[n].getAsFile());this.selected_files=t}else for(n=0;n<e.dataTransfer.files.length;n++)this.selected_files=Array.from(e.dataTransfer.files)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_project--library"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.$root.state.connected,expression:"$root.state.connected"}],staticClass:"m_actionbar"},[n("div",{staticClass:"m_actionbar--buttonBar"},["has_pass"===e.project.password||"has_pass"!==e.project.password?n("button",{staticClass:"barButton barButton_capture",attrs:{type:"button",disabled:e.read_only||e.is_iOS_device},on:{click:e.openCapture}},[n("span",[e._v(e._s(e.$t("capture")))])]):e._e(),e._v(" "),e._l(e.input_file_fields,function(t){return"has_pass"===e.project.password||"has_pass"!==e.project.password?n("label",{key:"add_"+t.key,staticClass:"barButton barButton_import button",attrs:{disabled:e.read_only,for:"add_"+t.key}},[n("span",[e._v("\n "+e._s(e.$t(t.label))+"\n ")]),e._v(" "),n("input",{staticStyle:{width:"1px",height:"1px",overflow:"hidden"},attrs:{type:"file",multiple:"",id:"add_"+t.key,name:t.key,accept:t.accept,capture:t.capture},on:{change:function(t){return e.updateInputFiles(t)}}})]):e._e()}),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:150}},[!e.read_only&&e.show_drop_container?n("div",{staticClass:"_drop_indicator",on:{drop:function(t){return e.dropHandler(t)}}},[n("div",[n("img",{attrs:{src:"/images/i_importer.svg",draggable:"false"}}),e._v(" "),n("label",[e._v(e._s(e.$t("drop_here_to_import")))])])]):e._e()]),e._v(" "),e.selected_files.length>0?n("UploadFile",{attrs:{read_only:e.read_only,slugFolderName:e.slugProjectName,type:"projects",selected_files:e.selected_files},on:{close:function(t){e.selected_files=[]}}}):e._e(),e._v(" "),n("button",{staticClass:"barButton barButton_text",attrs:{type:"button"},on:{click:e.createTextMedia}},[n("span",[e._v(e._s(e.$t("create_text")))])])],2),e._v(" "),n("div",{staticClass:"m_actionbar--text"},[e._v("\n "+e._s(e.$t("showing"))+"\n "),n("span",{class:{"c-rouge":e.sortedMedias.length!==e.numberOfMedias}},[e._v("\n "+e._s(e.sortedMedias.length)+"\n "+e._s(e.$t("medias_of"))+"\n "+e._s(e.numberOfMedias)+"\n ")]),e._v(" "),e.$root.allKeywords.length>=0?[e._v("\n —\n "),n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_filters},attrs:{type:"button"},on:{click:function(t){e.show_filters=!e.show_filters}}},[e._v(e._s(e.$t("filters")))])]:e._e(),e._v(" "),!e.show_medias_instead_of_projects&&e.show_filters?[n("TagsAndAuthorFilters",{attrs:{allKeywords:e.mediaKeywords,allAuthors:e.mediaAuthors,allTypes:e.mediaTypes,keywordFilter:e.$root.settings.media_filter.keyword,authorFilter:e.$root.settings.media_filter.author,favFilter:e.$root.settings.media_filter.fav},on:{setKeywordFilter:function(t){return e.$root.setMediaKeywordFilter(t)},setAuthorFilter:function(t){return e.$root.setMediaAuthorFilter(t)},setFavFilter:function(t){return e.$root.setFavAuthorFilter(t)},setTypeFilter:function(t){return e.$root.setTypeFilter(t)}}})]:e._e()],2)]),e._v(" "),0===e.selected_files.length?n("transition-group",{staticClass:"m_project--library--medias",attrs:{name:"list-complete"}},e._l(e.groupedMedias,function(t){return n("div",{key:t[0]},[n("h3",{staticClass:"font-folder_title margin-sides-small margin-none margin-bottom-small"},[e._v(e._s(e.$root.formatDateToHuman(t[0])))]),e._v(" "),n("div",{staticClass:"m_mediaShowAll"},e._l(t[1],function(t){return n("div",{key:t.slugMediaName},[n("MediaCard",{key:t.metaFileName,class:{"is--just_added":e.last_media_added.includes(t.metaFileName)},attrs:{media:t,metaFileName:t.metaFileName,slugProjectName:e.slugProjectName,preview_size:180}})],1)}),0)])}),0):e._e()],1)},i.staticRenderFns=[]},{"./modals/UploadFile.vue":200,"./subcomponents/MediaCard.vue":221,"./subcomponents/TagsAndAuthorFilters.vue":230,debounce:41,timers:148}],186:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(e("./modals/EditProject.vue")),i=o(e("./MediaLibrary.vue")),r=o(e("./subcomponents/MediaCard.vue"));function o(e){return e&&e.__esModule?e:{default:e}}n.default={props:{project:Object,slugProjectName:String,read_only:Boolean,index:Number,context:String},components:{EditProject:t.default,MediaLibrary:i.default,MediaCard:r.default},data:function(){return{showEditProjectModal:!1,showInputPasswordField:!1,showCurrentPassword:!1,remember_project_password_for_this_device:!0,showDuplicateProjectMenu:!1,copy_project_name:this.$t("copy_of")+" "+this.project.name,zip_export_started:!1}},watch:{can_access_folder:function(){this.can_access_folder||"full"!==this.context||(this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.password_added_or_changed_to_this_project")),this.$alertify.closeLogOnClick(!0).delay(4e3).log(this.$t("notifications.enter_password_to_reopen_project")+" :"+this.project.name),this.closeProject())}},mounted:function(){},beforeDestroy:function(){},computed:{previewURL:function(){if(!this.project.hasOwnProperty("preview")||""===this.project.preview)return!1;var e=this.project.preview.filter(function(e){return 640===e.size});return e.length>0&&""+e[0].path},can_access_folder:function(){return this.$root.canAccessFolder({type:"projects",slugFolderName:this.slugProjectName})},project_password:function(){var e=this.$auth.getFoldersPasswords();return e.hasOwnProperty("projects")&&e.projects.hasOwnProperty(this.slugProjectName)&&"has_pass"===this.project.password?e.projects[this.slugProjectName]:""}},methods:{openProject:function(){"full"!==context&&this.$root.openProject(this.slugProjectName)},closeProject:function(){this.$root.closeProject()},removeProject:function(){var e=this;this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemoveProject"),function(){e.$root.removeFolder({type:"projects",slugFolderName:e.slugProjectName}),e.closeProject()},function(){})},duplicateWithNewName:function(e){var t=this;if(console.log("METHODS • Project: duplicateWithNewName"),function(){var e=[];for(var t in window.store.projects){var n=window.store.projects[t].name;e.push(n)}return e}().indexOf(this.copy_project_name)>=0)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.project_name_exists")),!1;this.$socketio.copyFolder({type:"projects",slugFolderName:this.slugProjectName,new_folder_name:this.copy_project_name}),this.showDuplicateProjectMenu=!1,this.$alertify.closeLogOnClick(!0).delay(4e3).log(this.$t("notifications.project_copy_in_progress")),this.$eventHub.$once("socketio.projects.folder_listed",function(){t.$alertify.closeLogOnClick(!0).delay(4e3).success(t.$t("notifications.project_copy_completed"))})},submitPassword:function(){var e,t,n,i=this;console.log("METHODS • Project: submitPassword"),this.$auth.updateFoldersPasswords({projects:(e={},t=this.slugProjectName,n=this.$refs.passwordField.value,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)}),this.$socketio.sendAuth(),this.$eventHub.$once("socketio.authentificated",function(){0===window.state.list_authorized_folders.filter(function(e){return"projects"===e.type&&e.allowed_slugFolderNames.includes(i.slugProjectName)}).length?(i.$alertify.closeLogOnClick(!0).delay(4e3).error(i.$t("notifications.wrong_password_for")+i.project.name),i.$refs.passwordField.value="",i.$refs.passwordField.focus()):i.showInputPasswordField=!1})},forgetPassword:function(){this.$auth.removeFolderPassword({type:"projects",slugFolderName:this.slugProjectName}),this.$socketio.sendAuth(),this.closeProject()},downloadProjectArchive:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("Project • METHODS: downloadProjectArchive"),this.zip_export_started=!0,setTimeout(function(){e.zip_export_started=!1},2e3);var t=this.$auth.hashCode(this.project_password),n=window.location.origin+"/_archives/projects/"+this.slugProjectName+"?pwd="+t;"debug"===this.$root.state.dev_mode&&console.log("Project • METHODS: downloadProjectArchive with query "+n),window.location.replace(n)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_project",class:{"is--not_authorized_to_admin":!e.can_access_folder}},[n("div",{staticClass:"m_project--presentation"},[e.previewURL?n("div",{staticClass:"m_project--presentation--vignette"},[n("img",{attrs:{src:e.previewURL,draggable:"false"}})]):"full"===e.context?n("div",{staticClass:"m_project--presentation--novignette"},[n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){e.showEditProjectModal=!0}}},[e._v(e._s(e.$t("add_a_cover_image")))])]):e._e(),e._v(" "),n("div",{staticClass:"m_project--presentation--text"},[n("h2",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom-start",delay:[600,0],interactive:!0},expression:"{\n placement: 'bottom-start',\n delay: [600, 0],\n interactive: true\n }"}],staticClass:"m_project--presentation--text--title",attrs:{content:e.slugProjectName}},[e._v(e._s(e.project.name))]),e._v(" "),n("div",{staticClass:"m_project--presentation--text--infos"},[n("div",{staticClass:"m_keywordField"},e._l(e.project.keywords,function(t){return n("span",{key:t.title,class:["tagcolorid_"+parseInt(t.title,36)%2,{"is--active":e.$root.settings.project_filter.keyword===t.title}]},[e._v(e._s(t.title))])}),0),e._v(" "),e.project.authors?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("author")))]),e._v(" "),n("div",{staticClass:"m_authorField"},["string"==typeof e.project.authors?n("span",[e._v("\n "+e._s(e.project.authors)+"\n ")]):"object"==typeof e.project.authors?e._l(e.project.authors,function(t){return n("span",{key:t.name,staticClass:"is--active"},[e._v(e._s(t.name))])}):e._e()],2)]):e._e(),e._v(" "),n("DateField",{attrs:{title:"created",date:e.project.date_created}}),e._v(" "),n("DateField",{attrs:{title:"edited",date:e.project.date_modified}}),e._v(" "),e.can_access_folder&&"has_pass"===e.project.password&&"full"!==e.context?n("div",{staticClass:"m_metaField"},[n("label",[e._v(e._s(e.$t("protected_by_pass")))])]):e._e(),e._v(" "),e.can_access_folder||e.showInputPasswordField?e._e():n("button",{staticClass:"buttonLink",staticStyle:{display:"block",margin:"0 auto calc(var(--spacing) / 2)"},attrs:{type:"button",readonly:e.read_only},on:{click:function(t){e.showInputPasswordField=!e.showInputPasswordField}}},[e._v(e._s(e.$t("password_required_to_open")))]),e._v(" "),e.showInputPasswordField&&!e.can_access_folder?n("div",{staticClass:"padding-small"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("password")))]),e._v(" "),n("input",{ref:"passwordField",attrs:{type:"password",required:"",autofocus:"",placeholder:"…"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.submitPassword(t))}}})]),e._v(" "),n("button",{staticClass:"button bg-bleuvert",attrs:{type:"button"},on:{click:e.submitPassword}},[e._v("Valider")])]):e._e(),e._v(" "),e.can_access_folder&&e.project_password&&"full"===e.context?n("div",{staticClass:"m_metaField"},[n("div",{staticClass:"cursor-pointer",attrs:{readonly:e.read_only},domProps:{innerHTML:e._s(e.showCurrentPassword?e.$t("hide"):e.$t("show_password"))},on:{click:function(t){e.showCurrentPassword=!e.showCurrentPassword}}}),e._v(" "),e.showCurrentPassword&&e.can_access_folder?n("div",[e._v(e._s(e.project_password))]):e._e()]):e._e(),e._v(" "),e.can_access_folder&&e.project_password&&"full"===e.context?n("button",{staticClass:"_button_forgetpassword",attrs:{type:"button"},on:{click:e.forgetPassword}},[e._v(e._s(e.$t("forget_password_and_close")))]):e._e()],1)]),e._v(" "),n("div",{staticClass:"m_project--presentation--buttons"},[e.can_access_folder&&"full"!==e.context?n("button",{staticClass:"m_project--presentation--buttons--openButton",attrs:{type:"button"},on:{click:function(t){return e.$root.openProject(e.slugProjectName)}}},[n("span",{},[e._v(e._s(e.$t("open")))])]):e._e(),e._v(" "),e.can_access_folder&&"full"===e.context?n("button",{staticClass:"buttonLink",attrs:{type:"button",disabled:e.read_only},on:{click:function(t){e.showEditProjectModal=!0}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 100.7 101"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"100.7px",height:"101px",viewBox:"0 0 100.7 101","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M100.7,23.2L77.5,0l-66,66.2l0,0L0,101l34.7-11.6l0,0L100.7,23.2z M19.1,91.5l-9.4-9.7l4-12.4l18,17.8\n L19.1,91.5z"}})]),e._v("\n "+e._s(e.$t("edit"))+"\n ")]):e._e(),e._v(" "),e.can_access_folder&&"full"===e.context?n("button",{staticClass:"buttonLink",attrs:{type:"button",disabled:e.zip_export_started},on:{click:e.downloadProjectArchive}},[e.zip_export_started?[n("span",{staticClass:"loader loader-small"})]:[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 46.7 70"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"46.7px",height:"70px",viewBox:"0 0 46.7 70","xml:space":"preserve"}},[n("g",[n("g",[n("path",{staticClass:"st0",attrs:{d:"M8.5,35.2l4.6,4.2c2.7,2.5,4.8,4.7,6.4,7.3l0-46.7h7.7l0,46.6c1.7-2.5,3.8-4.7,6.4-7.1l4.6-4.2l5.3,6.2\n\t\t\tL23.3,59.6L3.2,41.5L8.5,35.2z"}})]),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"46.7,70 0,70 0,62.4 46.6,62.4 \t"}})])])],e._v("\n "+e._s(e.$t("download"))+"\n ")],2):e._e(),e._v(" "),e.can_access_folder&&"full"===e.context?n("button",{staticClass:"buttonLink",class:{"is--active":e.showDuplicateProjectMenu},attrs:{type:"button",disabled:e.read_only},on:{click:function(t){e.showDuplicateProjectMenu=!e.showDuplicateProjectMenu}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"39.5,11.8 83,11.8 83,55.4 72.7,55.4 72.7,67.2 94.8,67.2 94.8,0 27.7,0 27.7,22.2 39.5,22.2 \t"}}),e._v(" "),n("path",{staticClass:"st0",attrs:{d:"M67.2,27.7L0,27.7l0,67.2l67.2,0L67.2,27.7z M55.4,83l-43.6,0l0-43.6l43.6,0L55.4,83z"}})]),e._v("\n "+e._s(e.$t("duplicate"))+"\n ")]):e._e(),e._v(" "),e.showDuplicateProjectMenu?n("div",{staticClass:"margin-bottom-small"},[n("label",{domProps:{innerHTML:e._s(e.$t("name_of_copy"))}}),e._v(" "),n("form",{staticClass:"input-group",on:{submit:function(t){return t.preventDefault(),e.duplicateWithNewName()}}},[n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.copy_project_name,expression:"copy_project_name",modifiers:{trim:!0}}],attrs:{type:"text",required:"",autofocus:""},domProps:{value:e.copy_project_name},on:{input:function(t){t.target.composing||(e.copy_project_name=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),n("button",{staticClass:"bg-bleuvert",attrs:{type:"submit"},domProps:{innerHTML:e._s(e.$t("copy"))}})])]):e._e(),e._v(" "),e.can_access_folder&&"full"===e.context?n("button",{staticClass:"buttonLink",attrs:{type:"button",disabled:e.read_only},on:{click:function(t){return e.removeProject()}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M91.6,17H62.9V0H28.7v17H0v9.4h11.3V95h69V26.4h11.3V17z M64.4,69.4L57.8,76l-12-12l-12,12l-6.6-6.6l12-12\n l-12-12l6.6-6.6l12,12l12-12l6.6,6.6l-12,12L64.4,69.4z M38.1,9.4h15.3V17H38.1V9.4z"}})]),e._v("\n "+e._s(e.$t("remove"))+"\n ")]):e._e()]),e._v(" "),e.showEditProjectModal?n("EditProject",{attrs:{project:e.project,project_password:e.project_password,slugProjectName:e.slugProjectName,read_only:e.read_only},on:{close:function(t){e.showEditProjectModal=!1}}}):e._e()],1),e._v(" "),"full"===e.context?n("MediaLibrary",{attrs:{slugProjectName:e.slugProjectName,project:e.project,read_only:e.read_only}}):e._e()],1)},i.staticRenderFns=[],i._scopeId="data-v-96429af2"},{"./MediaLibrary.vue":185,"./modals/EditProject.vue":192,"./subcomponents/MediaCard.vue":221}],187:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(e("./BaseModal.vue")),i=(o(e("./../subcomponents/ImageSelect.vue")),o(e("./../subcomponents/CreateAuthor.vue"))),r=o(e("./../subcomponents/EditAuthor.vue"));function o(e){return e&&e.__esModule?e:{default:e}}n.default={props:{authors:{type:Object,default:{}}},components:{Modal:t.default,CreateAuthor:i.default,EditAuthor:r.default},data:function(){return{openCreateAuthorPanel:!1,editAuthorSlug:!1,show_detail:!1}},created:function(){},mounted:function(){this.$socketio.listFolders({type:"authors"})},beforeDestroy:function(){},watch:{},computed:{sortedAuthors:function(){return Object.values(this.authors).sort(function(e,t){return e.name.localeCompare(t.name)})}},methods:{editAuthor:function(e){this.editAuthorSlug=e.slugFolderName},removeAuthor:function(e){var t=this;this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemoveAuthor"),function(){t.$root.removeFolder({type:"authors",slugFolderName:e.slugFolderName})},function(){})},setAuthor:function(e){this.$root.setAuthor(e),this.$refs.modal.closeModal()},unsetAuthor:function(){this.$root.unsetAuthor()},urlToPortrait:function(e,t){return t?t.filter(function(e){return 180===e.size})[0].path:""}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{ref:"modal",attrs:{typeOfModal:"LargeAndScroll"},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("authors_list")))])]),e._v(" "),n("template",{slot:"preview"},[n("div",{},[n("div",{staticClass:"margin-sides-medium margin-vert-small"},[n("small",[e._v(e._s(e.$t("when_logged_as_author_content_will_be_tagged")))]),e._v(" "),e.show_detail?e._e():n("button",{staticClass:"buttonLink margin-left-none padding-left-none",attrs:{type:"button"},on:{click:function(t){e.show_detail=!e.show_detail}}},[e._v("\n + "+e._s(e.$t("more_informations"))+"\n ")]),e._v(" "),n("div",[e.show_detail?n("small",[e._v(e._s(e.$t("more_informations_on_authors")))]):e._e()])]),e._v(" "),n("transition-group",{staticClass:"m_authorsList",attrs:{tag:"div",name:"list-complete"}},[n("div",{key:"createAuthor",staticClass:"m_authorsList--createAuthor"},[0==e.openCreateAuthorPanel?n("button",{staticClass:"m_authorsList--createAuthor--createButton",attrs:{type:"button"},on:{click:function(t){e.openCreateAuthorPanel=!0}}},[e._v("\n "+e._s(e.$t("create_an_author"))+"\n ")]):n("CreateAuthor",{attrs:{read_only:e.read_only},on:{close:function(t){e.openCreateAuthorPanel=!1}}})],1),e._v(" "),Object.keys(e.sortedAuthors).length>0?[e._l(e.sortedAuthors,function(t){return[e.editAuthorSlug===t.slugFolderName?n("div",{key:t.slugFolderName,staticClass:"m_authorsList--editAuthor"},[n("EditAuthor",{attrs:{author:t,read_only:e.read_only},on:{close:function(t){e.editAuthorSlug=!1}}})],1):n("div",{key:t.slugFolderName,staticClass:"m_authorsList--author",class:{"is--selected":t.name===e.$root.settings.current_author.name},on:{click:function(n){return e.setAuthor(t)}}},[n("button",{staticClass:"buttonLink m_authorsList--author--editButton",attrs:{type:"button"},on:{click:function(n){return n.stopPropagation(),e.editAuthor(t)}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 100.7 101"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"100.7px",height:"101px",viewBox:"0 0 100.7 101","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M100.7,23.2L77.5,0l-66,66.2l0,0L0,101l34.7-11.6l0,0L100.7,23.2z M19.1,91.5l-9.4-9.7l4-12.4l18,17.8\n L19.1,91.5z"}})]),e._v(" "),n("span",{staticStyle:{display:"none"}},[e._v(e._s(e.$t("edit")))])]),e._v(" "),n("button",{staticClass:"buttonLink m_authorsList--author--removeButton",attrs:{type:"button"},on:{click:function(n){return n.stopPropagation(),e.removeAuthor(t)}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M91.6,17H62.9V0H28.7v17H0v9.4h11.3V95h69V26.4h11.3V17z M64.4,69.4L57.8,76l-12-12l-12,12l-6.6-6.6l12-12\n l-12-12l6.6-6.6l12,12l12-12l6.6,6.6l-12,12L64.4,69.4z M38.1,9.4h15.3V17H38.1V9.4z"}})]),e._v(" "),n("span",{staticStyle:{display:"none"}},[e._v(e._s(e.$t("remove")))])]),e._v(" "),n("button",{staticClass:"m_authorsList--author--card",attrs:{type:"button"},on:{click:function(n){return e.setAuthor(t)}}},[t.preview?n("img",{attrs:{width:"100",height:"100",src:e.urlToPortrait(t.slugFolderName,t.preview),draggable:"false"}}):e._e(),e._v(" "),n("div",{staticClass:"m_authorsList--author--name"},[e._v("\n "+e._s(t.name)+"\n ")]),e._v(" "),t.name===e.$root.settings.current_author.name?n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){return t.stopPropagation(),e.unsetAuthor()}}},[e._v("\n "+e._s(e.$t("unselect"))+"\n ")]):e._e()])])]})]:e._e()],2)],1)])],2)},i.staticRenderFns=[]},{"./../subcomponents/CreateAuthor.vue":215,"./../subcomponents/EditAuthor.vue":219,"./../subcomponents/ImageSelect.vue":220,"./BaseModal.vue":188}],188:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={name:"BaseModal",props:{backgroundColor:{type:String,default:"white"},read_only:{type:Boolean,default:!0},typeOfModal:{type:String,default:"EditMeta"},askBeforeClosingModal:{type:Boolean,default:!1},isFile:{type:Boolean,default:!1},show_sidebar:{type:Boolean,default:!0},can_minimize:{type:Boolean,default:!1},media_navigation:{type:Boolean,default:!1},is_minimized:{type:Boolean,default:!1},prevent_close:{type:Boolean,default:!1}},data:function(){return{showModal:!1,windowHeight:window.innerHeight,has_confirm_close_modal_open:!1}},mounted:function(){var e=this;console.log("MOUNTED • BaseModal"),setTimeout(function(){if(e.showModal=!0,void 0!==Modernizr&&!Modernizr.touchevents){if(e.$refs.modalContent&&e.$refs.modalContent.querySelector("[autofocus]")){var t=e.$refs.modalContent.querySelector("[autofocus]");t.classList.contains("quillWrapper")?t.querySelector(".ql-editor").focus():t.focus(),t.hasAttribute("autoselect")&&t.select()}e.isFile&&e.$refs.form&&e.$refs.form.setAttribute("enctype","multipart/form-data")}},100)},computed:{},methods:{modalKeyListener:function(e){"debug"===window.state.dev_mode&&console.log("METHODS • BaseModal: modalKeyListener"),"Escape"!==e.key?"input"===e.target.tagName.toLowerCase()||"textarea"===e.target.tagName.toLowerCase()||e.target.className.includes("ql-editor")||("ArrowRight"!==e.key?"ArrowLeft"!==e.key||this.prevMedia():this.nextMedia()):this.has_confirm_close_modal_open||this.closeModal()},closeModal:function(){var e=this;console.log("METHODS • BaseModal: closeModal with askBeforeClosingModal = "+this.askBeforeClosingModal),this.prevent_close||(this.askBeforeClosingModal?(this.has_confirm_close_modal_open=!0,this.$alertify.okBtn(this.$t("save_changes")).cancelBtn(this.$t("close_the_window")).confirm(this.$t("changes_not_saved_sureToCloseModal"),function(){e.$emit("submit"),e.showModal=!1,setTimeout(function(){e.$emit("close")},400)},function(){e.showModal=!1,setTimeout(function(){e.$emit("close")},400)})):(this.showModal=!1,setTimeout(function(){e.$emit("close")},400)))},prevMedia:function(){var e=this;console.log("METHODS • BaseModal: prevMedia with askBeforeClosingModal = "+this.askBeforeClosingModal),this.$root.app_is_fullscreen||(this.askBeforeClosingModal?(this.has_confirm_close_modal_open=!0,this.$alertify.okBtn(this.$t("save_changes")).cancelBtn(this.$t("close_the_window")).confirm(this.$t("changes_not_saved_sureToCloseModal"),function(){e.$emit("submit"),e.$eventHub.$emit("modal.prev_media")},function(){e.$eventHub.$emit("modal.prev_media")})):this.$eventHub.$emit("modal.prev_media"))},nextMedia:function(){var e=this;console.log("METHODS • BaseModal: nextMedia with askBeforeClosingModal = "+this.askBeforeClosingModal),this.$root.app_is_fullscreen||(this.askBeforeClosingModal?(this.has_confirm_close_modal_open=!0,this.$alertify.okBtn(this.$t("save_changes")).cancelBtn(this.$t("close_the_window")).confirm(this.$t("changes_not_saved_sureToCloseModal"),function(){e.$emit("submit"),e.$eventHub.$emit("modal.next_media")},function(){e.$eventHub.$emit("modal.next_media")})):this.$eventHub.$emit("modal.next_media"))},toggleMinimize:function(){console.log("METHODS • BaseModal: toggleMinimize"),this.$root.media_modal.minimized=!this.$root.media_modal.minimized},toggleSidebar:function(){console.log("METHODS • BaseModal: toggleSidebar"),this.$root.media_modal.show_sidebar=!this.$root.media_modal.show_sidebar}},created:function(){document.addEventListener("keyup",this.modalKeyListener),document.body.classList.add("has_modal_opened"),this.$root.settings.has_modal_opened=!0},destroyed:function(){document.removeEventListener("keyup",this.modalKeyListener),document.body.classList.remove("has_modal_opened"),this.$root.settings.has_modal_opened=!1}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("portal",{attrs:{to:"modal_container"}},[n("div",{staticClass:"m_modal--mask",class:["typeOfModal-"+e.typeOfModal,{is_invisible:!e.showModal},{is_minimized:e.is_minimized}],style:"height: "+e.$root.settings.windowHeight+"px",on:{mousedown:function(e){if(e.target!==e.currentTarget)return null}}},[n("div",{staticClass:"m_modal--container",class:["color-"+e.backgroundColor,{is_invisible:!e.showModal},{is_minimized:e.is_minimized}],on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:t.ctrlKey?e.$emit("submit"):null}}},[n("div",{ref:"modalContent",staticClass:"m_modal--container--content"},[this.$slots.preview?n("div",{staticClass:"m_modal--preview"},[this.$slots.sidebar?e._e():[n("div",{staticClass:"m_modal--header"},[n("h3",{staticClass:"margin-none"},[e._t("header",[e._v("default header")])],2)])],e._v(" "),e._t("preview",[e._v("default preview")])],2):e._e(),e._v(" "),this.$slots.sidebar&&!e.is_minimized?n("form",{ref:"form",staticClass:"m_modal--sidebar",class:{is_collapsed:!e.show_sidebar},on:{submit:function(t){return t.preventDefault(),e.$emit("submit")}}},[e.can_minimize?n("button",{staticClass:"m_modal--sidebar--toggle",attrs:{type:"button"},on:{click:e.toggleSidebar}},[e._v("\n ☰\n ")]):e._e(),e._v(" "),this.$slots.sidebar&&e.show_sidebar&&!e.is_minimized?[n("div",{staticClass:"m_modal--header"},[n("h3",{staticClass:"margin-none"},[e._t("header",[e._v("default header")])],2)]),e._v(" "),n("div",{staticClass:"m_modal--metaOptions"},[e._t("sidebar",[e._v("default sidebar")])],2),e._v(" "),this.$slots.submit_button?n("div",{staticClass:"m_modal--buttons"},[n("button",{staticClass:"button button-bg_rounded bg-bleuvert",attrs:{type:"submit",disabled:e.read_only}},[n("img",{attrs:{src:"/images/i_enregistre.svg",draggable:"false"}}),e._v(" "),n("span",{staticClass:"text-cap font-verysmall"},[e._t("submit_button",[e._v(e._s(e.$t("save")))])],2)])]):e._e()]:e._e()],2):e._e(),e._v(" "),this.$slots.buttons?n("form",{ref:"form",staticClass:"m_modal--buttons",on:{submit:function(t){return t.preventDefault(),e.$emit("submit")}}},[n("button",{staticClass:"button button-bg_rounded bg-orange",attrs:{type:"button"},on:{click:e.closeModal}},[n("img",{attrs:{src:"/images/i_clear.svg",draggable:"false"}}),e._v(" "),n("span",{staticClass:"text-cap font-verysmall"},[e._t("cancel_button",[e._v(e._s(e.$t("cancel")))])],2)]),e._v(" "),n("button",{staticClass:"button button-bg_rounded bg-bleuvert",attrs:{type:"submit",disabled:e.read_only}},[n("img",{attrs:{src:"/images/i_enregistre.svg",draggable:"false"}}),e._v(" "),n("span",{staticClass:"text-cap font-verysmall"},[e._t("submit_button",[e._v(e._s(e.$t("save")))])],2)])]):e._e()])]),e._v(" "),n("transition",{attrs:{name:"fade",duration:600}},[!e.showModal||e.is_minimized||e.prevent_close?e._e():n("button",{staticClass:"button-round m_modal--close_button padding-verysmall",on:{click:e.closeModal}},[n("img",{attrs:{src:"/images/i_close_sansfond.svg",draggable:"false"}})])]),e._v(" "),n("transition",{attrs:{name:"fade",duration:600}},[e.showModal&&e.can_minimize?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"right",delay:[600,0]},expression:"{\n placement: 'right',\n delay: [600, 0]\n }"}],staticClass:"button-round bg-blanc m_modal--minimize_button padding-verysmall",class:{is_minimized:e.is_minimized},attrs:{content:e.$t("minimize_media")},on:{click:e.toggleMinimize}},[n("img",{attrs:{src:"/images/i_minimize.svg",draggable:"false"}})]):e._e()]),e._v(" "),n("transition",{attrs:{name:"fade",duration:600}},[e.showModal&&e.media_navigation&&!e.is_minimized?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"left",delay:[600,0]},expression:"{\n placement: 'left',\n delay: [600, 0]\n }"}],staticClass:"button-round bg-blanc m_modal--nav_left padding-verysmall",attrs:{content:e.$t("previous_media")},on:{click:function(t){return e.prevMedia()}}},[n("img",{attrs:{src:"/images/i_arrow_left.svg",draggable:"false"}})]):e._e()]),e._v(" "),n("transition",{attrs:{name:"fade",duration:600}},[e.showModal&&e.media_navigation&&!e.is_minimized?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"right",delay:[600,0]},expression:"{\n placement: 'right',\n delay: [600, 0]\n }"}],staticClass:"button-round bg-blanc m_modal--nav_right padding-verysmall",attrs:{content:e.$t("next_media")},on:{click:function(t){return e.nextMedia()}}},[n("img",{attrs:{src:"/images/i_arrow_right.svg",draggable:"false"}})]):e._e()])],1)])},i.staticRenderFns=[]},{}],189:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(e("./BaseModal.vue")),i=a(e("../subcomponents/ImageSelect.vue")),r=a(e("../subcomponents/TagsInput.vue")),o=a(e("../subcomponents/AuthorsInput.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{read_only:Boolean},components:{Modal:t.default,ImageSelect:i.default,TagsInput:r.default,AuthorsInput:o.default},data:function(){return{projectdata:{name:"",password:"",authors:this.$root.settings.current_author.hasOwnProperty("name")?[{name:this.$root.settings.current_author.name}]:[],keywords:[]},preview:void 0,askBeforeClosingModal:!1}},watch:{"projectdata.name":function(){this.projectdata.name.length>0?this.askBeforeClosingModal=!0:this.askBeforeClosingModal=!1},preview:function(){this.preview?this.askBeforeClosingModal=!0:this.askBeforeClosingModal=!1}},computed:{},methods:{newProject:function(e){if(console.log("newProject"),function(){var e=[];for(var t in window.store.projects){var n=window.store.projects[t].name;e.push(n)}return e}().indexOf(this.projectdata.name)>=0)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.project_name_exists")),!1;this.preview&&(this.projectdata.preview_rawdata=this.preview),this.$eventHub.$on("socketio.folder_created_or_updated",this.newFolderCreated),this.$root.createFolder({type:"projects",data:this.projectdata})},newFolderCreated:function(e){var t,n,i,r=this;e.id===this.$root.justCreatedFolderID&&(this.$eventHub.$off("socketio.folder_created_or_updated",this.newFolderCreated),this.$root.justCreatedFolderID=!1,"has_pass"===e.password?(this.$auth.updateFoldersPasswords({projects:(t={},n=e.slugFolderName,i=this.projectdata.password,n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t)}),this.$socketio.sendAuth(),this.$eventHub.$once("socketio.authentificated",function(){r.$emit("close",""),r.$root.openProject(e.slugFolderName)})):this.$nextTick(function(){r.$emit("close",""),r.$root.openProject(e.slugFolderName)}))}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"EditMeta",askBeforeClosingModal:e.askBeforeClosingModal},on:{close:function(t){return e.$emit("close")},submit:e.newProject}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("create_a_project")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("project_name")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.projectdata.name,expression:"projectdata.name",modifiers:{trim:!0}}],attrs:{type:"text",required:"",autofocus:""},domProps:{value:e.projectdata.name},on:{input:function(t){t.target.composing||e.$set(e.projectdata,"name",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("cover_image")))]),e._v(" "),n("br"),e._v(" "),n("ImageSelect",{attrs:{load_from_projects_medias:!0},on:{newPreview:function(t){e.preview=t}}})],1),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("password")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.projectdata.password,expression:"projectdata.password"}],attrs:{type:"password",autocomplete:"new-password"},domProps:{value:e.projectdata.password},on:{input:function(t){t.target.composing||e.$set(e.projectdata,"password",t.target.value)}}}),e._v(" "),n("small",[e._v(e._s(e.$t("password_instructions")))])]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("keywords")))]),e._v(" "),n("TagsInput",{on:{tagsChanged:function(t){return e.projectdata.keywords=t}}})],1),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("author")))]),e._v(" "),n("br"),e._v(" "),n("AuthorsInput",{attrs:{currentAuthors:e.projectdata.authors},on:{authorsChanged:function(t){return e.projectdata.authors=t}}}),e._v(" "),n("small",[e._v(e._s(e.$t("author_instructions")))])],1)]),e._v(" "),n("template",{slot:"submit_button"},[e._v(e._s(e.$t("create")))])],2)},i.staticRenderFns=[]},{"../subcomponents/AuthorsInput.vue":213,"../subcomponents/ImageSelect.vue":220,"../subcomponents/TagsInput.vue":231,"./BaseModal.vue":188}],190:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(e("./BaseModal.vue")),i=o(e("../subcomponents/TagsInput.vue")),r=o(e("../subcomponents/AuthorsInput.vue"));function o(e){return e&&e.__esModule?e:{default:e}}n.default={props:{read_only:Boolean,default_name:{default:"",type:String},default_template:{default:"page_by_page",type:String}},components:{Modal:t.default,TagsInput:i.default,AuthorsInput:r.default},data:function(){return{publidata:{name:this.default_name,template:this.default_template,keywords:[],authors:this.$root.settings.current_author.hasOwnProperty("name")?[{name:this.$root.settings.current_author.name}]:[]}}},watch:{publidata:{handler:function(){this.askBeforeClosingModal=!0},deep:!0}},mounted:function(){},computed:{},methods:{newPublication:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • CreatePublication: newPublication");var t=this.publidata.name;if(function(){var e=[];for(var t in window.store.publications){var n=window.store.publications[t].name;e.push(n)}return e}().indexOf(this.publidata.name)>=0)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.publi_name_exists")),!1;var n={name:t,template:this.publidata.template,authors:this.publidata.authors,keywords:this.publidata.keywords};"page_by_page"===n.template&&(n.pages=[{id:+new Date+"_"+(Math.random().toString(36)+"00000000000000000").slice(2,3)}],n.width=210,n.height=297),this.$eventHub.$on("socketio.folder_created_or_updated",this.newPublicationCreated),this.$root.createFolder({type:"publications",data:n})},newPublicationCreated:function(e){var t=this;e.id===this.$root.justCreatedFolderID&&(this.$eventHub.$off("socketio.folder_created_or_updated",this.newPublicationCreated),this.$root.justCreatedFolderID=!1,this.$nextTick(function(){t.$emit("close",""),t.$root.openPublication(e.slugFolderName)}))}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"EditMeta",askBeforeClosingModal:e.askBeforeClosingModal},on:{close:function(t){return e.$emit("close")},submit:e.newPublication}},[n("template",{slot:"header"},[n("span",[e._v(e._s(e.$t(e.publidata.template)))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("name")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.publidata.name,expression:"publidata.name",modifiers:{trim:!0}}],attrs:{type:"text",required:"",autofocus:"",autoselect:""},domProps:{value:e.publidata.name},on:{input:function(t){t.target.composing||e.$set(e.publidata,"name",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("keywords")))]),e._v(" "),n("TagsInput",{on:{tagsChanged:function(t){return e.publidata.keywords=t}}})],1),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("author")))]),e._v(" "),n("br"),e._v(" "),n("AuthorsInput",{attrs:{currentAuthors:e.publidata.authors},on:{authorsChanged:function(t){return e.publidata.authors=t}}}),e._v(" "),n("small",[e._v(e._s(e.$t("author_instructions")))])],1)]),e._v(" "),n("template",{slot:"submit_button"},[e._v(e._s(e.$t("create")))])],2)},i.staticRenderFns=[]},{"../subcomponents/AuthorsInput.vue":213,"../subcomponents/TagsInput.vue":231,"./BaseModal.vue":188}],191:[function(e,t,n){e("vueify/lib/insert-css").insert(".m_mediaOptions{position:absolute;bottom:0;right:0;z-index:100;background-color:#fff;margin:50px 10px}");!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=l(e("./BaseModal.vue")),i=l(e("../subcomponents/MediaContent.vue")),r=l(e("../subcomponents/DateTime.vue")),o=l(e("./qr/CreateQRCode.vue")),a=(e("timers"),l(e("../subcomponents/AuthorsInput.vue"))),s=l(e("../subcomponents/TagsInput.vue"));function l(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugProjectName:String,slugMediaName:String,media:Object,read_only:{type:Boolean,default:!0}},components:{Modal:t.default,DateTime:r.default,MediaContent:i.default,CreateQRCode:o.default,TagsInput:s.default,AuthorsInput:a.default},data:function(){return{showQRModal:!1,showCopyToProjectOptions:!1,is_minimized:!1,show_edit_media_options:!1,upload_to_folder:this.slugProjectName,mediadata:{type:this.media.type,authors:this.media.authors,caption:this.media.caption,keywords:this.media.keywords,fav:this.media.fav,content:this.media.content},mediaURL:"/"+this.slugProjectName+"/"+this.media.media_filename,askBeforeClosingModal:!1,is_ready:!1}},watch:{mediadata:{handler:function(){this.is_ready&&(this.askBeforeClosingModal=!0)},deep:!0}},created:function(){var e=this;"string"==typeof this.mediadata.authors&&(""!==this.mediadata.authors?this.mediadata.authors=this.mediadata.authors.split(",").map(function(e){return{name:e}}):this.mediadata.authors=[]),this.$nextTick(function(){e.is_ready=!0})},computed:{all_projects:function(){return this.$root.projects_that_are_accessible},project_name:function(){return!(!this.slugProjectName||!this.$root.store.projects.hasOwnProperty(this.slugProjectName))&&this.$root.store.projects[this.slugProjectName].name}},methods:{printMedia:function(){window.print()},minimizeMediaAndShowProject:function(){this.$root.media_modal.minimized=!0,this.$root.openProject(this.slugProjectName)},removeMedia:function(){var e=this;this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemoveMedia"),function(){e.$root.removeMedia({type:"projects",slugFolderName:e.slugProjectName,slugMediaName:e.slugMediaName}),e.$emit("close","")},function(){})},editThisMedia:function(){console.log("editThisMedia"),this.$root.editMedia({type:"projects",slugFolderName:this.slugProjectName,slugMediaName:this.slugMediaName,data:this.mediadata}),this.$emit("close","")},copyMediaToProject:function(e){console.log("copyMediaToProject "+e),this.$socketio.copyMediaToFolder({type:"projects",from_slugFolderName:this.slugProjectName,to_slugFolderName:e,slugMediaName:this.slugMediaName}),this.showCopyToProjectOptions=!1},editRawMedia:function(e,t){console.log("editRawMedia"),this.$root.editMedia({type:"projects",slugFolderName:this.slugProjectName,slugMediaName:this.slugMediaName,data:this.mediadata,recipe_with_data:{apply_to:this.media.media_filename,type:e,detail:t}})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:(e.media.type,"LargeAndNoScroll"),askBeforeClosingModal:e.askBeforeClosingModal,show_sidebar:e.$root.media_modal.show_sidebar,is_minimized:e.$root.media_modal.minimized,can_minimize:!0,media_navigation:!0},on:{close:function(t){return e.$emit("close")},submit:e.editThisMedia}},[n("template",{slot:"header"},[n("div",{},[e._v(e._s(e.$t("edit_the_media")))]),e._v(" "),n("small",{staticClass:"font-normal"},[e._v(e._s(e.media.media_filename))])]),e._v(" "),n("template",{slot:"sidebar"},[e.read_only?e._e():n("div",{staticClass:"m_modal--buttonrow"},[n("a",{staticClass:"buttonLink hide_on_print",attrs:{download:e.media.media_filename,href:e.mediaURL,target:"_blank",disabled:e.read_only}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 46.7 70"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"46.7px",height:"70px",viewBox:"0 0 46.7 70","xml:space":"preserve"}},[n("g",[n("g",[n("path",{staticClass:"st0",attrs:{d:"M8.5,35.2l4.6,4.2c2.7,2.5,4.8,4.7,6.4,7.3l0-46.7h7.7l0,46.6c1.7-2.5,3.8-4.7,6.4-7.1l4.6-4.2l5.3,6.2\n\t\t\tL23.3,59.6L3.2,41.5L8.5,35.2z"}})]),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"46.7,70 0,70 0,62.4 46.6,62.4 \t"}})])]),e._v("\n "+e._s(e.$t("download"))+"\n ")]),e._v(" "),n("button",{staticClass:"buttonLink",class:{"is--active":e.showQRModal},attrs:{type:"button"},on:{click:function(t){e.showQRModal=!e.showQRModal}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 90 90"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"20px",height:"20px",viewBox:"0 0 90 90","xml:space":"preserve"}},[n("path",{attrs:{d:"M48,0v42h42V0H48z M84,36H54V6h30V36z M13,77h16V61H13V77z M0,90h42V48H0V90z M6,54h30v30H6V54z M63,48H48v13h15V48z M69,54\n h8v7h-8v12h-8v-8h-9v8h5v9h-9v8h21v-8h13v-9h-5v-8h13V48H69V54z M0,42h42V0H0V42z M6,6h30v30H6V6z M90,90v-8h-8v8H90z M13,29h16V13\n H13V29z M77,13H61v16h16V13z"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("share")))])]),e._v(" "),e.showQRModal?[n("hr"),e._v(" "),n("CreateQRCode",{attrs:{slugFolderName:e.slugProjectName,media:e.media}})]:e._e(),e._v(" "),n("button",{staticClass:"buttonLink",class:{"is--active":e.showCopyToProjectOptions},attrs:{type:"button"},on:{click:function(t){e.showCopyToProjectOptions=!e.showCopyToProjectOptions}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"39.5,11.8 83,11.8 83,55.4 72.7,55.4 72.7,67.2 94.8,67.2 94.8,0 27.7,0 27.7,22.2 39.5,22.2 \t"}}),e._v(" "),n("path",{staticClass:"st0",attrs:{d:"M67.2,27.7L0,27.7l0,67.2l67.2,0L67.2,27.7z M55.4,83l-43.6,0l0-43.6l43.6,0L55.4,83z"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("duplicate")))])]),e._v(" "),e.showCopyToProjectOptions?n("div",{staticClass:"margin-bottom-small"},[n("label",{domProps:{innerHTML:e._s(e.$t("add_to_project"))}}),e._v(" "),n("div",{staticClass:"input-group"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.upload_to_folder,expression:"upload_to_folder"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.upload_to_folder=t.target.multiple?n:n[0]}}},e._l(e.all_projects,function(t){return n("option",{key:t.slugFolderName,domProps:{value:t.slugFolderName}},[e._v(e._s(t.name))])}),0),e._v(" "),n("button",{staticClass:"bg-bleuvert",attrs:{type:"button",disabled:""===e.upload_to_folder},domProps:{innerHTML:e._s(e.$t("copy"))},on:{click:function(t){return e.copyMediaToProject(e.upload_to_folder)}}})])]):e._e(),e._v(" "),"image"===e.media.type||"video"===e.media.type?n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){e.show_edit_media_options=!e.show_edit_media_options}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 77.6 85.4"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"77.6px",height:"85.4px",viewBox:"0 0 77.6 85.4","xml:space":"preserve"}},[n("defs"),e._v(" "),n("g",[n("path",{attrs:{d:"M73.9,39h-7.6c-1.6-5.6-6.7-9.7-12.7-9.7S42.5,33.5,40.8,39H3.7c-2,0-3.7,1.6-3.7,3.7c0,2,1.6,3.7,3.7,3.7h37.1\n\t\tc1.6,5.6,6.7,9.7,12.7,9.7s11.1-4.1,12.7-9.7h7.6c2,0,3.7-1.6,3.7-3.7C77.6,40.7,76,39,73.9,39z M53.6,48.7c-3.2,0-6-2.6-6-6\n\t\ts2.6-6,6-6s6,2.6,6,6S56.8,48.7,53.6,48.7z"}}),e._v(" "),n("path",{attrs:{d:"M3.7,17.1h7.9c1.6,5.6,6.7,9.7,12.7,9.7s11.1-4.1,12.7-9.7h36.9c2,0,3.7-1.6,3.7-3.7S76,9.7,73.9,9.7H37\n\t\tC35.4,4.1,30.3,0,24.3,0S13.2,4.1,11.6,9.7H3.7c-2,0-3.7,1.6-3.7,3.7S1.6,17.1,3.7,17.1z M24.3,7.4c3.2,0,6,2.6,6,6s-2.6,6-6,6\n\t\ts-6-2.8-6-6S21.1,7.4,24.3,7.4z"}}),e._v(" "),n("path",{attrs:{d:"M73.9,68.3H37c-1.6-5.6-6.7-9.7-12.7-9.7s-11.1,4.1-12.7,9.7H3.7c-2,0-3.7,1.6-3.7,3.7s1.6,3.7,3.7,3.7h7.9\n\t\tc1.6,5.6,6.7,9.7,12.7,9.7s11.1-4.1,12.7-9.7h36.9c2,0,3.7-1.6,3.7-3.7S76,68.3,73.9,68.3z M24.3,78c-3.2,0-6-2.6-6-6s2.6-6,6-6\n\t\ts6,2.6,6,6S27.5,78,24.3,78z"}})])]),e._v("\n "+e._s(e.$t("adjust"))+"\n ")]):e._e(),e._v(" "),e.show_edit_media_options?n("div",{staticClass:"bg-creme"},["image"===e.media.type?n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){return e.editRawMedia("rotate_image",{angle:90})}}},[e._v(e._s(e.$t("rotate_clockwise")))]):e._e(),e._v(" "),"video"===e.media.type?n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){return e.editRawMedia("optimize_video")}}},[e._v(e._s(e.$t("convert_video_for_the_web")))]):e._e(),e._v(" "),e.media.original_media_filename?n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){return e.editRawMedia("reset")}}},[e._v(e._s(e.$t("revert_to_original")))]):e._e()]):e._e(),e._v(" "),n("button",{staticClass:"buttonLink hide_on_print",attrs:{type:"button",disabled:e.read_only},on:{click:function(t){return t.preventDefault(),e.removeMedia()}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M91.6,17H62.9V0H28.7v17H0v9.4h11.3V95h69V26.4h11.3V17z M64.4,69.4L57.8,76l-12-12l-12,12l-6.6-6.6l12-12\n l-12-12l6.6-6.6l12,12l12-12l6.6,6.6l-12,12L64.4,69.4z M38.1,9.4h15.3V17H38.1V9.4z"}})]),e._v("\n "+e._s(e.$t("remove"))+"\n ")]),e._v(" "),n("hr",{staticClass:"hide_on_print"})],2),e._v(" "),n("div",{staticClass:"hide_on_print"},[n("div",{staticClass:"margin-bottom-small"},[n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.mediadata.fav,expression:"mediadata.fav"}],staticClass:"switch",attrs:{type:"checkbox",id:"favswitch_editmedia",readonly:e.read_only},domProps:{checked:Array.isArray(e.mediadata.fav)?e._i(e.mediadata.fav,null)>-1:e.mediadata.fav},on:{change:function(t){var n=e.mediadata.fav,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&e.$set(e.mediadata,"fav",n.concat([null])):o>-1&&e.$set(e.mediadata,"fav",n.slice(0,o).concat(n.slice(o+1)))}else e.$set(e.mediadata,"fav",r)}}}),e._v(" "),n("label",{class:{"c-rouge":e.mediadata.fav},attrs:{for:"favswitch_editmedia"}},[e._v("\n "+e._s(e.$t("fav"))+"\n "),n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 78.5 106.4"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"78.5px",height:"106.4px",viewBox:"0 0 78.5 106.4","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"60.4,29.7 78.5,7.3 78.5,7.3 12.7,7.3 12.7,52 78.5,52 78.5,52 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"9.6,106.4 0,106.4 0,2 9.6,0 "}})])])])]),e._v(" "),e.media.type?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("type")))]),e._v(" "),n("div",[e._v("\n "+e._s(e.$t(e.media.type))+"\n ")])]):e._e(),e._v(" "),e.project_name&&"ProjectView"!==e.$root.do_navigation.view?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("project")))]),e._v(" "),n("div",[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0]\n }"}],staticStyle:{"text-transform":"initial"},attrs:{type:"button",content:e.$t("open_project")},on:{click:e.minimizeMediaAndShowProject}},[e._v("\n "+e._s(e.project_name)+"\n ↑\n ")])])]):e._e(),e._v(" "),n("DateField",{attrs:{title:"created",date:e.media.date_created}}),e._v(" "),e.media.hasOwnProperty("date_uploaded")?n("DateField",{attrs:{title:"uploaded",date:e.media.date_uploaded}}):e._e(),e._v(" "),n("DateField",{attrs:{title:"edited",date:e.media.date_modified}}),e._v(" "),e.read_only&&!e.mediadata.caption||"text"===e.mediadata.type?e._e():n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("caption")))]),e._v(" "),n("br"),e._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.mediadata.caption,expression:"mediadata.caption"}],attrs:{readonly:e.read_only},domProps:{value:e.mediadata.caption},on:{input:function(t){t.target.composing||e.$set(e.mediadata,"caption",t.target.value)}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("keywords")))]),e._v(" "),n("TagsInput",{attrs:{keywords:e.mediadata.keywords},on:{tagsChanged:function(t){return e.mediadata.keywords=t}}})],1),e._v(" "),!e.read_only||e.mediadata.authors?n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("author")))]),e._v(" "),n("AuthorsInput",{attrs:{currentAuthors:e.mediadata.authors},on:{authorsChanged:function(t){return e.mediadata.authors=t}}}),e._v(" "),n("small",[e._v(e._s(e.$t("author_instructions")))])],1):e._e()],1)]),e._v(" "),n("template",{slot:"submit_button"},[e._v(e._s(e.$t("save")))]),e._v(" "),n("template",{slot:"preview"},[n("MediaContent",{attrs:{context:"edit",slugFolderName:e.slugProjectName,media:e.media,read_only:e.read_only},model:{value:e.mediadata.content,callback:function(t){e.$set(e.mediadata,"content",t)},expression:"mediadata.content"}}),e._v(" "),n("div",{staticClass:"m_mediaOptions"})],1)],2)},i.staticRenderFns=[]},{"../subcomponents/AuthorsInput.vue":213,"../subcomponents/DateTime.vue":217,"../subcomponents/MediaContent.vue":223,"../subcomponents/TagsInput.vue":231,"./BaseModal.vue":188,"./qr/CreateQRCode.vue":201,timers:148,"vueify/lib/insert-css":161}],192:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(e("./BaseModal.vue")),i=(a(e("slugg")),a(e("../subcomponents/ImageSelect.vue"))),r=a(e("../subcomponents/TagsInput.vue")),o=a(e("../subcomponents/AuthorsInput.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugProjectName:String,project_password:String,project:Object,read_only:Boolean},components:{Modal:t.default,ImageSelect:i.default,TagsInput:r.default,AuthorsInput:o.default},data:function(){return{projectdata:{name:this.project.name,authors:"string"==typeof this.project.authors&&""!==this.project.authors?this.project.authors.split(",").map(function(e){return{name:e}}):this.project.authors,keywords:this.project.keywords,password:this.project_password?this.project_password:""},tag:"",preview_rawdata:void 0,askBeforeClosingModal:!1}},watch:{projectdata:{handler:function(){this.askBeforeClosingModal=!0},deep:!0},preview_rawdata:function(){this.askBeforeClosingModal=!0}},mounted:function(){},computed:{previewURL:function(){if(!this.project.hasOwnProperty("preview")||""===this.project.preview)return"";var e=this.project.preview.filter(function(e){return 640===e.size});return e.length>0?""+e[0].path:""}},methods:{editThisProject:function(e){if(console.log("editThisProject"),this.projectdata.name!==this.project.name){if(function(){var e=[];for(var t in window.store.projects){var n=window.store.projects[t].name;e.push(n)}return e}().indexOf(this.projectdata.name)>=0)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.project_name_exists")),!1}var t,n,i;void 0!==this.preview_rawdata&&(this.projectdata.preview_rawdata=this.preview_rawdata),this.projectdata.password&&this.$auth.updateFoldersPasswords({projects:(t={},n=this.slugProjectName,i=this.projectdata.password,n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t)}),this.$root.editFolder({type:"projects",slugFolderName:this.slugProjectName,data:this.projectdata}),this.$emit("close","")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"EditMeta",askBeforeClosingModal:e.askBeforeClosingModal},on:{close:function(t){return e.$emit("close")},submit:e.editThisProject}},[n("template",{slot:"header"},[n("div",{},[e._v(e._s(e.$t("edit_project")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("project_name")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.projectdata.name,expression:"projectdata.name",modifiers:{trim:!0}}],staticClass:"input-big",attrs:{type:"text",required:"",readonly:e.read_only},domProps:{value:e.projectdata.name},on:{input:function(t){t.target.composing||e.$set(e.projectdata,"name",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("cover_image")))]),e._v(" "),n("br"),e._v(" "),n("ImageSelect",{attrs:{previewURL:e.previewURL,load_from_projects_medias:!0,slugProjectName:e.slugProjectName},on:{newPreview:function(t){e.preview_rawdata=t}}})],1),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("password")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.projectdata.password,expression:"projectdata.password"}],attrs:{type:"password",readonly:e.read_only},domProps:{value:e.projectdata.password},on:{input:function(t){t.target.composing||e.$set(e.projectdata,"password",t.target.value)}}}),e._v(" "),n("small",[e.project_password&&""===e.projectdata.password?[e._v(e._s(e.$t("removing_password_warning")))]:[e._v(e._s(e.$t("adding_password_warning")))]],2)]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("keywords")))]),e._v(" "),n("TagsInput",{attrs:{keywords:e.projectdata.keywords},on:{tagsChanged:function(t){return e.projectdata.keywords=t}}})],1),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("author")))]),e._v(" "),n("br"),e._v(" "),n("AuthorsInput",{attrs:{currentAuthors:e.projectdata.authors},on:{authorsChanged:function(t){return e.projectdata.authors=t}}}),e._v(" "),n("small",[e._v(e._s(e.$t("author_instructions")))])],1)]),e._v(" "),n("template",{slot:"submit_button"},[e._v(e._s(e.$t("save")))])],2)},i.staticRenderFns=[]},{"../subcomponents/AuthorsInput.vue":213,"../subcomponents/ImageSelect.vue":220,"../subcomponents/TagsInput.vue":231,"./BaseModal.vue":188,slugg:125}],193:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(e("./BaseModal.vue")),i=(a(e("slugg")),a(e("../subcomponents/ImageSelect.vue"))),r=a(e("../subcomponents/TagsInput.vue")),o=a(e("../subcomponents/AuthorsInput.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,read_only:Boolean},components:{Modal:t.default,ImageSelect:i.default,TagsInput:r.default,AuthorsInput:o.default},data:function(){return{publidata:{name:this.publication.name,authors:"string"==typeof this.publication.authors&&""!==this.publication.authors?this.publication.authors.split(",").map(function(e){return{name:e}}):this.publication.authors,keywords:this.publication.keywords},tag:"",preview:void 0,askBeforeClosingModal:!1}},watch:{publidata:{handler:function(){this.askBeforeClosingModal=!0},deep:!0}},mounted:function(){},computed:{},methods:{editThisPublication:function(e){if(console.log("editThisPublication"),this.publidata.name!==this.publication.name){if(function(){var e=[];for(var t in window.store.publications){var n=window.store.publications[t].name;e.push(n)}return e}().indexOf(this.publidata.name)>=0)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.publi_name_exists")),!1}void 0!==this.preview&&(this.publidata.preview_rawdata=this.preview),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:this.publidata}),this.$emit("close","")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"EditMeta",askBeforeClosingModal:e.askBeforeClosingModal},on:{close:function(t){return e.$emit("close")},submit:e.editThisPublication}},[n("template",{slot:"header"},[n("div",{},[e._v(e._s(e.$t("edit_publication")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("name")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.publidata.name,expression:"publidata.name",modifiers:{trim:!0}}],staticClass:"input-big",attrs:{type:"text",required:"",autofocus:"",readonly:e.read_only},domProps:{value:e.publidata.name},on:{input:function(t){t.target.composing||e.$set(e.publidata,"name",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("keywords")))]),e._v(" "),n("TagsInput",{attrs:{keywords:e.publidata.keywords},on:{tagsChanged:function(t){return e.publidata.keywords=t}}})],1),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("author")))]),e._v(" "),n("br"),e._v(" "),n("AuthorsInput",{attrs:{currentAuthors:e.publidata.authors},on:{authorsChanged:function(t){return e.publidata.authors=t}}}),e._v(" "),n("small",[e._v(e._s(e.$t("author_instructions")))])],1)]),e._v(" "),n("template",{slot:"submit_button"},[e._v(e._s(e.$t("save")))])],2)},i.staticRenderFns=[]},{"../subcomponents/AuthorsInput.vue":213,"../subcomponents/ImageSelect.vue":220,"../subcomponents/TagsInput.vue":231,"./BaseModal.vue":188,slugg:125}],194:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(e("./BaseModal.vue")),i=e("timers"),r=a(e("../subcomponents/AddCreationToProject.vue")),o=a(e("./qr/CreateQRCode.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{publication:Object,slugPubliName:String},components:{Modal:t.default,AddCreationToProject:r.default,CreateQRCode:o.default},data:function(){return{pdf_request_status:!1,link_to_pdf:!1,path_to_pdf:!1,web_export_started:!1,exported_pdf_name:"",show_link_infos:!1}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{downloadPDF:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • ExportPagePubli: downloadPDF"),this.link_to_pdf=!1,this.path_to_pdf=!1,this.$eventHub.$on("socketio.publication.pdfIsGenerated",this.publiIsGenerated),this.$root.downloadPubliPDF({slugPubliName:this.slugPubliName}),this.pdf_request_status="waiting_for_server"},publiIsGenerated:function(e){var t=e.pdfName;e.pdfPath;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: publiIsGenerated"),this.$eventHub.$off("socketio.publication.pdfIsGenerated",this.publiIsGenerated),this.pdf_request_status="generated",this.exported_pdf_name=t,this.link_to_pdf=window.location.origin+"/_publications/print/pdf/"+t},downloadWeb:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: downloadWeb"),this.web_export_started=!0,(0,i.setTimeout)(function(){e.web_export_started=!1},2e3),window.location.replace(window.location.origin+"/_publications/web/"+this.slugPubliName)},getLink:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: getLink"),this.show_link_infos=!0}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{staticClass:"m_exportModal",attrs:{typeOfModal:"EditMeta"},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("export_creation")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-sides-medium font-small"},[n("div",{},[n("div",{domProps:{innerHTML:e._s(e.$t("get_pdf"))}}),e._v(" "),n("button",{staticClass:"margin-small margin-left-none bg-bleuvert c-blanc button-allwide",attrs:{type:"button",disabled:!1!==e.pdf_request_status},on:{click:e.downloadPDF}},[e.pdf_request_status?"waiting_for_server"===e.pdf_request_status?[n("span",{staticClass:"loader loader-xs"}),e._v("\n "+e._s(e.$t("notifications.creation_in_progress"))+"\n ")]:"generated"===e.pdf_request_status?[e._v(e._s(e.$t("notifications.pdf_created")))]:e._e():[e._v(e._s(e.$t("download_pdf")))]],2),e._v(" "),"generated"===e.pdf_request_status?n("div",[!1!==e.link_to_pdf?n("a",{staticClass:"buttonLink margin-left-none",attrs:{href:e.link_to_pdf,target:"_blank",download:""}},[e._v(e._s(e.$t("download")))]):e._e(),e._v(" "),!1!==e.link_to_pdf&&e.$root.state.is_electron?n("a",{staticClass:"buttonLink margin-left-none",attrs:{href:e.link_to_pdf,target:"_blank"}},[e._v(e._s(e.$t("open_in_app")))]):e._e(),e._v(" "),!1!==e.link_to_pdf?n("AddCreationToProject",{attrs:{publication:e.publication,media_filename:e.exported_pdf_name},on:{close:function(t){return e.$emit("close")}}}):e._e()],1):e._e()]),e._v(" "),n("hr"),e._v(" "),n("div",{},[n("div",{domProps:{innerHTML:e._s(e.$t("get_website"))}}),e._v(" "),n("button",{staticClass:"margin-small margin-left-none bg-bleumarine c-blanc button-allwide",attrs:{type:"button",disabled:e.web_export_started},on:{click:e.downloadWeb}},[e.web_export_started?[n("span",{staticClass:"loader loader-xs"})]:e._e(),e._v("\n "+e._s(e.$t("download_website"))+"\n ")],2)]),e._v(" "),n("hr"),e._v(" "),n("div",{},[n("div",{domProps:{innerHTML:e._s(e.$t("get_a_link"))}}),e._v(" "),e.show_link_infos?e._e():n("button",{staticClass:"margin-small margin-left-none bg-bleumarine c-blanc button-allwide",attrs:{type:"button"},on:{click:e.getLink}},[e._v(e._s(e.$t("share")))]),e._v(" "),e.show_link_infos?n("CreateQRCode",{attrs:{type:"publications",slugFolderName:e.slugPubliName}}):e._e()],1)])])],2)},i.staticRenderFns=[]},{"../subcomponents/AddCreationToProject.vue":212,"./BaseModal.vue":188,"./qr/CreateQRCode.vue":201,timers:148}],195:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=r(e("./BaseModal.vue")),i=r(e("../subcomponents/AddCreationToProject.vue"));e("timers");function r(e){return e&&e.__esModule?e:{default:e}}n.default={props:{publication:Object,slugPubliName:String},components:{Modal:t.default,AddCreationToProject:i.default},data:function(){return{video_request_status:!1,link_to_video:!1,video_is_playing:!1,framerate:4,seconds_per_image:.25,quality:720,available_qualities:[{label:"very_high",height:1080},{label:"high",height:720},{label:"medium",height:640},{label:"low",height:360}],exported_video_name:!1,plyr_options:{controls:["play-large","play","progress","current-time","mute","volume","fullscreen"],iconUrl:"/images/plyr.svg"}}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{quality:function(){"generated"===this.video_request_status&&(this.video_request_status=!1)},framerate:function(){this.seconds_per_image=1/this.framerate,this.framerate=this.framerate.toFixed(1),"generated"===this.video_request_status&&(this.video_request_status=!1)},seconds_per_image:function(){this.framerate=1/this.seconds_per_image}},computed:{},methods:{downloadVideo:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • ExportVideoPubli: downloadVideo"),this.$eventHub.$once("socketio.publication.publiStopmotionIsGenerated",this.videoPubliIsGenerated),this.$eventHub.$once("socketio.publication.publiStopmotionFailed",this.videoPubliFailedToGenerate),this.$socketio.downloadStopmotionPubli({slugPubliName:this.slugPubliName,options:{framerate:this.framerate,quality:this.quality}}),this.video_request_status="waiting_for_server"},videoPubliIsGenerated:function(e){var t=e.videoName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: videoPubliIsGenerated"),this.$eventHub.$off("socketio.publication.publiStopmotionFailed"),this.video_request_status="generated",this.link_to_video=window.location.origin+"/_publications/video/"+t,this.exported_video_name=t},videoPubliFailedToGenerate:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: videoPubliFailedToGenerate"),this.$eventHub.$off("socketio.publication.publiStopmotionIsGenerated"),this.video_request_status="failed"}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{staticClass:"m_exportModal",attrs:{typeOfModal:"ExportVideo"},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("export_creation")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-sides-medium font-small"},[n("div",{},[n("p",[e._v(e._s(e.$t("export_stopmotion_instructions")))]),e._v(" "),n("hr"),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v("\n "+e._s(e.$t("framerate"))+" : "+e._s(e.framerate)+"fps =\n "),e.framerate<=1?[e._v(e._s(e.$t("very_slow")))]:e.framerate<=10?[e._v(e._s(e.$t("slow")))]:e.framerate<=20?[e._v(e._s(e.$t("speed_medium")))]:e.framerate<=30?[e._v(e._s(e.$t("fast")))]:e._e()],2),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.framerate,expression:"framerate",modifiers:{number:!0}}],attrs:{type:"range",min:"0.1",max:"30",step:".1"},domProps:{value:e.framerate},on:{__r:function(t){e.framerate=e._n(t.target.value)},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("quality")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.quality,expression:"quality"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.quality=t.target.multiple?n:n[0]}}},e._l(e.available_qualities,function(t){return n("option",{key:t.height,domProps:{value:t.height}},[e._v(e._s(e.$t(t.label)))])}),0)]),e._v(" "),n("button",{staticClass:"margin-small margin-left-none bg-bleuvert c-blanc button-allwide",attrs:{type:"button",disabled:!1!==e.video_request_status},on:{click:e.downloadVideo}},[e.video_request_status?"waiting_for_server"===e.video_request_status?[n("span",{staticClass:"loader loader-xs"}),e._v("\n "+e._s(e.$t("notifications.creation_in_progress"))+"\n ")]:"generated"===e.video_request_status?[e._v(e._s(e.$t("notifications.video_created")))]:"failed"===e.video_request_status?[e._v(e._s(e.$t("notifications.video_creation_failed")))]:e._e():[e._v(e._s(e.$t("make_video")))]],2),e._v(" "),"generated"===e.video_request_status?n("div",[n("div",{staticClass:"mediaContainer"},[n("vue-plyr",{attrs:{options:e.plyr_options}},[n("video",{attrs:{src:e.link_to_video,controls:"",preload:"auto"}})])],1),e._v(" "),n("div",{staticClass:"margin-vert-medium"},[!1!==e.link_to_video?n("a",{staticClass:"buttonLink margin-left-none padding-left-none",attrs:{href:e.link_to_video}},[e._v(e._s(e.$t("download")))]):e._e(),e._v(" "),!1!==e.exported_video_name?n("AddCreationToProject",{attrs:{media_filename:e.exported_video_name,publication:e.publication},on:{close:function(t){return e.$emit("close")}}}):e._e()],1)]):e._e()])])])],2)},i.staticRenderFns=[]},{"../subcomponents/AddCreationToProject.vue":212,"./BaseModal.vue":188,timers:148}],196:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=r(e("./BaseModal.vue")),i=(e("timers"),r(e("../subcomponents/AddCreationToProject.vue")));function r(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,instructions:String},components:{Modal:t.default,AddCreationToProject:i.default},data:function(){return{video_request_status:!1,link_to_video:!1,video_is_playing:!1,exported_video_name:!1,plyr_options:{controls:["play-large","play","progress","current-time","mute","volume","fullscreen"],iconUrl:"/images/plyr.svg"}}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{downloadVideo:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • ExportVideoPubli: downloadVideo"),this.$eventHub.$once("socketio.publication.videoIsGenerated",this.videoPubliIsGenerated),this.$eventHub.$once("socketio.publication.videoFailedToGenerate",this.videoPubliFailedToGenerate),this.$socketio.downloadVideoPubli({slugPubliName:this.slugPubliName}),this.video_request_status="waiting_for_server"},videoPubliIsGenerated:function(e){var t=e.videoName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: videoPubliIsGenerated"),this.$eventHub.$off("socketio.publication.videoFailedToGenerate"),this.video_request_status="generated",this.link_to_video=window.location.origin+"/_publications/video/"+t,this.exported_video_name=t},videoPubliFailedToGenerate:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: videoPubliFailedToGenerate"),this.$eventHub.$off("socketio.publication.videoIsGenerated"),this.video_request_status="failed"}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{staticClass:"m_exportModal",attrs:{typeOfModal:"ExportVideo"},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("export_creation")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-sides-medium font-small"},[n("div",{},[e._v("\n "+e._s(e.instructions)+"\n "),n("button",{staticClass:"margin-small margin-left-none bg-bleuvert c-blanc button-allwide",attrs:{type:"button",disabled:!1!==e.video_request_status},on:{click:e.downloadVideo}},[e.video_request_status?"waiting_for_server"===e.video_request_status?[n("span",{staticClass:"loader loader-xs"}),e._v("\n "+e._s(e.$t("notifications.creation_in_progress"))+"\n ")]:"generated"===e.video_request_status?[e._v(e._s(e.$t("notifications.video_created")))]:"failed"===e.video_request_status?[e._v(e._s(e.$t("notifications.video_creation_failed")))]:e._e():[e._v(e._s(e.$t("make_video")))]],2),e._v(" "),"generated"===e.video_request_status?n("div",[n("div",{staticClass:"mediaContainer"},[n("vue-plyr",{attrs:{options:e.plyr_options}},[n("video",{attrs:{src:e.link_to_video,controls:"",preload:"auto"}})])],1),e._v(" "),n("div",{staticClass:"margin-vert-medium"},[!1!==e.link_to_video?n("a",{staticClass:"buttonLink margin-left-none padding-left-none",attrs:{href:e.link_to_video}},[e._v(e._s(e.$t("download")))]):e._e(),e._v(" "),!1!==e.exported_video_name?n("AddCreationToProject",{attrs:{publication:e.publication,media_filename:e.exported_video_name},on:{close:function(t){return e.$emit("close")}}}):e._e()],1)]):e._e()])])])],2)},i.staticRenderFns=[]},{"../subcomponents/AddCreationToProject.vue":212,"./BaseModal.vue":188,timers:148}],197:[function(e,t,n){e("vueify/lib/insert-css").insert(".m_selectedQRShareMode{display:flex;flex-flow:row wrap}.m_selectedQRShareMode>*{flex:1 1 0;margin:0;padding:0;min-width:150px;border-bottom:2px solid var(--c-gris-clair);border-right:2px solid var(--c-gris-clair);display:flex;align-items:center}.m_selectedQRShareMode>* input{display:block;flex:0 0 auto;margin:calc(var(--spacing) / 2)}.m_selectedQRShareMode>:last-child{border-right:none}");!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(e("./BaseModal.vue")),i=o(e("./qr/ScanQRCode.vue")),r=o(e("./qr/CreateQRCode.vue"));function o(e){return e&&e.__esModule?e:{default:e}}n.default={props:["read_only","slugProjectName"],components:{Modal:t.default,CreateQRCode:r.default,ScanQRCode:i.default},data:function(){return{current_mode:"CreateQRCode"}},mounted:function(){},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"SmallAndScroll"},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("remote_access")))])]),e._v(" "),n("template",{slot:"preview"},[n("div",{staticClass:"m_selectedQRShareMode hide_on_print"},[n("label",{attrs:{for:"CreateQRCode"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.current_mode,expression:"current_mode"}],attrs:{type:"radio",id:"CreateQRCode",value:"CreateQRCode"},domProps:{checked:e._q(e.current_mode,"CreateQRCode")},on:{change:function(t){e.current_mode="CreateQRCode"}}}),e._v("\n "+e._s(e.$t("share_access"))+"\n ")]),e._v(" "),n("label",{attrs:{for:"ScanQRCode"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.current_mode,expression:"current_mode"}],attrs:{type:"radio",id:"ScanQRCode",value:"ScanQRCode"},domProps:{checked:e._q(e.current_mode,"ScanQRCode")},on:{change:function(t){e.current_mode="ScanQRCode"}}}),e._v("\n "+e._s(e.$t("scan_qr_code"))+"\n ")])]),e._v(" "),n("div",{staticClass:"font-small"},["CreateQRCode"===e.current_mode?n("div",{},[n("CreateQRCode",{attrs:{slugFolderName:e.slugProjectName}})],1):e._e(),e._v(" "),"ScanQRCode"===e.current_mode?n("div",{staticClass:"m_scanQR"},[n("ScanQRCode")],1):e._e()])])],2)},i.staticRenderFns=[]},{"./BaseModal.vue":188,"./qr/CreateQRCode.vue":201,"./qr/ScanQRCode.vue":202,"vueify/lib/insert-css":161}],198:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("./BaseModal.vue"),r=(t=i)&&t.__esModule?t:{default:t};n.default={props:{},components:{Modal:r.default},data:function(){return{pwd:"",remember_password_on_this_device:!1}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{submitPassword:function(){this.remember_password_on_this_device&&this.$auth.saveSessionPasswordToLocalStorage(this.pwd),this.$socketio.connect(this.pwd),this.$emit("close")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:!1,typeOfModal:"EditMeta",prevent_close:!0},on:{close:function(t){return e.$emit("close")},submit:e.submitPassword}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("connect_to_dodoc")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("password")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.pwd,expression:"pwd"}],attrs:{type:"password",required:"",autofocus:"",autoselect:""},domProps:{value:e.pwd},on:{input:function(t){t.target.composing||(e.pwd=t.target.value)}}})]),e._v(" "),n("span",{staticClass:"switch switch-xs margin-bottom-small"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.remember_password_on_this_device,expression:"remember_password_on_this_device"}],attrs:{id:"remember_password_on_this_device",type:"checkbox"},domProps:{checked:Array.isArray(e.remember_password_on_this_device)?e._i(e.remember_password_on_this_device,null)>-1:e.remember_password_on_this_device},on:{change:function(t){var n=e.remember_password_on_this_device,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&(e.remember_password_on_this_device=n.concat([null])):o>-1&&(e.remember_password_on_this_device=n.slice(0,o).concat(n.slice(o+1)))}else e.remember_password_on_this_device=r}}}),e._v(" "),n("label",{attrs:{for:"remember_password_on_this_device"}},[e._v(e._s(e.$t("remember_password_on_this_device")))])])]),e._v(" "),n("template",{slot:"submit_button"},[e._v(e._s(e.$t("send")))])],2)},i.staticRenderFns=[]},{"./BaseModal.vue":188}],199:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("./BaseModal.vue"),r=(t=i)&&t.__esModule?t:{default:t};n.default={props:["read_only"],components:{Modal:r.default},data:function(){return{new_lang:this.$root.lang.current}},watch:{new_lang:function(){this.$root.updateLocalLang(this.new_lang)}},mounted:function(){},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"SmallAndScroll"},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("settings")))])]),e._v(" "),n("template",{slot:"preview"},[n("div",{staticClass:"margin-sides-medium"},[n("div",{staticClass:"margin-vert-small"},[e._v("\n do•doc version "+e._s(e.$root.state.appVersion)+"\n ")])]),e._v(" "),n("div",{staticClass:"margin-sides-medium"},[n("div",{staticClass:"margin-vert-small"},[n("label",{domProps:{innerHTML:e._s(e.$t("lang"))}}),e._v(" "),n("div",{staticClass:"input"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.new_lang,expression:"new_lang"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.new_lang=t.target.multiple?n:n[0]}}},e._l(this.$root.lang.available,function(t){return n("option",{key:t.key,domProps:{value:t.key}},[e._v(e._s(t.name))])}),0)]),e._v(" "),n("small",{domProps:{innerHTML:e._s(e.$t("translate_dodoc_instructions"))}})])])])],2)},i.staticRenderFns=[]},{"./BaseModal.vue":188}],200:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("./BaseModal.vue"),r=(t=i)&&t.__esModule?t:{default:t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(e("axios"));e("timers");n.default={props:{read_only:Boolean,slugFolderName:String,type:String,selected_files:Array},components:{Modal:r.default},data:function(){return{files_to_upload:this.selected_files,files_to_upload_meta:{},upload_percentages:0}},watch:{},mounted:function(){console.log("MOUNTED • TimeLineView: onScroll"),this.sendAllFiles()},beforeDestroy:function(){},computed:{uriToUploadMedia:function(){return"_file-upload/"+this.type+"/"+this.slugFolderName}},methods:{sendThisFile:function(e){var t=this;return new Promise(function(n,i){"debug"===t.$root.state.dev_mode&&console.log("METHODS • UploadFile / sendThisFile : name = "+e.name);var r=e.name,a=e.lastModified;t.$set(t.files_to_upload_meta,r,{upload_percentages:0,status:"sending"});var s=new FormData;s.append("files",e,r);var l={fileCreationDate:a,authors:t.$root.settings.current_author_name?[{name:t.$root.settings.current_author_name}]:""};s.append(r,JSON.stringify(l));var c=t.$socketio.socket.id;void 0!==c&&s.append("socketid",c),"debug"===t.$root.state.dev_mode&&console.log("METHODS • sendThisFile: name = "+r+" / formData is ready / sending to "+t.uriToUploadMedia),o.post(t.uriToUploadMedia,s,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(e){this.files_to_upload_meta[r].upload_percentages=parseInt(Math.round(100*e.loaded/e.total))}.bind(t)}).then(function(e){return e.data}).then(function(e){"debug"===t.$root.state.dev_mode&&console.log("METHODS • sendThisFile: name = "+r+" / success uploading"),t.files_to_upload_meta[r].status="success",t.files_to_upload_meta[r].upload_percentages=100,n(r)}).catch(function(e){"debug"===t.$root.state.dev_mode&&console.log("METHODS • sendThisFile: name = "+r+" / failed uploading"),t.files_to_upload_meta[r].status="failed",t.files_to_upload_meta[r].upload_percentages=0,t.$alertify.closeLogOnClick(!0).delay(4e3).error(t.$t("notifications.media_couldnt_be_sent")),i()})})},sendAllFiles:function(){var e=this;(function t(n){return e.sendThisFile(e.files_to_upload[n.shift()]).then(function(e){return 0==n.length?"":t(n)})})(Array.from(Array(this.files_to_upload.length).keys())).then(function(t){e.$emit("close")})},formatBytes:function(e,t){if(0==e)return"0 "+this.$t("bytes");var n=[this.$t("bytes"),this.$t("kb"),this.$t("mb"),this.$t("gb"),"TB","PB","EB","ZB","YB"],i=t||2,r=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,r)).toFixed(i))+" "+n[r]},getImgPreview:function(e){return URL.createObjectURL(e)},cssStatus:function(e){if(this.files_to_upload_meta.hasOwnProperty(e.name))return"is--"+this.files_to_upload_meta[e.name].status}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"EditMeta",askBeforeClosingModal:!1,isFile:!0},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("import_medias")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",e._l(e.files_to_upload,function(t){return n("div",{key:t.name,staticClass:"m_uploadFile",class:e.cssStatus(t),style:"--progress-percent: "+(e.files_to_upload_meta.hasOwnProperty(t.name)?e.files_to_upload_meta[t.name].upload_percentages/100:0)},[n("div",{staticClass:"m_uploadFile--progressBar"}),e._v(" "),n("div",{staticClass:"m_uploadFile--image"}),e._v(" "),n("div",{staticClass:"m_uploadFile--filename"},[e._v(e._s(t.name))]),e._v(" "),n("div",{staticClass:"m_uploadFile--size"},[e._v(e._s(e.formatBytes(t.size)))]),e._v(" "),e.files_to_upload_meta.hasOwnProperty(t.name)?n("div",{staticClass:"m_uploadFile--action"},[n("button",{staticClass:"buttonLink",attrs:{type:"button",disabled:e.read_only||e.files_to_upload_meta.hasOwnProperty(t.name)&&"success"===e.files_to_upload_meta[t.name].status},on:{click:function(n){return e.sendThisFile(t)}}},[e.files_to_upload_meta.hasOwnProperty(t.name)?"success"===e.files_to_upload_meta[t.name].status?[e._v(e._s(e.$t("sent")))]:"failed"===e.files_to_upload_meta[t.name].status?[e._v(e._s(e.$t("retry")))]:e._e():[e._v(e._s(e.$t("import")))]],2)]):e._e()])}),0)])],2)},i.staticRenderFns=[]},{"./BaseModal.vue":188,axios:6,timers:148}],201:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("@xkeshi/vue-qrcode"),r=(t=i)&&t.__esModule?t:{default:t};n.default={props:{slugFolderName:String,media:Object,type:{type:String,default:"projects"}},components:{qrcode:r.default},data:function(){return{open_in_dodoc:!0}},created:function(){},mounted:function(){this.$root.updateNetworkInfos()},beforeDestroy:function(){},watch:{},computed:{nameOfProject:function(){return!(!this.slugFolderName||"projects"!==this.type||!this.$root.store.projects[this.slugFolderName].hasOwnProperty("name"))&&this.$root.store.projects[this.slugFolderName].name}},methods:{printQR:function(){window.print()},getURLToApp:function(e){var t,n=new URL(window.location);if("localhost"===n.hostname?n.hostname=e:(t=n.hostname,RegExp("((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])").test(t)&&(n.hostname=e)),this.slugFolderName&&("projects"===this.type?n.pathname=this.slugFolderName:n.pathname="_"+this.type+"/"+this.slugFolderName,this.media)){var i=this.media.metaFileName.replace(/\./g,"*");n.pathname+="/media/"+i,this.open_in_dodoc||(n.search+="display=standalone")}return n}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"hide_on_print padding-sides-small"},[n("p",[n("small",{domProps:{innerHTML:e._s(e.$t("toconnectwithanotherdevice"))}})])]),e._v(" "),e._l(e.$root.state.localNetworkInfos.ip,function(t,i){return n("div",{key:i,staticClass:"m_qrSnippet"},[n("div",{staticClass:"m_qrSnippet--motif"},[n("qrcode",{ref:"qr_canvas",refInFor:!0,attrs:{value:e.getURLToApp(t),options:{size:400,foreground:"#333",background:"transparent"}}})],1),e._v(" "),n("div",{staticClass:"m_qrSnippet--text"},[n("a",{staticClass:"break-long-lines js--openInBrowser",attrs:{href:e.getURLToApp(t),target:"_blank"}},[n("div",{staticClass:"margin-bottom-small font-verysmall"},[e._v("\n "+e._s(e.getURLToApp(t))+"\n ")])]),e._v(" "),e.media?n("div",{staticClass:"margin-bottom-small hide_on_print"},[n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.open_in_dodoc,expression:"open_in_dodoc"}],staticClass:"switch",attrs:{type:"checkbox",id:"open_in_dodoc"},domProps:{checked:Array.isArray(e.open_in_dodoc)?e._i(e.open_in_dodoc,null)>-1:e.open_in_dodoc},on:{change:function(t){var n=e.open_in_dodoc,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&(e.open_in_dodoc=n.concat([null])):o>-1&&(e.open_in_dodoc=n.slice(0,o).concat(n.slice(o+1)))}else e.open_in_dodoc=r}}}),e._v(" "),n("label",{attrs:{for:"open_in_dodoc"}},[e._v(e._s(e.$t("open_in_dodoc")))])])]):e._e(),e._v(" "),n("hr",{staticClass:"margin-vert-verysmall"}),e._v(" "),n("button",{staticClass:"buttonLink hide_on_print m_qrSnippet--text--printButton",attrs:{type:"button"},on:{click:function(t){return t.preventDefault(),e.printQR(t)}}},[e._v("\n "+e._s(e.$t("print"))+"\n ")]),e._v(" "),n("img",{staticClass:"m_qrSnippet--text--dodoclogo",attrs:{src:"/images/i_logo.svg",draggable:"false"}})])])})],2)},i.staticRenderFns=[]},{"@xkeshi/vue-qrcode":2}],202:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{},components:{},data:function(){return{}},created:function(){},mounted:function(){var e,t=this;(e="/libs/instascan.min.js",new Promise(function(t,n){if(document.querySelector('script[src="'+e+'"]'))t();else{var i=document.createElement("script");i.type="text/javascript",i.async=!0,i.src=e,i.addEventListener("load",t),i.addEventListener("error",n),i.addEventListener("abort",n),document.head.appendChild(i)}})).then(function(){t.scanner=new Instascan.Scanner({video:t.$refs.preview,mirror:!1,scanPeriod:4}),t.scanner.addListener("scan",function(e){t.$alertify.closeLogOnClick(!0).delay(4e3).success("QR code detected"),window.location.assign(e)}),Instascan.Camera.getCameras().then(function(e){if(e.length>0){var n=e[0];$.each(e,function(e,t){if(t.hasOwnProperty("name")&&"string"==typeof t.name&&-1!=t.name.indexOf("back"))return n=t,!1}),t.scanner.start(n)}else console.error("No cameras found.")}).catch(function(e){console.error(e)})}).catch(function(){})},beforeDestroy:function(){this.scanner.stop()},watch:{},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("video",{ref:"preview"})])},i.staticRenderFns=[]},{}],203:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t="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},i=a(e("../subcomponents/PublicationHeader.vue")),r=a(e("../subcomponents/MediaCarreau.vue")),o=e("timers");function a(e){return e&&e.__esModule?e:{default:e}}Array.prototype.move=function(e,t){this.splice(t,0,this.splice(e,1)[0])},n.default={props:{slugPubliName:String,publication:Object,read_only:Boolean},components:{PublicationHeader:i.default,MediaCarreau:r.default},data:function(){return{show_export_modal:!1,publication_medias:[],medias_slugs_in_order:[],page:{ratio:.5625,width:0,height:0,margin_left:0,margin_right:0,margin_top:0,margin_bottom:0,gridstep:!1},preview_mode:"live"!==this.$root.state.mode,fullscreen_mode:!1,zoom:1,zoom_min:.4,zoom_max:1.4,has_media_selected:!1}},created:function(){this.$root.setPublicationZoom(this.zoom)},mounted:function(){this.$root.settings.current_publication.accepted_media_type=["video","image","audio"],this.$eventHub.$on("publication.addMedia",this.addMedia),this.$eventHub.$on("socketio.projects.listSpecificMedias",this.updateMediasPubli),this.publication.hasOwnProperty("medias_slugs")&&this.publication.medias_slugs.length>0&&(this.medias_slugs_in_order=this.publication.medias_slugs),this.updatePageSizeAccordingToPanel(),this.$eventHub.$on("activity_panels_resized",this.updatePageSizeAccordingToPanel),this.updateMediasPubli()},beforeDestroy:function(){this.$eventHub.$off("publication.addMedia",this.addMedia),this.$eventHub.$off("socketio.projects.listSpecificMedias",this.updateMediasPubli),this.$eventHub.$off("activity_panels_resized",this.updatePageSizeAccordingToPanel)},watch:{"publication.medias":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publication.medias"),this.updateMediasPubli()},"$root.store.projects":{handler:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: $root.store.projects"),this.updateMediasPubli()},deep:!0},"publication.medias_slugs":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publication.medias_slugs"),this.medias_slugs_in_order="object"===t(this.publication.medias_slugs)?this.publication.medias_slugs:[],this.updateMediasPubli()},zoom:function(){this.zoom=Math.min(this.zoom_max,Math.max(this.zoom_min,this.zoom)),this.$root.setPublicationZoom(this.zoom)},"$root.settings.publi_zoom":function(){this.zoom=this.$root.settings.publi_zoom}},computed:{carreauContainerProperties:function(){return"\n width: "+100*this.$root.settings.publi_zoom+"%; \n height: "+this.page.height*this.$root.settings.publi_zoom+"px; \n "},carreauContentProperties:function(){return"\n width: "+this.page.width+"px; \n height: "+this.page.height+"px; \n transform: scale("+this.$root.settings.publi_zoom+");\n "},last_nth_of_publication_medias:function(){return this.publication_medias.slice(-10)}},methods:{addMedia:function(e){var t=this,n=e.slugProjectName,i=e.metaFileName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: addMedia with \n slugProjectName = "+n+" and metaFileName = "+i);var r=i;this.$eventHub.$on("socketio.media_created_or_updated",function(e){t.$eventHub.$off("socketio.media_created_or_updated"),t.medias_slugs_in_order.push({slugMediaName:e.metaFileName}),t.$root.editFolder({type:"publications",slugFolderName:t.slugPubliName,data:{medias_slugs:t.medias_slugs_in_order}})}),this.$root.createMedia({slugFolderName:this.slugPubliName,type:"publications",additionalMeta:{slugProjectName:n,desired_filename:r,slugMediaName:i,x:Math.random().toFixed(2)/3,y:Math.random().toFixed(2)/3,width:.3+Math.random().toFixed(2)/3,rotate:5*(Math.random().toFixed(2)-.5)}})},removePubliMedia:function(e){var t=e.slugMediaName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: removeMedia / slugMediaName = "+t),this.$root.removeMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:t}),this.medias_slugs_in_order.length>0&&(this.medias_slugs_in_order=this.medias_slugs_in_order.filter(function(e){return e.slugMediaName!==t})),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{medias_slugs:this.medias_slugs_in_order}})},editPubliMedia:function(e){var t=e.slugMediaName,n=e.val;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: editPubliMedia / args = "+JSON.stringify(arguments[0],null,4)),this.$root.editMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:t,data:n})},updateMediasPubli:function(){var e=this;if("debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: updateMediasPubli"),this.publication.hasOwnProperty("medias")&&0!==Object.keys(this.publication.medias).length){var t=[],n=[];0!==this.medias_slugs_in_order.length?(this.medias_slugs_in_order.map(function(i){var r=i.slugMediaName;if(e.publication.medias.hasOwnProperty(r)){var o=e.publication.medias[r];if(o.hasOwnProperty("slugProjectName")&&o.hasOwnProperty("metaFileName")){var a=o.slugProjectName,s=o.slugMediaName;if(!e.$root.store.projects.hasOwnProperty(a))return console.error("Missing project in store — not expected : "+a),void console.error("Medias from project was probably added to the publication before it was removed altogether.");var l=e.$root.store.projects[a].medias;if(l.hasOwnProperty(s)){var c=JSON.parse(JSON.stringify(l[s]));return c.hasOwnProperty("_isAbsent")&&c._isAbsent?(console.error("Missing media in store — not expected : "+a+" / "+s),void console.error("Media was probably added to the publication before it was removed.")):(c.slugProjectName=a,c.publi_meta=JSON.parse(JSON.stringify(o)),void t.push(c))}console.log("Some medias missing from client"),n.push({slugFolderName:a,metaFileName:s})}}}),console.log("Finished building media list. Missing medias: "+n.length),n.length>0&&this.$root.listSpecificMedias({type:"projects",medias_list:n}),this.publication_medias=t):this.publication_medias=[]}else this.publication_medias=[]},move:function(e,t){var n=this.medias_slugs_in_order.findIndex(function(t){return t.slugMediaName===e});console.log("METHODS • VideoPublication: move idx = "+n+" and dir = "+t),t<0?this.medias_slugs_in_order.move(n,n+t):t>0&&this.medias_slugs_in_order.move(n+t,n),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{medias_slugs:this.medias_slugs_in_order}})},toggleFullscreen:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("METHODS • PagePublication: toggleFullscreen");var t=this.$refs.carreau_container;!1===this.fullscreen_mode?(t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullScreen&&t.webkitRequestFullScreen(),this.fullscreen_mode=!0):(document.exitFullscreen?document.exitFullscreen():document.mozExitFullscreen?document.mozExitFullscreen():document.webkitExitFullscreen&&document.webkitExitFullscreen(),this.fullscreen_mode=!1),(0,o.setTimeout)(function(){e.updatePageSizeAccordingToPanel()},500)},updatePageSizeAccordingToPanel:function(){this.page.width=this.$refs.carreau_container.offsetWidth,this.page.height=this.page.width*this.page.ratio}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",staticClass:"m_publicationview",class:{"is--preview":e.preview_mode}},[n("PublicationHeader",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,publication_medias:e.publication_medias,show_export_button:!1}}),e._v(" "),n("div",{staticClass:"m_carreauPublication"},[n("div",{ref:"carreau_container",staticClass:"m_carreauPublication--container",class:{"is--fullscreen":e.fullscreen_mode},style:e.carreauContainerProperties},[["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)?e._e():n("div",{staticClass:"m_publicationSettings"},[n("button",{staticClass:"margin-vert-verysmall font-verysmall",class:{"is--active":!e.preview_mode},on:{mousedown:function(t){t.stopPropagation(),t.preventDefault(),e.preview_mode=!e.preview_mode},touchstart:function(t){t.stopPropagation(),t.preventDefault(),e.preview_mode=!e.preview_mode}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 144 84"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"144px",height:"84px",viewBox:"0 0 144 84","xml:space":"preserve"}},[n("defs"),e._v(" "),n("g",[n("path",{attrs:{d:"M72,0C32.2,0,0,42,0,42s32.2,42,72,42s72-42,72-42S111.8,0,72,0z M72,71.3c-16.5,0-30-13.2-30-29.6\n c0-16.3,13.4-29.6,30-29.6c16.5,0,30,13.3,30,29.6C102,58,88.5,71.3,72,71.3z"}})])])]),e._v(" "),n("button",{staticClass:"margin-vert-verysmall font-verysmall",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.toggleFullscreen(t)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.toggleFullscreen(t)}}},[e.fullscreen_mode?e._e():n("svg",{staticStyle:{"enable-background":"new 0 0 133.3 133.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"133.3px",height:"133.2px",viewBox:"0 0 133.3 133.2","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"58.7,112.2 58.7,133.2 0,133.2 0,74.5 21,74.5 21,112.2 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"112.3,74.5 133.3,74.5 133.3,133.2 74.6,133.2 74.6,112.2 112.3,112.2 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"21,58.7 0,58.7 0,0 58.7,0 58.7,21 21,21 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"133.3,58.7 112.3,58.7 112.3,21 74.6,21 74.6,0 133.3,0 \t"}})]),e._v(" "),e.fullscreen_mode?n("svg",{staticStyle:{"enable-background":"new 0 0 133.3 133.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"133.3px",height:"133.2px",viewBox:"0 0 133.3 133.2","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"0,95.5 0,74.5 58.7,74.5 58.7,133.2 37.7,133.2 37.7,95.5 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"95.6,133.2 74.6,133.2 74.6,74.5 133.3,74.5 133.3,95.5 95.6,95.5 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"37.7,0 58.7,0 58.7,58.7 0,58.7 0,37.7 37.7,37.7 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"74.6,0 95.6,0 95.6,37.7 133.3,37.7 133.3,58.7 74.6,58.7 \t"}})]):e._e()]),e._v(" "),n("button",{staticClass:"margin-vert-verysmall font-verysmall",attrs:{disabled:e.zoom===e.zoom_max},on:{mousedown:function(t){t.stopPropagation(),t.preventDefault(),e.zoom+=.1},touchstart:function(t){t.stopPropagation(),t.preventDefault(),e.zoom+=.1}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 182.5 188.1"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"182.5px",height:"188.1px",viewBox:"0 0 182.5 188.1","xml:space":"preserve"}},[n("defs"),e._v(" "),n("path",{attrs:{d:"M102.6,0v83.1h79.9v21.2h-79.9v83.8H79.9v-83.8H0V83.1h79.9V0H102.6z"}})])]),e._v(" "),n("button",{staticClass:"margin-vert-verysmall font-verysmall",attrs:{disabled:e.zoom===e.zoom_min},on:{mousedown:function(t){t.stopPropagation(),t.preventDefault(),e.zoom-=.1},touchstart:function(t){t.stopPropagation(),t.preventDefault(),e.zoom-=.1}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 155.6 21.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"155.6px",height:"21.2px",viewBox:"0 0 155.6 21.2","xml:space":"preserve"}},[n("defs"),e._v(" "),n("path",{attrs:{d:"M155.6,0v21.2H0V0H155.6z"}})])])]),e._v(" "),n("div",{staticClass:"m_carreauPublication--container--content",style:e.carreauContentProperties},[n("h2",{staticClass:"m_carreauPublication--container--content--title"},[e._v(e._s(e.publication.name))]),e._v(" "),n("transition-group",{attrs:{name:"fade_fast",duration:300,tag:"div"}},e._l(e.last_nth_of_publication_medias,function(t,i){return n("div",{key:t.publi_meta.metaFileName},[n("MediaCarreau",{attrs:{media:t,page:e.page,preview_mode:e.preview_mode,read_only:e.read_only},on:{removePubliMedia:function(t){e.removePubliMedia(t)},editPubliMedia:function(t){e.editPubliMedia(t)}}})],1)}),0)],1)])])],1)},i.staticRenderFns=[]},{"../subcomponents/MediaCarreau.vue":222,"../subcomponents/PublicationHeader.vue":228,timers:148}],204:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t="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},i=a(e("../subcomponents/MediaContent.vue")),r=a(e("../modals/ExportVideoPubliModal.vue")),o=a(e("../subcomponents/PadSurface.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,read_only:Boolean},components:{MediaContent:i.default,ExportVideoPubliModal:r.default,PadSurface:o.default},data:function(){return{show_export_modal:!1,publication_medias:[],medias_slugs_in_order:[]}},created:function(){},mounted:function(){this.$root.settings.current_publication.accepted_media_type=["image"],this.$eventHub.$on("publication.addMedia",this.addMedia),this.$eventHub.$on("socketio.projects.listSpecificMedias",this.updateMediasPubli),this.publication.hasOwnProperty("medias_slugs")&&this.publication.medias_slugs.length>0&&(this.medias_slugs_in_order=this.publication.medias_slugs),this.updateMediasPubli()},beforeDestroy:function(){this.$eventHub.$off("publication.addMedia",this.addMedia),this.$eventHub.$off("socketio.projects.listSpecificMedias",this.updateMediasPubli)},watch:{"publication.medias":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publication.medias"),this.updateMediasPubli()},"$root.store.projects":{handler:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: $root.store.projects"),this.updateMediasPubli()},deep:!0},"publication.medias_slugs":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publication.medias_slugs"),this.medias_slugs_in_order="object"===t(this.publication.medias_slugs)?this.publication.medias_slugs:[],this.updateMediasPubli()}},computed:{},methods:{addMedia:function(e){var t=this,n=e.slugProjectName,i=e.metaFileName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: addMedia with \n slugProjectName = "+n+" and metaFileName = "+i);var r=i;this.$eventHub.$on("socketio.media_created_or_updated",function(e){t.$eventHub.$off("socketio.media_created_or_updated"),t.medias_slugs_in_order.push({slugMediaName:e.metaFileName}),t.$root.editFolder({type:"publications",slugFolderName:t.slugPubliName,data:{medias_slugs:t.medias_slugs_in_order}})}),this.$root.createMedia({slugFolderName:this.slugPubliName,type:"publications",additionalMeta:{slugProjectName:n,desired_filename:r,slugMediaName:i}})},removePubliMedia:function(e){var t=e.slugMediaName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: removeMedia / slugMediaName = "+t),this.$root.removeMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:t}),this.medias_slugs_in_order=this.medias_slugs_in_order.filter(function(e){return e.slugMediaName!==t}),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{medias_slugs:this.medias_slugs_in_order}})},updateMediasPubli:function(){var e=this;if("debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: updateMediasPubli"),this.publication.hasOwnProperty("medias")&&0!==Object.keys(this.publication.medias).length){var t=[],n=[];0!==this.medias_slugs_in_order.length?(this.medias_slugs_in_order.map(function(i){var r=i.slugMediaName;if(e.publication.medias.hasOwnProperty(r)){var o=e.publication.medias[r];if(o.hasOwnProperty("slugProjectName")&&o.hasOwnProperty("metaFileName")){var a=o.slugProjectName,s=o.slugMediaName;if(!e.$root.store.projects.hasOwnProperty(a))return console.error("Missing project in store — not expected : "+a),void console.error("Medias from project was probably added to the publication before it was removed altogether.");var l=e.$root.store.projects[a].medias;if(l.hasOwnProperty(s)){var c=JSON.parse(JSON.stringify(l[s]));return c.hasOwnProperty("_isAbsent")&&c._isAbsent?(console.error("Missing media in store — not expected : "+a+" / "+s),void console.error("Media was probably added to the publication before it was removed.")):(c.slugProjectName=a,c.publi_meta=JSON.parse(JSON.stringify(o)),void t.push(c))}console.log("Some medias missing from client"),n.push({slugFolderName:a,metaFileName:s})}}}),console.log("Finished building media list. Missing medias: "+n.length),n.length>0&&this.$root.listSpecificMedias({type:"projects",medias_list:n}),this.publication_medias=t):this.publication_medias=[]}else this.publication_medias=[]}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",staticClass:"m_publicationview",class:{"is--preview":e.preview_mode}},[n("PublicationHeader",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,publication_medias:e.publication_medias},on:{export:function(t){e.show_export_modal=!0}}}),e._v(" "),n("div",{staticClass:"m_drawingPad"},[n("PadSurface")],1)],1)},i.staticRenderFns=[]},{"../modals/ExportVideoPubliModal.vue":196,"../subcomponents/MediaContent.vue":223,"../subcomponents/PadSurface.vue":227}],205:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t="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},i=a(e("../subcomponents/PublicationHeader.vue")),r=a(e("../subcomponents/MediaMontagePublication.vue")),o=a(e("../modals/ExportVideoPubliModal.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,read_only:Boolean},components:{PublicationHeader:i.default,MediaMontagePublication:r.default,ExportVideoPubliModal:o.default},data:function(){return{show_export_modal:!1,publication_medias:[],medias_slugs_in_order:[],accepted_media_type:["audio","image"],number_of_medias_required:2}},created:function(){},mounted:function(){this.$root.settings.current_publication.accepted_media_type=this.accepted_media_type,this.$eventHub.$on("publication.addMedia",this.addMedia),this.$eventHub.$on("socketio.projects.listSpecificMedias",this.updateMediasPubli),this.publication.hasOwnProperty("medias_slugs")&&this.publication.medias_slugs.length>0&&(this.medias_slugs_in_order=this.publication.medias_slugs),this.updateMediasPubli()},beforeDestroy:function(){this.$eventHub.$off("publication.addMedia",this.addMedia),this.$eventHub.$off("socketio.projects.listSpecificMedias",this.updateMediasPubli)},watch:{"publication.medias":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publication.medias"),this.updateMediasPubli()},"$root.store.projects":{handler:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: $root.store.projects"),this.updateMediasPubli()},deep:!0},"publication.medias_slugs":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publication.medias_slugs"),this.medias_slugs_in_order="object"===t(this.publication.medias_slugs)?this.publication.medias_slugs:[],this.updateMediasPubli()}},computed:{},methods:{addMedia:function(e){var t=this,n=e.slugProjectName,i=e.metaFileName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: addMedia with \n slugProjectName = "+n+" and metaFileName = "+i);var r=i;this.$eventHub.$on("socketio.media_created_or_updated",function(e){t.$eventHub.$off("socketio.media_created_or_updated"),t.medias_slugs_in_order.push({slugMediaName:e.metaFileName}),t.$root.editFolder({type:"publications",slugFolderName:t.slugPubliName,data:{medias_slugs:t.medias_slugs_in_order}})}),this.$root.createMedia({slugFolderName:this.slugPubliName,type:"publications",additionalMeta:{slugProjectName:n,desired_filename:r,slugMediaName:i}})},removePubliMedia:function(e){var t=e.slugMediaName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: removeMedia / slugMediaName = "+t),this.$root.removeMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:t}),this.medias_slugs_in_order.length>0&&(this.medias_slugs_in_order=this.medias_slugs_in_order.filter(function(e){return e.slugMediaName!==t})),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{medias_slugs:this.medias_slugs_in_order}})},updateMediasPubli:function(){var e=this;if("debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: updateMediasPubli"),this.$root.settings.current_publication.accepted_media_type=this.accepted_media_type,this.publication.hasOwnProperty("medias")&&0!==Object.keys(this.publication.medias).length){var t=[],n=[];if(0!==this.medias_slugs_in_order.length){this.medias_slugs_in_order.map(function(i){var r=i.slugMediaName;if(e.publication.medias.hasOwnProperty(r)){var o=e.publication.medias[r];if(o.hasOwnProperty("slugProjectName")&&o.hasOwnProperty("metaFileName")){var a=o.slugProjectName,s=o.slugMediaName;if(!e.$root.store.projects.hasOwnProperty(a))return console.error("Missing project in store — not expected : "+a),void console.error("Medias from project was probably added to the publication before it was removed altogether.");var l=e.$root.store.projects[a].medias;if(l.hasOwnProperty(s)){var c=JSON.parse(JSON.stringify(l[s]));return c.hasOwnProperty("_isAbsent")&&c._isAbsent?(console.error("Missing media in store — not expected : "+a+" / "+s),void console.error("Media was probably added to the publication before it was removed.")):(c.slugProjectName=a,c.publi_meta=JSON.parse(JSON.stringify(o)),void t.push(c))}console.log("Some medias missing from client"),n.push({slugFolderName:a,metaFileName:s})}}}),console.log("Finished building media list. Missing medias: "+n.length),n.length>0&&this.$root.listSpecificMedias({type:"projects",medias_list:n});var i=t.map(function(e){return e.type});this.$root.settings.current_publication.accepted_media_type=this.accepted_media_type.filter(function(e){return!i.includes(e)}),this.publication_medias=t}else this.publication_medias=[]}else this.publication_medias=[]}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",staticClass:"m_publicationview",class:{"is--preview":e.preview_mode}},[n("PublicationHeader",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,publication_medias:e.publication_medias,number_of_medias_required:e.number_of_medias_required},on:{export:function(t){e.show_export_modal=!0}}}),e._v(" "),e.show_export_modal?n("ExportVideoPubliModal",{attrs:{publication:e.publication,slugPubliName:e.slugPubliName,instructions:e.$t("export_audio_image_mix_instructions")},on:{close:function(t){e.show_export_modal=!1}}}):e._e(),e._v(" "),n("div",{staticClass:"m_mixAudioAndImagePublication"},[0===e.publication_medias.length?n("div",{staticClass:"margin-medium"},[n("p",[n("small",{domProps:{innerHTML:e._s(e.$t("add_sound_image_file"))}})])]):e._e(),e._v(" "),n("transition-group",{attrs:{name:"slideFromTop",duration:300,tag:"div"}},e._l(e.publication_medias,function(t){return n("div",{key:t.publi_meta.metaFileName,staticClass:"m_mixAudioAndImagePublication--media"},[n("MediaMontagePublication",{attrs:{media:t,read_only:e.read_only},on:{removePubliMedia:function(t){e.removePubliMedia(t)},editPubliMedia:function(t){e.editPubliMedia(t)}}})],1)}),0)],1)],1)},i.staticRenderFns=[]},{"../modals/ExportVideoPubliModal.vue":196,"../subcomponents/MediaMontagePublication.vue":224,"../subcomponents/PublicationHeader.vue":228}],206:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t="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},i=a(e("../subcomponents/PublicationHeader.vue")),r=a(e("../subcomponents/MediaMontagePublication.vue")),o=a(e("../modals/ExportVideoPubliModal.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,read_only:Boolean},components:{PublicationHeader:i.default,MediaMontagePublication:r.default,ExportVideoPubliModal:o.default},data:function(){return{show_export_modal:!1,publication_medias:[],medias_slugs_in_order:[],accepted_media_type:["audio","video"],number_of_medias_required:2}},created:function(){},mounted:function(){this.$root.settings.current_publication.accepted_media_type=this.accepted_media_type,this.$eventHub.$on("publication.addMedia",this.addMedia),this.$eventHub.$on("socketio.projects.listSpecificMedias",this.updateMediasPubli),this.publication.hasOwnProperty("medias_slugs")&&this.publication.medias_slugs.length>0&&(this.medias_slugs_in_order=this.publication.medias_slugs),this.updateMediasPubli()},beforeDestroy:function(){this.$eventHub.$off("publication.addMedia",this.addMedia),this.$eventHub.$off("socketio.projects.listSpecificMedias",this.updateMediasPubli)},watch:{"publication.medias":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publication.medias"),this.updateMediasPubli()},"$root.store.projects":{handler:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: $root.store.projects"),this.updateMediasPubli()},deep:!0},"publication.medias_slugs":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publication.medias_slugs"),this.medias_slugs_in_order="object"===t(this.publication.medias_slugs)?this.publication.medias_slugs:[],this.updateMediasPubli()}},computed:{},methods:{addMedia:function(e){var t=this,n=e.slugProjectName,i=e.metaFileName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: addMedia with \n slugProjectName = "+n+" and metaFileName = "+i);var r=i;this.$eventHub.$on("socketio.media_created_or_updated",function(e){t.$eventHub.$off("socketio.media_created_or_updated"),t.medias_slugs_in_order.push({slugMediaName:e.metaFileName}),t.$root.editFolder({type:"publications",slugFolderName:t.slugPubliName,data:{medias_slugs:t.medias_slugs_in_order}})}),this.$root.createMedia({slugFolderName:this.slugPubliName,type:"publications",additionalMeta:{slugProjectName:n,desired_filename:r,slugMediaName:i}})},removePubliMedia:function(e){var t=e.slugMediaName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: removeMedia / slugMediaName = "+t),this.$root.removeMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:t}),this.medias_slugs_in_order.length>0&&(this.medias_slugs_in_order=this.medias_slugs_in_order.filter(function(e){return e.slugMediaName!==t})),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{medias_slugs:this.medias_slugs_in_order}})},updateMediasPubli:function(){var e=this;if("debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: updateMediasPubli"),this.$root.settings.current_publication.accepted_media_type=this.accepted_media_type,this.publication.hasOwnProperty("medias")&&0!==Object.keys(this.publication.medias).length){var t=[],n=[];if(0!==this.medias_slugs_in_order.length){this.medias_slugs_in_order.map(function(i){var r=i.slugMediaName;if(e.publication.medias.hasOwnProperty(r)){var o=e.publication.medias[r];if(o.hasOwnProperty("slugProjectName")&&o.hasOwnProperty("metaFileName")){var a=o.slugProjectName,s=o.slugMediaName;if(!e.$root.store.projects.hasOwnProperty(a))return console.error("Missing project in store — not expected : "+a),void console.error("Medias from project was probably added to the publication before it was removed altogether.");var l=e.$root.store.projects[a].medias;if(l.hasOwnProperty(s)){var c=JSON.parse(JSON.stringify(l[s]));return c.hasOwnProperty("_isAbsent")&&c._isAbsent?(console.error("Missing media in store — not expected : "+a+" / "+s),void console.error("Media was probably added to the publication before it was removed.")):(c.slugProjectName=a,c.publi_meta=JSON.parse(JSON.stringify(o)),void t.push(c))}console.log("Some medias missing from client"),n.push({slugFolderName:a,metaFileName:s})}}}),console.log("Finished building media list. Missing medias: "+n.length),n.length>0&&this.$root.listSpecificMedias({type:"projects",medias_list:n});var i=t.map(function(e){return e.type});this.$root.settings.current_publication.accepted_media_type=this.accepted_media_type.filter(function(e){return!i.includes(e)}),this.publication_medias=t}else this.publication_medias=[]}else this.publication_medias=[]}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",staticClass:"m_publicationview",class:{"is--preview":e.preview_mode}},[n("PublicationHeader",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,publication_medias:e.publication_medias,number_of_medias_required:e.number_of_medias_required},on:{export:function(t){e.show_export_modal=!0}}}),e._v(" "),e.show_export_modal?n("ExportVideoPubliModal",{attrs:{publication:e.publication,slugPubliName:e.slugPubliName,instructions:e.$t("export_audio_video_mix_instructions")},on:{close:function(t){e.show_export_modal=!1}}}):e._e(),e._v(" "),n("div",{staticClass:"m_mixAudioAndImagePublication"},[0===e.publication_medias.length?n("div",{staticClass:"margin-medium"},[n("p",[n("small",{domProps:{innerHTML:e._s(e.$t("add_sound_video_file"))}})])]):e._e(),e._v(" "),n("transition-group",{attrs:{name:"slideFromTop",duration:300,tag:"div"}},e._l(e.publication_medias,function(t){return n("div",{key:t.publi_meta.metaFileName,staticClass:"m_mixAudioAndImagePublication--media"},[n("MediaMontagePublication",{attrs:{media:t,read_only:e.read_only},on:{removePubliMedia:function(t){e.removePubliMedia(t)},editPubliMedia:function(t){e.editPubliMedia(t)}}})],1)}),0)],1)],1)},i.staticRenderFns=[]},{"../modals/ExportVideoPubliModal.vue":196,"../subcomponents/MediaMontagePublication.vue":224,"../subcomponents/PublicationHeader.vue":228}],207:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t="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},i=a(e("../subcomponents/PublicationHeader.vue")),r=a(e("../subcomponents/MediaPublication.vue")),o=a(e("../modals/ExportPagePubli.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,read_only:Boolean},components:{PublicationHeader:i.default,MediaPublication:r.default,ExportPagePubli:o.default},data:function(){return{publication_medias:{},publication_defaults:{page_by_page:{width:210,height:297,style:"standard",margin_left:10,margin_right:10,margin_top:20,margin_bottom:20,gridstep:10,snap_to_grid:!0,header_left:"",header_right:"",show_page_number:!0}},show_edit_css_window:!1,advanced_options:!1,new_width:0,new_height:0,new_template:"",new_style:"",new_gridstep:0,new_snap_to_grid:!1,new_margin_left:0,new_margin_top:0,new_margin_right:0,new_margin_bottom:0,new_header_left:"",new_header_right:"",new_show_page_number:!1,page_currently_active:0,preview_mode:"live"!==this.$root.state.mode,fullscreen_mode:!1,zoom:1,zoom_min:.4,zoom_max:1.4,pixelsPerMillimeters:0,has_media_selected:!1,show_export_modal:!1}},created:function(){this.$root.setPublicationZoom(this.zoom)},mounted:function(){this.$root.settings.current_publication.accepted_media_type=["image","video","audio","text","document","other"],this.$eventHub.$on("publication.addMedia",this.addMedia),this.$eventHub.$on("socketio.projects.listSpecificMedias",this.updateMediasPubli),document.addEventListener("keyup",this.publicationKeyListener),this.updateMediasPubli(),this.pixelsPerMillimeters=this.$refs.hasOwnProperty("mmMeasurer")?this.$refs.mmMeasurer.offsetWidth/10:38,this.updatePubliOptionsInFields(),this.updatePageSizeAccordingToPanel(),this.$eventHub.$on("activity_panels_resized",this.updatePageSizeAccordingToPanel),document.getElementsByTagName("body")[0].style="\n --page-width: "+this.publications_options.width+"mm; \n --page-height: "+this.publications_options.height+"mm\n "},beforeDestroy:function(){this.$eventHub.$off("publication.addMedia",this.addMedia),this.$eventHub.$off("socketio.projects.listSpecificMedias",this.updateMediasPubli),document.removeEventListener("keyup",this.publicationKeyListener),this.$eventHub.$off("activity_panels_resized",this.updatePageSizeAccordingToPanel)},watch:{"publication.medias":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publication.medias"),this.updateMediasPubli()},publications_options:{handler:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publications_options"),this.updatePubliOptionsInFields(),document.getElementsByTagName("body")[0].style="\n --page-width: "+this.publications_options.width+"mm; \n --page-height: "+this.publications_options.height+"mm\n "},deep:!0},"$root.store.projects":{handler:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: $root.store.projects"),this.updateMediasPubli()},deep:!0},zoom:function(){this.zoom=Math.min(this.zoom_max,Math.max(this.zoom_min,this.zoom)),this.$root.setPublicationZoom(this.zoom)},"$root.settings.publi_zoom":function(){this.zoom=this.$root.settings.publi_zoom}},computed:{publications_options:function(){if("debug"===this.$root.state.dev_mode&&console.log("COMPUTED • publications_options"),this.publication.hasOwnProperty("template")||this.$alertify.closeLogOnClick(!0).delay(4e3).error("Missing template in publication"),!this.publication_defaults.hasOwnProperty(this.publication.template))return console.log("No defaults for this template. Returning original publication object."),this.publication;var e=this.publication_defaults[this.publication.template],t=!0,n=!1,i=void 0;try{for(var r,o=Object.keys(e)[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a=r.value;this.publication.hasOwnProperty(a)&&(e[a]=this.publication[a])}}catch(e){n=!0,i=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw i}}return e},customCSSVars:function(){return'--current-time-human: "'+this.$root.currentTime_human+'"'},pagesWithDefault:function(){if("debug"===this.$root.state.dev_mode&&console.log("COMPUTED • pagesWithDefault"),!this.publication.hasOwnProperty("pages")||0===this.publication.pages.length)return[];var e=[],t=JSON.parse(JSON.stringify(this.publication.pages)),n=!0,i=!1,r=void 0;try{for(var o,a=t[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value,l=!0,c=!1,u=void 0;try{for(var d,p=Object.keys(this.publications_options)[Symbol.iterator]();!(l=(d=p.next()).done);l=!0){var f=d.value,h=this.publications_options[f];"number"==typeof h?s.hasOwnProperty(f)&&!Number.isNaN(s[f])?s[f]=Number.parseInt(s[f]):s[f]=h:"string"==typeof h?s.hasOwnProperty(f)&&"string"==typeof s[f]||(s[f]=h):"boolean"==typeof h&&(s[f]=h)}}catch(e){c=!0,u=e}finally{try{!l&&p.return&&p.return()}finally{if(c)throw u}}e.push(s)}}catch(e){i=!0,r=e}finally{try{!n&&a.return&&a.return()}finally{if(i)throw r}}return e}},methods:{getHighestZNumberAmongstMedias:function(e){if(!e)return 0;var t=e.filter(function(e){return e.publi_meta.hasOwnProperty("z_index")}).map(function(e){return e.publi_meta.z_index});return 0===t.length?0:Math.max.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))},addMedia:function(e){var t=e.slugProjectName,n=e.metaFileName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: addMedia with \n slugProjectName = "+t+" and metaFileName = "+n);var i=this.publication.pages.length-1;!1!==this.page_currently_active&&(i=this.page_currently_active);var r={slugProjectName:t,desired_filename:n,slugMediaName:n,page_id:this.publication.pages[i].id,x:this.publications_options.margin_left,y:this.publications_options.margin_top,z_index:this.getHighestZNumberAmongstMedias(this.publication_medias[i])+1};this.$root.createMedia({slugFolderName:this.slugPubliName,type:"publications",additionalMeta:r})},printThisPublication:function(){this.preview_mode=!0,this.$root.setPublicationZoom(1),setTimeout(function(){window.print()},500)},removePubliMedia:function(e){var t=e.slugMediaName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: removeMedia / slugMediaName = "+t),this.$root.removeMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:t})},editPubliMedia:function(e){var t=e.slugMediaName,n=e.val;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: editPubliMedia / args = "+JSON.stringify(arguments[0],null,4)),this.$root.editMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:t,data:n})},updateMediasPubli:function(){var e=this;if("debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: updateMediasPubli"),this.publication.hasOwnProperty("medias")&&0!==Object.keys(this.publication.medias).length){var t={},n=[];Object.keys(this.publication.medias).map(function(i){var r=e.publication.medias[i];if(r.hasOwnProperty("slugProjectName")&&r.hasOwnProperty("metaFileName")){var o=r.slugProjectName,a=r.slugMediaName;if(!e.$root.store.projects.hasOwnProperty(o))return console.error("Missing project in store — not expected : "+o),void console.error("Medias from project was probably added to the publication before it was removed altogether.");var s=e.$root.store.projects[o].medias;if(s.hasOwnProperty(a)){var l=JSON.parse(JSON.stringify(s[a]));if(l.hasOwnProperty("_isAbsent")&&l._isAbsent)return console.error("Missing media in store — not expected : "+o+" / "+a),void console.error("Media was probably added to the publication before it was removed.");l.slugProjectName=o,l.publi_meta=JSON.parse(JSON.stringify(r));var c=r.hasOwnProperty("page_id")?e.publication.pages.findIndex(function(e){return e.id===r.page_id}):0;return t.hasOwnProperty(c)||(t[c]=[]),void t[c].push(l)}console.log("Some medias missing from client"),n.push({slugFolderName:o,metaFileName:a})}}),console.log("Finished building media list. Missing medias: "+n.length),n.length>0&&this.$root.listSpecificMedias({type:"projects",medias_list:n}),this.publication_medias=t}else this.publication_medias=[]},insertPageAtIndex:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: insertPageAtIndex "+e);var t=[];this.publication.hasOwnProperty("pages")&&this.publication.pages.length>0&&(t=this.publication.pages.slice()),t.splice(e,0,{id:+new Date+"_"+(Math.random().toString(36)+"00000000000000000").slice(2,3)}),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{pages:t}}),$(this.$refs.panel).animate({scrollTop:"+=400"},600,$.easing.easeInOutQuint)},removePageAtIndex:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: removePageAtIndex");var t=[];this.publication.hasOwnProperty("pages")&&(t=this.publication.pages.slice()),t.splice(e,1),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{pages:t}})},setCSSEditWindow:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: setCSSEditWindow"),this.show_edit_css_window!==e?this.show_edit_css_window=e:this.show_edit_css_window=!1},setCSSForMedia:function(e){if(this.show_edit_css_window){var t=e.target.value;this.editPubliMedia({slugMediaName:this.show_edit_css_window,val:{custom_css:t}})}},updatePubliOptionsInFields:function(){this.new_width=this.publications_options.width,this.new_height=this.publications_options.height,this.new_template=this.publication.template,this.new_style=this.publications_options.style,this.new_gridstep=this.publications_options.gridstep,this.new_snap_to_grid=this.publications_options.snap_to_grid,this.new_margin_left=this.publications_options.margin_left,this.new_margin_right=this.publications_options.margin_right,this.new_margin_top=this.publications_options.margin_top,this.new_margin_bottom=this.publications_options.margin_bottom,this.new_header_left=this.publications_options.header_left,this.new_header_right=this.publications_options.header_right,this.new_show_page_number=this.publications_options.show_page_number},noSelection:function(){this.has_media_selected=!1},onScroll:function(e){if("debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: onScroll"),this.$refs.hasOwnProperty("pages")&&0!==this.$refs.pages.children.length){var t=e.target.scrollTop,n=this.$refs.panel.offsetHeight/2,i=this.$refs.pages.children,r=0,o=!0,a=!1,s=void 0;try{for(var l,c=i[Symbol.iterator]();!(o=(l=c.next()).done);o=!0){var u=l.value;if(u.offsetTop+u.offsetHeight>t+n)break;r++}}catch(e){a=!0,s=e}finally{try{!o&&c.return&&c.return()}finally{if(a)throw s}}this.page_currently_active=r}},setPageContainerProperties:function(e){if("print_publication"!==this.$root.state.mode)return"\n width: "+e.width*this.$root.settings.publi_zoom+"mm; \n height: "+e.height*this.$root.settings.publi_zoom+"mm; \n "},setPageProperties:function(e){return"print_publication"===this.$root.state.mode?"\n width: "+e.width+"mm; \n height: "+(e.height-1)+"mm;\n ":"\n width: "+e.width+"mm; \n height: "+e.height+"mm;\n transform: scale("+this.$root.settings.publi_zoom+");\n "},publicationKeyListener:function(e){e.key},toggleFullscreen:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("METHODS • PagePublication: toggleFullscreen");var t=this.$refs.panel;!1===this.fullscreen_mode?(t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullScreen&&t.webkitRequestFullScreen(),this.fullscreen_mode=!0):(document.exitFullscreen?document.exitFullscreen():document.mozExitFullscreen?document.mozExitFullscreen():document.webkitExitFullscreen&&document.webkitExitFullscreen(),this.fullscreen_mode=!1),setTimeout(function(){e.updatePageSizeAccordingToPanel()},500)},updatePublicationOption:function(e,n){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: updatePublicationOption with type = "+n+" and value = "+e);var i,r,o,a="";a="object"===(void 0===e?"undefined":t(e))?e.target.value:e,this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:(i={},r=n,o=a,r in i?Object.defineProperty(i,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[r]=o,i)})},updatePageSizeAccordingToPanel:function(){var e=this.$refs.panel.offsetWidth,t=this.$refs.current_page;if(t&&e>0){var n=t[0].getElementsByClassName("m_page")[0];e<n.offsetWidth+100&&(this.zoom=e/(n.offsetWidth+100))}}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",staticClass:"m_publicationview",class:{"is--preview":e.preview_mode,"is--fullscreen":e.fullscreen_mode},on:{scroll:e.onScroll}},[n("PublicationHeader",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,publication_medias:e.publication_medias},on:{export:function(t){e.show_export_modal=!0}}}),e._v(" "),e.show_export_modal?n("ExportPagePubli",{attrs:{publication:e.publication,slugPubliName:e.slugPubliName},on:{close:function(t){e.show_export_modal=!1}}}):e._e(),e._v(" "),n("div",{staticClass:"m_publicationview--settings"},[["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)?e._e():n("div",{},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.advanced_options,expression:"advanced_options"}],attrs:{id:"settings",type:"checkbox"},domProps:{checked:Array.isArray(e.advanced_options)?e._i(e.advanced_options,null)>-1:e.advanced_options},on:{change:function(t){var n=e.advanced_options,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&(e.advanced_options=n.concat([null])):o>-1&&(e.advanced_options=n.slice(0,o).concat(n.slice(o+1)))}else e.advanced_options=r}}}),e._v(" "),n("label",{attrs:{for:"settings"}},[e._v(e._s(e.$t("settings")))])]),e._v(" "),e.advanced_options?[n("hr"),e._v(" "),n("hr"),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("header_left")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_header_left,expression:"new_header_left"}],staticClass:"input-large",attrs:{type:"text",readonly:e.read_only},domProps:{value:e.new_header_left},on:{change:function(t){return e.updatePublicationOption(t,"header_left")},input:function(t){t.target.composing||(e.new_header_left=t.target.value)}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("header_right")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_header_right,expression:"new_header_right"}],staticClass:"input-large",attrs:{type:"text",readonly:e.read_only},domProps:{value:e.new_header_right},on:{change:function(t){return e.updatePublicationOption(t,"header_right")},input:function(t){t.target.composing||(e.new_header_right=t.target.value)}}})]),e._v(" "),n("hr"),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("width"))+"(mm)")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_width,expression:"new_width"}],attrs:{type:"number",min:"1",max:"1000",step:"1"},domProps:{value:e.new_width},on:{input:[function(t){t.target.composing||(e.new_width=t.target.value)},function(t){return e.updatePublicationOption(t,"width")}]}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("height"))+"(mm)")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_height,expression:"new_height"}],attrs:{type:"number",min:"1",max:"1000",step:"1"},domProps:{value:e.new_height},on:{input:[function(t){t.target.composing||(e.new_height=t.target.value)},function(t){return e.updatePublicationOption(t,"height")}]}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("gridstep"))+"(mm)")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_gridstep,expression:"new_gridstep"}],attrs:{type:"number",min:"1",max:"100",step:"1"},domProps:{value:e.new_gridstep},on:{input:[function(t){t.target.composing||(e.new_gridstep=t.target.value)},function(t){return e.updatePublicationOption(t,"gridstep")}]}}),e._v(" "),n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_snap_to_grid,expression:"new_snap_to_grid"}],staticClass:"switch",attrs:{type:"checkbox",id:"favFilter",readonly:e.read_only},domProps:{checked:Array.isArray(e.new_snap_to_grid)?e._i(e.new_snap_to_grid,null)>-1:e.new_snap_to_grid},on:{change:[function(t){var n=e.new_snap_to_grid,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&(e.new_snap_to_grid=n.concat([null])):o>-1&&(e.new_snap_to_grid=n.slice(0,o).concat(n.slice(o+1)))}else e.new_snap_to_grid=r},function(t){return e.updatePublicationOption(e.new_snap_to_grid,"snap_to_grid")}]}}),e._v(" "),n("label",{attrs:{for:"favFilter"}},[e._v(e._s(e.$t("snap_to_grid")))])])]),e._v(" "),n("hr"),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("margin_top"))+"(mm)")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_margin_top,expression:"new_margin_top"}],attrs:{type:"number",min:"0",max:"100",step:"1"},domProps:{value:e.new_margin_top},on:{input:[function(t){t.target.composing||(e.new_margin_top=t.target.value)},function(t){return e.updatePublicationOption(t,"margin_top")}]}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("margin_bottom"))+"(mm)")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_margin_bottom,expression:"new_margin_bottom"}],attrs:{type:"number",min:"0",max:"100",step:"1"},domProps:{value:e.new_margin_bottom},on:{input:[function(t){t.target.composing||(e.new_margin_bottom=t.target.value)},function(t){return e.updatePublicationOption(t,"margin_bottom")}]}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("margin_left"))+"(mm)")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_margin_left,expression:"new_margin_left"}],attrs:{type:"number",min:"0",max:"100",step:"1"},domProps:{value:e.new_margin_left},on:{input:[function(t){t.target.composing||(e.new_margin_left=t.target.value)},function(t){return e.updatePublicationOption(t,"margin_left")}]}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("margin_right"))+"(mm)")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_margin_right,expression:"new_margin_right"}],attrs:{type:"number",min:"0",max:"100",step:"1"},domProps:{value:e.new_margin_right},on:{input:[function(t){t.target.composing||(e.new_margin_right=t.target.value)},function(t){return e.updatePublicationOption(t,"margin_right")}]}})]),e._v(" "),n("hr"),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",{attrs:{for:"show_page_number"}},[e._v(e._s(e.$t("show_page_numbers")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_show_page_number,expression:"new_show_page_number"}],attrs:{id:"show_page_number",type:"checkbox"},domProps:{checked:Array.isArray(e.new_show_page_number)?e._i(e.new_show_page_number,null)>-1:e.new_show_page_number},on:{change:[function(t){var n=e.new_show_page_number,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&(e.new_show_page_number=n.concat([null])):o>-1&&(e.new_show_page_number=n.slice(0,o).concat(n.slice(o+1)))}else e.new_show_page_number=r},function(t){return e.updatePublicationOption(e.new_show_page_number,"show_page_number")}]}})])]:e._e()],2),e._v(" "),["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)?e._e():n("div",{staticClass:"m_publicationSettings"},[n("button",{staticClass:"margin-vert-verysmall font-verysmall",class:{"is--active":!e.preview_mode},on:{mousedown:function(t){t.stopPropagation(),t.preventDefault(),e.preview_mode=!e.preview_mode},touchstart:function(t){t.stopPropagation(),t.preventDefault(),e.preview_mode=!e.preview_mode}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 144 84"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"144px",height:"84px",viewBox:"0 0 144 84","xml:space":"preserve"}},[n("defs"),e._v(" "),n("g",[n("path",{attrs:{d:"M72,0C32.2,0,0,42,0,42s32.2,42,72,42s72-42,72-42S111.8,0,72,0z M72,71.3c-16.5,0-30-13.2-30-29.6\n c0-16.3,13.4-29.6,30-29.6c16.5,0,30,13.3,30,29.6C102,58,88.5,71.3,72,71.3z"}})])])]),e._v(" "),n("button",{staticClass:"margin-vert-verysmall font-verysmall",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.toggleFullscreen(t)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.toggleFullscreen(t)}}},[e.fullscreen_mode?e._e():n("svg",{staticStyle:{"enable-background":"new 0 0 133.3 133.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"133.3px",height:"133.2px",viewBox:"0 0 133.3 133.2","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"58.7,112.2 58.7,133.2 0,133.2 0,74.5 21,74.5 21,112.2 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"112.3,74.5 133.3,74.5 133.3,133.2 74.6,133.2 74.6,112.2 112.3,112.2 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"21,58.7 0,58.7 0,0 58.7,0 58.7,21 21,21 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"133.3,58.7 112.3,58.7 112.3,21 74.6,21 74.6,0 133.3,0 \t"}})]),e._v(" "),e.fullscreen_mode?n("svg",{staticStyle:{"enable-background":"new 0 0 133.3 133.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"133.3px",height:"133.2px",viewBox:"0 0 133.3 133.2","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"0,95.5 0,74.5 58.7,74.5 58.7,133.2 37.7,133.2 37.7,95.5 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"95.6,133.2 74.6,133.2 74.6,74.5 133.3,74.5 133.3,95.5 95.6,95.5 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"37.7,0 58.7,0 58.7,58.7 0,58.7 0,37.7 37.7,37.7 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"74.6,0 95.6,0 95.6,37.7 133.3,37.7 133.3,58.7 74.6,58.7 \t"}})]):e._e()]),e._v(" "),n("button",{staticClass:"margin-vert-verysmall font-verysmall",attrs:{disabled:e.zoom===e.zoom_max},on:{mousedown:function(t){t.stopPropagation(),t.preventDefault(),e.zoom+=.1},touchstart:function(t){t.stopPropagation(),t.preventDefault(),e.zoom+=.1}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 182.5 188.1"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"182.5px",height:"188.1px",viewBox:"0 0 182.5 188.1","xml:space":"preserve"}},[n("defs"),e._v(" "),n("path",{attrs:{d:"M102.6,0v83.1h79.9v21.2h-79.9v83.8H79.9v-83.8H0V83.1h79.9V0H102.6z"}})])]),e._v(" "),n("button",{staticClass:"margin-vert-verysmall font-verysmall",attrs:{disabled:e.zoom===e.zoom_min},on:{mousedown:function(t){t.stopPropagation(),t.preventDefault(),e.zoom-=.1},touchstart:function(t){t.stopPropagation(),t.preventDefault(),e.zoom-=.1}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 155.6 21.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"155.6px",height:"21.2px",viewBox:"0 0 155.6 21.2","xml:space":"preserve"}},[n("defs"),e._v(" "),n("path",{attrs:{d:"M155.6,0v21.2H0V0H155.6z"}})])])]),e._v(" "),n("div",{ref:"pages",staticClass:"m_publicationview--pages"},[e._l(e.pagesWithDefault,function(t,i){return n("div",{key:t.id,ref:i===e.page_currently_active?"current_page":"",refInFor:!0},[["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)||0!==i?e._e():n("div",{staticClass:"m_publicationFooter"},[n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){return e.insertPageAtIndex(i)}}},[e._v(e._s(e.$t("add_a_page_before")))])]),e._v(" "),n("div",{staticClass:"m_publicationview--pages--pageContainer",class:{"is--active":!e.preview_mode&&!["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)&&i===e.page_currently_active},style:e.setPageContainerProperties(t)},[n("div",{staticClass:"m_page",style:e.setPageProperties(t),attrs:{"data-style":e.publication.style}},[e.preview_mode?e._e():[e._l([0,1,2,3],function(e,i){return n("div",{key:i,staticClass:"m_page--margins_rule",style:"--margin_left: "+t.margin_left+"mm; --margin_right: "+t.margin_right+"mm; --margin_top: "+t.margin_top+"mm; --margin_bottom: "+t.margin_bottom+"mm;"})}),e._v(" "),t.gridstep&&t.gridstep>0?n("div",{staticClass:"m_page--grid",style:"--gridstep: "+t.gridstep+"mm; --margin_left: "+t.margin_left+"mm; --margin_right: "+t.margin_right+"mm; --margin_top: "+t.margin_top+"mm; --margin_bottom: "+t.margin_bottom+"mm;"}):e._e()],e._v(" "),t.header_left||t.header_right?n("div",{staticClass:"m_page--header",style:e.customCSSVars},[n("div",[e._v(e._s(t.header_left))]),e._v(" "),n("div",[e._v(e._s(t.header_right))])]):e._e(),e._v(" "),!t.hasOwnProperty("show_page_number")||t.show_page_number?n("div",{staticClass:"m_page--pageNumber",class:{toRight:!0}},[e._v(e._s(i+1))]):e._e(),e._v(" "),n("transition-group",{attrs:{name:"slideFromTop",duration:300,tag:"div"}},e._l(e.publication_medias[i+""],function(i){return n("div",{key:i.publi_meta.metaFileName},[n("MediaPublication",{attrs:{page:t,media:i,preview_mode:e.preview_mode,read_only:e.read_only,pixelsPerMillimeters:e.pixelsPerMillimeters},on:{removePubliMedia:function(t){e.removePubliMedia(t)},editPubliMedia:function(t){e.editPubliMedia(t)},unselected:e.noSelection}})],1)}),0)],2)]),e._v(" "),["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)?e._e():n("div",{staticClass:"m_publicationFooter"},[n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){return e.insertPageAtIndex(i+1)}}},[e._v(e._s(e.$t("add_a_page_here")))]),e._v(" "),n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){return e.removePageAtIndex(i)}}},[e._v(e._s(e.$t("remove_this_page")))])])])}),e._v(" "),["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)||0!==e.pagesWithDefault.length?e._e():n("div",{staticClass:"m_publicationFooter"},[n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){return e.insertPageAtIndex(e.pageNumber+1)}}},[e._v(e._s(e.$t("add_a_page")))])])],2),e._v(" "),["export_publication","link_publication"].includes(e.$root.state.mode)?n("div",{staticClass:"m_publicationFooter margin-vert-small"},[n("a",{staticClass:"js--openInBrowser c-noir",attrs:{target:"_blank",href:"https://latelier-des-chercheurs.fr/outils/dodoc"}},[e._v("\n "+e._s(e.$t("made_with_dodoc"))+"\n "),n("img",{attrs:{src:"export_publication"===this.$root.state.mode?"./_images/i_logo.svg":"/images/i_logo.svg",draggable:"false"},on:{click:function(t){return e.goHome()}}})])]):e._e(),e._v(" "),n("div",{ref:"mmMeasurer",staticStyle:{height:"10mm",width:"10mm",left:"100%",position:"fixed",top:"100%"}})],1)},i.staticRenderFns=[]},{"../modals/ExportPagePubli.vue":194,"../subcomponents/MediaPublication.vue":225,"../subcomponents/PublicationHeader.vue":228}],208:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i,r,o="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},a=c(e("../subcomponents/PublicationHeader.vue")),s=c(e("../subcomponents/MediaMontagePublication.vue")),l=c(e("../modals/ExportStopmotionPubliModal.vue"));function c(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,read_only:Boolean},components:(t={PublicationHeader:a.default,MediaMontagePublication:s.default,ExportStopmotionPubliModal:l.default},i="ExportStopmotionPubliModal",r=l.default,i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r,t),data:function(){return{show_export_modal:!1,publication_medias:[],medias_slugs_in_order:[]}},created:function(){},mounted:function(){this.$root.settings.current_publication.accepted_media_type=["image"],this.$eventHub.$on("publication.addMedia",this.addMedia),this.$eventHub.$on("socketio.projects.listSpecificMedias",this.updateMediasPubli),this.publication.hasOwnProperty("medias_slugs")&&this.publication.medias_slugs.length>0&&(this.medias_slugs_in_order=this.publication.medias_slugs),this.updateMediasPubli()},beforeDestroy:function(){this.$eventHub.$off("publication.addMedia",this.addMedia),this.$eventHub.$off("socketio.projects.listSpecificMedias",this.updateMediasPubli)},watch:{"publication.medias":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publication.medias"),this.updateMediasPubli()},"$root.store.projects":{handler:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: $root.store.projects"),this.updateMediasPubli()},deep:!0},"publication.medias_slugs":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publication.medias_slugs"),this.medias_slugs_in_order="object"===o(this.publication.medias_slugs)?this.publication.medias_slugs:[],this.updateMediasPubli()}},computed:{},methods:{addMedia:function(e){var t=this,n=e.slugProjectName,i=e.metaFileName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: addMedia with \n slugProjectName = "+n+" and metaFileName = "+i);var r=i;this.$eventHub.$on("socketio.media_created_or_updated",function(e){t.$eventHub.$off("socketio.media_created_or_updated"),t.medias_slugs_in_order.push({slugMediaName:e.metaFileName}),t.$root.editFolder({type:"publications",slugFolderName:t.slugPubliName,data:{medias_slugs:t.medias_slugs_in_order}})}),this.$root.createMedia({slugFolderName:this.slugPubliName,type:"publications",additionalMeta:{slugProjectName:n,desired_filename:r,slugMediaName:i}})},removePubliMedia:function(e){var t=e.slugMediaName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: removePubliMedia / slugMediaName = "+t),this.$root.removeMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:t}),this.medias_slugs_in_order=this.medias_slugs_in_order.filter(function(e){return e.slugMediaName!==t}),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{medias_slugs:this.medias_slugs_in_order}})},updateMediasPubli:function(){var e=this;if("debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: updateMediasPubli"),this.publication.hasOwnProperty("medias")&&0!==Object.keys(this.publication.medias).length){var t=[],n=[];0!==this.medias_slugs_in_order.length?(this.medias_slugs_in_order.map(function(i){var r=i.slugMediaName;if(e.publication.medias.hasOwnProperty(r)){var o=e.publication.medias[r];if(o.hasOwnProperty("slugProjectName")&&o.hasOwnProperty("metaFileName")){var a=o.slugProjectName,s=o.slugMediaName;if(!e.$root.store.projects.hasOwnProperty(a))return console.error("Missing project in store — not expected : "+a),void console.error("Medias from project was probably added to the publication before it was removed altogether.");var l=e.$root.store.projects[a].medias;if(l.hasOwnProperty(s)){var c=JSON.parse(JSON.stringify(l[s]));return c.hasOwnProperty("_isAbsent")&&c._isAbsent?(console.error("Missing media in store — not expected : "+a+" / "+s),void console.error("Media was probably added to the publication before it was removed.")):(c.slugProjectName=a,c.publi_meta=JSON.parse(JSON.stringify(o)),void t.push(c))}console.log("Some medias missing from client"),n.push({slugFolderName:a,metaFileName:s})}}}),console.log("Finished building media list. Missing medias: "+n.length),n.length>0&&this.$root.listSpecificMedias({type:"projects",medias_list:n}),this.publication_medias=t):this.publication_medias=[]}else this.publication_medias=[]}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",staticClass:"m_publicationview",class:{"is--preview":e.preview_mode}},[n("PublicationHeader",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,publication_medias:e.publication_medias},on:{export:function(t){e.show_export_modal=!0}}}),e._v(" "),e.show_export_modal?n("ExportStopmotionPubliModal",{attrs:{publication:e.publication,slugPubliName:e.slugPubliName},on:{close:function(t){e.show_export_modal=!1}}}):e._e(),e._v(" "),0===e.publication_medias.length?n("div",{staticClass:"margin-medium"},[n("p",[n("small",{domProps:{innerHTML:e._s(e.$t("add_multiple_images"))}})])]):e._e(),e._v(" "),n("transition-group",{staticClass:"m_stopmotionAnimationPublication",attrs:{name:"slideFromTop",duration:300}},e._l(e.publication_medias,function(t){return n("div",{key:t.publi_meta.metaFileName,staticClass:"m_stopmotionAnimationPublication--media"},[n("MediaMontagePublication",{attrs:{media:t,preview_mode:!1,read_only:e.read_only},on:{removePubliMedia:function(t){e.removePubliMedia(t)},editPubliMedia:function(t){e.editPubliMedia(t)}}})],1)}),0)],1)},i.staticRenderFns=[]},{"../modals/ExportStopmotionPubliModal.vue":195,"../subcomponents/MediaMontagePublication.vue":224,"../subcomponents/PublicationHeader.vue":228}],209:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t="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},i=a(e("../subcomponents/PublicationHeader.vue")),r=a(e("../subcomponents/MediaMontagePublication.vue")),o=a(e("../modals/ExportVideoPubliModal.vue"));function a(e){return e&&e.__esModule?e:{default:e}}Array.prototype.move=function(e,t){this.splice(t,0,this.splice(e,1)[0])},n.default={props:{slugPubliName:String,publication:Object,read_only:Boolean},components:{PublicationHeader:i.default,MediaMontagePublication:r.default,ExportVideoPubliModal:o.default},data:function(){return{show_export_modal:!1,publication_medias:[],medias_slugs_in_order:[]}},created:function(){},mounted:function(){this.$root.settings.current_publication.accepted_media_type=["video","image"],this.$eventHub.$on("publication.addMedia",this.addMedia),this.$eventHub.$on("socketio.projects.listSpecificMedias",this.updateMediasPubli),this.publication.hasOwnProperty("medias_slugs")&&this.publication.medias_slugs.length>0&&(this.medias_slugs_in_order=this.publication.medias_slugs),this.updateMediasPubli()},beforeDestroy:function(){this.$eventHub.$off("publication.addMedia",this.addMedia),this.$eventHub.$off("socketio.projects.listSpecificMedias",this.updateMediasPubli)},watch:{"publication.medias":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publication.medias"),this.updateMediasPubli()},"$root.store.projects":{handler:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: $root.store.projects"),this.updateMediasPubli()},deep:!0},"publication.medias_slugs":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publication.medias_slugs"),this.medias_slugs_in_order="object"===t(this.publication.medias_slugs)?this.publication.medias_slugs:[],this.updateMediasPubli()}},computed:{},methods:{addMedia:function(e){var t=this,n=e.slugProjectName,i=e.metaFileName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: addMedia with \n slugProjectName = "+n+" and metaFileName = "+i);var r=i;this.$eventHub.$on("socketio.media_created_or_updated",function(e){t.$eventHub.$off("socketio.media_created_or_updated"),t.medias_slugs_in_order.push({slugMediaName:e.metaFileName}),t.$root.editFolder({type:"publications",slugFolderName:t.slugPubliName,data:{medias_slugs:t.medias_slugs_in_order}})}),this.$root.createMedia({slugFolderName:this.slugPubliName,type:"publications",additionalMeta:{slugProjectName:n,desired_filename:r,slugMediaName:i}})},removePubliMedia:function(e){var t=e.slugMediaName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: removeMedia / slugMediaName = "+t),this.$root.removeMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:t}),this.medias_slugs_in_order.length>0&&(this.medias_slugs_in_order=this.medias_slugs_in_order.filter(function(e){return e.slugMediaName!==t})),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{medias_slugs:this.medias_slugs_in_order}})},editPubliMedia:function(e){var t=e.slugMediaName,n=e.val;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: editPubliMedia / args = "+JSON.stringify(arguments[0],null,4)),this.$root.editMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:t,data:n})},updateMediasPubli:function(){var e=this;if("debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: updateMediasPubli"),this.publication.hasOwnProperty("medias")&&0!==Object.keys(this.publication.medias).length){var t=[],n=[];0!==this.medias_slugs_in_order.length?(this.medias_slugs_in_order.map(function(i){var r=i.slugMediaName;if(e.publication.medias.hasOwnProperty(r)){var o=e.publication.medias[r];if(o.hasOwnProperty("slugProjectName")&&o.hasOwnProperty("metaFileName")){var a=o.slugProjectName,s=o.slugMediaName;if(!e.$root.store.projects.hasOwnProperty(a))return console.error("Missing project in store — not expected : "+a),void console.error("Medias from project was probably added to the publication before it was removed altogether.");var l=e.$root.store.projects[a].medias;if(l.hasOwnProperty(s)){var c=JSON.parse(JSON.stringify(l[s]));return c.hasOwnProperty("_isAbsent")&&c._isAbsent?(console.error("Missing media in store — not expected : "+a+" / "+s),void console.error("Media was probably added to the publication before it was removed.")):(c.slugProjectName=a,c.publi_meta=JSON.parse(JSON.stringify(o)),void t.push(c))}console.log("Some medias missing from client"),n.push({slugFolderName:a,metaFileName:s})}}}),console.log("Finished building media list. Missing medias: "+n.length),n.length>0&&this.$root.listSpecificMedias({type:"projects",medias_list:n}),this.publication_medias=t):this.publication_medias=[]}else this.publication_medias=[]},move:function(e,t){var n=this.medias_slugs_in_order.findIndex(function(t){return t.slugMediaName===e});console.log("METHODS • VideoPublication: move idx = "+n+" and dir = "+t),t<0?this.medias_slugs_in_order.move(n,n+t):t>0&&this.medias_slugs_in_order.move(n+t,n),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{medias_slugs:this.medias_slugs_in_order}})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",staticClass:"m_publicationview",class:{"is--preview":e.preview_mode}},[n("PublicationHeader",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,publication_medias:e.publication_medias},on:{export:function(t){e.show_export_modal=!0}}}),e._v(" "),e.show_export_modal?n("ExportVideoPubliModal",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,instructions:e.$t("export_video_instructions")},on:{close:function(t){e.show_export_modal=!1}}}):e._e(),e._v(" "),n("div",{staticClass:"m_videoPublication"},[0===e.publication_medias.length?n("div",{staticClass:"margin-medium"},[n("p",[n("small",{domProps:{innerHTML:e._s(e.$t("add_multiple_videos_files"))}})])]):e._e(),e._v(" "),n("transition-group",{attrs:{name:"list-complete",duration:300}},e._l(e.publication_medias,function(t,i){return n("div",{key:t.publi_meta.metaFileName,staticClass:"m_videoPublication--media"},[n("MediaMontagePublication",{attrs:{media:t,preview_mode:!1,read_only:e.read_only,enable_image_timer:!0,enable_set_video_volume:!0},on:{removePubliMedia:function(t){e.removePubliMedia(t)},editPubliMedia:function(t){e.editPubliMedia(t)}}}),e._v(" "),n("div",{staticClass:"m_videoPublication--media--moveItemButtons"},[n("button",{directives:[{name:"show",rawName:"v-show",value:i>0,expression:"index > 0"}],staticClass:"m_videoPublication--media--moveItemButton--before",attrs:{type:"button"},on:{click:function(n){return e.move(t.publi_meta.metaFileName,-1)}}},[n("img",{attrs:{src:"/images/i_arrow_left.svg",draggable:"false"}})]),e._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:i<e.publication_medias.length-1,expression:"index < publication_medias.length - 1"}],staticClass:"m_videoPublication--media--moveItemButton--after",attrs:{type:"button"},on:{click:function(n){return e.move(t.publi_meta.metaFileName,1)}}},[n("img",{attrs:{src:"/images/i_arrow_right.svg",draggable:"false"}})])])],1)}),0)],1)],1)},i.staticRenderFns=[]},{"../modals/ExportVideoPubliModal.vue":196,"../subcomponents/MediaMontagePublication.vue":224,"../subcomponents/PublicationHeader.vue":228}],210:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={name:"Pane",props:{className:String},data:function(){return{classes:[this.$parent.split,this.className].join(" "),percent:50}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement;return(this._self._c||e)("div",{class:this.classes},[this._t("default")],2)},i.staticRenderFns=[],i._scopeId="data-v-5ce73452"},{}],211:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{split:{validator:function(e){return["vertical","horizontal"].indexOf(e)>=0},required:!0},className:String},computed:{classes:function(){var e=["splitter-pane-resizer",this.split,this.className];return e.join(" ")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement;return(this._self._c||e)("div",{class:this.classes})},i.staticRenderFns=[],i._scopeId="data-v-781ef69f"},{}],212:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{media_filename:String,publication:Object},components:{},data:function(){return{upload_to_folder:""}},created:function(){},mounted:function(){this.$root.do_navigation.current_slugProjectName?this.upload_to_folder=this.$root.do_navigation.current_slugProjectName:this.upload_to_folder=this.all_projects[0].slugFolderName},beforeDestroy:function(){},watch:{},computed:{all_projects:function(){return this.$root.projects_that_are_accessible}},methods:{addTempMediaToFolder:function(){var e=this,t=this.$t("cooking_pot")+" / "+this.publication.name;this.$socketio.addTempMediaToFolder({from:{media_filename:this.media_filename,type:"publications"},to:{slugFolderName:this.upload_to_folder,type:"projects"},additionalMeta:{caption:t,authors:this.$root.settings.current_author.hasOwnProperty("name")?[{name:this.$root.settings.current_author.name}]:""}}),"ProjectView"!==this.$root.do_navigation.view||this.$root.do_navigation.current_slugProjectName!==this.upload_to_folder?(this.$root.closeProject(),this.$nextTick(function(){e.$root.openProject(e.upload_to_folder),e.$emit("close")})):this.$emit("close")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_addcreationtoproject"},[n("div",{staticClass:"margin-bottom-small"},[n("label",{domProps:{innerHTML:e._s(e.$t("add_to_project"))}}),e._v(" "),n("div",{staticClass:"flex-nowrap"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.upload_to_folder,expression:"upload_to_folder"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.upload_to_folder=t.target.multiple?n:n[0]}}},e._l(e.all_projects,function(t){return n("option",{key:t.slugFolderName,domProps:{value:t.slugFolderName}},[e._v(e._s(t.name))])}),0),e._v(" "),n("button",{staticClass:"bg-bleuvert button-thin",attrs:{type:"button",disabled:""===e.upload_to_folder},domProps:{innerHTML:e._s(e.$t("send"))},on:{click:function(t){return e.addTempMediaToFolder()}}})])])])},i.staticRenderFns=[]},{}],213:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:["currentAuthors"],components:{},data:function(){return{authors:void 0!==this.currentAuthors&&""!==this.currentAuthors?this.currentAuthors.slice():[],show_all_authors:!1,max_authors_displayed_at_first:8}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{allAuthors:function(){var e=this.authors.concat(this.$root.allAuthors),t=[];this.$root.settings.current_author.hasOwnProperty("name")&&e.unshift(this.$root.settings.current_author);var n=e.filter(function(e){return-1===t.indexOf(e.name)&&(t.push(e.name),!0)});return this.show_all_authors?n:n.slice(0,this.max_authors_displayed_at_first)}},methods:{toggleAuthorName:function(e){this.authors.filter(function(t){return t.name===e}).length>0?this.authors=this.authors.filter(function(t){return t.name!==e}):this.authors.push({name:e}),this.$emit("authorsChanged",this.authors)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_authorField"},[e._l(e.allAuthors,function(t){return n("button",{key:t.name,class:{"is--active":e.authors.filter(function(e){return e.name===t.name}).length>0,"is--loggedInAuthor":e.$root.settings.current_author.name===t.name},attrs:{type:"button"},on:{click:function(n){return e.toggleAuthorName(t.name)}}},[e._v(e._s(t.name))])}),e._v(" "),e.max_authors_displayed_at_first<=e.allAuthors.length&&!e.show_all_authors?n("button",{staticClass:"m_authorField--show_all_authors",attrs:{type:"button"},domProps:{innerHTML:e._s(e.$t("show_all_authors"))},on:{click:function(t){e.show_all_authors=!0}}}):e._e()],2)},i.staticRenderFns=[]},{}],214:[function(e,t,n){e("vueify/lib/insert-css").insert('.ql-toolbar .ql-formats:first-child:before{content:"options :";position:relative;display:inline-block;float:left;font-size:1rem;vertical-align:middle;margin:0;margin-top:4px;font-weight:400;font-size:.8rem}html[lang=fr] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,html[lang=fr] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Titre 1"}html[lang=fr] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,html[lang=fr] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Titre 2"}html[lang=fr] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,html[lang=fr] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Titre 3"}html[lang=fr] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,html[lang=fr] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Titre 4"}');!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(e("reconnectingwebsocket")),i=o(e("sharedb/lib/client")),r=o(e("quill"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.types.register(e("rich-text").type),n.default={props:{value:{type:String,default:"…"},media:Object,slugFolderName:String},components:{},data:function(){return{editor:null,editor_id:(Math.random().toString(36)+"00000000000000000").slice(2,8),custom_toolbar:[[{header:[!1,1,2,3]}],["bold","italic","underline","link","blockquote"],[{list:"ordered"},{list:"bullet"}],["clean"]],socket:null,connection_state:void 0,requested_resource_url:void 0}},created:function(){},mounted:function(){var e=this;this.editor=new r.default(this.$refs.editor,{modules:{toolbar:this.custom_toolbar},theme:"snow",formats:["bold","italic","underline","link","header","blockquote","list"]}),this.editor.root.innerHTML=this.value,this.$nextTick(function(){e.editor.on("text-change",function(t,n,i){e.$emit("input",e.editor.getText()?e.editor.root.innerHTML:"")})})},beforeDestroy:function(){this.socket&&this.socket.close()},watch:{},computed:{},methods:{initWebsocketMode:function(){var e=this,n="?"+new URLSearchParams({type:"projects",slugFolderName:this.slugFolderName,metaFileName:this.media.metaFileName}).toString();this.requested_resource_url=("https:"===location.protocol?"wss":"ws")+"://"+window.location.host+"/sharedb"+n,console.log("MOUNTED • CollaborativeEditor: will connect to ws server with "+this.requested_resource_url),this.socket=new t.default(this.requested_resource_url);var r=new i.default.Connection(this.socket);r.on("state",this.wsState);var o=r.get("textMedias",n);o.subscribe(function(t){t&&console.error("ON • CollaborativeEditor: err "+t),console.log("ON • CollaborativeEditor: subscribe"),o.type?(console.log("ON • CollaborativeEditor: doc already exists and doc.data = "+JSON.stringify(o.data,null,4)),e.editor.setContents(o.data),e.$emit("input",e.editor.getText()?e.editor.root.innerHTML:"")):(console.log("ON • CollaborativeEditor: no type found on doc, creating a new one with content "+JSON.stringify(e.editor.getContents())),o.create(e.editor.getContents(),"rich-text")),e.editor.on("text-change",function(t,n,i){"user"==i?(console.log("ON • CollaborativeEditor: text-change by user"),o.submitOp(t,{source:e.editor_id})):console.log("ON • CollaborativeEditor: text-change by API")}),o.on("op",function(t,n){n!==e.editor_id&&(console.log("ON • CollaborativeEditor: operation applied to quill"),e.editor.updateContents(t))})})},wsState:function(e,t){console.log("METHODS • CollaborativeEditor: wsState with state = "+e+" and reason = "+t),this.connection_state=e.toString()}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"quillWrapper",attrs:{autocorrect:"off",autofocus:"autofocus"}},[t("div",{ref:"editor",staticClass:"mediaTextContent"})])},i.staticRenderFns=[]},{quill:95,reconnectingwebsocket:96,"rich-text":102,"sharedb/lib/client":113,"vueify/lib/insert-css":161}],215:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("../subcomponents/ImageSelect.vue"),r=(t=i)&&t.__esModule?t:{default:t};n.default={props:{read_only:Boolean},components:{ImageSelect:r.default},data:function(){return{authordata:{name:"",password:"",nfc_tag:""},preview:void 0}},computed:{},mounted:function(){void 0===Modernizr||Modernizr.touchevents||this.$el.querySelector("[autofocus]").focus()},methods:{newAuthor:function(e){if(console.log("newAuthor"),this.$root.allAuthors.map(function(e){return e.name.toLowerCase()}).includes(this.authordata.name.toLowerCase()))return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.author_name_exists")),!1;this.preview&&(this.authordata.preview_rawdata=this.preview),this.$root.createFolder({type:"authors",data:this.authordata}),this.$emit("close","")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("form",{attrs:{read_only:e.read_only},on:{close:function(t){return e.$emit("close")},submit:function(t){return t.preventDefault(),e.newAuthor(t)}}},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("name")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.authordata.name,expression:"authordata.name",modifiers:{trim:!0}}],attrs:{type:"text",required:"",autofocus:""},domProps:{value:e.authordata.name},on:{input:function(t){t.target.composing||e.$set(e.authordata,"name",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("portrait")))]),e._v(" "),n("br"),e._v(" "),n("ImageSelect",{attrs:{instructions:e.$t("select_portrait_image"),load_from_projects_medias:!0},on:{newPreview:function(t){e.preview=t}}})],1),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("nfc_tag")))]),e._v(" "),n("br"),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.authordata.nfc_tag,expression:"authordata.nfc_tag"}],attrs:{type:"text"},domProps:{value:e.authordata.nfc_tag},on:{input:function(t){t.target.composing||e.$set(e.authordata,"nfc_tag",t.target.value)}}})]),e._v(" "),n("button",{staticClass:"button-thin",attrs:{type:"button"},on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("cancel"))+"\n ")]),e._v(" "),n("button",{staticClass:"button-greenthin",attrs:{type:"submit"}},[e._v(e._s(e.$t("create")))])])},i.staticRenderFns=[]},{"../subcomponents/ImageSelect.vue":220}],216:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{title:String,date:String},components:{},data:function(){return{show_detail:!1}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_metaField",on:{click:function(t){e.show_detail=!e.show_detail}}},[n("div",[e._v(e._s(e.$t(e.title)))]),e._v(" "),n("div",[e.show_detail?[e._v(e._s(e.$root.formatDateToPrecise(e.date)))]:[e._v(e._s(e.$root.formatDateToHuman(e.date))+"\n ")]],2)])},i.staticRenderFns=[]},{}],217:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{value:{type:String,default:""},twowaybinding:{type:Boolean,default:!1},read_only:{type:Boolean,default:!0}},data:function(){return{date:this.$moment(this.value).isValid()?this.$moment(this.value).format("YYYY-MM-DD"):"",time:this.$moment(this.value).isValid()?this.$moment(this.value).format("HH:mm:ss"):""}},watch:{value:function(){!0===this.twowaybinding&&(this.date=this.$moment(this.value).format("YYYY-MM-DD"),this.time=this.$moment(this.value).format("HH:mm:ss"))}},methods:{updateDate:function(){this.$emit("input",this.$moment(this.date+"T"+this.time))}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.date,expression:"date"}],attrs:{type:"date",readonly:e.read_only},domProps:{value:e.date},on:{input:[function(t){t.target.composing||(e.date=t.target.value)},function(t){return e.updateDate()}]}}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.time,expression:"time"}],attrs:{type:"time",step:"1",readonly:e.read_only},domProps:{value:e.time},on:{input:[function(t){t.target.composing||(e.time=t.target.value)},function(t){return e.updateDate()}]}})])},i.staticRenderFns=[]},{}],218:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("rtcmulticonnection"),r=(t=i)&&t.__esModule?t:{default:t};n.default={props:{},components:{},data:function(){return{connection:void 0,username:this.$root.settings.capture_options.distant_flux.username,callee_username:this.$root.settings.capture_options.distant_flux.callee_username,is_calling:!1}},created:function(){},mounted:function(){var e=this;console.log("METHODS • DistantFlux: mounted"),this.connection=new r.default,this.connection.socketURL="https://rtcmulticonnection.herokuapp.com:443/",this.connection.session={audio:!0,video:!0},this.connection.sdpConstraints.mandatory={OfferToReceiveAudio:!0,OfferToReceiveVideo:!0};var t={};t={width:{ideal:1280},height:{ideal:720},frameRate:30},this.connection.mediaConstraints={video:t,audio:!0};var n=this.connection.CodecsHandler;this.connection.processSdp=function(e){return"vp8".length&&(e=n.preferCodec(e,"vp8".toLowerCase())),e=n.setApplicationSpecificBandwidth(e,{audio:128,video:512,screen:512}),e=n.setVideoBitrates(e,{min:4194304,max:4194304})},this.connection.onstream=function(t){console.log("MOUNTED • DistantFlux: onstream"),e.is_calling&&(t.mediaElement.removeAttribute("src"),t.mediaElement.removeAttribute("srcObject"),t.mediaElement.muted=!0,t.mediaElement.volume=0,e.$emit("changeStreamTo",t.stream),e.is_calling=!1)},this.connection.onstreamended=function(e){console.log("MOUNTED • DistantFlux: onstreamended")},this.connection.onMediaError=function(e){if(console.log("MOUNTED • DistantFlux: onMediaError"),"Concurrent mic process limit."===e.message){if(DetectRTC.audioInputDevices.length<=1)return void this.$alertify.closeLogOnClick(!0).delay(4e3).error("Please select external microphone. Check github issue number 483.");var t=DetectRTC.audioInputDevices[1].deviceId;this.connection.mediaConstraints.audio={deviceId:t},this.connection.join(this.connection.sessionid)}},this.$eventHub.$on("call_callee",this.call),this.connection.open(this.username),navigator.connection&&"cellular"===navigator.connection.type&&navigator.connection.downlinkMax<=.115&&this.$alertify.closeLogOnClick(!0).delay(4e3).error("2G is not supported. Please use a better internet service.")},beforeDestroy:function(){this.$eventHub.$off("call_callee",this.call)},watch:{},computed:{},methods:{call:function(){var e=this;console.log("METHODS • DistantFlux: call"),this.is_calling=!0,this.connection.checkPresence(this.$root.settings.capture_options.distant_flux.callee_username,function(t,n){console.log("METHODS • DistantFlux: call / checkPresence with callee_username = "+e.$root.settings.capture_options.distant_flux.callee_username+", is_calling = "+e.is_calling+" and isOnline = "+t),t?(e.$alertify.closeLogOnClick(!0).delay(4e3).success(n+" is online."),e.connection.join(n)):e.$alertify.closeLogOnClick(!0).delay(4e3).error(n+" is not online.")})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement;return(this._self._c||e)("div")},i.staticRenderFns=[]},{rtcmulticonnection:109}],219:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("../subcomponents/ImageSelect.vue"),r=(t=i)&&t.__esModule?t:{default:t};n.default={props:{read_only:Boolean,author:Object},components:{ImageSelect:r.default},data:function(){return{authordata:{name:this.author.name,nfc_tag:this.author.nfc_tag},preview:void 0}},computed:{previewURL:function(){if(!this.author.hasOwnProperty("preview")||""===this.author.preview)return"";var e=this.author.preview.filter(function(e){return 640===e.size});return e.length>0?""+e[0].path:""}},mounted:function(){void 0===Modernizr||Modernizr.touchevents||this.$el.querySelector("[autofocus]").focus()},methods:{editAuthor:function(e){console.log("editAuthor");var t=this.$root.allAuthors.map(function(e){return e.name.toLowerCase()});if(this.author.name!==this.authordata.name&&t.includes(this.authordata.name.toLowerCase()))return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.author_name_exists")),!1;void 0!==this.preview&&(this.authordata.preview_rawdata=this.preview),this.$root.editFolder({type:"authors",slugFolderName:this.author.slugFolderName,data:this.authordata}),this.$emit("close","")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("form",{attrs:{read_only:e.read_only},on:{close:function(t){return e.$emit("close")},submit:function(t){return t.preventDefault(),e.editAuthor(t)}}},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("name")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.authordata.name,expression:"authordata.name",modifiers:{trim:!0}}],attrs:{type:"text",required:"",autofocus:""},domProps:{value:e.authordata.name},on:{input:function(t){t.target.composing||e.$set(e.authordata,"name",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),n("small",{domProps:{innerHTML:e._s(e.$t("author_name_editing_instructions"))}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("portrait")))]),e._v(" "),n("br"),e._v(" "),n("ImageSelect",{attrs:{previewURL:e.previewURL,instructions:e.$t("select_portrait_image"),load_from_projects_medias:!0},on:{newPreview:function(t){e.preview=t}}})],1),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("nfc_tag")))]),e._v(" "),n("br"),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.authordata.nfc_tag,expression:"authordata.nfc_tag"}],attrs:{type:"text"},domProps:{value:e.authordata.nfc_tag},on:{input:function(t){t.target.composing||e.$set(e.authordata,"nfc_tag",t.target.value)}}})]),e._v(" "),n("button",{staticClass:"button-thin",attrs:{type:"button"},on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("cancel"))+"\n ")]),e._v(" "),n("button",{staticClass:"button-greenthin",attrs:{type:"submit"}},[e._v(e._s(e.$t("save")))])])},i.staticRenderFns=[]},{"../subcomponents/ImageSelect.vue":220}],220:[function(e,t,n){e("vueify/lib/insert-css").insert("img[data-v-1350626c]{width:200px}");!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{previewURL:String,instructions:String,slugProjectName:{type:String,default:""},load_from_projects_medias:{type:Boolean,default:!1}},components:{},data:function(){return{image:this.previewURL,id:"image_select_"+(Math.random().toString(36)+"00000000000000000").slice(2,5),show_medias_from_project:""}},created:function(){},mounted:function(){this.show_medias_from_project=this.slugProjectName?this.slugProjectName:this.first_project_slug},beforeDestroy:function(){},watch:{show_medias_from_project:function(){this.$socketio.listMedias({type:"projects",slugFolderName:this.show_medias_from_project})}},computed:{_instructions:function(){return void 0!==this.instructions?this.instructions:this.$t("upload_from_device")},first_project_slug:function(){return 0===Object.keys(this.$root.store.projects).length?"":Object.keys(this.$root.store.projects)[0]}},methods:{getProjectsImages:function(e){var t=e.slugProjectName;return!(!t||!this.$root.store.projects.hasOwnProperty(t))&&(0!==this.$root.store.projects[t].medias.length&&Object.values(this.$root.store.projects[t].medias).filter(function(e){return"image"===e.type}))},onFileChange:function(e){var t=e.target.files||e.dataTransfer.files;t.length&&this.createImage(t[0])},createImage:function(e){var t=this,n=(new Image,new FileReader);n.onload=function(e){var n=e.target.result;t.image=n,t.$emit("newPreview",n)},n.readAsDataURL(e)},removeImage:function(e){this.image="",this.$emit("newPreview","")},mediasImagesPreviewURL:function(e){var t=e.thumbs,n=e.size,i=t.filter(function(e){return e.size===n});return 0!=i.length&&"/"+i[0].path},selectThisImageForPreview:function(e){var t=e.image;this.image={metaFileName:t.metaFileName,slugFolderName:this.show_medias_from_project,type:"projects"},this.$emit("newPreview",this.image)},getPreviewFromMedias:function(e){var t=e.slugFolderName,n=this.getProjectsImages({slugProjectName:t}).find(function(t){return t.metaFileName===e.metaFileName});return this.mediasImagesPreviewURL({thumbs:n.thumbs,size:1600})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_imageselect"},[e.image?e._e():n("div",{staticClass:"m_imageselect--upload"},[n("input",{staticClass:"inputfile-2",attrs:{type:"file",accept:"image/*",id:e.id},on:{change:e.onFileChange}}),e._v(" "),n("label",{attrs:{for:e.id}},[n("svg",{attrs:{width:"20",height:"17",viewBox:"0 0 20 17"}},[n("path",{attrs:{d:"M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"}})]),e._v("\n "+e._s(e._instructions)+"\n ")])]),e._v(" "),!e.image&&e.load_from_projects_medias?n("div",{staticClass:"m_imageselect--selectFromMedias"},[n("label",[e._v(e._s(e.$t("or_choose_from_image_medias")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.show_medias_from_project,expression:"show_medias_from_project"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.show_medias_from_project=t.target.multiple?n:n[0]}}},e._l(e.$root.projects_that_are_accessible,function(t){return n("option",{key:t.slugFolderName,domProps:{value:t.slugFolderName}},[e._v(e._s(t.name))])}),0),e._v(" "),n("div",{staticClass:"m_imageselect--selectFromMedias--imageList"},[!1===e.getProjectsImages({slugProjectName:this.show_medias_from_project})?[n("small",[n("i",[e._v(e._s(e.$t("loading")))])])]:0===e.getProjectsImages({slugProjectName:this.show_medias_from_project}).length?[n("small",[n("i",[e._v(e._s(e.$t("no_images_to_show")))])])]:e._l(e.getProjectsImages({slugProjectName:this.show_medias_from_project}),function(t){return n("button",{key:t.metaFileName,attrs:{type:"button"},on:{click:function(n){return e.selectThisImageForPreview({image:t})}}},[n("img",{attrs:{src:e.mediasImagesPreviewURL({thumbs:t.thumbs,size:360})}})])})],2)]):e._e(),e._v(" "),e.image?n("div",{staticClass:"m_imageselect--image"},["string"==typeof e.image?n("img",{attrs:{src:e.image,draggable:"false"}}):e._e(),e._v(" "),"object"==typeof e.image?n("img",{attrs:{src:e.getPreviewFromMedias(e.image),draggable:"false"}}):e._e(),e._v(" "),n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:e.removeImage}},[e._v("\n "+e._s(e.$t("remove_image"))+"\n ")])]):e._e()])},i.staticRenderFns=[],i._scopeId="data-v-1350626c"},{"vueify/lib/insert-css":161}],221:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i="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},r=e("./MediaContent.vue"),o=(t=r)&&t.__esModule?t:{default:t};e("timers");n.default={props:{media:Object,slugProjectName:String,metaFileName:String,preview_size:Number},components:{MediaContent:o.default},data:function(){return{is_hovered:!1,mediaTypeIcon:{image:"/images/i_icone-dodoc_image.svg",video:"/images/i_icone-dodoc_video.svg",stopmotion:"/images/i_icone-dodoc_anim.svg",audio:"/images/i_icone-dodoc_audio.svg"}}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{is_media_in_publi:function(){var e=this;return Object.values(this.$root.current_publication_medias).findIndex(function(t){return t.slugMediaName===e.metaFileName})>-1},instructions_depending_on_media_in_publi:function(){return this.is_media_in_publi,this.$t("add_to_recipe")},media_made_by_current_author:function(){var e=this;return!(!this.media.authors||"object"!==i(this.media.authors))&&(!!this.$root.settings.current_author&&this.media.authors.filter(function(t){return t.name===e.$root.settings.current_author.name}).length>0)}},methods:{openMediaModal:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCard: openMediaModal = "+this.metaFileName),this.$root.openMedia({slugProjectName:this.slugProjectName,metaFileName:this.metaFileName})},removeMedia:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCard: removeMedia"),this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemoveMedia"),function(){e.$root.removeMedia(e.slugProjectName,e.metaFileName)},function(){})},addToCurrentPubli:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCard: addToPubli"),this.$eventHub.$emit("publication.addMedia",{slugProjectName:this.slugProjectName,metaFileName:this.metaFileName})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_media",class:{"is--inPubli":e.is_media_in_publi,"is--fav":e.media.fav,"is--ownMedia":e.media_made_by_current_author}},[n("div",[n("figure",{class:{"is--hovered":e.is_hovered},on:{click:function(t){return t.stopPropagation(),e.openMediaModal()},mouseover:function(t){e.is_hovered=!0},mouseleave:function(t){e.is_hovered=!1}}},[n("div",[n("div",{staticClass:"m_metaField padding-sides-verysmall"},[n("div",[e.media.fav?n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 78.5 106.4"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"78.5px",height:"106.4px",viewBox:"0 0 78.5 106.4","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"60.4,29.7 78.5,7.3 78.5,7.3 12.7,7.3 12.7,52 78.5,52 78.5,52 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"9.6,106.4 0,106.4 0,2 9.6,0 "}})]):e._e(),e._v(" "),e.media.type?n("span",{class:{"c-rouge":e.media.fav}},[e._v(e._s(e.$t(e.media.type)))]):e._e()])]),e._v(" "),n("MediaContent",{attrs:{context:"preview",slugFolderName:e.slugProjectName,media:e.media,preview_size:e.preview_size},model:{value:e.media.content,callback:function(t){e.$set(e.media,"content",t)},expression:"media.content"}}),e._v(" "),e.media.caption?n("figcaption",{staticClass:"m_media--caption"},[n("span",[e._v(e._s(e.media.caption))])]):e._e(),e._v(" "),n("transition",{attrs:{name:"slideright",duration:400}},[e.$root.settings.current_publication.slug&&e.$root.settings.current_publication.accepted_media_type.includes(e.media.type)?n("div",{staticClass:"m_media--add_to_recipe",on:{click:function(t){return t.stopPropagation(),e.addToCurrentPubli()}}},[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"left",delay:[600,0]},expression:"{\n placement: 'left',\n delay: [600, 0]\n }"}],staticClass:"button_addToPubli button-greenthin button-square",attrs:{type:"button",content:e.instructions_depending_on_media_in_publi},on:{click:function(t){return t.stopPropagation(),e.addToCurrentPubli()}}},[(e.is_media_in_publi,[e._v("→")])],2)]):e._e()])],1),e._v(" "),(e.is_hovered,e._e())])])])},i.staticRenderFns=[]},{"./MediaContent.vue":223,timers:148}],222:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=i(e("./MediaContent.vue"));i(e("debounce"));function i(e){return e&&e.__esModule?e:{default:e}}n.default={props:{media:Object,page:Object,preview_mode:Boolean,read_only:Boolean,opacity:Number},components:{MediaContent:t.default},data:function(){return{is_dragged:!1,is_resized:!1,is_rotated:!1,is_waitingForServer:!1,is_hovered:!1,is_selected:!1,is_touch:Modernizr.touchevents,is_text_overflowing:!1,limit_media_to_page:!0,mediaID:""+(Math.random().toString(36)+"00000000000000000").slice(2,8),dragOffset:{x:0,y:0},mediaPos:{x:.25,y:.25,px:0,py:0},resizeOffset:{x:0,y:0},rotateOffset:{x:0,y:0,angle:0},rotate:0,mediaSize:{width:0,height:0,pwidth:0,pheight:0}}},created:function(){},mounted:function(){this.updateMediaStyles(),this.$eventHub.$on("publication.newMediaSelected",this.newMediaSelected)},beforeDestroy:function(){this.$eventHub.$off("publication.newMediaSelected",this.newMediaSelected)},watch:{"media.publi_meta":{handler:function(){this.updateMediaStyles()},deep:!0},is_selected:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • MediaCarreau: is_selected"),this.is_selected?(window.addEventListener("mousedown",this.deselectMedia),window.addEventListener("touchstart",this.deselectMedia),this.$eventHub.$emit("publication.newMediaSelected",this.mediaID)):(window.removeEventListener("mousedown",this.deselectMedia),window.removeEventListener("touchstart",this.deselectMedia))}},computed:{mediaStyles:function(){var e="\n transform: translate("+this.page.width*this.mediaPos.x+"px, "+this.page.height*this.mediaPos.y+"px) rotate("+1*this.rotate+"deg);\n width: "+this.media_width+"px;\n height: "+this.media_height+"px;\n ";return e},media_width:function(){return this.page.width*this.mediaSize.width},media_height:function(){return this.media.ratio?this.media_width*this.media.ratio:this.page.height*this.mediaSize.height}},methods:{newMediaSelected:function(e){e!==this.mediaID&&(this.is_selected=!1)},updateMediaStyles:function(){var e=this;this.mediaPos.x=this.media.publi_meta.hasOwnProperty("x")&&!Number.isNaN(Number.parseFloat(this.media.publi_meta.x))?this.limitMediaXPos(Number.parseFloat(this.media.publi_meta.x)):this.page.margin_top,this.mediaPos.y=this.media.publi_meta.hasOwnProperty("y")&&!Number.isNaN(Number.parseFloat(this.media.publi_meta.y))?this.limitMediaYPos(Number.parseFloat(this.media.publi_meta.y)):this.page.margin_top,this.rotate=this.media.publi_meta.hasOwnProperty("rotate")&&!Number.isNaN(Number.parseFloat(this.media.publi_meta.rotate))?this.media.publi_meta.rotate:0,this.mediaSize.width=this.media.publi_meta.hasOwnProperty("width")&&!Number.isNaN(Number.parseFloat(this.media.publi_meta.width))?this.limitMediaWidth(Number.parseFloat(this.media.publi_meta.width)):.6,this.mediaSize.height=this.media.publi_meta.hasOwnProperty("height")&&!Number.isNaN(Number.parseFloat(this.media.publi_meta.height))?this.limitMediaHeight(Number.parseFloat(this.media.publi_meta.height)):.6,"text"===this.media.type&&this.$nextTick(function(){var t=e.$refs.media;e.is_text_overflowing=t.offsetHeight<t.firstElementChild.firstElementChild.firstElementChild.offsetHeight})},updateMediaPubliMeta:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCarreau: updateMediaPubliMeta"),this.$emit("editPubliMedia",{slugMediaName:this.media.publi_meta.metaFileName,val:e})},limitMediaXPos:function(e){return this.limit_media_to_page?Math.max(this.page.margin_left,Math.min(.9,e)):e},roundMediaVal:function(e){return this.page.gridstep?Math.round(e/this.page.gridstep)*this.page.gridstep:e},limitMediaYPos:function(e){return this.limit_media_to_page?("debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCarreau: limitMediaYPos / yPos = "+e),e=Math.max(this.page.margin_top,Math.min(.9,e))):e},limitMediaWidth:function(e){return this.limit_media_to_page?("debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCarreau: limitMediaWidth / w = "+e),Math.max(.05,Math.min(1,e))):e},limitMediaHeight:function(e){return this.limit_media_to_page?Math.max(.05,Math.min(1,e)):e},resizeMedia:function(e,t){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCarreau: resizeMedia with is_resized = "+this.is_resized),this.read_only||("mouse"===e?(window.addEventListener("mousemove",this.resizeMove),window.addEventListener("mouseup",this.resizeUp)):"touch"===e&&(window.addEventListener("touchmove",this.resizeMove),window.addEventListener("touchend",this.resizeUp)))},rotateMedia:function(e,t){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCarreau: rotateMedia with is_resized = "+this.is_resized),this.read_only||("mouse"===e?(window.addEventListener("mousemove",this.rotateMove),window.addEventListener("mouseup",this.rotateUp)):"touch"===e&&(window.addEventListener("touchmove",this.rotateMove),window.addEventListener("touchend",this.rotateUp)))},resizeMove:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCarreau: resizeMove with is_resized = "+this.is_resized);var t=e.pageX?e.pageX:e.touches[0].pageX,n=e.pageY?e.pageY:e.touches[0].pageY,i=t/this.page.width,r=n/this.page.height;if(this.is_resized){var o=(i-this.resizeOffset.x)/this.$root.settings.publi_zoom,a=this.mediaSize.pwidth+o;this.mediaSize.width=this.limitMediaWidth(a)}else this.is_resized=!0,this.is_selected=!0,this.resizeOffset.x=i,this.resizeOffset.y=r,this.mediaSize.pwidth=Number.parseFloat(this.mediaSize.width),this.mediaSize.pheight=Number.parseFloat(this.mediaSize.height)},resizeUp:function(e){return"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCarreau: resizeUp with is_resized = "+this.is_resized),this.is_resized&&(this.mediaSize.width=this.roundMediaVal(this.mediaSize.width),this.mediaSize.height=this.roundMediaVal(this.mediaSize.height),this.updateMediaPubliMeta({width:this.mediaSize.width,height:this.mediaSize.height}),this.is_resized=!1),e.stopPropagation(),window.removeEventListener("mousemove",this.resizeMove),window.removeEventListener("mouseup",this.resizeUp),window.removeEventListener("touchmove",this.resizeMove),window.removeEventListener("touchend",this.resizeUp),!1},rotateMove:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCarreau: rotateMove with is_rotated = "+this.is_rotated);var t=e.pageX?e.pageX:e.touches[0].pageX,n=e.pageY?e.pageY:e.touches[0].pageY;if(this.is_rotated){var i=Math.atan2(t-this.rotateOffset.x,n-this.rotateOffset.y),r=Math.round(i*(180/Math.PI)*-1+100);this.rotate=this.rotateOffset.angle+r}else{this.is_rotated=!0,this.is_selected=!0,this.rotateOffset.x=this.$refs.media.getBoundingClientRect().x,this.rotateOffset.y=this.$refs.media.getBoundingClientRect().y;var o=Math.atan2(t-this.rotateOffset.x,n-this.rotateOffset.y),a=Math.round(o*(180/Math.PI)*-1+100);this.rotateOffset.angle=a}},rotateUp:function(e){return"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCarreau: rotateUp with is_rotated = "+this.is_rotated),this.is_rotated&&(this.updateMediaPubliMeta({rotate:this.rotate}),this.is_rotated=!1),e.stopPropagation(),window.removeEventListener("mousemove",this.rotateMove),window.removeEventListener("mouseup",this.rotateUp),window.removeEventListener("touchmove",this.rotateMove),window.removeEventListener("touchend",this.rotateUp),!1},dragMedia:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCarreau: dragMedia with is_dragged = "+this.is_dragged),this.read_only||("mouse"===e?(this.is_selected=!0,window.addEventListener("mousemove",this.dragMove),window.addEventListener("mouseup",this.dragUp)):"touch"===e&&(window.addEventListener("touchmove",this.dragMove),window.addEventListener("touchend",this.dragUp)))},dragMove:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCarreau: dragMove with is_dragged = "+this.is_dragged);var t=e.pageX?e.pageX:e.touches[0].pageX,n=e.pageY?e.pageY:e.touches[0].pageY,i=t/this.page.width,r=n/this.page.height;if(this.is_dragged){var o=(i-this.dragOffset.x)/this.$root.settings.publi_zoom,a=this.mediaPos.px+o;this.mediaPos.x=this.limitMediaXPos(a);var s=(r-this.dragOffset.y)/this.$root.settings.publi_zoom,l=this.mediaPos.py+s;this.mediaPos.y=this.limitMediaYPos(l)}else this.is_dragged=!0,this.is_selected=!0,this.dragOffset.x=i,this.dragOffset.y=r,this.mediaPos.px=Number.parseFloat(this.mediaPos.x),this.mediaPos.py=Number.parseFloat(this.mediaPos.y)},dragUp:function(e){return"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCarreau: dragUp with is_dragged = "+this.is_dragged),this.is_dragged&&(this.mediaPos.x=this.roundMediaVal(this.mediaPos.x-this.page.margin_left)+this.page.margin_left,this.mediaPos.y=this.roundMediaVal(this.mediaPos.y-this.page.margin_top)+this.page.margin_top,this.updateMediaPubliMeta({x:this.mediaPos.x,y:this.mediaPos.y}),this.is_dragged=!1),window.removeEventListener("mousemove",this.dragMove),window.removeEventListener("mouseup",this.dragUp),window.removeEventListener("touchmove",this.dragMove),window.removeEventListener("touchend",this.dragUp),!1},removePubliMedia:function(){this.$emit("removePubliMedia",{slugMediaName:this.media.publi_meta.metaFileName})},deselectMedia:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCarreau: deselectMedia"),this.is_selected=!1,this.$emit("unselected")},mouseOver:function(){this.is_touch||(this.is_hovered=!0)},mouseLeave:function(){this.is_touch||(this.is_hovered=!1)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"media",staticClass:"m_mediaCarreau",class:{"is--dragged":e.is_dragged,"is--resized":e.is_resized,"is--rotated":e.is_rotated,"is--waitingForServerResponse":e.is_waitingForServer,"is--hovered":e.is_hovered,"is--previewed":e.preview_mode,"is--overflowing":e.is_text_overflowing},style:e.mediaStyles,attrs:{"data-media_type":e.media.type},on:{mouseover:e.mouseOver,mouseleave:e.mouseLeave,mousedown:function(t){t.stopPropagation(),e.is_selected=!0}}},[n("MediaContent",{ref:"mediaContent",style:"opacity: "+e.opacity,attrs:{context:"full",slugFolderName:e.media.slugProjectName,media:e.media,read_only:e.read_only,element_width_for_sizes:e.media_width},model:{value:e.media.content,callback:function(t){e.$set(e.media,"content",t)},expression:"media.content"}}),e._v(" "),e.is_selected||e.is_hovered||e.is_touch?n("div",{staticClass:"controlFrame",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.dragMedia("mouse")},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.dragMedia("touch")}}},[n("div",{staticClass:"handle handle_resizeMedia",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.resizeMedia("mouse","bottomright")},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.resizeMedia("touch","bottomright")}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 77.5 77.5"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"77.5px",height:"77.5px",viewBox:"0 0 77.5 77.5","xml:space":"preserve"}},[n("defs"),e._v(" "),n("g",[n("path",{attrs:{d:"M42.5,0l0.4,12.6l-9.3,0.1c-2.8,0-5.1,0-6.9-0.2c-1.8-0.2-3.6-0.6-5.7-1.2l45.3,45.3c-0.6-2-1-3.9-1.2-5.7\n c-0.2-1.8-0.3-4-0.2-6.9v-9.4l12.6,0.4l-1.3,41.2l-41.2,1.3l-0.4-12.6l9.5,0c2.9,0,5.2,0.1,7,0.3c1.8,0.2,3.6,0.5,5.4,1.1\n L11.3,21.1c0.5,1.8,0.9,3.6,1.1,5.4c0.2,1.8,0.3,4.1,0.3,7l-0.1,9.4L0,42.5L1.3,1.3L42.5,0z"}})])])])]):e._e(),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:150}},[e.is_selected||e.is_hovered||e.is_touch?n("div",{staticClass:"m_mediaCarreau--buttons"},[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0]\n }"}],staticClass:"m_mediaCarreau--buttons--removeMedia buttonLink _no_underline",attrs:{type:"button",content:e.$t("withdraw")},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.removePubliMedia()}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 37.2 37.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"37.2px",height:"37.2px",viewBox:"0 0 37.2 37.2","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"37.2,30.6 30.6,37.2 18.6,25.2 6.6,37.2 0,30.6 12,18.6 0,6.6 6.6,0 18.6,12 30.6,0 37.2,6.6 \n 25.2,18.6 "}})])])]):e._e()])],1)},i.staticRenderFns=[]},{"./MediaContent.vue":223,debounce:41}],223:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i="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},r=e("./CollaborativeEditor.vue"),o=(t=r)&&t.__esModule?t:{default:t};n.default={props:{slugFolderName:String,media:Object,subfolder:{type:String,default:""},context:{type:String,default:"preview"},autoplay:{type:Boolean,default:!1},value:{type:String,default:"…"},is_hovered:Boolean,read_only:{type:Boolean,default:!0},preview_size:{type:Number,default:180},element_width_for_sizes:{type:Number,default:0},element_height:{type:Number,default:0},audio_volume:{type:Number,default:100}},components:{CollaborativeEditor:o.default},data:function(){return{available_resolutions:{preview_hovered:360,default:1600},htmlForEditor:this.value,plyr_options:{controls:["play-large","play","progress","current-time","mute","volume","fullscreen"],iconUrl:"export_publication"===this.$root.state.mode?"./_images/plyr.svg":"/images/plyr.svg"}}},mounted:function(){"edit"===this.context&&(void 0===Modernizr||Modernizr.touchevents||this.$refs.textField),this.setVolume(this.audio_volume)},beforeDestroy:function(){},watch:{htmlForEditor:function(){this.$emit("input",this.htmlForEditor)}},computed:{mediaURL:function(){return"export_publication"===this.$root.state.mode?"./"+this.subfolder+this.slugFolderName+"/"+this.media.media_filename:"/"+this.subfolder+this.slugFolderName+"/"+this.media.media_filename},thumbRes:function(){return"preview"===this.context?this.preview_size:this.available_resolutions.default},thumbResHovered:function(){return this.available_resolutions.preview_hovered},linkToImageThumb:function(){var e=this;if(!this.media.hasOwnProperty("thumbs"))return this.mediaURL;if("preview"!==this.context&&this.mediaURL.toLowerCase().endsWith(".gif"))return this.mediaURL;var t=this.media.thumbs.filter(function(t){return!!t&&t.hasOwnProperty("size")&&t.size===e.thumbRes});if(0==t.length)return this.mediaURL;var n=t[0].path;return"export_publication"===this.$root.state.mode?"./"+n:"/"+n},imageSrcSetAttr:function(){if(0!==this.element_width_for_sizes&&!this.mediaURL.toLowerCase().endsWith(".gif")&&"full"!==this.context)return this.media.thumbs.reduce(function(e,t){return t.hasOwnProperty("path")&&e.push(t.path+" "+t.size+"w"),e},[]).join(", ")},videostillSrcSetAttr:function(){if(0!==this.element_width_for_sizes){var e=this.media.thumbs.filter(function(e){return!!e&&0===e.timeMark});if(e&&0!==e.length)return e[0].thumbsData.reduce(function(e,t){return t.hasOwnProperty("path")&&e.push(t.path+" "+t.size+"w"),e},[]).join(", ")}},imageSizesAttr:function(){if(0!==this.element_width_for_sizes)return this.element_width_for_sizes+"px"},linkToHoveredThumb:function(){var e=this,t=this.media.thumbs.filter(function(t){return t.size===e.thumbResHovered})[0].path,n="export_publication"===this.$root.state.mode?"./"+t:"/"+t;return void 0!==t?n:this.mediaURL},linkToVideoThumb:function(){var e=this;if(!this.media.thumbs||"object"===i(this.media.thumbs)&&0===this.media.thumbs.length)return this.mediaURL;var t=this.media.thumbs.filter(function(e){return!!e&&0===e.timeMark});if(!t||0===t.length)return this.mediaURL;var n=t[0].thumbsData.filter(function(t){return t.size===e.thumbRes})[0].path,r="export_publication"===this.$root.state.mode?"./"+n:"/"+n;return void 0!==n?r:this.mediaURL}},methods:{volumeChanged:function(e){var t=Math.round(100*Number(e.detail.plyr.volume));this.$emit("volumeChanged",t)},setVolume:function(e){this.$refs.hasOwnProperty("plyr")&&(this.$refs.plyr.player.volume=e/100)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{key:e.slugFolderName+e.media.media_filename,staticClass:"mediaContainer",class:"type-"+e.media.type,attrs:{"data-context":e.context}},["image"===e.media.type?[n("img",{attrs:{srcset:e.imageSrcSetAttr,sizes:e.imageSizesAttr,src:e.linkToImageThumb,draggable:"false"}}),e._v(" "),n("transition",{attrs:{name:"fade",duration:600}},[e.is_hovered&&e.$root.state.is_electron&&e.linkToHoveredThumb?n("img",{attrs:{src:e.linkToHoveredThumb,draggable:"false"}}):e._e()])]:"video"===e.media.type?["preview"===e.context?[n("img",{attrs:{srcset:e.videostillSrcSetAttr,sizes:e.imageSizesAttr,src:e.linkToVideoThumb,draggable:"false"}}),e._v(" "),n("div",{staticClass:"play_picto"},[n("svg",{staticStyle:{"enable-background":"new 0 0 169 169"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"169px",height:"169px",viewBox:"0 0 169 169","xml:space":"preserve"}},[n("path",{attrs:{d:"M53.2,138.4c-4.6,3-8.4,0.9-8.4-4.6V30.4c0-5.5,3.8-7.6,8.4-4.6l78.5,50.9c4.6,3,4.6,7.9,0,10.9L53.2,138.4z"}})])])]:[n("vue-plyr",{ref:"plyr",attrs:{options:e.plyr_options,emit:["volumechange"]},on:{volumechange:e.volumeChanged}},[n("video",{attrs:{poster:e.linkToVideoThumb,src:e.mediaURL,preload:"none",autoplay:e.autoplay}})])]]:"audio"===e.media.type?["preview"===e.context?[n("div",{staticClass:"play_picto"},[n("svg",{staticStyle:{"enable-background":"new 0 0 169 169"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"169px",height:"169px",viewBox:"0 0 169 169","xml:space":"preserve"}},[n("path",{attrs:{d:"M53.2,138.4c-4.6,3-8.4,0.9-8.4-4.6V30.4c0-5.5,3.8-7.6,8.4-4.6l78.5,50.9c4.6,3,4.6,7.9,0,10.9L53.2,138.4z"}})])])]:[n("vue-plyr",{attrs:{options:e.plyr_options}},[n("audio",{attrs:{src:e.mediaURL,preload:"none",autoplay:e.autoplay}})])]]:"text"===e.media.type?["edit"===e.context?n("CollaborativeEditor",{ref:"textField",attrs:{media:e.media,slugFolderName:e.slugFolderName},model:{value:e.htmlForEditor,callback:function(t){e.htmlForEditor=t},expression:"htmlForEditor"}}):n("div",{staticClass:"mediaTextContent"},[0!==e.value.length?n("div",{domProps:{innerHTML:e._s(e.value)}}):n("p",{domProps:{innerHTML:e._s("…")}})])]:"marker"===e.media.type?["edit"!==e.context?n("div",{staticClass:"padding-small"},[e.value.length>0?[e._v(e._s(e.value))]:[e._v("…")]],2):n("input",{ref:"textField",staticClass:"border-none bg-transparent",attrs:{type:"text",placeholder:"Étiquette",name:"label",readonly:e.read_only},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t.target.value)}}})]:"document"===e.media.type?["edit"!==e.context&&"full"!==e.context?n("div",{staticClass:"padding-small font-verysmall"},[n("pre",[e._v(e._s(e.media.media_filename)+"\n ")])]):n("iframe",{attrs:{src:e.mediaURL}})]:"other"===e.media.type?[n("div",{staticClass:"padding-small font-verysmall"},[n("pre",[e._v(e._s(e.media.media_filename))])])]:e._e()],2)},i.staticRenderFns=[]},{"./CollaborativeEditor.vue":214}],224:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=i(e("./MediaContent.vue"));i(e("debounce"));function i(e){return e&&e.__esModule?e:{default:e}}n.default={props:{media:Object,read_only:Boolean,enable_image_timer:{type:Boolean,default:!1},enable_set_video_volume:{type:Boolean,default:!1}},components:{MediaContent:t.default},data:function(){return{mediaID:""+(Math.random().toString(36)+"00000000000000000").slice(2,8),seconds_per_image:this.media.publi_meta.duration,volume:this.media.publi_meta.volume?this.media.publi_meta.volume:100}},created:function(){},mounted:function(){this.enable_image_timer&&void 0===this.seconds_per_image&&(this.seconds_per_image=1)},beforeDestroy:function(){},watch:{"media.publi_meta.duration":function(){this.enable_image_timer&&(this.seconds_per_image=this.media.publi_meta.duration)},seconds_per_image:function(){this.seconds_per_image=Math.min(999,Math.max(0,this.seconds_per_image)),this.media.publi_meta.duration!==this.seconds_per_image&&this.updateMediaPubliMeta({duration:this.seconds_per_image})},"media.publi_meta.volume":function(){this.enable_set_video_volume&&(this.volume=this.media.publi_meta.volume,this.$refs.mediaContent.setVolume(this.volume))},volume:function(){this.volume=Math.min(100,Math.max(0,this.volume)),this.media.publi_meta.volume!==this.volume&&this.updateMediaPubliMeta({volume:this.volume})}},computed:{original_media_duration:function(){return!!this.media.duration&&this.$moment.utc(1e3*this.media.duration).format("mm:ss")}},methods:{updateMediaPubliMeta:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaMontagePublication: updateMediaPubliMeta"),this.$emit("editPubliMedia",{slugMediaName:this.media.publi_meta.metaFileName,val:e})},removePubliMedia:function(){this.$emit("removePubliMedia",{slugMediaName:this.media.publi_meta.metaFileName})},volumeChanged:function(e){this.volume=e}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"media",staticClass:"m_mediaMontagePublication",class:{"is--waitingForServerResponse":e.is_waitingForServer},style:e.mediaStyles,attrs:{"data-media_type":e.media.type}},[n("MediaContent",{ref:"mediaContent",attrs:{context:"full",slugFolderName:e.media.slugProjectName,media:e.media,read_only:e.read_only,audio_volume:e.volume},on:{volumeChanged:e.volumeChanged},model:{value:e.media.content,callback:function(t){e.$set(e.media,"content",t)},expression:"media.content"}}),e._v(" "),n("p",{staticClass:"mediaCaption"},[e._v(e._s(e.media.caption))]),e._v(" "),n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("project")))]),e._v(" "),n("div",[e._v(e._s(e.$root.store.projects[e.media.slugProjectName].name))])]),e._v(" "),e.original_media_duration||e.enable_image_timer?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("duration")))]),e._v(" "),e.original_media_duration?n("div",[e._v(e._s(e.original_media_duration))]):e.enable_image_timer&&"image"===e.media.type?n("div",{staticClass:"m_mediaMontagePublication--set_props"},[n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.seconds_per_image,expression:"seconds_per_image",modifiers:{number:!0}}],attrs:{type:"number",step:"1"},domProps:{value:e.seconds_per_image},on:{input:function(t){t.target.composing||(e.seconds_per_image=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),n("span",[e._v(e._s(e.$t("seconds")))])]):e._e()]):e._e(),e._v(" "),e.enable_set_video_volume&&"video"===e.media.type?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("volume")))]),e._v(" "),n("div",{staticClass:"m_mediaMontagePublication--set_props"},[e._v(e._s(e.volume)+" / 100")])]):e._e(),e._v(" "),n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0]\n }"}],staticClass:"m_mediaMontagePublication--withdraw",attrs:{type:"button",content:e.$t("withdraw")},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.removePubliMedia()}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 37.2 37.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"37.2px",height:"37.2px",viewBox:"0 0 37.2 37.2","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"37.2,30.6 30.6,37.2 18.6,25.2 6.6,37.2 0,30.6 12,18.6 0,6.6 6.6,0 18.6,12 30.6,0 37.2,6.6 \n 25.2,18.6 "}})])])],1)},i.staticRenderFns=[]},{"./MediaContent.vue":223,debounce:41}],225:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=r(e("./MediaContent.vue")),i=r(e("vue-prism-editor"));r(e("debounce"));function r(e){return e&&e.__esModule?e:{default:e}}n.default={props:{media:Object,page:Object,read_only:Boolean,preview_mode:Boolean,pixelsPerMillimeters:Number},components:{MediaContent:t.default,PrismEditor:i.default},data:function(){return{is_dragged:!1,is_resized:!1,is_rotated:!1,is_waitingForServer:!1,is_hovered:!1,is_selected:!1,is_touch:Modernizr.touchevents,is_text_overflowing:!1,custom_css:this.media.publi_meta.hasOwnProperty("custom_css")?this.media.publi_meta.custom_css:"",show_edit_styles_window:!1,limit_media_to_page:!0,mediaID:""+(Math.random().toString(36)+"00000000000000000").slice(2,8),dragOffset:{x:0,y:0},mediaPos:{x:0,y:0,px:0,py:0},resizeOffset:{x:0,y:0},rotateOffset:{x:0,y:0,angle:0},rotate:0,debounce_setCSSForMedia:void 0,mediaSize:{width:0,height:0,pwidth:0,pheight:0},mediaZIndex:0}},created:function(){},mounted:function(){this.updateMediaStyles(),this.$eventHub.$on("publication.newMediaSelected",this.newMediaSelected)},beforeDestroy:function(){this.$eventHub.$off("publication.newMediaSelected",this.newMediaSelected)},watch:{"media.publi_meta":{handler:function(){this.updateMediaStyles()},deep:!0},is_selected:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • MediaPublication: is_selected"),this.is_selected?(window.addEventListener("mousedown",this.deselectMedia),window.addEventListener("touchstart",this.deselectMedia),this.$eventHub.$emit("publication.newMediaSelected",this.mediaID)):(window.removeEventListener("mousedown",this.deselectMedia),window.removeEventListener("touchstart",this.deselectMedia))}},computed:{mediaStyles:function(){var e="\n transform: translate("+this.mediaPos.x+"mm, "+this.mediaPos.y+"mm) rotate("+this.rotate+"deg);\n width: "+this.mediaSize.width+"mm;\n height: "+this.mediaSize.height+"mm;\n z-index: "+this.mediaZIndex+";\n ";return e}},methods:{newMediaSelected:function(e){e!==this.mediaID&&(this.is_selected=!1)},editZIndex:function(e){this.updateMediaPubliMeta({z_index:this.mediaZIndex+e})},setMediaHeightToContent:function(){var e=this.$refs.media.firstElementChild.firstElementChild.firstElementChild.offsetHeight;e/=this.pixelsPerMillimeters,this.page.snap_to_grid&&(e+=this.page.gridstep),e=this.roundMediaVal(e),e=this.limitMediaHeight(e),this.mediaSize.height=e,this.updateMediaPubliMeta({height:this.mediaSize.height})},toggleEditWindow:function(){this.show_edit_styles_window=!this.show_edit_styles_window},setCSSForMedia:function(e){var t=this;this.debounce_setCSSForMedia&&clearTimeout(this.debounce_setCSSForMedia),this.debounce_setCSSForMedia=setTimeout(function(){var e={custom_css:t.custom_css};t.$emit("editPubliMedia",{slugMediaName:t.media.publi_meta.metaFileName,val:e})},500)},updateMediaStyles:function(){var e=this;this.mediaPos.x=this.media.publi_meta.hasOwnProperty("x")&&Number.parseInt(this.media.publi_meta.x)?this.limitMediaXPos(Number.parseInt(this.media.publi_meta.x)):this.page.margin_left,this.mediaPos.y=this.media.publi_meta.hasOwnProperty("y")&&Number.parseInt(this.media.publi_meta.y)?this.limitMediaYPos(Number.parseInt(this.media.publi_meta.y)):this.page.margin_top,this.rotate=this.media.publi_meta.hasOwnProperty("rotate")?this.media.publi_meta.rotate:0,this.mediaSize.width=this.media.publi_meta.hasOwnProperty("width")&&Number.parseInt(this.media.publi_meta.width)?this.limitMediaWidth(Number.parseInt(this.media.publi_meta.width)):100,this.mediaSize.height=this.media.publi_meta.hasOwnProperty("height")&&Number.parseInt(this.media.publi_meta.height)?this.limitMediaHeight(Number.parseInt(this.media.publi_meta.height)):100,this.custom_css=this.media.publi_meta.hasOwnProperty("custom_css")?this.media.publi_meta.custom_css:this.custom_css,this.mediaZIndex=this.media.publi_meta.hasOwnProperty("z_index")?this.media.publi_meta.z_index:0,"text"===this.media.type&&this.$nextTick(function(){var t=e.$refs.media;e.is_text_overflowing=t.offsetHeight<t.firstElementChild.firstElementChild.firstElementChild.offsetHeight})},updateMediaPubliMeta:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: updateMediaPubliMeta"),this.$emit("editPubliMedia",{slugMediaName:this.media.publi_meta.metaFileName,val:e})},limitMediaXPos:function(e){return this.limit_media_to_page?Math.max(this.page.margin_left,Math.min(this.page.width-this.page.margin_right-this.mediaSize.width,e)):e},roundMediaVal:function(e){return this.page.snap_to_grid?Math.round(e/this.page.gridstep)*this.page.gridstep:Math.round(e)},limitMediaYPos:function(e){return this.limit_media_to_page?e=Math.max(this.page.margin_top,Math.min(this.page.height-this.page.margin_bottom-this.mediaSize.height,e)):e},limitMediaWidth:function(e){return this.limit_media_to_page?Math.max(20,Math.min(this.page.width-this.page.margin_right-this.mediaPos.x,e)):e},limitMediaHeight:function(e){return this.limit_media_to_page?Math.max(20,Math.min(this.page.height-this.page.margin_bottom-this.mediaPos.y,e)):e},removePubliMedia:function(){this.$emit("removePubliMedia",{slugMediaName:this.media.publi_meta.metaFileName})},resizeMedia:function(e,t){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: resizeMedia with is_resized = "+this.is_resized),this.read_only||("mouse"===e?(window.addEventListener("mousemove",this.resizeMove),window.addEventListener("mouseup",this.resizeUp)):"touch"===e&&(window.addEventListener("touchmove",this.resizeMove),window.addEventListener("touchend",this.resizeUp)))},rotateMedia:function(e,t){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: rotateMedia with is_resized = "+this.is_resized),this.read_only||("mouse"===e?(window.addEventListener("mousemove",this.rotateMove),window.addEventListener("mouseup",this.rotateUp)):"touch"===e&&(window.addEventListener("touchmove",this.rotateMove),window.addEventListener("touchend",this.rotateUp)))},resizeMove:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: resizeMove with is_resized = "+this.is_resized);var t=e.pageX?e.pageX:e.touches[0].pageX,n=e.pageY?e.pageY:e.touches[0].pageY,i=t/this.pixelsPerMillimeters,r=n/this.pixelsPerMillimeters;if(this.is_resized){var o=(i-this.resizeOffset.x)/this.$root.settings.publi_zoom,a=this.mediaSize.pwidth+o;this.mediaSize.width=this.limitMediaWidth(a);var s=(r-this.resizeOffset.y)/this.$root.settings.publi_zoom,l=this.mediaSize.pheight+s;this.mediaSize.height=this.limitMediaHeight(l)}else this.is_resized=!0,this.is_selected=!0,this.resizeOffset.x=i,this.resizeOffset.y=r,this.mediaSize.pwidth=Number.parseInt(this.mediaSize.width),this.mediaSize.pheight=Number.parseInt(this.mediaSize.height)},resizeUp:function(e){return"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: resizeUp with is_resized = "+this.is_resized),this.is_resized&&(this.mediaSize.width=this.roundMediaVal(this.mediaSize.width),this.mediaSize.height=this.roundMediaVal(this.mediaSize.height),this.updateMediaPubliMeta({width:this.mediaSize.width,height:this.mediaSize.height}),this.is_resized=!1),e.stopPropagation(),window.removeEventListener("mousemove",this.resizeMove),window.removeEventListener("mouseup",this.resizeUp),window.removeEventListener("touchmove",this.resizeMove),window.removeEventListener("touchend",this.resizeUp),!1},rotateMove:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: rotateMove with is_rotated = "+this.is_rotated);var t=e.pageX?e.pageX:e.touches[0].pageX,n=e.pageY?e.pageY:e.touches[0].pageY;if(this.is_rotated){var i=Math.atan2(t-this.rotateOffset.x,n-this.rotateOffset.y),r=Math.round(i*(180/Math.PI)*-1+100);this.rotate=this.rotateOffset.angle+r}else{this.is_rotated=!0,this.is_selected=!0,this.rotateOffset.x=this.$refs.media.getBoundingClientRect().x,this.rotateOffset.y=this.$refs.media.getBoundingClientRect().y;var o=Math.atan2(t-this.rotateOffset.x,n-this.rotateOffset.y),a=Math.round(o*(180/Math.PI)*-1+100);this.rotateOffset.angle=a}},rotateUp:function(e){return"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: rotateUp with is_rotated = "+this.is_rotated),this.is_rotated&&(this.updateMediaPubliMeta({rotate:this.rotate}),this.is_rotated=!1),e.stopPropagation(),window.removeEventListener("mousemove",this.rotateMove),window.removeEventListener("mouseup",this.rotateUp),window.removeEventListener("touchmove",this.rotateMove),window.removeEventListener("touchend",this.rotateUp),!1},dragMedia:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: dragMedia with is_dragged = "+this.is_dragged),this.read_only||("mouse"===e?(this.is_selected=!0,window.addEventListener("mousemove",this.dragMove),window.addEventListener("mouseup",this.dragUp)):"touch"===e&&(window.addEventListener("touchmove",this.dragMove),window.addEventListener("touchend",this.dragUp)))},dragMove:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: dragMove with is_dragged = "+this.is_dragged);var t=e.pageX?e.pageX:e.touches[0].pageX,n=e.pageY?e.pageY:e.touches[0].pageY,i=t/this.pixelsPerMillimeters,r=n/this.pixelsPerMillimeters;if(this.is_dragged){var o=(i-this.dragOffset.x)/this.$root.settings.publi_zoom,a=this.mediaPos.px+o;this.mediaPos.x=this.limitMediaXPos(a);var s=(r-this.dragOffset.y)/this.$root.settings.publi_zoom,l=this.mediaPos.py+s;this.mediaPos.y=this.limitMediaYPos(l)}else this.is_dragged=!0,this.is_selected=!0,this.dragOffset.x=i,this.dragOffset.y=r,this.mediaPos.px=Number.parseInt(this.mediaPos.x),this.mediaPos.py=Number.parseInt(this.mediaPos.y)},dragUp:function(e){return"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: dragUp with is_dragged = "+this.is_dragged),this.is_dragged&&(this.mediaPos.x=this.roundMediaVal(this.mediaPos.x-this.page.margin_left)+this.page.margin_left,this.mediaPos.y=this.roundMediaVal(this.mediaPos.y-this.page.margin_top)+this.page.margin_top,this.updateMediaPubliMeta({x:this.mediaPos.x,y:this.mediaPos.y}),this.is_dragged=!1),window.removeEventListener("mousemove",this.dragMove),window.removeEventListener("mouseup",this.dragUp),window.removeEventListener("touchmove",this.dragMove),window.removeEventListener("touchend",this.dragUp),!1},deselectMedia:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: deselectMedia"),this.is_selected=!1,this.$emit("unselected")},mouseOver:function(){this.is_touch||(this.is_hovered=!0)},mouseLeave:function(){this.is_touch||(this.is_hovered=!1)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"media",staticClass:"m_mediaPublication",class:{"is--dragged":e.is_dragged,"is--resized":e.is_resized,"is--rotated":e.is_rotated,"is--waitingForServerResponse":e.is_waitingForServer,"is--hovered":e.is_hovered,"is--previewed":e.preview_mode,"is--overflowing":e.is_text_overflowing},style:e.mediaStyles,attrs:{"data-media_type":e.media.type},on:{mouseover:e.mouseOver,mouseleave:e.mouseLeave,mousedown:function(t){t.stopPropagation(),e.is_selected=!0}}},[n("MediaContent",{style:e.media.publi_meta.custom_css,attrs:{context:e.preview_mode?"full":"preview",slugFolderName:e.media.slugProjectName,media:e.media,read_only:e.read_only,element_width_for_sizes:e.mediaSize.width*e.pixelsPerMillimeters*1.5},model:{value:e.media.content,callback:function(t){e.$set(e.media,"content",t)},expression:"media.content"}}),e._v(" "),n("p",{staticClass:"mediaCaption"},[e._v(e._s(e.media.caption))]),e._v(" "),"text"===e.media.type&&e.is_text_overflowing&&!e.preview_mode?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0]\n }"}],staticClass:"m_mediaPublication--overflowing_sign",attrs:{type:"button",content:e.$t("text_overflow")},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.setMediaHeightToContent(t)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.setMediaHeightToContent(t)}}},[n("span",[e._v("…")])]):e._e(),e._v(" "),(e.is_selected||e.is_hovered||e.is_touch)&&!e.preview_mode&&e.show_edit_styles_window?n("div",{staticClass:"m_mediaPublication--edit_styles"},[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{delay:[600,0]},expression:"{\n delay: [600, 0]\n }"}],staticClass:"m_mediaPublication--edit_styles--helpButton",attrs:{type:"button",content:e.$t("write_some_CSS_code_for_example")}},[e._v("\n ?\n ")]),e._v(" "),n("PrismEditor",{attrs:{language:"css"},on:{change:e.setCSSForMedia},model:{value:e.custom_css,callback:function(t){e.custom_css=t},expression:"custom_css"}})],1):e._e(),e._v(" "),(e.is_selected||e.is_hovered||e.is_touch)&&!e.preview_mode?n("div",{staticClass:"controlFrame",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.dragMedia("mouse")},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.dragMedia("touch")}}},[n("div",{staticClass:"handle handle_resizeMedia",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.resizeMedia("mouse","bottomright")},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.resizeMedia("touch","bottomright")}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 77.5 77.5"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"77.5px",height:"77.5px",viewBox:"0 0 77.5 77.5","xml:space":"preserve"}},[n("defs"),e._v(" "),n("g",[n("path",{attrs:{d:"M42.5,0l0.4,12.6l-9.3,0.1c-2.8,0-5.1,0-6.9-0.2c-1.8-0.2-3.6-0.6-5.7-1.2l45.3,45.3c-0.6-2-1-3.9-1.2-5.7\n c-0.2-1.8-0.3-4-0.2-6.9v-9.4l12.6,0.4l-1.3,41.2l-41.2,1.3l-0.4-12.6l9.5,0c2.9,0,5.2,0.1,7,0.3c1.8,0.2,3.6,0.5,5.4,1.1\n L11.3,21.1c0.5,1.8,0.9,3.6,1.1,5.4c0.2,1.8,0.3,4.1,0.3,7l-0.1,9.4L0,42.5L1.3,1.3L42.5,0z"}})])])])]):e._e(),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:150}},[(e.is_selected||e.is_hovered||e.is_touch)&&!e.preview_mode?n("div",{staticClass:"m_mediaPublication--buttons"},[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0]\n }"}],staticClass:"buttonLink _no_underline",attrs:{type:"button",content:e.$t("move_to_foreground")+"<br>"+e.$t("layer:")+" "+e.mediaZIndex},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.editZIndex(1)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.editZIndex(1)}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 40.3 59.6"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"40.3px",height:"59.6px",viewBox:"0 0 40.3 59.6","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M35,24.4l-4.6-4.2c-2.7-2.5-4.8-4.7-6.4-7.3l0,46.7l-7.7,0l0-46.6c-1.7,2.5-3.8,4.7-6.4,7.1l-4.6,4.2L0,18.1\n L20.2,0l20.2,18.1L35,24.4z"}})])]),e._v(" "),n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0]\n }"}],staticClass:"buttonLink _no_underline",attrs:{type:"button",content:e.$t("move_to_background")+"<br>"+e.$t("layer:")+" "+e.mediaZIndex},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.editZIndex(-1)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.editZIndex(-1)}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 40.3 59.6"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"40.3px",height:"59.6px",viewBox:"0 0 40.3 59.6","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M5.3,35.2l4.6,4.2c2.7,2.5,4.8,4.7,6.4,7.3l0-46.7L24,0l0,46.6c1.7-2.5,3.8-4.7,6.4-7.1l4.6-4.2l5.3,6.2\n L20.2,59.6L0,41.5L5.3,35.2z"}})])]),e._v(" "),n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0]\n }"}],staticClass:"buttonLink _no_underline",class:{"is--active":e.show_edit_styles_window},attrs:{type:"button",content:e.$t("css_settings")},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.toggleEditWindow()},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.toggleEditWindow()}}},[e._v("\n "+e._s(e.$t("css"))+"\n "),e.custom_css?n("sup",[e._v("*")]):e._e()]),e._v(" "),n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0]\n }"}],staticClass:"buttonLink _no_underline",attrs:{type:"button",content:e.$t("edit_content")},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.$root.openMedia({slugProjectName:e.media.slugProjectName,metaFileName:e.media.metaFileName})},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.$root.openMedia({slugProjectName:e.media.slugProjectName,metaFileName:e.media.metaFileName})}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 100.7 101"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"100.7px",height:"101px",viewBox:"0 0 100.7 101","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M100.7,23.2L77.5,0l-66,66.2l0,0L0,101l34.7-11.6l0,0L100.7,23.2z M19.1,91.5l-9.4-9.7l4-12.4l18,17.8\n L19.1,91.5z"}})])]),e._v(" "),n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0]\n }"}],staticClass:"buttonLink _no_underline",attrs:{type:"button",content:e.$t("withdraw")},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.removePubliMedia()}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 37.2 37.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"37.2px",height:"37.2px",viewBox:"0 0 37.2 37.2","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"37.2,30.6 30.6,37.2 18.6,25.2 6.6,37.2 0,30.6 12,18.6 0,6.6 6.6,0 18.6,12 30.6,0 37.2,6.6 \n 25.2,18.6 "}})])])]):e._e()])],1)},i.staticRenderFns=[]},{"./MediaContent.vue":223,debounce:41,"vue-prism-editor":153}],226:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{read_only:Boolean,media_is_being_sent:Boolean,media_being_sent_percent:Number,cancelButtonIsBackButton:{type:Boolean,default:!1}},components:{},data:function(){return{selected_button:1}},created:function(){},mounted:function(){this.$root.settings.capture_mode_cant_be_changed=!0,document.addEventListener("keyup",this.captureKeyListener)},beforeDestroy:function(){document.removeEventListener("keyup",this.captureKeyListener)},watch:{},computed:{},methods:{captureKeyListener:function(e){switch(console.log("METHODS • MediaValidationButtons: captureKeyListener"),e.key){case"w":case"z":case"ArrowLeft":this.selectedMoveLeft();break;case"s":case"ArrowRight":this.selectedMoveRight();break;case"a":case"q":case" ":this.validateButton(this.selected_button)}return e.preventDefault(),!1},selectedMoveLeft:function(){console.log("METHODS • MediaValidationButtons: captureKeyListener / goleft"),this.selected_button+=this.selected_button>0?-1:0},selectedMoveRight:function(){console.log("METHODS • MediaValidationButtons: captureKeyListener / goright"),this.selected_button+=this.selected_button<2?1:0},validateButton:function(e){0===e?this.$emit("cancel"):1===e?this.$emit("save"):2===e&&this.$emit("save_and_fav")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_mediaValidationButtons"},[n("button",{staticClass:"bg-transparent button-arrow",attrs:{type:"button"},on:{click:e.selectedMoveLeft}},[n("svg",{staticStyle:{"enable-background":"new 0 0 169 169"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"169px",height:"169px",viewBox:"0 0 169 169","xml:space":"preserve"}},[n("path",{attrs:{fill:"currentColor",d:"M60.2,84.5l48.6-24.3l0,48.6L60.2,84.5z"}})])]),e._v(" "),n("button",{staticClass:"button button-bg_rounded button-outline c-blanc",class:{"is--selected":0===e.selected_button},attrs:{type:"button"},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.validateButton(0)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.validateButton(0)},mouseover:function(t){e.selected_button=0}}},[e.cancelButtonIsBackButton?[n("span",{},[e._v("‹ "+e._s(e.$t("back")))])]:[n("svg",{staticStyle:{"enable-background":"new 0 0 168 168"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 168 168","xml:space":"preserve"}},[n("polygon",{attrs:{points:"42.6,57.2 57.5,42.4 84.1,69 110.8,42.4 125.6,57.2 99,83.9 125.6,110.5 110.8,125.4 \n 84.1,98.7 57.5,125.4 42.6,110.5 69.3,83.9 \t\t\t"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("cancel")))])]],2),e._v(" "),n("button",{staticClass:"button button-bg_rounded button-outline c-rouge",class:{"is--selected":1===e.selected_button},attrs:{type:"button",disabled:e.read_only},on:{click:function(t){return e.validateButton(1)},mouseover:function(t){e.selected_button=1}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 168 168"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 168 168","xml:space":"preserve"}},[n("rect",{attrs:{x:"51.4",y:"73.1",transform:"matrix(0.7071 -0.7071 0.7071 0.7071 -53.857 72.9892)",width:"19.5",height:"56.8"}}),e._v(" "),n("rect",{attrs:{x:"53.2",y:"77.3",transform:"matrix(0.7071 -0.7071 0.7071 0.7071 -31.6875 97.6563)",width:"97.6",height:"19.5"}})]),e._v(" "),n("span",{staticClass:"c-rouge"},[e._v(e._s(e.$t("save")))])]),e._v(" "),n("button",{staticClass:"button button-bg_rounded button-outline c-rouge",class:{"is--selected":2===e.selected_button},attrs:{type:"button",disabled:e.read_only},on:{click:function(t){return e.validateButton(2)},mouseover:function(t){e.selected_button=2}}},[n("svg",{staticClass:"padding-verysmall",staticStyle:{"enable-background":"new 0 0 78.5 106.4"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"68.5px",height:"80.4px",viewBox:"0 0 78.5 106.4","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"60.4,29.7 78.5,7.3 78.5,7.3 12.7,7.3 12.7,52 78.5,52 78.5,52 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"9.6,106.4 0,106.4 0,2 9.6,0 "}})]),e._v(" "),n("span",{},[e._v("\n "+e._s(e.$t("save"))+"\n "),n("br"),e._v("\n "+e._s(e.$t("as_favorite"))+"\n ")])]),e._v(" "),n("button",{staticClass:"bg-transparent button-arrow",attrs:{type:"button"},on:{click:e.selectedMoveRight}},[n("svg",{staticStyle:{"enable-background":"new 0 0 169 169"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"169px",height:"169px",viewBox:"0 0 169 169","xml:space":"preserve"}},[n("path",{attrs:{fill:"currentColor",d:"M108.8,84.5l-48.6,24.3V60.2L108.8,84.5z"}})])]),e._v(" "),e.media_is_being_sent?n("div",{staticClass:"m_mediaValidationButtons--overlay"},[n("span",{staticClass:"loader loader-xs"}),e._v(" "),n("span",{staticClass:"m_mediaValidationButtons--overlay--percent",domProps:{innerHTML:e._s(e.media_being_sent_percent+"%")}})]):e._e()])},i.staticRenderFns=[]},{}],227:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{},components:{},data:function(){return{configKonva:{width:200,height:200},configCircle:{x:100,y:100,radius:70,fill:"red",stroke:"black",strokeWidth:4}}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"padding-small"},[this._v("À venir")])},i.staticRenderFns=[]},{}],228:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("../modals/EditPublication.vue"),r=(t=i)&&t.__esModule?t:{default:t};n.default={props:{slugPubliName:String,publication:Object,publication_medias:[Boolean,Array,Object],number_of_medias_required:{type:Number,default:-1},show_export_button:{type:Boolean,default:!0}},components:{EditPublication:r.default},data:function(){return{show_edit_publication:!1}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{export_button_is_disabled:function(){return Object.values(this.publication_medias).length<1||-1!==this.number_of_medias_required&&Object.values(this.publication_medias).length!==this.number_of_medias_required}},methods:{closePublication:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: closePublication"),this.$root.closePublication()},removePublication:function(){var e=this;this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemovePubli"),function(){"debug"===e.$root.state.dev_mode&&console.log("METHODS • Publication: removePublication"),e.$root.removeFolder({type:"publications",slugFolderName:e.slugPubliName}),e.closePublication()},function(){})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_publicationMeta"},[["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)?e._e():n("div",{staticClass:"label padding-verysmall"},[e._v("\n "+e._s(e.$t(e.publication.template))+"\n ")]),e._v(" "),n("div",{staticClass:"m_publicationMeta--topbar"},[n("div",[["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)?e._e():n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0]\n }"}],staticClass:"m_publicationMeta--topbar--backbutton",attrs:{type:"button",content:e.$t("close")},on:{click:function(t){return e.closePublication()}}},[e._v("\n ‹\n ")]),e._v(" "),n("div",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom-start",delay:[600,0],interactive:!0},expression:"{\n placement: 'bottom-start',\n delay: [600, 0],\n interactive: true\n }"}],staticClass:"m_publicationMeta--topbar--title",attrs:{content:e.slugPubliName}},[e._v("\n "+e._s(e.publication.name)+"\n ")])]),e._v(" "),["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)?e._e():n("div",[n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){e.show_edit_publication=!0}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 100.7 101"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"100.7px",height:"101px",viewBox:"0 0 100.7 101","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M100.7,23.2L77.5,0l-66,66.2l0,0L0,101l34.7-11.6l0,0L100.7,23.2z M19.1,91.5l-9.4-9.7l4-12.4l18,17.8\n L19.1,91.5z"}})]),e._v("\n "+e._s(e.$t("edit"))+"\n ")]),e._v(" "),e.show_edit_publication?n("EditPublication",{attrs:{publication:e.publication,slugPubliName:e.slugPubliName},on:{close:function(t){e.show_edit_publication=!1}}}):e._e(),e._v(" "),e.show_export_button?n("button",{staticClass:"buttonLink",class:{"is--disabled":e.export_button_is_disabled},attrs:{type:"button"},on:{click:function(t){return e.$emit("export")}}},[e._v("\n "+e._s(e.$t("export"))+"\n ")]):e._e(),e._v(" "),n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:e.removePublication}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M91.6,17H62.9V0H28.7v17H0v9.4h11.3V95h69V26.4h11.3V17z M64.4,69.4L57.8,76l-12-12l-12,12l-6.6-6.6l12-12\n l-12-12l6.6-6.6l12,12l12-12l6.6,6.6l-12,12L64.4,69.4z M38.1,9.4h15.3V17H38.1V9.4z"}})]),e._v("\n "+e._s(e.$t("remove"))+"\n ")])],1)])])},i.staticRenderFns=[]},{"../modals/EditPublication.vue":193}],229:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=r(e("./MediaContent.vue")),i=r(e("./MediaValidationButtons.vue"));function r(e){return e&&e.__esModule?e:{default:e}}n.default={props:{stopmotiondata:Object,slugProjectName:String,videoStream:MediaStream},components:{MediaContent:t.default,MediaValidationButtons:i.default},data:function(){return{frameRate:4,previousFrameRate:4,validating_video_preview:!1,show_previous_photo:!1,media_is_being_sent:!1,show_live_feed:!0}},created:function(){},mounted:function(){Object.values(this.stopmotiondata.medias).length},beforeDestroy:function(){},watch:{medias:function(){var e=this;this.medias.length>0&&this.show_live_feed&&(this.show_previous_photo=this.medias[this.medias.length-1],this.$nextTick(function(){e.$nextTick(function(){e.$refs.mediaPreviews.$el.scrollLeft=1e6})}))},show_previous_photo:function(){this.$emit("new_single_image",this.show_previous_photo)},show_live_feed:function(){this.$emit("show_live_feed",this.show_live_feed)},validating_video_preview:function(){this.$emit("validating_video",this.validating_video_preview)}},computed:{medias:function(){return this.stopmotiondata.hasOwnProperty("medias")?Object.values(this.stopmotiondata.medias):[]}},methods:{assembleStopmotionMedias:function(){console.log("METHODS • StopmotionPanel: assembleStopmotionMedias"),this.$eventHub.$on("socketio.media_created_or_updated",this.newStopmotionVideo);var e=this.medias.map(function(e){return e.media_filename});this.$root.createMedia({slugFolderName:this.slugProjectName,type:"projects",rawData:e,additionalMeta:{type:"stopmotion",slugStopmotionName:this.stopmotiondata.slugFolderName,frameRate:this.frameRate}}),this.previousFrameRate=this.frameRate,this.validating_video_preview=!1,this.media_is_being_sent=!0},newStopmotionVideo:function(e){console.log("METHODS • StopmotionPanel: newStopmotionVideo"),this.$eventHub.$off("socketio.media_created_or_updated",this.newStopmotionVideo),this.validating_video_preview=e,this.media_is_being_sent=!1,this.$nextTick(function(){})},backToStopmotion:function(){console.log("METHODS • StopmotionPanel: backToStopmotion"),this.$root.removeMedia({type:"projects",slugFolderName:this.slugProjectName,slugMediaName:this.validating_video_preview.metaFileName}),this.validating_video_preview=!1},cancelStopmotion:function(){var e=this;this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sure_to_cancel_stopmotion"),function(){e.show_previous_photo=!1,e.$nextTick(function(){e.$emit("close")})},function(){})},save:function(){var e=this;this.show_previous_photo=!1,this.validating_video_preview=!1,this.$nextTick(function(){e.$emit("close")})},saveAndFav:function(){var e=this;this.$root.editMedia({type:"projects",slugFolderName:this.slugProjectName,slugMediaName:this.validating_video_preview.metaFileName,data:{fav:!0}}),this.show_previous_photo=!1,this.validating_video_preview=!1,this.$nextTick(function(){e.$emit("close")})},removeMedia:function(e){console.log("METHODS • StopmotionPanel: removeMedia");var t=this.medias.findIndex(function(t){return t.metaFileName===e});t<this.medias.length-1?this.show_previous_photo=this.medias[t+1]:(this.show_previous_photo=!1,this.show_live_feed=!0),this.validating_video_preview=!1,this.$root.removeMedia({type:"stopmotions",slugFolderName:this.stopmotiondata.slugFolderName,slugMediaName:e})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_stopmotionpanel",class:{"is--showing_video_validation":e.validating_video_preview}},[n("div",{staticClass:"m_stopmotionpanel--toprowbuttons"},[e.validating_video_preview?e._e():n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:e.cancelStopmotion}},[n("span",{staticClass:"text-cap font-verysmall"},[e._v(e._s(e.$t("back")))])]),e._v(" "),e.show_live_feed?e._e():n("button",{staticClass:"buttonLink m_stopmotionpanel--medias--single--removeMedia",attrs:{type:"button",disabled:e.read_only},on:{click:function(t){return e.removeMedia(e.show_previous_photo.metaFileName)}}},[n("span",{},[e._v(e._s(e.$t("remove_this_image")))])])]),e._v(" "),e.validating_video_preview?n("div",{ref:"videoPreview",staticClass:"m_stopmotionpanel--videopreview"},[n("MediaContent",{attrs:{context:"full",slugFolderName:e.slugProjectName,media:e.validating_video_preview}})],1):n("div",{staticClass:"m_stopmotionpanel--medias"},[n("transition-group",{ref:"mediaPreviews",staticClass:"m_stopmotionpanel--medias--list",attrs:{name:"list-complete"}},[e._l(e.medias,function(t){return n("div",{key:t.metaFileName,class:{"is--current_single":e.show_previous_photo.metaFileName===t.metaFileName&&!e.show_live_feed},on:{click:function(n){e.show_previous_photo=t,e.show_live_feed=!1}}},[n("MediaContent",{attrs:{context:"preview",slugFolderName:e.stopmotiondata.slugFolderName,media:t,subfolder:"_stopmotions/",preview_size:150}})],1)}),e._v(" "),n("div",{key:"live_feed",class:{"is--current_single":e.show_live_feed},on:{click:function(t){e.show_previous_photo=e.medias[e.medias.length-1],e.show_live_feed=!0}}},[n("video",{attrs:{autoplay:""},domProps:{srcObject:e.videoStream}})])],2),e._v(" "),n("div",{staticClass:"m_stopmotionpanel--medias--validation"},[n("div",{staticClass:"m_stopmotionpanel--medias--validation--fpscounter"},[n("select",{directives:[{name:"model",rawName:"v-model.number",value:e.frameRate,expression:"frameRate",modifiers:{number:!0}}],attrs:{step:"1"},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(t){var n="_value"in t?t._value:t.value;return e._n(n)});e.frameRate=t.target.multiple?n:n[0]}}},[n("option",[e._v("2")]),e._v(" "),n("option",[e._v("4")]),e._v(" "),n("option",[e._v("8")]),e._v(" "),n("option",[e._v("15")]),e._v(" "),n("option",[e._v("24")]),e._v(" "),n("option",[e._v("30")])]),e._v(" "),e.medias.length<=1?n("label",{},[e._v(e._s(e.$t("img_per_second")))]):e._e()]),e._v(" "),e.medias.length>0?n("button",{staticClass:"button button-bg_rounded bg-bleuvert",attrs:{type:"button",disabled:e.validating_video_preview&&e.frameRate===e.previousFrameRate},on:{click:e.assembleStopmotionMedias}},[n("img",{attrs:{src:"/images/i_play.svg",width:"48",height:"48",draggable:"false"}})]):e._e()])],1),e._v(" "),e.validating_video_preview?n("MediaValidationButtons",{attrs:{read_only:e.read_only,media_is_being_sent:e.media_is_being_sent,cancelButtonIsBackButton:!0},on:{cancel:e.backToStopmotion,save:function(t){return e.save()},save_and_fav:function(t){return e.saveAndFav()}}}):e._e(),e._v(" "),e.media_is_being_sent?n("div",{staticClass:"m_stopmotionpanel--loader"},[n("span",{staticClass:"loader loader-xs"})]):e._e()],1)},i.staticRenderFns=[]},{"./MediaContent.vue":223,"./MediaValidationButtons.vue":226}],230:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{keywordFilter:String,authorFilter:String,favFilter:{type:Boolean,default:!1},allKeywords:Array,allAuthors:Array,allTypes:{type:Array,default:function(){return[]}}},components:{},data:function(){return{enabled_types:[]}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{has_fav_toggle:function(){return this.$listeners&&this.$listeners.setFavFilter}},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_tagsAndAuthorFilters flex-wrap bg-blanc rounded margin-top-small"},[e.has_fav_toggle?n("div",{staticClass:"padding-small"},[n("span",{staticClass:"switch switch-xs"},[n("input",{staticClass:"switch",attrs:{type:"checkbox",id:"favFilter",readonly:e.read_only},domProps:{checked:e.favFilter},on:{change:function(t){return e.$emit("setFavFilter",t.target.checked)}}}),e._v(" "),n("label",{attrs:{for:"favFilter"}},[e._v("\n "+e._s(e.$t("fav"))+"\n "),n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 78.5 106.4"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"78.5px",height:"106.4px",viewBox:"0 0 78.5 106.4","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"60.4,29.7 78.5,7.3 78.5,7.3 12.7,7.3 12.7,52 78.5,52 78.5,52 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"9.6,106.4 0,106.4 0,2 9.6,0 "}})])])])]):e._e(),e._v(" "),e.allTypes.length>0?n("div",{staticClass:"padding-sides-small"},[n("label",[e._v(e._s(e.$t("type")))]),e._v(" "),n("div",{staticClass:"m_typeField margin-bottom-none font-large"},e._l(e.allTypes,function(t){return n("label",{key:t,attrs:{for:"type-"+t}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.enabled_types,expression:"enabled_types"}],attrs:{type:"checkbox",id:"type-"+t,readonly:e.read_only},domProps:{value:t,checked:Array.isArray(e.enabled_types)?e._i(e.enabled_types,t)>-1:e.enabled_types},on:{change:[function(n){var i=e.enabled_types,r=n.target,o=!!r.checked;if(Array.isArray(i)){var a=t,s=e._i(i,a);r.checked?s<0&&(e.enabled_types=i.concat([a])):s>-1&&(e.enabled_types=i.slice(0,s).concat(i.slice(s+1)))}else e.enabled_types=o},function(t){return e.$emit("setTypeFilter",e.enabled_types)}]}}),e._v(" "),n("span",[e._v(" "+e._s(e.$t(t)))])])}),0)]):e._e(),e._v(" "),e.allKeywords.length>0?n("div",{staticClass:"padding-sides-small"},[n("label",[e._v(e._s(e.$t("keywords")))]),e._v(" "),n("div",{staticClass:"m_keywordField margin-bottom-none font-large"},e._l(e.allKeywords,function(t){return n("button",{key:t.text,class:[t.classes,{"is--active":e.keywordFilter===t.text}],on:{click:function(n){return e.$emit("setKeywordFilter",t.text)}}},[e._v(e._s(t.text))])}),0)]):e._e(),e._v(" "),e.allAuthors.length>0?n("div",{staticClass:"padding-sides-small"},[n("label",[e._v(e._s(e.$t("authors")))]),e._v(" "),n("div",{staticClass:"m_authorField margin-bottom-none"},e._l(e.allAuthors,function(t){return n("button",{key:t.name,class:{"is--active":e.authorFilter===t.name},on:{click:function(n){return e.$emit("setAuthorFilter",t.name)}}},[e._v(e._s(t.name))])}),0)]):e._e()])},i.staticRenderFns=[]},{}],231:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e("@johmun/vue-tags-input");n.default={props:["keywords"],components:{},data:function(){return{tags:this.keywords&&this.keywords.length>0?(0,t.createTags)(this.keywords.map(function(e){return e.title})):[],tag:"",show_all_keywords:!1}},created:function(){},mounted:function(){this.tags.length>0&&this.updateTags(this.tags)},beforeDestroy:function(){},watch:{},computed:{matchingKeywords:function(){var e=this;return 0===this.tag.length?[]:this.$root.allKeywords.filter(function(t){return new RegExp(e.tag,"i").test(t.text)&&!e.tags.find(function(e){return e.text===t.text})}).slice(0,2)},disableAddButton:function(){var e=this;return 0===this.tag.length||!!this.tags.find(function(t){return t.text===e.tag})},allKeywordsExceptCurrent:function(){var e=this;return this.$root.allKeywords.filter(function(t){return!e.tags.find(function(e){return e.text===t.text})})}},methods:{createTagFromAutocomplete:function(e){this.tag=e,this.createTag()},createTag:function(){0!==this.tag.trim().length&&(this.tags.push({text:this.tag}),this.sendTags(this.tags),this.tag="")},removeTag:function(e){this.tags=this.tags.filter(function(t){return t.text!==e}),this.sendTags(this.tags)},updateTags:function(e){this.tags=e.map(function(e){return e.classes="tagcolorid_"+parseInt(e.text,36)%2,e})},sendTags:function(e){this.updateTags(e);var t=this.tags.map(function(e){return{title:e.text}});this.$emit("tagsChanged",t)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("transition-group",{staticClass:"m_keywordField",attrs:{name:"list-complete",tag:"div"}},[e._l(e.tags,function(t){return n("button",{key:t.text,staticClass:"can_be_removed",class:["tagcolorid_"+parseInt(t.text,36)%2],attrs:{type:"button"},on:{click:function(n){return e.removeTag(t.text)}}},[e._v("\n "+e._s(t.text)+"\n ")])}),e._v(" "),n("div",{key:"new-tag-input",staticClass:"new-tag-input-wrapper"},[n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.tag,expression:"tag",modifiers:{trim:!0}}],staticClass:"new-tag-input",attrs:{type:"text",placeholder:e.$t("add_keyword")},domProps:{value:e.tag},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.createTag(t))},input:function(t){t.target.composing||(e.tag=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),e.tag.length>0?n("button",{attrs:{type:"button",disabled:e.disableAddButton},on:{click:e.createTag}},[e._v("\n +\n ")]):e._e()]),e._v(" "),e.matchingKeywords.length>0?n("div",{key:"autocomplete",staticClass:"autocomplete"},[n("label",[e._v(e._s(e.$t("suggestion")))]),e._v(" "),n("div",e._l(e.matchingKeywords,function(t){return n("button",{key:t.text,staticClass:"tag",attrs:{type:"button"},on:{click:function(n){return e.createTagFromAutocomplete(t.text)}}},[e._v("\n "+e._s(t.text)+"\n ")])}),0)]):e._e()],2),e._v(" "),n("div",{staticClass:"m_keywordField"},[n("button",{key:"show_all_keywords",staticClass:"m_keywordField--show_all_keywords",attrs:{type:"button"},on:{click:function(t){e.show_all_keywords=!e.show_all_keywords}}},[e.show_all_keywords?[e._v("\n "+e._s(e.$t("hide_all_keywords"))+"\n ")]:[e._v("\n "+e._s(e.$t("show_all_keywords"))+"\n ")]],2),e._v(" "),e.show_all_keywords?n("div",{staticClass:"autocomplete"},[n("label",[e._v(e._s(e.$t("all_tags")))]),e._v(" "),n("div",e._l(e.allKeywordsExceptCurrent,function(t){return n("button",{key:t.text,staticClass:"tag",attrs:{type:"button"},on:{click:function(n){return e.createTagFromAutocomplete(t.text)}}},[e._v("\n "+e._s(t.text)+"\n ")])}),0)]):e._e()])],1)},i.staticRenderFns=[]},{"@johmun/vue-tags-input":1}],232:[function(e,t,n){"use strict";t.exports={ascending:{fr:"Croissant",en:"Ascending",nl:"Toenemend",oc:"Creissent",de:"Aufsteigend"},descending:{fr:"Décroissant",en:"Descending",nl:"Afnemend",oc:"Descreissent",de:"Absteigend"},create_a_project:{fr:"Créer un projet",en:"Create a project",nl:"Project aanmaken ",oc:"Crear un projècte",de:"Ein Projekt erstellen"},create_a_publication:{fr:"Créer une recette",en:"Create a recipe",nl:"Publicatie aanmaken ",oc:"Crear una recepta",de:"Eine Publikation erstellen"},publication:{fr:"Recette",en:"Recipe",nl:"Publicatie",oc:"Recepta",de:"Publikation"},name:{fr:"Nom",en:"Name",nl:"Naam",oc:"Nom",de:"Name"},project_name:{fr:"Nom du projet",en:"Project name",nl:"Naam van het project",oc:"Nom del projècte",de:"Projektname"},created_date:{fr:"Date de création",en:"Created date",nl:"Datum van oprichting",oc:"Data de creacion",de:"Erstellungsdatum"},uploaded:{fr:"Importation",en:"Uploaded",nl:"Geüpload",oc:"Importacion",de:"Import"},created:{fr:"Création",en:"Created",nl:"Gemaakt ",oc:"Creacion",de:"Erstellung"},edited:{fr:"Édition",en:"Edited",nl:"Bewerkt",oc:"Edicion",de:"Bearbeitung"},sent_date:{fr:"Date d’envoi",en:"Sent date",nl:"Verzendingsdatum",oc:"Data de mandadís",de:"Versanddatum"},for_the_placement_on_timeline:{fr:"(pour le placement sur la timeline)",en:"(used for the position on the timeline)",nl:"(voor de plaatsing op de tijdlijn)",oc:"(Pel plaçament sus la timeline)",de:"(Für die Platzierung auf der Timeline)"},type:{fr:"Type",en:"Type",nl:"Type",oc:"Tipe",de:"Typ"},color:{fr:"Couleur",en:"Color",nl:"Kleur",oc:"Color",de:"Farbe"},keywords:{fr:"Mots-clés",en:"Keywords",nl:"Kernwoorden",oc:"Mots-claus",de:"Schlüsselwörter"},share:{fr:"Partage",en:"Share",nl:"Deel",oc:"Partatge",de:"Teilung"},copy:{fr:"Copier",en:"Copy",nl:"Kopiëren",oc:"Copiar",de:"Kopieren"},author:{fr:"Auteur(s)",en:"Author(s)",nl:"Auteur",oc:"Autor",de:"Autor(en)"},download:{fr:"Télécharger",en:"Download",nl:"Downloaden",oc:"Telecargar",de:"Herunterladen"},caption:{fr:"Légende",en:"Caption",nl:"Bijschrift",oc:"Legenda",de:"Legende"},formatting:{fr:"Mise en forme",en:"Formatting",nl:"Opmaak",oc:"Mesa en forma",de:"Formatierung"},smoothing:{fr:"Lissage",en:"smoothing",nl:"effen",oc:"Lissatge",de:"Glättungmodus"},onion_skin:{fr:"Pelure d’oignon",en:"Onion skin",nl:"uienschil",oc:"Pelofa de cèba",de:"Überlagerung"},"file:":{fr:"Fichier :",en:"File :",nl:"Bestand:",oc:"Fichièr",de:"Datei"},add_to_project:{fr:"Ajouter au projet :",en:"Add to project:",nl:"Toevoegen aan project:",oc:"Apondre al projècte",de:"Zum Projekt hinzufügen"},input_password:{fr:"Renseigner le mot de passe ci-dessous :",en:"Input the password here:",nl:"Wachtwoord invoeren:",oc:"Entresenhar lo mot de Santa-Clara çai-jos :",de:"Kennwort bitte hier eingeben"},validate_with_enter:{fr:"Valider avec la touche ENTRÉE.",en:"Validate with ENTER.",nl:"Bevestig met ENTER.",oc:"Validar amb la toca ENTRADA",de:"Mit der ENTER-taste bestätigen."},no_stopmotion_created_yet:{fr:"Les animations créées apparaîtront dans ce panneau.",en:"Created stopmotion animations will appear in this list.",nl:"Er is nog geen stopmotion gemaakt: ",oc:"Las animacions creadas apparaisseràn dins aqueste panèu.",de:"Die erstellten Animationen werden in diesen Fenster angezeigt"},device:{fr:"Appareil",en:"Device",nl:"Toestel",oc:"Aparelh",de:"Gerät"},"camera2 1, facing front":{fr:"Caméra frontale",nl:"Camera naar voren gericht ",oc:"Camerà frontala",de:"Frontkamera"},"camera2 0, facing back":{fr:"Caméra arrière",nl:"Camera naar achteren gericht ",oc:"Camerà arrièra",de:"Rückfahrkamera"},very_slow:{fr:"Très lent",en:"Very slow",nl:"Zeer traag",oc:"Fòrça lent",de:"Sehr langsam"},slow:{fr:"Lent",en:"Slow",nl:"Traag",oc:"Lent",de:"Langsam"},speed_medium:{fr:"Normal",en:"Normal",nl:"Normaal",oc:"Normal",de:"Normal"},fast:{fr:"Rapide",en:"Fast",nl:"Snel",oc:"Rapid",de:"Schnell"},forget_password_and_close:{fr:"Oublier le mot de passe et fermer le projet",en:"Forget password and close project",nl:"Wachtwoord vergeten en sluiten ",oc:"Doblidar lo mot de Santa-Clara e clavar lo projècte",de:"Vergessen Sie das Passwort und schließen sie das Projekt"},remember_password_on_this_device:{fr:"Sauvegarder pour cet appareil",en:"Remember for this device",nl:"Wachtwoord onthouden op dit toestel",oc:"Salvagardar per aqueste aparelh",de:"Für dieses Gerät speichern"},cooking_pot:{fr:"La marmite",en:"Cooking pot",nl:"De ketel",oc:"L'ola",de:"Der Topf"},copy_of:{fr:"Copie de",en:"Copy of",nl:"Kopie van",oc:"Còpia de",de:"Kopie von"},text_overflow:{fr:"Texte en excès",en:"Overflow text",nl:"Tekstoverloop",oc:"Tèxte en excès",de:"Textüberlauf"},move_to_foreground:{fr:"Mettre au premier plan",en:"Move to foreground",nl:"Op de voorgrond plaatsen. ",oc:"Botar al primièr plan",de:"In den Vordergrund stellen"},move_to_background:{fr:"Mettre à l’arrière plan",en:"Move to background",nl:"Op de achtergrond plaatsen",oc:"Botar al rèire plan",de:"In den Hintergrund stellen"},"layer:":{fr:"Calque :",en:"Layer:",nl:"Laag:",oc:"Calca",de:"Schicht"},css_settings:{fr:"Règlages CSS",en:"CSS settings",nl:"CSS instellingen",oc:"Reglatges CSS",de:"CSS Einstellungen"},edit_content:{fr:"Modifier le contenu",en:"Edit content",nl:"Inhoud wijzigen ",oc:"Modificar lo contengut",de:"Inhalt bearbeiten"},adjust:{fr:"Ajuster",en:"Adjust",nl:"Wijzigen",oc:"Ajustar",de:"Anpassen"},rotate_clockwise:{fr:"Pivoter vers la droite",en:"Rotate clockwise",oc:"Virar cap a drecha",de:"Nach Rechts einschwenken"},convert_video_for_the_web:{fr:"Optimiser la vidéo",en:"Optimize video",oc:"Optimizar la vidèo",de:"Optimieren Sie das Video"},revert_to_original:{fr:"Revenir à l’original",en:"Revert to original",oc:"Tornar a l'original",de:"Zurück zum Original"},duplicate:{fr:"Dupliquer",en:"Duplicate",nl:"Dupliceren",oc:"Duplicar",de:"Duplikat"},search:{fr:"Rechercher",en:"Search",oc:"Cercar",de:"Suchen"},project_name_to_find:{fr:"Rechercher par nom de projet",en:"Search by project name",oc:"Cercar per nom de projècte",de:"Suche nach Projektname"},show_all:{fr:"Tout afficher",en:"Show all",nl:"Alles tonen",oc:"Afichar tot",de:"Zeige alles"},cooking_pot_instructions:{fr:"Mélangez des médias pour en créer des nouveaux !",en:"Mix a single or multiple medias to create new medias!",nl:"Meng bestanden om nieuwe bestanden te maken !",oc:"Mesclar de mèdias per ne crear de novèls !",de:"Mischen Sie Medien um neue zu erstellen"},untitled:{fr:"Sans titre",en:"Untitled",nl:"Zonder naam",oc:"Sens títol",de:"Ohne Titel"},mix_audio_and_video:{fr:"Son sur une vidéo",en:"Sound + video",nl:"Video- en geluidsbestanden combineren",oc:"Son sus una vidèo",de:"Audio und Video mischen"},mix_audio_and_image:{fr:"Son sur une image",en:"Sound + image",nl:"Foto- en geluidsbestanden combineren",oc:"Son sus un imatge",de:"Audio und Bild mischen"},add_sound_video_file:{fr:"Ouvrez un projet et ajoutez un média <b>son</b> et un média <b>vidéo</b> en cliquant sur la flèche verte.<br>L’exportation créera une nouvelle vidéo.<br>Médias acceptés : une vidéo et une piste sonore.",en:"Add a <b>sound</b> and a <b>video</b> media to create a new video.",nl:"Open een project en voeg een <b>geluidsbestand</b> en een <b>videobestand</b> toe door op de groene pijl te klikken .<br>Als u exporteert, wordt een nieuwe video gemaakt .<br>Ondersteunde bestandstypen : video en geluid.",oc:"Dubrissètz un projècte e apondètz un mèdia <b>son</b> e un mèdia <b>vidèo</b> en cliquant sus la sageta verda.<br>L’exportacion crearà una novèla vidèo.<br>mèdias acceptats : una vidèo e una pista sonora.",de:"Öffnen Sie ein Projekt und fügen Sie ein Medium hinzu <b>Ton </b>und ein Medium <b>Video</b> durch Klicken auf den grünen Pfeil.<br> Beim Export wird ein neues Video erstellt.<br>Aktzeptierte Medien: ein Vidéo und eine Tonspur."},add_sound_image_file:{fr:"Ouvrez un projet et ajoutez un média <b>son</b> et un média <b>image</b> en cliquant sur la flèche verte.<br>L’exportation créera une nouvelle vidéo.<br>Médias acceptés : une image et une piste sonore.",en:"Add a <b>sound</b> and an <b>image</b> media to create a new video.",nl:"Open een project en voeg een <b>geluidsbestand</b> en een <b>fotobestand</b> toe door op de groene pijl te klikken .<br>Als u exporteert, wordt een nieuwe video gemaakt .<br>Ondersteunde bestandstypen : foto en geluid.",oc:"Dubrissètz un projècte e apondètz un mèdia <b>son</b> e un mèdia <b>imatge</b> en cliquant sus la sageta verda.<br>L’exportacion crearà una nouvèla vidèo.<br>mèdias acceptats : un imatge e una pista sonora.",de:"Öffnen Sie ein Projekt und fügen Sie ein Medium hinzu <b>Ton </b>und ein Medium <b>Bild</b> durch klicken auf den grünen Pfeil.<br> Beim Export wird ein neues Video erstellt.<br>Aktzeptierte Medien: ein Video und eine Tonspur."},add_multiple_videos_files:{fr:"Ouvrez un projet et ajoutez plusieurs médias <b>vidéo</b> en cliquant sur la flèche verte. Les vidéos seront mises bout à bout dans l’ordre d’ajout.<br>L’exportation créera une nouvelle vidéo.<br>Médias acceptés : uniquement des vidéos de même taille.",en:"Add multiple <b>video</b> medias to create a new video.",nl:"Open een project en voeg meerdere <b>video</b>bestanden toe door op de groene pijl te klikken . Video’s worden in volgorde van toevoeging na elkaar geplaatst.<br>Als u exporteert, wordt een nieuwe video gemaakt .<br> Ondersteunde bestandstypen : alleen video’s van hetzelfde formaat.",oc:"Dubrissètz un projècte e apondètz mantunes mèdias <b>vidèo</b> en cliquant sus la sageta verda. Las vidèos seràn mesas bout à bout dins l’òrdre d’apondon.<br>L’exportacion crearà una nouvèla vidèo.<br>mèdias acceptats : unicament de vidèos de meteissa talha.",de:"Öffnen Sie ein Projekt und fügen Sie mehrere Medien hinzu<b> Video </b>durch Klicken auf den grünen Pfeil.<br>Beim Export wird ein neues Video erstellt.<br> Akzeptierte Medien: nur Videos der gleichen Größe."},add_multiple_images:{fr:"Ouvrez un projet et ajoutez plusieurs médias <b>image</b> en cliquant sur la flèche verte. Les images seront mises bout à bout dans l’ordre d’ajout. Exportez la séquence et réglez la vitesse de défilement des images.<br>L’exportation créera une vidéo.<br>Médias acceptés : uniquement des images. Les dimensions de la première image détermine si la vidéo finale est en portrait ou paysage.",en:"Add multiple <b>image</b> medias to create a video.",nl:"Open een project en voeg verschillende <b>foto</b>bestanden toe door op de groene pijl te klikken. Foto’s worden in volgorde van toevoeging na elkaar geplaatst. Exporteer de beelden en pas de schuifsnelheid van de beelden aan.<br>Als u exporteert, wordt een nieuwe video gemaakt .<br> Ondersteunde bestandstypen : enkel fotobetanden. De afmetingen van het eerste beeld bepalen of de uiteindelijke video als portret of landschap is ingedeeld.",oc:"Dubrissètz un projècte e apondètz mantunes mèdias <b>imatge</b> en cliquant sus la sageta verda. Los imatges seràn botats bout à bout dins l’òrdre d’apondon. Exportatz la séquence et reglatz la vitessa de défilement des images.<br>L’exportation créera una vidèo.<br>mèdias acceptés : uniquement des images. Les dimensions de la première image détermine si la vidèo finala es en retrach o paisatge.",de:"Öffnen Sie ein Projekt und fügen Sie mehrere Medien hinzu<b> Bild </b>durch Klicken auf den grünen Pfeil. Die Bilder werden in der Reihenfolge der Addition aneinandergereiht. Exportieren Sie die Sequenz und stellen Sie die Bildfrequenz ein.<br>Media akzeptiren nur Bilder. Die Abmessungen des ersten Bildes bestimmen ob sich das endgültiege Video in Hoch-oder-Querformat befindet."},style:{fr:"style",en:"style",nl:"stijl",oc:"estil",de:"Stil"},css:{fr:"css",en:"css",nl:"css",oc:"css",de:"css"},write_some_CSS_code_for_example:{fr:"Écrivez ici du code CSS, <br>par exemple <code>color: blue;</code>",en:"Write here some CSS code, <br>for example <code>color: blue;</code>",nl:"Noteer hier CSS code, <br>bijvoorbeeld <code>color: blue;</code>",oc:"Escrigatz aicí de còde CSS, <br>per exemple <code>color: blue;</code>",de:"Schreiben sie hier CSS Code,<br>zum Beispiel<code >Farbe:blau;</code>"},framerate:{fr:"images par seconde",en:"images per second",nl:"beelden per seconde, ",oc:"imatges per seconda",de:"Bilder pro Sekunde"},timelapse:{fr:"déclenchement automatique",en:"timelapse",nl:"tijdsverloop ",oc:"delargament automatic",de:"automatische Auslösung"},seconds_per_image:{fr:"secondes par image",en:"seconds per image",nl:"seconden per beeld",oc:"secondas per imatge",de:"sekunden pro Bild"},seconds:{fr:"secondes",en:"seconds",nl:"seconden",oc:"secondas",de:"Sekunden"},quality:{fr:"qualité",en:"quality",nl:"kwaliteit",oc:"qualitat",de:"Qualität"},bytes:{fr:"octets",en:"bytes",nl:"bytes",oc:"octets",de:"Bytes"},kb:{fr:"ko",en:"KB",nl:"kb",oc:"ko",de:"KB"},mb:{fr:"Mo",en:"MB",nl:"Mb",oc:"Mo",de:"MB"},gb:{fr:"Go",en:"GB",nl:"Gb",oc:"Go",de:"GB"},duration:{fr:"Durée",en:"Duration",nl:"Duur",oc:"Durada",de:"Dauer"},send:{fr:"Envoyer",en:"Send",nl:"Verzenden",oc:"Mandar",de:"Senden"},open_in_dodoc:{fr:"Ouvrir dans do•doc",en:"Open in do•doc",nl:"Openen in do•doc",oc:"Dubrir dins do•doc",de:"Öffnen sie in do•doc"},connect_to_dodoc:{fr:"Accéder à do•doc",en:"Open do•doc",nl:"Toegang tot do•doc",oc:"Accedir a do•doc",de:"Verbinden sie zu do•doc"},login:{fr:"S’identifier",en:"Login",nl:"Inloggen ",oc:"S'identificar",de:"Anmeldung"},adding_password_warning:{fr:"Attention ! Si vous ajoutez ou modifiez un mot de passe tous les utilisateurs qui y sont actuellement connectés devront le renseigner avant de pouvoir continuer à contribuer.",en:"Warning! Adding or changing the password will disconnect all users until they enter the new password.",nl:"Opgelet! Als u een wachtwoord toevoegt of wijzigt, moeten alle gebruikers die er momenteel mee verbonden zijn dit invoeren voordat ze een bijdrage kunnen blijven leveren..",oc:"Avisa ! Si volètz apondre o modificar un mot de passa totes los utilizaires que i son ara conectats deuràn l'entresenhar abans que de poder continuar.",de:"Achtung! Wenn Sie en Passwort hinzufügen oder ändern, müssen ihn alle derzeit eingeloggten Benutzer informieren, bevor sie weiterhin Beiträge leisten können."},removing_password_warning:{fr:"Si vous retirez le mot de passe tous les utilisateurs qui ont accès à do•doc pourront modifier le projet.",en:"Removing the password for this project will allow everyone to access, edit and delete it.",nl:"Als u het wachtwoord verwijdert, kunnen alle gebruikers die toegang hebben tot do•doc het project wijzigen.",oc:"Si tiratz lo mot de Santa-Clara totes los utilizaires qu'an accès a do•doc poiràn modificar lo projècte.",de:"Wenn Sie das Passwort entfernen, können alle Benutzer, die Zugriff auf do•doc haben, das Projekt bearbeiten."},help:{fr:"Aide",en:"Help",nl:"Hulp",oc:"Ajuda",de:"Hilfe"},date:{fr:"Date",en:"Date",nl:"Datum",oc:"Data",de:"Datum"},portrait:{fr:"Portrait",en:"Portrait",nl:"Portret",oc:"Retrach",de:"Porträt"},nfc_tag:{fr:"Tag NFC",en:"Tag NFC",nl:"Tag NFC",oc:"Tag NFC",de:"NFC Tag"},yes:{fr:"Oui",en:"Yes",nl:"ja",oc:"Òc",de:"Ja"},cancel:{fr:"Annuler",en:"Cancel",nl:"Annuleren",oc:"Anullar",de:"Abbrechen"},back:{fr:"Retour",en:"Back",nl:"Terug",oc:"Tornar",de:"Rückkehr"},sureToRemoveAuthor:{fr:"Êtes-vous sûr de vouloir supprimer cet auteur ? Tous les médias, projets et recettes associés seront conservés.",en:"Do you really want to delete this author? All medias, projects and recipes will be kept.",nl:"Weet u zeker dat u deze auteur wilt verwijderen ?",oc:"Sètz segur de voler suprimir aqueste autor ? Totes los mèdias, projèctes e recèptas associadas seràn servadas.",de:"Sind Sie sicher, dass Sie diesen Autor löschen wollen?"},show_all_authors:{fr:"Afficher l’ensemble des auteurs",en:"Show all authors",nl:"Bekijk alle auteurs",oc:"Afichar totes los autors",de:"Liste aller Autoren anzeigen"},show_all_keywords:{fr:"Afficher l’ensemble des mots-clés",en:"Show all keywords",nl:"Bekijk alle kernwoord",oc:"Afichar totes los mots-claus",de:"Alle Stichworte anzeigen"},hide_all_keywords:{fr:"Masquer l’ensemble des mots-clés",en:"Hide all keywords",oc:"Amagar totes los mots-claus",de:"Ausblenden alle Stichwörter"},all_tags:{fr:"Liste des mots-clés disponibles",en:"List of keywords available",oc:"Tièra dels mots-claus disponibles",de:"Liste der verfügbaren Stichwörter"},changes_not_saved_sureToCloseModal:{fr:"Des modifications ont eu lieu, souhaitez-vous les enregistrer ?",en:"All changes were not saved. Do you really want to close this window?",nl:"Er zijn wijzigingen gebeurd , wilt u deze opslaan?",oc:"De modificacions se faguèron, desiratz de las enregistrar ?",de:"Änderungen wurden vorgenommen, wollen Sie sie speichern?"},save_changes:{fr:"Oui, enregistrer les modifications",en:"Yes, save changes",nl:"Ja, wijzigingen opslaan. ",oc:"Òc, enregistrar las modificacions",de:"Ja, Änderungen speichern"},close_the_window:{fr:"Non, fermer sans enregistrer",en:"No, close without saving",nl:"Nee, sluiten zonder opslaan",oc:"Non, clavar sens enregistrar",de:"Nein, schliessen Sie ohne zu speichern"},sureToRemovePubli:{fr:"Êtes-vous sûr de vouloir supprimer cette recette ?",en:"Do you really want to delete this recipe?",nl:"Weet u zeker dat u deze publicatie wilt verwijderen?",oc:"Sètz segur de voler suprimir aquesta recèpta ?",de:"Sind sie sicher dass sie diese Publikation löschen möchten ?"},sure_to_cancel_stopmotion:{fr:"Êtes-vous sûr de vouloir arrêter cette animation ? Vous pourrez la retrouver dans le menu <i>Liste des animations</i>",en:"Do you really want to cancel this stopmotion? You can resume making it by clicking on <i>Stopmotion list</i>",nl:"Weet je zeker dat je deze animatie wilt stoppen? U kunt het terugvinden in het menu <i>Lijst van animaties</i>.",oc:"Sètz segur de voler arestar aquesta animacion ? La poiretz tornar trobar dins lo menut <i>Tièra de las animacions<i>",de:"Sind Sie sicher, dass Sie diese Animation stoppen wollen? Sie finden sie im Menü <i>Liste der Animationen<i>"},validate_media:{fr:"Valider le média",en:"Validate the media",nl:"Media valideren",oc:"Validar lo mèdia",de:"Medium überprüfen"},add_keyword:{fr:"Ajouter un mot-clé",en:"Add a keyword",nl:"Kernwoord toevoegen",oc:"Apondre un mot-clau",de:"Ein Stichwort hinzufügen"},add:{fr:"Ajouter",en:"Add",nl:"Toevoegen",oc:"Apondre",de:"Hinzufügen"},close:{fr:"Fermer",en:"Fermer",nl:"Sluiten",oc:"Clavar",de:"Schliessen"},very_high:{fr:"Très élevée (1080p)",en:"Very high (1080p)",nl:"Zeer hoog (1080p)",oc:"Fòrça nauta (1080p)",de:"Hochragend (1080p)"},high:{fr:"Élevée (720p)",en:"High (1080p)",nl:"Hoog (720p)",oc:"Nauta",de:"Hochgezogen (720p)"},medium:{fr:"Moyenne (640p)",en:"Medium (640p)",nl:"Medium (640p)",oc:"Mejana (640p)",de:"Mittelgrösse (640p)"},low:{fr:"Basse (360p)",en:"Low (360p)",nl:"Laag (360p)",oc:"Bassa (360p)",de:"Niedrig (360p)"},showing:{fr:"Affichage de",en:"Showing",nl:"Weergave ",oc:"Affichatge de",de:"Anzeige"},media_filter:{fr:"Filtre de médias",en:"Medias filter",nl:"Bestandsfilter",oc:"Filtre de mèdias",de:"Medienfilter"},no_projects_yet:{fr:"Il n’y a pas encore de projet, créez-en un pour commencer à utiliser do•doc !",en:"No projects yet, create one to start using do•doc!",nl:"Er is nog geen project, maak er een aan om do•doc in gebruik te nemen!",oc:"Pas de projèctes encara, creatz-ne un per començar d'utilizar do•doc !",de:"Es gibt noch kein Projekt, erstellen Sie eines, um mit der Arbeit zu beginnen"},projects_of:{fr:"projets sur",en:"projects of",nl:"projecten van",oc:"projèctes sus",de:"Projekte auf"},medias_of:{fr:"médias sur",en:"medias of",nl:"bestanden van",oc:"mèdias sus",de:"Medien auf"},projects:{fr:"Projets",en:"Projects",nl:"Projecten",oc:"Projèctes",de:"Projekte"},project:{fr:"Projet",en:"Project",nl:"Project",oc:"Projècte",de:"Projekt"},add_a_cover_image:{fr:"Ajouter une image de couverture",en:"Add a cover image",de:"Coverbild auswählen"},medias:{fr:"Médias",en:"Medias",nl:"Bestanden",oc:"Mèdias",de:"Medien"},media:{fr:"Média",en:"Media",nl:"Media",oc:"Mèdia",de:"Medium"},authors:{fr:"Auteurs",en:"Authors",nl:"Auteurs",oc:"Autors",de:"Autoren"},authors_list:{fr:"Liste des auteurs",en:"List of authors",nl:"Lijt van auteurs",oc:"Tièra dels autors",de:"Autorenliste"},create_an_author:{fr:"Créer un auteur",en:"Create an author",nl:"Maak een auteur aan",oc:"Crear un autor",de:"einen Autor erstellen"},favorite_medias:{fr:"Média favoris",en:"Favorite medias",nl:"Favoriete media",oc:"Mèdia favorit",de:"Lieblingsmedien"},all_medias:{fr:"Tous les médias",en:"All medias",nl:"Alle media",oc:"Totes los mèdias",de:"Alle Medien"},create_text:{fr:"Écrire",en:"Write",nl:"Schrijven",oc:"Escriure",de:"Schreiben"},import:{fr:"Importer",en:"Import",nl:"Importeren",oc:"Importar",de:"Importieren"},import_all_files:{fr:"Importer tous les fichiers",en:"Import all files",nl:"Importeer alle bestanden",oc:"Importar totes los fichièrs",de:"Alle Dateien importieren"},import_medias:{fr:"Importer des médias",en:"Import medias",nl:"Importeer media",oc:"Importar de mèdias",de:"Alle Medien importieren"},select_files_to_import:{fr:"Sélectionner les fichiers à importer",en:"Select files to import",nl:"Selecteer bestanden om te importeren ",oc:"Seleccionar los fichièrs d'importar",de:"Zu importierende Dateien auswählen"},upload_from_device:{fr:"Importer un fichier image",en:"Upload an image file",nl:"Selecteer een omslagafbeelding",oc:"Importar un fichièr imatge",de:"Importieren einer Bilddatei"},or_choose_from_image_medias:{fr:"Ou choisir un média image",en:"Or choose from image medias",oc:"O causir un mèdia imatge",de:"Oder ein Bildmedium auswählen"},select_portrait_image:{fr:"Importer un fichier image",en:"Import an image file",nl:"Selecteer een portretfoto",oc:"Importar un fichièr imatge",de:"Porträtbild auswählen"},add_to_recipe:{fr:"Ajouter à la recette",en:"Add to recipe",nl:"Toevoegen aan recept",oc:"Apondre a la recèpta",de:"Zum Rezept hinzufügen"},add_a_page:{fr:"Ajouter une page",en:"Add a page",nl:"Een pagina toevoegen",oc:"Apondre una pagina",de:"Eine Seite hinzufügen"},insert_a_page_here:{fr:"Insérer une page ici",en:"Insert a page here",nl:"Hier een pagina invoegen",oc:"Inserir una pagina aicí",de:"Eine Seite davor hinzufügen"},add_a_page_before:{fr:"Ajouter une page avant celle-ci",en:"Add a page before this one",nl:"Hiervoor een pagina toevoegen ",oc:"Apondre una pagina abans aquela",de:"Eine Seite davor hinzufügen"},add_a_page_after:{fr:"Ajouter une page après celle-ci",en:"Add a page after this one",nl:"Hierna een pagina toevoegen ",oc:"Apondre una pagina aprèp aquela",de:"Eine Seite nach dieser hinzufügen"},add_a_page_here:{fr:"Ajouter une page ici",en:"Add a page here",nl:"Hier een pagina toevoegen",oc:"Apondre una pagina aicí",de:"Hier eine Seite hinzufügen"},remove_this_page:{fr:"▲ Supprimer cette page ▲",en:"▲ Remove this page ▲",nl:"▲ deze pagina verwijderen ▲",oc:"▲ Suprimir aquesta pagina ▲",de:"▲ Diese Seite löschen ▲"},anonymous:{fr:"anonyme",en:"anonymous",nl:"anoniem",oc:"anonime",de:"anonym"},other_users:{fr:"autres utilisateurs",en:"other users",nl:"andere gebruikers",oc:"autres utilizaires",de:"Andere Benutzer"},other_users_connected:{fr:"autres utilisateurs connectés",en:"other user connected",nl:"andere verbonden gebruikers",oc:"autres utilizaires connectats",de:"Andere verbundene Benutzer"},mix_medias:{fr:"Mélanger des médias",en:"Mix medias",nl:"Mengen van media",oc:"Mesclar de mèdias",de:"Die Medien mischen"},made_with_dodoc:{fr:"Page web réalisée avec l’application libre et gratuite do•doc",en:"Webpage made with do•doc, a free and open-source app",nl:"Webpagina gerealiseerd met de gratis applicatie do•doc",oc:"Pagina web creada amb l'aplicacion liura e gratuita do•doc",de:"Webseite erstellt mit der kostenlosen und quelloffenen Anwendung do•doc"},loading:{fr:"chargement",en:"loading",nl:"laden",oc:"cargament",de:"laden"},open:{fr:"Ouvrir",en:"Open",nl:"Openen",oc:"Dubrir",de:"Öffnen"},save:{fr:"Enregistrer",en:"Save",nl:"Opslaan",oc:"Enregistrar",de:"Speichern"},as_favorite:{fr:"+ favoris",en:"+ favourite",nl:"toevoegen aan favorieten",oc:"+ favorits",de:"als Favorit"},edit:{fr:"Modifier",en:"Edit",nl:"Wijzigen",oc:"Modificar",de:"Bearbeiten"},width:{fr:"Largeur",en:"Width",nl:"Breedte",oc:"Largor",de:"Breite"},height:{fr:"Hauteur",en:"Height",nl:"Hoogte",oc:"Nautor",de:"Höhe"},zoom:{fr:"Zoom",en:"Zoom",nl:"Zoom",oc:"Zoom",de:"Zoom"},settings:{fr:"Règlages",en:"Settings",nl:"Instellingen",oc:"Reglatges",de:"Einstellungen"},stopmotion_list:{fr:"Liste des animations",en:"Stopmotion list",nl:"Lijst van animaties",oc:"Tièra de las animacions",de:"Liste der Animationen"},print:{fr:"Imprimer",en:"Print",nl:"Afdrukken",oc:"Estampar",de:"Druken"},create:{fr:"Créer",en:"Create",nl:"Aanmaken",oc:"Crear",de:"Erstellen"},remove:{fr:"Supprimer",en:"Remove",nl:"Verwijderen",oc:"Suprimir",de:"Löschen"},remove_image:{fr:"Supprimer l’image",en:"Remove image",oc:"Suprimir l'imatge",de:"Dieses Bild löschen"},withdraw:{fr:"Enlever",en:"Withdraw",nl:"Terugtrekken",oc:"Tirar",de:"Enfernen"},remove_this_image:{fr:"Supprimer cette image",en:"Remove this image",nl:"Dit beeld verwijderen",oc:"Suprimir aqueste imatge",de:"Dieses Bild löschen"},password:{fr:"Mot de passe",en:"Password",nl:"Wachtwoord",oc:"Mot de Santa Clara",de:"Kennwort"},password_required_to_open:{fr:"Mot de passe requis",en:"Password required",nl:"Wachtwoord vereist",oc:"Mot de Santa Clara requesit",de:"Kennwort zum Öffnen der Datei"},show_password:{fr:"Afficher le mot de passe",en:"Show password",nl:"Wachtwoord tonen ",oc:"Afichar lo mot de Santa Clara",de:"Kennwort anzeigen"},hide:{fr:"Cacher",en:"Hide",nl:"Verbergen",oc:"Amagar",de:"Ausblenden"},protected_by_pass:{fr:"protégé par mot de passe",en:"protected by password",nl:"Beveiligd met een wachtwoord. ",oc:"protegit per mot de Santa Clara",de:"Passwortgeschützt"},password_instructions:{fr:"Si existant, seul les utilisateurs possédant ce mot de passe pourront ouvrir ce projet.",en:"If set, only users with the password will be able to open this project.",nl:"Indien van toepassing, alleen gebruikers met dit wachtwoord kunnen dit project openen.",oc:"Si existent, sonque los utilizaires tenent aqueste mot de Santa Clara poiràn dubrir aqueste projècte.",de:"Wenn vorhanden, können nur Benutzer mit diesem Passwort dieses Projekt öffnen"},author_instructions:{fr:"Pour créer des auteurs, fermez cette fenêtre et cliquez sur le bouton (AUTEURS).",en:"To create authors, close this window and click on (AUTHORS).",nl:"Om auteurs aan te maken, sluit dit venster en klik op de knop (AUTEURS).",oc:"Per crear d'autors, clavatz aquesta fenèstra e clicatz sul boton (AUTORS).",de:"Um Autoren zu erstellen, schliessen Sie dieses Fenster und klicken Sie auf die Schaltfläche (Autoren)."},translate_dodoc_instructions:{fr:"Pour proposer une nouvelle traduction, rendez-vous sur le <a href='https://forum.latelier-des-chercheurs.fr/t/traduire-do-doc-comment-s-y-prendre/' class='js--openInBrowser' target='_blank'>forum dédié</a> ou contactez-nous par mail : <a href='mailto:info@latelier-des-chercheurs.fr?subject=traduire%20do•doc' class='js--openInBrowser' target='_blank'>info@latelier-des-chercheurs.fr</a>.",en:"To translate do•doc, consult the following <a href='https://forum.latelier-des-chercheurs.fr/t/traduire-do-doc-comment-s-y-prendre/' class='js--openInBrowser' target='_blank'>forum post (in french)</a> or get in touch via email: <a href='mailto:info@latelier-des-chercheurs.fr?subject=translate%20do•doc' class='js--openInBrowser' target='_blank'>info@latelier-des-chercheurs.fr</a>."},author_name_editing_instructions:{fr:"Attention ! Si vous modifiez ce nom tous les médias, projets et recettes resteront associés au nom précédent.",en:"Warning! All existing medias, projects and recipes will still be associated to the previous name.",oc:"Avisa ! Si modificatz aqueste nom totes los mèdias, projèctes e recèptas demoraràn associats al nom precedent.",de:"Achtung! Wenn Sie diesen Namen ändern, bleiben alle Medien, Projekte und Rezepte mit dem bisherigen Namen verbunden."},when_logged_as_author_content_will_be_tagged:{fr:"Lorsque vous êtes identifié comme auteur tous les projets, médias et recettes porteront votre nom.",en:"When logged in as an author all projects, medias and recipes will be saved with your name.",oc:"Quand seretz identificats coma autor totes los mèdias, projèctes e recèptas portaràn vòstre nom."},more_informations_on_authors:{fr:"Vous pourrez ajouter d’autres co-auteurs directement dans les projets, médias et recettes. Si vous supprimez un auteur, tous les médias, projets et recettes conserveront le nom d’auteur et ne seront pas supprimées.",en:"You can add co-authors in the projects, medias and recipes. If you remove an author, all the projects, medias and recipes will keep this author name and won’t be removed.",oc:"Poiretz apondre d'autres co-autors directament dins los projèctes, mèdias e recèptas. Si suprimissètz un autor, totes los mèdias, projèctes e recèptas servaràn lo nom d'autor e seràn pas suprimidas.",de:"Sie können weitere Co-Autoren direkt in Projekte, Medien und Rezepte eintragen. Wenn Sie einen Autor entfernen, behalten alle Medien, Projekte und Rezepte den Namen des Autors und werden nicht gelöscht."},sort_by:{fr:"Organiser par",en:"Sort by",nl:"Sorteer volgens",oc:"Organizar per",de:"Organisiert von"},by:{fr:"par",en:"by",nl:"per",oc:"per",de:"von"},in_the_order:{fr:"Dans l’ordre",en:"In the order",nl:"In volgorde",oc:"Dins l'òrdre",de:"in der Reihenfolge"},public:{fr:"Public",en:"Public",nl:"Publiek",oc:"Public",de:"Publikum"},fav:{fr:"Favoris",en:"Favourite",nl:"Favoriet",oc:"Favorits",de:"Favoriten"},content:{fr:"Contenu",en:"Content",nl:"Inhoud",oc:"Contengut",de:"Inhalt"},lang:{fr:"Changer la langue",en:"Select lang",nl:"De taal wijzigen",oc:"Cambiar la lenga",de:"Die Sprache ändern"},share_access:{fr:"Accéder depuis d’autres appareils",en:"Access from other devices",nl:"Toegang verlenen via andere toestellen ",oc:"Accedir dins d'autres aparelhs",de:"Zugriff von anderen Geräten freigeben"},scan_qr_code:{fr:"Scanner un code QR",en:"Scan a QR code",nl:"QR-code scannen ",oc:"Escanerizar un còde QR",de:"QR-Code scannen"},photo:{fr:"photo",en:"picture",nl:"foto",oc:"fòto",de:"Foto"},video:{fr:"vidéo",en:"video",nl:"video",oc:"vidèo",de:"Video"},stopmotion:{fr:"animation",en:"stopmotion",nl:"animatie",oc:"animacion",de:"Animation"},audio:{fr:"son",en:"sound",nl:"geluid",oc:"son",de:"Ton"},vecto:{fr:"formes",en:"shapes",nl:"vormen",oc:"formas",de:"Formen"},image:{fr:"image",en:"image",nl:"beeld",oc:"imatge",de:"Bild"},text:{fr:"texte",en:"text",nl:"tekst",oc:"tèxte",de:"Text"},document:{fr:"document",en:"document",nl:"document",oc:"document",de:"Dokument"},other:{fr:"autre",en:"other",nl:"andere",oc:"autre",de:"Sonstige"},with_sound:{fr:"avec le son",en:"with sound",nl:"met geluid",oc:"amb lo son",de:"mit Ton"},generate:{fr:"Générer",en:"Generate",nl:"Genereren",oc:"Generar",de:"Generieren"},select:{fr:"Sélectionner",en:"Select",nl:"Selecteren",oc:"Seleccionar",de:"Auswählen"},unselect:{fr:"Dé-sélectionner",en:"Unselect",nl:"Deselecteren",oc:"Deseleccionar",de:"Auswahl aufheben"},toconnectwithanotherdevice:{fr:"Pour accéder à cet élément avec un autre appareil, connectez vous au même réseau wifi puis entrez l’url suivante dans un navigateur web, ou bien scannez le code QR : ",en:"To access this do•doc element with another device, first connect it to the same wifi network, then type this adress in your browser or scan this QR code:",nl:"Om dit item met een ander apparaat te openen , maak verbinding met hetzelfde wifi-netwerk en voer vervolgens de volgende URL in een webbrowser in, of scan de QR-code: ",oc:"Per accedir aqueste element amb un autre aparelh, conectatz-vos al meteis ret wifi puèi dintratz l'url seguenta dins un navigador web, o escanerizatz lo còde QR :",de:"Um mit einem anderen Gerät auf dieses Element zuzugreifen, verbinden Sie sich zum gleichen Wifi-Netzwerk und geben Sie die folgende Url in einem Webbrowser ein oder scannen Sie den Code QR :"},sureToRemoveProject:{fr:"Êtes-vous sûr de vouloir supprimer ce projet ?",en:"Do you really want to delete this project?",nl:"Weet u zeker dat u dit project wilt verwijderen?",oc:"Sètz segur de voler suprimir aqueste projècte ?",de:"Sind Sie sicher, dass Sie dieses Projekt zu entfernen?"},sureToRemoveMedia:{fr:"Êtes-vous sûr de vouloir supprimer ce média ?",en:"Do you really want to delete this media?",nl:"Weet u zeker dat u deze media wilt verwijderen?",oc:"Sètz segur de voler suprimir aqueste mèdia ?",de:"Sind Sie sicher, dass Sie dieses Medium zu entfernen?"},edit_the_media:{fr:"Éditer le média",en:"Edit media",nl:"Media bewerken",oc:"Editar lo mèdia",de:"Media bearbeiten"},edit_project:{fr:"Éditer le projet",en:"Edit project",nl:"Project bewerken",oc:"Editar lo projècte",de:"Projekt bearbeiten"},edit_publication:{fr:"Éditer la recette",en:"Edit recipe",nl:"Recept bewerken",oc:"Editar la recèpta",de:"Rezept bearbeiten"},drop_here_to_import:{fr:"Déposez vos contenus ici pour les importer",en:"Drop your content here to import",nl:"Laad de bestanden hier om te importeren ",oc:"Depausatz vòstres contenguts aicí per los importar",de:"Hier zum Importieren ablegen"},capture:{fr:"Capturer",en:"Capture",nl:"Vastleggen",oc:"Capturar",de:"Aufnahme"},current:{fr:"Actuellement",en:"Current",nl:"Nu",oc:"Ara",de:"Aktuell"},currently:{fr:"Actuellement",en:"Now",nl:"Momenteel",oc:"Ara",de:"Derzeit"},update:{fr:"Mettre à jour",en:"Update",nl:"Bijwerken",oc:"Metre a jorn",de:"Aktualisieren"},more_information:{fr:"Pour plus d’information, consultez la <a href='https://latelier-des-chercheurs.fr/docs/manuel-dodoc' class='js--openInBrowser' target='_blank'>documentation</a> ou <a href='mailto:info@latelier-des-chercheurs.fr?subject=do•doc' class='js--openInBrowser' target='_blank'>contactez</a> les auteurs de ce logiciel.",en:"For more informations, read the <a href='https://latelier-des-chercheurs.fr/docs/manuel-dodoc' class='js--openInBrowser' target='_blank'>documentation (in french)</a> or <a href='mailto:info@latelier-des-chercheurs.fr?subject=do•doc' class='js--openInBrowser' target='_blank'>contact</a> the creators of this app.",nl:"Voor meer informatie. , bezoek <a href='https://latelierdes-chercheurs.fr/docs/manuel-dodoc' class='js--openInBrowser' target='_blank'>documentatie</a> ou <a href='mailto:info@latelier-des-chercheurs.fr?subject=do•doc' class='js--openInBrowser' target='_blank'>contacteer</a> de auteurs van dit programma.",oc:"Per mai d’informacion, consultatz la <a href='https://latelier-des-chercheurs.fr/docs/manuel-dodoc' class='js--openInBrowser' target='_blank'>documentation</a> o <a href='mailto:info@latelier-des-chercheurs.fr?subject=do•doc' class='js--openInBrowser' target='_blank'>contactatz</a> los autors d'aqueste logicial.",de:"Für mehr Informationen schauen sie bei <a href='https://latelier-des-chercheurs.fr/docs/manuel-dodoc' class='js--openInBrowser' target='_blank'>Dokumentation (auf Französisch)</a> oder <a href='mailto:info@latelier-des-chercheurs.fr?subject=do•doc' class='js--openInBrowser' target='_blank'>kontaktieren Sie </a> die Autoren dieser Software."},no_media_in_folder:{fr:"Aucun média dans ce dossier.",en:"No media in this folder.",nl:"Geen media in deze map .",oc:"Cap de mèdia dins aqueste dorsièr.",de:"Keine Medien in dieser Datei"},no_images_to_show:{fr:"Aucun média image à afficher.",en:"No image to show.",oc:"Cap de mèdia imatge d'afichar.",de:"Keine Bildmedien zur Anzeige."},no_public_media_in_folder:{fr:"Aucun média public dans ce dossier.",en:"No public media in this folder.",nl:"Geen openbare media in deze map .",oc:"Cap de mèdia public dins aqueste dorsièr.",de:"Keine öffentlichen Medien in dieser Datei"},more_informations:{fr:"Plus d’infos",en:"More infos",nl:"Meer info",oc:"Mai d'infos",de:"Mehr Informationen"},contents_are_stored:{fr:"Les contenus de ce dossier sont enregistrés dans ",en:"Contents for this folder are stored in ",nl:"De inhoud van dit bestand wordt opgeslagen in ",oc:"Los contenguts d'aqueste dorsièr son enregistrats dins",de:"Der Inhalt dieses Ordners wird gespeichert in"},folder_information:{fr:"Informations du dossier",en:"Folder informations",nl:"map-info",oc:"Informacions del dorsièr",de:"Dateiinformationen"},calendar:{fr:"Calendrier",en:"Calendar",nl:"Kalender",oc:"Calendièr",de:"Kalender"},now:{fr:"en ce moment",en:"now",nl:"op dit moment",oc:"d'aquesta passa",de:"Jetzt"},list:{fr:"Liste",en:"List",nl:"Lijst",oc:"Tièra",de:"Liste"},fullscreen:{fr:"Plein écran",en:"Fullscreen",nl:"Volledig scherm",oc:"Plen ecran",de:"Vollbild"},cover_image:{fr:"Image de couverture",en:"Cover image",oc:"Imatge de cobertura",de:"Coverbild"},filter:{fr:"Filtre",en:"Filter",nl:"Filter",oc:"Filtre",de:"Filter"},filters:{fr:"Filtres",en:"Filters",nl:"Filters",oc:"Filtres",de:"Filter"},header_left:{fr:"En-tête gauche",en:"Left header text",nl:"Linker koptekst",oc:"Entèsta esquèrra",de:"Kopfzeile links"},header_right:{fr:"En-tête droite",en:"Right header text",nl:"Rechtse koptekst",oc:"Entèsta drecha",de:"Kopfzeile rechts"},gridstep:{fr:"Pas de la grille d’alignement",en:"Step of alignment grid",nl:"Geen uitlijningsrooster ",oc:"Cap de grilhas d'alinhament",de:"Ausrichtungsgitterabstand"},snap_to_grid:{fr:"Magnétisme",en:"Snap to grid",nl:"Magnetisme",oc:"Magnetisme",de:"Magnetismus"},margin_top:{fr:"Marge: haut",en:"Margin: top",nl:"Marge boven",oc:"Marge: naut",de:"Marge: oben"},margin_left:{fr:"Marge: gauche",en:"Margin: left",nl:"Marge links",oc:"Marge: esquèr",de:"Marge: links"},margin_right:{fr:"Marge: droite",en:"Margin: right",nl:"Marge rechts",oc:"Marge: drech",de:"Marge: rechts"},margin_bottom:{fr:"Marge: bas",en:"Margin: bottom",nl:"Marge beneden",oc:"Marge: bas",de:"Marge: unten"},number_of_medias:{fr:"Nombre de médias",en:"Number of medias",nl:"Aantal media",oc:"Nombre de mèdias",de:"Anzahl der Medien"},number_of_pages:{fr:"Nombre de pages",en:"Number of pages",nl:"Aantal pagina’s",oc:"Nombre de paginas",de:"Anzahl der Seiten"},show_page_numbers:{fr:"Afficher le numéro de page dans le coin en bas à droite",en:"Show page number in the bottom-right corner",nl:"Geef het paginanummer in de rechterbenedenhoek weer ",oc:"Afichar lo numèro de pagina dins lo caire en bas a drech",de:"Zeigen sie die Seitenzahl in der rechten unteren Ecke an"},export_folder:{fr:"Exporter en format WEB",en:"Export as a webpage",nl:"Exporteren in web formaat",oc:"Exportar en format web",de:"Im WEB-Format exportieren"},export:{fr:"Exporter",en:"Export",nl:"Exporteren",oc:"Exportar",de:"Exportieren"},export_as_pdf:{fr:"Export PDF",en:"Export as PDF",nl:"Exporteren als PDF",oc:"Expòrt PDF",de:"Im PDF-Format exportieren"},new_window:{fr:"Nouvelle fenêtre",en:"New Window",nl:"Nieuw venster ",oc:"Novèla fenèstra",de:"Neues Fenster"},previous_creations:{fr:"Créations précédentes",en:"Previous creations",nl:"Vorige creaties",oc:"Creacions precedentas",de:"Vorheriger Kreationen"},export_video_instructions:{fr:"Cliquez sur le bouton pour lancer la création d’une seule vidéo à partir des vidéos ajoutées à la recette.",en:"Click this button to generate a video from multiple source videos.",nl:"Klik op de knop om een video te maken van de video’s die aan de publicatie zijn toegevoegd.",oc:"Clicatz sul boton per lançar la creacion d'una sola vidèo a partir de las vidèos apondudas a la recèpta.",de:"Klicken Sie auf die Schaltfläche um mit der Erstellung eines einzelnen Vidéos aus den Vidéos zu beginnen die der Veröffentlichung hinzugefügt wurden"},export_audio_video_mix_instructions:{fr:"Cliquez sur le bouton pour lancer la création d’une vidéo à partir du son et de la vidéo sélectionnés.",en:"Click this button to generate a video from the sound and video selected.",nl:"Klik op de knop om een video te maken van het geselecteerde geluid en de geselecteerde video.",oc:"Clicar sul boton per lançar la creacion d'una vidèo dins dels son e de la vidèo seleccionats.",de:"Klicken Sie auf auf die Schaltfläche um die Erstellung eines Videos aus dem gewählten Ton und Video zu beginnen."},export_audio_image_mix_instructions:{fr:"Cliquez sur le bouton pour lancer la création d’une vidéo à partir du son et de l’image sélectionnés.",en:"Click this button to generate a video from the sound and image selected.",nl:"Klik op de knop om een video te maken van het geselecteerde geluid en het geselecteerde beeld.",oc:"Clicar sul boton per lançar la creacion d'una vidèo dins dels son e de l'imatge seleccionats.",de:"Klicken Sie auf die Schaltfläche um die Erstellung eines Videos aus dem gewählten Ton und Bild zu starten."},export_stopmotion_instructions:{fr:"Cliquez sur le bouton pour lancer la création d’une seule vidéo à partir des images ajoutées à la recette.",en:"Click this button to generate a video from images you have selected.",nl:"Klik op de knop om een video te maken van de afbeeldingen die aan de publicatie zijn toegevoegd.",oc:"Clicar sul boton per lançar la creacion d'una sola vidèo en partir dels imatges aponduts a la recèpta.",de:"Klicken Sie auf die Schaltfläche, um die Erstellung eines einzelnen Videos aus den zur Veröffentlichung hinzugefügten Bildern zu starten."},make_video:{fr:"Fabriquer une vidéo",en:"Make a video",nl:"Maak een video",oc:"Fargar una vidèo",de:"Ein Video erstellen"},interval_between_pictures:{fr:"Intervalle entre chaque photo",en:"Interval between photos",nl:"Interval tussen elk beeld",oc:"Interval entre cada fòto",de:"Intervall zwischen jedem Foto"},publication_list:{fr:"Liste des recettes",en:"Recipes list",nl:"Lijst van publicaties",oc:"Tièra de las recèptas",de:"Rezepturliste"},export_creation:{fr:"Exportation d’une création",en:"Export a creation",nl:"Exporteer een creatie",oc:"Exportacion d'una creacion",de:"Exporterstellung"},get_pdf:{fr:"Pour récupérer un PDF de cette recette (par exemple pour l’imprimer), cliquez sur le bouton ci-dessous :",en:"To download a PDF of this recipe (for example, to print it), click here:",nl:"Als u een PDF van deze publicatie wilt maken (bijvoorbeeld om deze af te drukken), klik op de knop hieronder:",oc:"Per recuperar un PDF d'aquesta recèpta (per exemple per l'estampar), clicatz sul boton çai-jos :",de:"Um ein PDF dieser Veröffentlichung zu erhalten (z.B.um es auszudrucken), klicken Sie auf die Schaltfläche unten."},download_pdf:{fr:"Télécharger un PDF",en:"Download PDF",nl:"Download PDF",oc:"Telecargar un PDF",de:"Laden Sie ein eine PDF-Datei herunter"},get_website:{fr:"Pour récupérer un site web contenant cette recette (par exemple pour la diffuser en ligne), cliquez sur le bouton ci-dessous :",en:"To download a website version of this recipe (for example, to publish online), click here:",nl:"Als u een website van deze publicatie wilt maken (bijvoorbeeld om deze online te delen), klikt u op de knop hieronder:",oc:"Per recuperar un sit web contenent aquesta recèpta (per exemple per la difusar en linha), clicatz sul boton çai-jos :",de:"Um eine Webseite mit dieser Veröffentlichung abzurufen (z. B um sie online zu verteilen ), klicken Sie auf die Schaltfläche unten."},download_website:{fr:"Télécharger une version web",en:"Download a website",nl:"Download website",oc:"Telecargar una version web",de:"Eine Webversion herunterladen"},open_in_app:{fr:"Afficher",en:"Open",nl:"Tonen",oc:"Afichar",de:"In App öffnen"},get_a_link:{fr:"Récupérer un lien vers ce document :",en:"Get a link to this document :",nl:"Een koppeling naar dit document ophalen:",oc:"Recuperar un ligam de cap a aqueste document",de:"Einen Link zu diesem Dokument abrufen."},format:{fr:"Format",en:"Format",nl:"Format",oc:"Format",de:"Format"},name_of_copy:{fr:"Nom à donner à la copie",en:"Name of the copy",nl:"Naam die aan de kopie moet worden gegeven",oc:"Nom de balhar a la còpia",de:"Name der Kopie"},template:{fr:"Gabarit",en:"Template",nl:"sjabloon",oc:"Gabarit",de:"Vorlage"},standard:{fr:"Standard",en:"Standard",nl:"standaard",oc:"Estandard",de:"Standart"},"feuille de choux":{fr:"Feuille de Choux",en:"Feuille de Choux",nl:"koolblad",oc:"Feuille de Choux",de:"Kohlblätter"},"human tech days":{fr:"Human Tech Days",en:"Human Tech Days",nl:"Human Tech Days",oc:"Human Tech Days",de:"Mensch-Technik Tage"},page_by_page:{fr:"Document page à page",en:"Paged document",nl:"Document pagina per pagina",oc:"Document pagina per pagina",de:"Seite zu Seite Dokument"},carreau:{fr:"Carreau",nl:"Tegel",oc:"Carreau",de:"Kachel"},video_assemblage:{fr:"Montage vidéo",en:"Video editing",nl:"Videobewerking",oc:"Montatge vidèo",de:"Videobearbeartung"},stopmotion_animation:{fr:"Animation image par image",en:"Stopmotion animation",nl:"Stopmotion animatie",oc:"Animacion imatge per imatge",de:"Einzelbild für Bild Animation"},web:{fr:"Page web",en:"Webpage",nl:"Webpagina",oc:"Pagina web",de:"Webseite"},back_to_project:{fr:"Retour au projet",en:"Back to project",nl:"Terug naar project",oc:"Tornar al projècte",de:"Zurük zum Projeckt"},page_by_page_summary:{fr:"Créer un PDF imprimable ou une page web à mettre en ligne.",en:"Creates a printable PDF or website to upload online.",nl:"Maak een afdrukbare PDF of webpagina om te uploaden.",oc:"Crear un PDF estampable o una pagina web de botar en linha.",de:"Eine druckfähige PDF-Datei oder eine Webseite, die Sie online stellen können."},page_by_page_instructions:{fr:"Cette recette permet de créer un document avec un format précis et plusieurs pages.<br> Médias acceptés : images, vidéos, sons et textes.<br>Créera un PDF imprimable (pour faire des affiches, tracts, journaux, etc.) ou une page web à mettre en ligne.",en:"This recipe can be used to create a paged document with a specific size.<br>Accepted medias: images, videos, sounds and texts.<br>Will create a PDF that can be printed (to make posters, tracts, newspapers, etc.) or a webpage to upload online.",nl:"Met dit recept kunt u een document met een exacte indeling en meerdere pagina’s maken.<br> Ondersteunde media: afbeeldingen, video’s, geluid en tekst.<br>Maak een afdrukbare PDF (om posters, flyers, kranten, enz. te maken) of een webpagina om te uploaden.",oc:"Aquesta recèpta permet de crear un document amb un format precís e mantunas paginas.<br>Mèdias acceptats : imatges, vidèos, sons e tèxtes.<br>Crearà un PDF estampable (per faire d'afichas, tractes, jornals, eca.) o una pagina web de botar en linha.",de:"Dieses Rezept ermöglicht es Ihnen ein Dokument mit einem präzisen Format und mehreren Seiten zu erstellen.<br> Zulässige Medien : Bilder, Videos, Töne und Texte. <br> 'Eine druckfähige PDF-Datei (um Plakate, Flyer, Zeitungen, etc. herzustellen) oder eine Webseite, die Sie online stellen können wird erstellt."},video_assemblage_summary:{fr:"Créer un montage vidéo à partir d’images et de vidéos.",en:"Creates a video from images and videos.",nl:"Maak een videomontage van afbeeldingen en video’s.",oc:"Crear un montatge vidèo en partir d'imatges e de vidèos.",de:"Eine Videomontage aus Bildern und Videos erstellen."},video_assemblage_instructions:{fr:"Cette recette propose de créer un montage vidéo en mettant plusieurs vidéos ou images bout à bout.<br> Médias acceptés : des vidéos et des images.<br>Créera une nouvelle vidéo.",en:"This recipe creates a video from multiple source images and videos, one after the other.<br>Accepted medias: images and videos.<br>Will create a new video.",nl:"Dit recept stelt voor om een video montage te maken door meerdere video’s of afbeeldingen na elkaar te plaatsen.<br> Ondersteunde media: video’s en afbeeldingen.<br>Maakt een nieuwe video.",oc:"Aquesta recèpta prepausa de crear un montatge vidèo en botant mantunas vidèos o imatges cap a cap.<br>Mèdias acceptats imatges e vidèos.<br> Crearà una novèla vidèo.",de:"Dieses Rezept ermöglicht es Ihnen, eine Videomontage zu erstellen, indem Sie mehrere Videos oder Bilder aneinander reihen. <br> Zulässige Medien : Videos und Bilder.<br> Wird ein neues Video erstellen."},stopmotion_animation_summary:{fr:"Assembler des images pour créer une vidéo.",en:"Creates a video from images shown for a specific period of time.",nl:"Beelden samenvoegen om een video te maken.",oc:"Assemblar d'imatges per crear una vidèo.",de:"Zusammenfügen von Bildern zum Erstellen eines Videos."},stopmotion_animation_instructions:{fr:"Cette recette permet l’assemblage d’un nombre illimité d’images pour créer une séquence vidéo dans laquelle elles défilent à une vitesse réglable.<br> Médias acceptés : uniquement des images. Les dimensions de la première image détermine si la vidéo finale est en portrait ou paysage.<br>Créera une nouvelle vidéo.",en:"This recipe takes any number of images as inputs and creates a single video with images displayed at a specific speed.<br>Accepted medias: images of any size. The first image will determine if the video will be in portrait or landscape.<br>Will create a new video.",nl:"Met dit recept kunt u een onbeperkt aantal beelden samenvoegen om een videosequentie te maken waarin deze beelden na elkaar verschijnen aan een in te stellen snelheid.<br> Ondersteunde media: enkel afbeeldingen. De afmetingen van het eerste beeld bepalen of de uiteindelijke video als portret of landschap is ingedeeld.<br>Maakt een nieuwe video.",oc:"Aquesta recèpta permet d'assemblar un nombre illimitat d'imatges per crear una sequéncia vidèo que i desfilan a una vitessa reglabla.<br> Mèdias acceptats : sonque d'imatges. Las dimensions del primièr imatge determina si la vidèo finala es en retrach o paisatge.<br> Crearà una novèla vidèo.",de:"Dieses Rezept erlaubt das Zusammenfügen einer unbegrenzten Anzahl von Bildern zu einer Videosequenz, in der sie mit einer einstellbaren Geschwindigkeit scrollen. <br> Zulässige Medien : nur Bilder. Die Größe des ersten Frames bestimmt, ob das endgültige Video im Hoch- oder Querformat vorliegt.<br> Wird ein neues Video erstellen."},mix_audio_and_video_summary:{fr:"Ajouter ou remplacer du son sur une vidéo.",en:"Add or replace sound that’s on a video.",nl:"Geluid op een video toevoegen of vervangen.",oc:"Apondre o remplaçar de son sus una vidèo.",de:"Hinzufügen oder Ersetzen von Ton zu einem Video."},mix_audio_and_video_instructions:{fr:"Cette recette prend une vidéo et une piste audio. Elle ajoute ou remplace la bande sonore de la vidéo avec celle qui est sélectionnée.<br> Médias acceptés : une vidéo et une piste sonore.<br>Créera une nouvelle vidéo de la durée du plus long média.",en:"This recipe mixes a video and an audio track to create a new video where they are played at the same time.<br>Accepted medias: a video and a sound track.<br>Will create a new video.",nl:"Dit recept gebruikt een videobestand en een audionummer. Hiermee wordt de soundtrack aan de video toegevoegd of vervangen door het gekozen geluidsbestand.<br> Ondersteunde media: video- en geluidsbestanden.<br>Maakt een nieuwe video met de lengte van de langste media.",oc:"Aquesta recèpta pren una vidèo e una pista audio. Apond o remplça la banda sonora de la vidèo amb la qu'es seleccionada.<br>Mèdias acceptats: una vidèo e una pista sonora.<br>Crearà una novèla vidèo de la duradadel mai long mèdia.",de:"Dieses Rezept nimmt eine Video und eine Tonspur. Er fügt die Tonspur des Videos hinzu oder ersetzt ihn durch der ausgewählten Tonspur.<br> Zulässige Medien : ein Video und eine Tonspur.<br> Wird ein neues Video mit der längsten Medienlänge erstellen."},mix_audio_and_image_summary:{fr:"Ajouter du son sur une image.",en:"Add sound to an image to create a video.",nl:"Geluid toevoegen aan een beeld.",oc:"Apondre de son sus un imatge.",de:"Ton zum Video hinzufügen."},mix_audio_and_image_instructions:{fr:"Cette recette prend une image et une piste audio. Elle permet de créer des <i>images parlantes</i>.<br> Médias acceptés : une image et une piste sonore.<br>Créera une vidéo de la durée de la piste sonore.",en:"This recipe mixes an image with an audio track to create a <i>speaking image</i><br>Accepted medias: an image and a sound track.<br>Will create a new video.",nl:"Dit recept gebruikt een beeld- en een geluidsbetand. Het maakt het mogelijk om <i>sprekende beelden te maken .<br> Ondersteunde media: beeld- en geluidsbestand.<br>Maakt een video met de duur van het geluidsbestand.",oc:"Aquesta recèpta pren un imatge e una p ista audio. Permet de crear d'<i>imatges parlantas<i>.<br> Mèdias acceptats : un imatge e una pista sonora.<br>Crearà una vidèo de la durada de la pista sonora.",de:"Dieses Rezept nimmt ein Bild und eine Audiospur auf. Es erlaubt Ihnen, <i>sprechende Bilder zu erstellen</i>.<br> Zulässige Medien : ein Bild und eine Tonspur.<br>Wird ein Video über die Dauer der Tonspur erstellen."},carreau_summary:{fr:"Empiler des médias pour créer en temps réel des présentations.",en:"Stack multiple medias on a single surface to project content.",nl:"Media samenvoegen om real-time presentaties te maken.",oc:"Apilar de mèdias per crear en temps real de presentacion.",de:"Medien stapeln um Echtzeit Präsentationen zu erstellen."},carreau_instructions:{fr:"Cette recette permet de collaborer à plusieurs sur la même surface pour présenter des médias de différent type. Ouvrez une nouvelle fenêtre vers cette recette en plein écran sur un projecteur pour afficher uniquement la surface.<br> Médias acceptés : images, vidéos, sons.",en:"Use this mode to show multiple medias on a large projection or screen, for example by opening a browser and clicking on the fullscreen button.<br>Accepted medias: images, videos and sounds.",nl:"Met dit recept kunt u met meerdere op hetzelfde platform samenwerken om verschillende soorten media te presenteren. Open een nieuw venster naar dit recept op volledig scherm met een projector om alleen het platform weer te geven.<br>Ondersteunde media: afbeeldingen, video’s, geluidsbestanden.",oc:"Aquesta recèpta permet de collaborar a mantunes sus la m eteissa susfacia per presentar de mèdias de diferents tipe. Dubriscatz una novèla fenèstra de cap a-aquesta recèpta en plen ecran sus un projector per afichar sonque la susfacia.<br> Mèdias acceptats : imatges, vidèos, sons.",de:"Dieses Rezept erlaubt es mehreren Personen, auf der gleichen Oberfläche zusammenzuarbeiten, um verschiedene Arten von Medien zu präsentieren. Öffnen Sie ein neues Fenster zu diesem Rezept im Vollbildmodus auf einem Projektor, um nur die Oberfläche anzuzeigen. .<br> Zulässige Medien : Bilder, Videos, Töne."},last_modified:{fr:"Dernière modification",en:"Last modified",nl:"laatst gewijzigd",oc:"Darrièra modificacion",de:"Letzte Änderung"},open_project:{fr:"Afficher le projet",en:"Show the project",oc:"Afichar lo projècte",de:"Projekt anzeigen"},remote_access:{fr:"Accès depuis d’autres appareils",en:"Acces from other devices",nl:"Toegang vanaf andere apparaten",oc:"Accès dins d'autres aparelhs",de:"Zugriff von anderen Geräten"},img_per_second:{fr:"Images par seconde",en:"Images per second",nl:"Beelden per seconde",oc:"Imatges per seconda",de:"Bilder pro Sekunde"},sent:{fr:"Envoyé",en:"Sent",nl:"Verzonden",oc:"Mandat",de:"Gesendet"},disable:{fr:"Désactiver",en:"Disable",nl:"uitschakelen",oc:"Desactivar",de:"Deaktivieren"},previous_media:{fr:"Média précédent",en:"Previous media",nl:"Vorige media ",oc:"Mèdia precedent",de:"Vorherige Medien"},next_media:{fr:"Média suivant",en:"Next media",nl:"Volgende media ",oc:"Mèdia seguent",de:"Nächste Medien"},minimize_media:{fr:"Utiliser comme référence",en:"Use as a reference",nl:"gebruik als verwijzing",oc:"Utilizar coma una referéncia",de:"Als Referenz verwenden"},remember_project_password_for_this_device:{fr:"Se souvenir du mot de passe pour cet appareil",en:"Remember password for this device",nl:"Het wachtwoord op dit apparaat onthouden",oc:"Se remembrar del mot de Santa Clara per aqueste aparelh",de:"Das Passwort für dieses Gerät merken"},notifications:{ios_not_compatible_with_capture:{fr:"Les iPhones et les iPads ne sont pas compatibles avec la fonctionnalité de Capture.",en:"iPhones and iPads are not currently compatible with the <i>capture</i> page.",nl:"IPhones en iPads zijn niet compatibel met de opnamefunctie.",oc:"Los Iphones and Ipads son pas compatibles amb la fonccionalitat de captura.",de:"iPhones und iPads sind nicht mit der Aufnahmefunktion kompatibel."},instead_import_with_this_button:{fr:"Utilisez plutôt la fonctionnalité d’import ci-dessus pour prendre des photos et des vidéos ou en importer depuis votre appareil.",en:"Instead import or capture photos and videos here in the import modal.",nl:"Gebruik in plaats daarvan de invoerfunctie hierboven om foto’s en video’s te maken of te importeren vanaf uw apparaat",oc:"Utilizatz puslèu la fonccionalitat d'impòrt çai-sus per pree de fòtos e de vidèos o n'importar dins de vòstre aparelh",de:"Verwenden Sie stattdessen Die Importfunktion oben , um Fotos und Videos aufzunehmen oder von Ihrer Kamera zu importieren."},media_was_sent:{fr:"Le média a été enregistré.",en:"The media was sent.",nl:"Media is opgenomen.",oc:"Lo mèdia es estat enregistrat.",de:"Die Medien wurden aufgezeichnet"},media_couldnt_be_sent:{fr:"Le média n’a pas pu être enregistré à cause d’une erreur de connexion.",en:"The media was not sent because of a connexion error.",nl:"Media kon niet worden opgeslagen vanwege verbindingsfout.",oc:"Lo mèdia es pas estat enregistrat per causa d'una error de connexion.",de:"Das Medium konnte aufgrund eines Verbindungsfehlers nicht gespeichert werden."},file_was_sent:{fr:"Le fichier a été enregistré.",en:"The file was sent.",nl:"Het bestand is opgeslagen.",oc:"Lo mèdia es estat enregistrat",de:"Die Datei wurde gespeichert."},file_upload_not_allowed:{fr:"Votre navigateur web ne prend pas en charge l’envoi de fichiers.",en:"File upload is not allowed by this browser.",nl:"Uw webbrowser ondersteunt het verzenden van bestanden niet.",oc:"Vòstre navigador web pren pas en carga la mandadís de fichièrs.",de:"Ihr Webbrowser unterstützt das Senden von Dateien nicht."},connection_active:{fr:"La connexion au serveur est active.",en:"The connection to the server is active.",nl:"Serververbinding is actief.",oc:"La connexion al servidor es activa.",de:"Die Verbindung zum Server ist aktiv."},connection_lost:{fr:"La connexion au serveur a été perdue.",en:"The connection to the server was lost.",nl:"Serververbinding is verbroken.",oc:"La connexion al servidor es estada perduda",de:"Die Verbindung zum Server wurde unterbrochen."},contents_wont_be_editable:{fr:"Les modifications et ajouts ne seront plus pris en compte.",en:"Content editing is disabled.",nl:"Wijzigingen en aanvullingen zullen niet langer mogelijk zijn.",oc:"Las modofocacions e los apondons seràn pas pus pres en compte.",de:"Änderungen und Ergänzungen werden nicht mehr berücksichtigt."},connection_error:{fr:"La connexion au serveur n’a pu se faire.",en:"The connection to the server could not be established.",nl:"De verbinding met de server kan niet worden gemaakt.",oc:"La connexion al servidor s'es pas poscuda far",de:"Die Verbindung zum Server konnte nicht hergestellt werden."},media_has_been_added_successfully:{fr:"Le média a bien été transféré",en:"The media was successfully added.",nl:"Media is overgebracht",oc:"Lo mèdia es ben estat transferit",de:"Die Medien wurden erfolgreich übertragen."},wrong_password_for_dodoc:{fr:"Le mot de passe envoyé n’est pas valide. Veuillez réessayer.",en:"Wrong password, please try again.",nl:"Het gebruikte wachtwoord is ongeldig. Probeer het opnieuw.",oc:"Lo mot de Santa Clara mandat es pas valid. Volgatz tornar ensajar.",de:"Das gesendete Passwort ist ungültig. Bitte versuchen Sie es nochmal."},loading_dodoc:{fr:"Chargement de do•doc en cours…",en:"Loading do•doc…",nl:"Do•doc is aan het laden …",oc:"Cargament de do•doc en cors…",de:"Laden des laufenden do•doc…"},"wrong_password_for_folder:":{fr:"Le mot de passe n’est pas le bon pour le dossier :",en:"Wrong password or folder missing for:",nl:"Het wachtwoord is niet correct voor dit onderdeel:",oc:"Lo mot de passa es pas lo bon pel dorsièr:",de:"Das Passwort ist nicht das richtige für die Datei."},"created_edited_media:":{fr:"Création ou édition d’un média pour le dossier :",en:"A media has been created or edited in folder:",nl:"Media voor dit onderdeel aanmaken of bewerken:",oc:"Creacion o edicion d'un mèdia pel dorsièr:",de:"Erstellen oder Bearbeiten von Medien für die Datei."},project_name_exists:{fr:"Ce nom de projet existe déjà, utilisez-en un autre.",en:"This project name already exists. Please use another.",nl:"Deze projectnaam bestaat al, gebruik een andere.",oc:"Aqueste nom de projècte existís ja, utilisatz ne un autre.",de:"Dieser Projektname existiert bereits, verwenden Sie einen anderen."},publi_name_exists:{fr:"Ce nom de recette existe déjà, utilisez-en un autre.",en:"This recipe name already exists. Please use another.",nl:"Deze publicatienaam bestaat al, gebruik een andere.",oc:"Aqueste nom de recèptas existís ja, utilisatz ne un autre.",de:"Dieser Publikationsname existiert bereits, verwenden Sie einen anderen."},author_name_exists:{fr:"Ce nom d’auteur existe déjà, utilisez-en un autre.",en:"This author name already exists. Please use another.",nl:"Deze auteursnaam bestaat al, gebruik een andere.",oc:"Aqueste nom d'autor existís ja, utilisatz ne un autre.",de:"Dieser Autorenname existiert bereits, verwenden Sie einen anderen."},folder_name_needs_alphanumeric_characters:{fr:"Les noms de dossier doivent contenir au moins un caractère alphanumérique.",en:"Folder names need to contain at least one alphanumeric character.",nl:"Bestandsnamen moeten ten minste een alfanumeriek teken bevatten.",oc:"Los noms de dorsièrs devon conténer au mens un caractèr alfanumeric.",de:"Dateinamen müssen mindestens ein alphanumerisches Zeichen enthalten."},"failed_to_get_folder:":{fr:"Le dossier suivant n’a pas été trouvé:",en:"Failed to get the requested folder:",nl:"Het volgende bestand is niet gevonden:",oc:"Lo dorsièr seguent es pas estat trobat:",de:"Die folgende Datei wurde nicht gefunden:"},failed_to_start_video_change_source_or_res:{fr:"Le flux vidéo n’a pas pu être démarré.<br>Essayez de modifier la source ou la résolution dans les réglages.",en:"Failed to start camera feed. Try changing the source or the resolution.",nl:"Videostream kan niet worden gestart .<br>Probeer de bron of de resolutie in de instellingen te wijzigen.",oc:"Lo flux vidèo es pas estat desmarrat.<br>Ensajatz de modificar la sorça o la resolucion dins los reglatges.",de:"Der Videostrom konnte nicht gestartet werden.<br> Versuchen Sie, die Quelle oder die Auflösung in den Einstellungen zu ändern."},video_source_not_set:{fr:"La source vidéo n’a pas été trouvée.",en:"The source video has not been set.",nl:"Videobron niet gevonden.",oc:"La sorça audio es pas estada trobada.",de:"Die Videoquelle wurde nicht gefunden."},failed_to_start_audio_change_source:{fr:"Le flux audio n’a pas pu être démarré.<br>Essayez de modifier la source dans les réglages.",en:"Failed to start audio feed. Try changing the source.",nl:"Audiostream kan niet worden gestart.<br>Probeer de bron in de instellingen te wijzigen.",oc:"Lo flux audio es pas estat desmarrat.<br>Ensajatz de modificar la sorça dins los reglatges.",de:"Der Audiostrom konnte nicht gestartet werden.<br> Versuchen Sie, die Quelle in den Einstellungen zu ändern."},audio_source_not_set:{fr:"La source audio n’a pas été trouvée.",en:"The source audio has not been set.",nl:"Audiobron niet gevonden.",oc:"La sorça audio es pas estada trobada.",de:"Die Audioquelle wurde nicht gefunden."},video_stream_not_available:{fr:"Erreur : le flux vidéo n’est pas disponible.",en:"Error: Video stream not available.",nl:"Fout : videostream is niet beschikbaar.",oc:"Error : lo flux vidèo es pas disponible",de:"Fehler: der Videostrom ist nicht verfügbar."},no_content_found_with_nfc_tag:{fr:"Scan d’un tag NFC réussi, associez-lui un auteur ou un média pour commencer.",en:"NFC tag detected, bind it to an author or a media to start.",nl:"NFC tag gevonden, koppel een auteur of media om te beginnen.",oc:"Escan d'un tag NFC capitat, associatz-li un autor o un mèdia per començar.",de:"NFC-Tag-Scan erfolgreich, verbinden Sie ihm zunächst einen Autor oder ein Medienunternehmen."},author_found_with_nfc_tag:{fr:"Scan d’un tag NFC réussi, activation de l’auteur suivant :",en:"NFC tag detected, the following author will be logged-in:",nl:"NFC tag gevonden, activatie van de volgende auteur:",oc:"Escan d'un tag NFC capitat, activacion de l'autor seguent:",de:"NFC-Tag-Scan erfolgreich, Aktivierung des folgenden Autors:"},medias_uploaded:{fr:"Tous les médias ont bien étés enregistrés.",en:"All medias were imported successfully.",nl:"Alle media zijn opgenomen.",oc:"Totes los mèdias son ben estat enregistrats",de:"Alle Medien wurden gut aufgenommen."},medias_upload_failed:{fr:"Erreur : certains médias n’ont pas pu être enregistrés.",en:"Error: some medias failed to import.",nl:"Foutmelding: sommige media kunnen niet worden opgenomen.",oc:"Error: d'unes mèdias son pas estat enregistrats",de:"Fehler: einige Medien konnten nicht aufgenommen werden."},video_converted:{fr:"La vidéo a été convertie et ajoutée au projet.",en:"The video was converted successfully and added to the project.",nl:"De video is geconverteerd en toegevoegd aan het project.",oc:"La vidèo es estada convertida e aponduda al projècte.",de:"Das Video wurde konvertiert und dem Projekt hinzugefügt."},project_has_been_removed:{fr:"Ce projet vient d’être supprimé par quelqu’un d’autre.",en:"This project just got removed by another user.",nl:"Dit project werd zojuist door iemand anders verwijderd.",oc:"Aqueste projècte ven d'èsser suprimit per qualqu'un mai.",de:"Dieses Projekt wurde gerade von jemandem gelöscht."},wrong_password_for:{fr:"Mot de passe erroné pour ",en:"Wrong password for project ",nl:"Onjuist wachtwoord voor ",oc:"Mot de Santa Clara erronèu per",de:"Falsches Passwort für"},creating_video:{fr:"En cours de création de la vidéo…",en:"Creating video…",nl:"De video wordt gemaakt…",oc:"En cors de creacion de la vidèo...",de:"Im Prozess der Erstellung des Videos…"},preparing_video_from_montage:{fr:"Préparation des vidéos du montage",en:"Pre-processing videos from the montage",nl:"Voorbereiding van het bewerken van video’s",oc:"Preparacion de las vidèos del montatge",de:"Vorbereitung der Videos der Montage."},finished_creating_recipe:{fr:"La recette est terminée et peut être consultée !",en:"The recipe was successfully completed!",nl:"Het recept is afgewerkt en kan worden bekeken!",oc:"La recèpta es acabada e pòt èsser consultada",de:"Das Rezept ist fertig und kann eingesehen werden!"},media_copied_successfully:{fr:"La copie du média a été réalisée avec succès.",en:"The media was copied successfully.",nl:"De kopie van de media is gemaakt.",oc:"La còpia del mèdia es estada reailzada amb succès",de:"Die Kopie der Medien wurde erfolgreich erstellt."},creation_in_progress:{fr:"En cours de création…",en:"Creation in progress…",nl:"In opmaak…",oc:"En cors de creacion...",de:"Im Prozess der Erstellung…"},connected_to_dodoc:{fr:"Connection à do•doc active",en:"Connection to do•doc active",nl:"verbinding met do•doc actief",oc:"Connexion a do•doc activa",de:"do•doc-Verbindung aktiv"},using_saved_password:{fr:"Connection à do•doc en utilisant le mot de passe enregistré",en:"Connecting to do•doc using the password that was saved",nl:"Verbinding met do•doc met het opgeslagen wachtwoord",oc:"Connexion a do•doc en utilizant lo mot de Santa Clara enregistrat",de:"Anmeldung zu do•doc mit dem registrierten Passwort."},pdf_created:{fr:"Le PDF a été créé",en:"PDF created",nl:"De pdf is gemaakt",oc:"Lo PDF es estat creat",de:"Das PDF wurde erstellt."},video_created:{fr:"La vidéo a été créée",en:"The video was created",nl:"De video is gemaakt",oc:"La vidèo es estada creada",de:"Das Video wurde erstellt."},video_creation_failed:{fr:"La vidéo n’a pas pu être créée",en:"The video was not created",nl:"Video kan niet worden gemaakt ",oc:"La vidèo es pas estada creada",de:"Das Video konnte nicht erstellt werden."},project_copy_in_progress:{fr:"Copie du projet en cours…",en:"Copy of the project in progress…",nl:"Laden van de kopie…",oc:"Còpia del projècte en cors...",de:"Kopie des aktuellen Projekts..."},project_copy_completed:{fr:"Copie terminée",en:"Copy finished",nl:"Kopiëren geslaagd",oc:"Còpia acabada",de:"Kopie komplett"},password_added_or_changed_to_this_project:{fr:"Le mot de passe de ce projet a été ajouté ou modifié.",en:"The password for this project hass been added or changed.",nl:"Wachtwoord voor dit project werd toegevoegd of gewijzigd .",oc:"Lo mot de Santa-Cmlara d'aqueste projècte es estat apondut o modificat",de:"Das Passwort für dieses Projekt wurde hinzugefügt oder geändert."},enter_password_to_reopen_project:{fr:"Entrez le nouveau mot de passe pour accéder à nouveau à",en:"Enter the new password to reopen project",nl:"Voer het nieuwe wachtwoord in om opnieuw toegang te krijgen",oc:"Dintratz lo novèl mot de santa-Clara per accedir tornar mai a",de:"Geben Sie das neue Passwort für den erneuten Zugriff ein."}}}},{}],233:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i,r=e("moment"),o=(i=r)&&i.__esModule?i:{default:i};n.default=o.default.defineLocale("oc",{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._jul._ag._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:function(){return"[uèi a] LT"},nextDay:function(){return"[deman a] LT"},nextWeek:function(){return"dddd [a] LT"},lastDay:function(){return"[ièr a] LT"},lastWeek:function(){return"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}})},{moment:79}]},{},[174]); +!function(){return function e(t,n,i){function o(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(r)return r(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){return o(t[a][1][e]||e)},u,u.exports,e,t,n,i)}return n[a].exports}for(var r="function"==typeof require&&require,a=0;a<i.length;a++)o(i[a]);return o}}()({1:[function(e,t,n){var i,o;i=window,o=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},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="/dist/",n(n.s=6)}([function(e,t,n){var i=n(8);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n(4).default)("7ec05f6c",i,!1,{})},function(e,t,n){var i=n(10);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n(4).default)("3453d19d",i,!1,{})},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,i=e[1]||"",o=e[3];if(!o)return i;if(t&&"function"==typeof btoa){var r=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"});return[i].concat(a).concat([r]).join("\n")}return[i].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},o=0;o<this.length;o++){var r=this[o][0];null!=r&&(i[r]=!0)}for(o=0;o<e.length;o++){var a=e[o];null!=a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t){e.exports="data:application/vnd.ms-fontobject;base64,aAUAAMQEAAABAAIAAAAAAAAAAAAAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAUdPJHwAAAAAAAAAAAAAAAAAAAAAAAA4AaQBjAG8AbQBvAG8AbgAAAA4AUgBlAGcAdQBsAGEAcgAAABYAVgBlAHIAcwBpAG8AbgAgADEALgAwAAAADgBpAGMAbwBtAG8AbwBuAAAAAAAAAQAAAAsAgAADADBPUy8yDxIFrAAAALwAAABgY21hcBdW0okAAAEcAAAAVGdhc3AAAAAQAAABcAAAAAhnbHlmpZ+jMAAAAXgAAAD8aGVhZA/FmAgAAAJ0AAAANmhoZWEHgAPIAAACrAAAACRobXR4EgABvgAAAtAAAAAcbG9jYQCSAOIAAALsAAAAEG1heHAACQAfAAAC/AAAACBuYW1lmUoJ+wAAAxwAAAGGcG9zdAADAAAAAASkAAAAIAADA4ABkAAFAAACmQLMAAAAjwKZAswAAAHrADMBCQAAAAAAAAAAAAAAAAAAAAEQAAAAAAAAAAAAAAAAAAAAAEAAAOkCA8D/wABAA8AAQAAAAAEAAAAAAAAAAAAAACAAAAAAAAMAAAADAAAAHAABAAMAAAAcAAMAAQAAABwABAA4AAAACgAIAAIAAgABACDpAv/9//8AAAAAACDpAP/9//8AAf/jFwQAAwABAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAVgEBA74CgQAcAAABMhceARcWFwcmJy4BJyYjIgYHFyERFzY3PgE3NgIWSkNDbykpF2QQIB9VMzQ5P3AtnP6AmB0iIkspKAJVFxhSODlCIDMrKz4REislmgGAmhkVFBwICAABANYAgQMqAtUACwAAAQcXBycHJzcnNxc3Ayru7jzu7jzu7jzu7gKZ7u487u487u487u4AAQCSAIEDgAK9AAUAACUBFwEnNwGAAcQ8/gDuPPkBxDz+AO48AAAAAAEAAAAAAAAfydNRXw889QALBAAAAAAA1nUqGwAAAADWdSobAAAAAAO+AtUAAAAIAAIAAAAAAAAAAQAAA8D/wAAABAAAAAAAA74AAQAAAAAAAAAAAAAAAAAAAAcEAAAAAAAAAAAAAAACAAAABAAAVgQAANYEAACSAAAAAAAKABQAHgBQAGoAfgABAAAABwAdAAEAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEABwAAAAEAAAAAAAIABwBgAAEAAAAAAAMABwA2AAEAAAAAAAQABwB1AAEAAAAAAAUACwAVAAEAAAAAAAYABwBLAAEAAAAAAAoAGgCKAAMAAQQJAAEADgAHAAMAAQQJAAIADgBnAAMAAQQJAAMADgA9AAMAAQQJAAQADgB8AAMAAQQJAAUAFgAgAAMAAQQJAAYADgBSAAMAAQQJAAoANACkaWNvbW9vbgBpAGMAbwBtAG8AbwBuVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwaWNvbW9vbgBpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuUmVndWxhcgBSAGUAZwB1AGwAYQByaWNvbW9vbgBpAGMAbwBtAG8AbwBuRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="},function(e,t,n){"use strict";function i(e,t){for(var n=[],i={},o=0;o<t.length;o++){var r=t[o],a=r[0],s={id:e+":"+o,css:r[1],media:r[2],sourceMap:r[3]};i[a]?i[a].parts.push(s):n.push(i[a]={id:a,parts:[s]})}return n}n.r(t),n.d(t,"default",function(){return m});var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)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 r={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d=null,p="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function m(e,t,n,o){c=n,d=o||{};var a=i(e,t);return h(a),function(t){for(var n=[],o=0;o<a.length;o++){var s=a[o];(l=r[s.id]).refs--,n.push(l)}for(t?h(a=i(e,t)):a=[],o=0;o<n.length;o++){var l;if(0===(l=n[o]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete r[l.id]}}}}function h(e){for(var t=0;t<e.length;t++){var n=e[t],i=r[n.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](n.parts[o]);for(;o<n.parts.length;o++)i.parts.push(v(n.parts[o]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(v(n.parts[o]));r[n.id]={id:n.id,refs:1,parts:a}}}}function g(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function v(e){var t,n,i=document.querySelector("style["+p+'~="'+e.id+'"]');if(i){if(c)return u;i.parentNode.removeChild(i)}if(f){var o=l++;i=s||(s=g()),t=y.bind(null,i,o,!1),n=y.bind(null,i,o,!0)}else i=g(),t=function(e,t){var n=t.css,i=t.media,o=t.sourceMap;if(i&&e.setAttribute("media",i),d.ssrId&&e.setAttribute(p,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}var _,b=(_=[],function(e,t){return _[e]=t,_.filter(Boolean).join("\n")});function y(e,t,n,i){var o=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=b(t,o);else{var r=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(r,a[t]):e.appendChild(r)}}},function(e,t,n){"use strict";var i=Array.isArray,o=Object.keys,r=Object.prototype.hasOwnProperty;e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var a,s,l,c=i(t),u=i(n);if(c&&u){if((s=t.length)!=n.length)return!1;for(a=s;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(c!=u)return!1;var d=t instanceof Date,p=n instanceof Date;if(d!=p)return!1;if(d&&p)return t.getTime()==n.getTime();var f=t instanceof RegExp,m=n instanceof RegExp;if(f!=m)return!1;if(f&&m)return t.toString()==n.toString();var h=o(t);if((s=h.length)!==o(n).length)return!1;for(a=s;0!=a--;)if(!r.call(n,h[a]))return!1;for(a=s;0!=a--;)if(!e(t[l=h[a]],n[l]))return!1;return!0}return t!=t&&n!=n}},function(e,t,n){e.exports=n(14)},function(e,t,n){"use strict";var i=n(0);n.n(i).a},function(e,t,n){(e.exports=n(2)(!0)).push([e.i,".ti-tag-input[data-v-108f4f13] {\n background-color: transparent;\n color: inherit;\n border: none;\n padding: 0px;\n margin: 0px;\n display: flex;\n top: 0px;\n position: absolute;\n width: 100%;\n line-height: inherit;\n}\n.ti-tag-input[data-v-108f4f13]::-ms-clear {\n display: none;\n}\ninput[data-v-108f4f13]:focus {\n outline: none;\n}\ninput[disabled][data-v-108f4f13] {\n background-color: transparent;\n}\n","",{version:3,sources:["C:/Users/johan/dev/vue-tags-input/vue-tags-input/C:/Users/johan/dev/vue-tags-input/vue-tags-input/tag-input.vue"],names:[],mappings:"AAAA;EACE,8BAA8B;EAC9B,eAAe;EACf,aAAa;EACb,aAAa;EACb,YAAY;EACZ,cAAc;EACd,SAAS;EACT,mBAAmB;EACnB,YAAY;EACZ,qBAAqB;CAAE;AAEzB;EACE,cAAc;CAAE;AAElB;EACE,cAAc;CAAE;AAElB;EACE,8BAA8B;CAAE",file:"tag-input.vue?vue&type=style&index=0&id=108f4f13&lang=css&scoped=true&",sourcesContent:[".ti-tag-input {\n background-color: transparent;\n color: inherit;\n border: none;\n padding: 0px;\n margin: 0px;\n display: flex;\n top: 0px;\n position: absolute;\n width: 100%;\n line-height: inherit; }\n\n.ti-tag-input::-ms-clear {\n display: none; }\n\ninput:focus {\n outline: none; }\n\ninput[disabled] {\n background-color: transparent; }\n"],sourceRoot:""}])},function(e,t,n){"use strict";var i=n(1);n.n(i).a},function(e,t,n){t=e.exports=n(2)(!0);var i=n(11),o=i(n(3)),r=i(n(3)+"#iefix"),a=i(n(12)),s=i(n(13));t.push([e.i,"@font-face {\n font-family: 'icomoon';\n src: url("+o+");\n src: url("+r+') format("embedded-opentype"), url('+a+') format("truetype"), url('+s+') format("woff");\n font-weight: normal;\n font-style: normal;\n}\n[class^="ti-icon-"][data-v-61d92e31], [class*=" ti-icon-"][data-v-61d92e31] {\n font-family: \'icomoon\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.ti-icon-check[data-v-61d92e31]:before {\n content: "\\e902";\n}\n.ti-icon-close[data-v-61d92e31]:before {\n content: "\\e901";\n}\n.ti-icon-undo[data-v-61d92e31]:before {\n content: "\\e900";\n}\nul[data-v-61d92e31] {\n margin: 0px;\n padding: 0px;\n list-style-type: none;\n}\n*[data-v-61d92e31], *[data-v-61d92e31]:before, *[data-v-61d92e31]:after {\n box-sizing: border-box;\n}\ninput[data-v-61d92e31]:focus {\n outline: none;\n}\ninput[disabled][data-v-61d92e31] {\n background-color: transparent;\n}\n.vue-tags-input[data-v-61d92e31] {\n max-width: 450px;\n position: relative;\n background-color: #fff;\n}\ndiv.vue-tags-input.disabled[data-v-61d92e31] {\n opacity: 0.5;\n}\ndiv.vue-tags-input.disabled *[data-v-61d92e31] {\n cursor: default;\n}\n.ti-input[data-v-61d92e31] {\n border: 1px solid #ccc;\n display: flex;\n padding: 4px;\n flex-wrap: wrap;\n}\n.ti-tags[data-v-61d92e31] {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n line-height: 1em;\n}\n.ti-tag[data-v-61d92e31] {\n background-color: #5C6BC0;\n color: #fff;\n border-radius: 2px;\n display: flex;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em;\n}\n.ti-tag[data-v-61d92e31]:focus {\n outline: none;\n}\n.ti-tag .ti-content[data-v-61d92e31] {\n display: flex;\n align-items: center;\n}\n.ti-tag .ti-tag-center[data-v-61d92e31] {\n position: relative;\n}\n.ti-tag span[data-v-61d92e31] {\n line-height: .85em;\n}\n.ti-tag span.ti-hidden[data-v-61d92e31] {\n padding-left: 14px;\n visibility: hidden;\n height: 0px;\n white-space: pre;\n}\n.ti-tag .ti-actions[data-v-61d92e31] {\n margin-left: 2px;\n display: flex;\n align-items: center;\n font-size: 1.15em;\n}\n.ti-tag .ti-actions i[data-v-61d92e31] {\n cursor: pointer;\n}\n.ti-tag[data-v-61d92e31]:last-child {\n margin-right: 4px;\n}\n.ti-tag.ti-invalid[data-v-61d92e31], .ti-tag.ti-tag.ti-deletion-mark[data-v-61d92e31] {\n background-color: #e54d42;\n}\n.ti-new-tag-input-wrapper[data-v-61d92e31] {\n display: flex;\n flex: 1 0 auto;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em;\n}\n.ti-new-tag-input-wrapper input[data-v-61d92e31] {\n flex: 1 0 auto;\n min-width: 100px;\n border: none;\n padding: 0px;\n margin: 0px;\n}\n.ti-new-tag-input[data-v-61d92e31] {\n line-height: initial;\n}\n.ti-autocomplete[data-v-61d92e31] {\n border: 1px solid #ccc;\n border-top: none;\n position: absolute;\n width: 100%;\n background-color: #fff;\n z-index: 20;\n}\n.ti-item > div[data-v-61d92e31] {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%;\n}\n.ti-selected-item[data-v-61d92e31] {\n background-color: #5C6BC0;\n color: #fff;\n}\n',"",{version:3,sources:["C:/Users/johan/dev/vue-tags-input/vue-tags-input/C:/Users/johan/dev/vue-tags-input/vue-tags-input/vue-tags-input.scss"],names:[],mappings:"AAAA;EACE,uBAAuB;EACvB,mCAA8C;EAC9C,+JAAuM;EACvM,oBAAoB;EACpB,mBAAmB;CAAE;AAEvB;EACE,kCAAkC;EAClC,YAAY;EACZ,mBAAmB;EACnB,oBAAoB;EACpB,qBAAqB;EACrB,qBAAqB;EACrB,eAAe;EACf,oCAAoC;EACpC,mCAAmC;CAAE;AAEvC;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,YAAY;EACZ,aAAa;EACb,sBAAsB;CAAE;AAE1B;EACE,uBAAuB;CAAE;AAE3B;EACE,cAAc;CAAE;AAElB;EACE,8BAA8B;CAAE;AAElC;EACE,iBAAiB;EACjB,mBAAmB;EACnB,uBAAuB;CAAE;AAE3B;EACE,aAAa;CAAE;AACf;IACE,gBAAgB;CAAE;AAEtB;EACE,uBAAuB;EACvB,cAAc;EACd,aAAa;EACb,gBAAgB;CAAE;AAEpB;EACE,cAAc;EACd,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;CAAE;AAErB;EACE,0BAA0B;EAC1B,YAAY;EACZ,mBAAmB;EACnB,cAAc;EACd,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,cAAc;CAAE;AAClB;IACE,cAAc;IACd,oBAAoB;CAAE;AACxB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;IACnB,mBAAmB;IACnB,YAAY;IACZ,iBAAiB;CAAE;AACrB;IACE,iBAAiB;IACjB,cAAc;IACd,oBAAoB;IACpB,kBAAkB;CAAE;AACpB;MACE,gBAAgB;CAAE;AACtB;IACE,kBAAkB;CAAE;AACtB;IACE,0BAA0B;CAAE;AAEhC;EACE,cAAc;EACd,eAAe;EACf,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,eAAe;IACf,iBAAiB;IACjB,aAAa;IACb,aAAa;IACb,YAAY;CAAE;AAElB;EACE,qBAAqB;CAAE;AAEzB;EACE,uBAAuB;EACvB,iBAAiB;EACjB,mBAAmB;EACnB,YAAY;EACZ,uBAAuB;EACvB,YAAY;CAAE;AAEhB;EACE,gBAAgB;EAChB,iBAAiB;EACjB,YAAY;CAAE;AAEhB;EACE,0BAA0B;EAC1B,YAAY;CAAE",file:"vue-tags-input.scss?vue&type=style&index=0&id=61d92e31&lang=scss&scoped=true&",sourcesContent:['@font-face {\n font-family: \'icomoon\';\n src: url("./assets/fonts/icomoon.eot?7grlse");\n src: url("./assets/fonts/icomoon.eot?7grlse#iefix") format("embedded-opentype"), url("./assets/fonts/icomoon.ttf?7grlse") format("truetype"), url("./assets/fonts/icomoon.woff?7grlse") format("woff");\n font-weight: normal;\n font-style: normal; }\n\n[class^="ti-icon-"], [class*=" ti-icon-"] {\n font-family: \'icomoon\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale; }\n\n.ti-icon-check:before {\n content: "\\e902"; }\n\n.ti-icon-close:before {\n content: "\\e901"; }\n\n.ti-icon-undo:before {\n content: "\\e900"; }\n\nul {\n margin: 0px;\n padding: 0px;\n list-style-type: none; }\n\n*, *:before, *:after {\n box-sizing: border-box; }\n\ninput:focus {\n outline: none; }\n\ninput[disabled] {\n background-color: transparent; }\n\n.vue-tags-input {\n max-width: 450px;\n position: relative;\n background-color: #fff; }\n\ndiv.vue-tags-input.disabled {\n opacity: 0.5; }\n div.vue-tags-input.disabled * {\n cursor: default; }\n\n.ti-input {\n border: 1px solid #ccc;\n display: flex;\n padding: 4px;\n flex-wrap: wrap; }\n\n.ti-tags {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n line-height: 1em; }\n\n.ti-tag {\n background-color: #5C6BC0;\n color: #fff;\n border-radius: 2px;\n display: flex;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-tag:focus {\n outline: none; }\n .ti-tag .ti-content {\n display: flex;\n align-items: center; }\n .ti-tag .ti-tag-center {\n position: relative; }\n .ti-tag span {\n line-height: .85em; }\n .ti-tag span.ti-hidden {\n padding-left: 14px;\n visibility: hidden;\n height: 0px;\n white-space: pre; }\n .ti-tag .ti-actions {\n margin-left: 2px;\n display: flex;\n align-items: center;\n font-size: 1.15em; }\n .ti-tag .ti-actions i {\n cursor: pointer; }\n .ti-tag:last-child {\n margin-right: 4px; }\n .ti-tag.ti-invalid, .ti-tag.ti-tag.ti-deletion-mark {\n background-color: #e54d42; }\n\n.ti-new-tag-input-wrapper {\n display: flex;\n flex: 1 0 auto;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-new-tag-input-wrapper input {\n flex: 1 0 auto;\n min-width: 100px;\n border: none;\n padding: 0px;\n margin: 0px; }\n\n.ti-new-tag-input {\n line-height: initial; }\n\n.ti-autocomplete {\n border: 1px solid #ccc;\n border-top: none;\n position: absolute;\n width: 100%;\n background-color: #fff;\n z-index: 20; }\n\n.ti-item > div {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%; }\n\n.ti-selected-item {\n background-color: #5C6BC0;\n color: #fff; }\n'],sourceRoot:""}])},function(e,t,n){"use strict";e.exports=function(e){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t){e.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBawAAAC8AAAAYGNtYXAXVtKJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZqWfozAAAAF4AAAA/GhlYWQPxZgIAAACdAAAADZoaGVhB4ADyAAAAqwAAAAkaG10eBIAAb4AAALQAAAAHGxvY2EAkgDiAAAC7AAAABBtYXhwAAkAHwAAAvwAAAAgbmFtZZlKCfsAAAMcAAABhnBvc3QAAwAAAAAEpAAAACAAAwOAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QL//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAFYBAQO+AoEAHAAAATIXHgEXFhcHJicuAScmIyIGBxchERc2Nz4BNzYCFkpDQ28pKRdkECAfVTM0OT9wLZz+gJgdIiJLKSgCVRcYUjg5QiAzKys+ERIrJZoBgJoZFRQcCAgAAQDWAIEDKgLVAAsAAAEHFwcnByc3JzcXNwMq7u487u487u487u4Cme7uPO7uPO7uPO7uAAEAkgCBA4ACvQAFAAAlARcBJzcBgAHEPP4A7jz5AcQ8/gDuPAAAAAABAAAAAAAAH8nTUV8PPPUACwQAAAAAANZ1KhsAAAAA1nUqGwAAAAADvgLVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAO+AAEAAAAAAAAAAAAAAAAAAAAHBAAAAAAAAAAAAAAAAgAAAAQAAFYEAADWBAAAkgAAAAAACgAUAB4AUABqAH4AAQAAAAcAHQABAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(e,t){e.exports="data:font/woff;base64,d09GRgABAAAAAAUQAAsAAAAABMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFrGNtYXAAAAFoAAAAVAAAAFQXVtKJZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAPwAAAD8pZ+jMGhlYWQAAALAAAAANgAAADYPxZgIaGhlYQAAAvgAAAAkAAAAJAeAA8hobXR4AAADHAAAABwAAAAcEgABvmxvY2EAAAM4AAAAEAAAABAAkgDibWF4cAAAA0gAAAAgAAAAIAAJAB9uYW1lAAADaAAAAYYAAAGGmUoJ+3Bvc3QAAATwAAAAIAAAACAAAwAAAAMDgAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QIDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkC//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQBWAQEDvgKBABwAAAEyFx4BFxYXByYnLgEnJiMiBgcXIREXNjc+ATc2AhZKQ0NvKSkXZBAgH1UzNDk/cC2c/oCYHSIiSykoAlUXGFI4OUIgMysrPhESKyWaAYCaGRUUHAgIAAEA1gCBAyoC1QALAAABBxcHJwcnNyc3FzcDKu7uPO7uPO7uPO7uApnu7jzu7jzu7jzu7gABAJIAgQOAAr0ABQAAJQEXASc3AYABxDz+AO48+QHEPP4A7jwAAAAAAQAAAAAAAB/J01FfDzz1AAsEAAAAAADWdSobAAAAANZ1KhsAAAAAA74C1QAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADvgABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABWBAAA1gQAAJIAAAAAAAoAFAAeAFAAagB+AAEAAAAHAB0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vue-tags-input",class:[{"ti-disabled":e.disabled},{"ti-focus":e.focused}]},[n("div",{staticClass:"ti-input"},[e.tagsCopy?n("ul",{staticClass:"ti-tags"},[e._l(e.tagsCopy,function(t,i){return n("li",{key:i,staticClass:"ti-tag",class:[{"ti-editing":e.tagsEditStatus[i]},t.tiClasses,t.classes,{"ti-deletion-mark":e.isMarked(i)}],style:t.style,attrs:{tabindex:"0"},on:{click:function(n){return e.$emit("tag-clicked",{tag:t,index:i})}}},[n("div",{staticClass:"ti-content"},[e.$scopedSlots["tag-left"]?n("div",{staticClass:"ti-tag-left"},[e._t("tag-left",null,{tag:t,index:i,edit:e.tagsEditStatus[i],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(i)})],2):e._e(),e._v(" "),n("div",{ref:"tagCenter",refInFor:!0,staticClass:"ti-tag-center"},[e.$scopedSlots["tag-center"]?e._e():n("span",{class:{"ti-hidden":e.tagsEditStatus[i]},on:{click:function(t){return e.performEditTag(i)}}},[e._v(e._s(t.text))]),e._v(" "),e.$scopedSlots["tag-center"]?e._e():n("tag-input",{attrs:{scope:{edit:e.tagsEditStatus[i],maxlength:e.maxlength,tag:t,index:i,validateTag:e.createChangedTag,performCancelEdit:e.cancelEdit,performSaveEdit:e.performSaveTag}}}),e._v(" "),e._t("tag-center",null,{tag:t,index:i,maxlength:e.maxlength,edit:e.tagsEditStatus[i],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,validateTag:e.createChangedTag,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(i)})],2),e._v(" "),e.$scopedSlots["tag-right"]?n("div",{staticClass:"ti-tag-right"},[e._t("tag-right",null,{tag:t,index:i,edit:e.tagsEditStatus[i],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(i)})],2):e._e()]),e._v(" "),n("div",{staticClass:"ti-actions"},[e.$scopedSlots["tag-actions"]?e._e():n("i",{directives:[{name:"show",rawName:"v-show",value:e.tagsEditStatus[i],expression:"tagsEditStatus[index]"}],staticClass:"ti-icon-undo",on:{click:function(t){return e.cancelEdit(i)}}}),e._v(" "),e.$scopedSlots["tag-actions"]?e._e():n("i",{directives:[{name:"show",rawName:"v-show",value:!e.tagsEditStatus[i],expression:"!tagsEditStatus[index]"}],staticClass:"ti-icon-close",on:{click:function(t){return e.performDeleteTag(i)}}}),e._v(" "),e.$scopedSlots["tag-actions"]?e._t("tag-actions",null,{tag:t,index:i,edit:e.tagsEditStatus[i],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(i)}):e._e()],2)])}),e._v(" "),n("li",{staticClass:"ti-new-tag-input-wrapper"},[n("input",e._b({ref:"newTagInput",staticClass:"ti-new-tag-input",class:[e.createClasses(e.newTag,e.tags,e.validation,e.isDuplicate)],attrs:{placeholder:e.placeholder,maxlength:e.maxlength,disabled:e.disabled,type:"text",size:"1"},domProps:{value:e.newTag},on:{keydown:[function(t){return e.performAddTags(e.filteredAutocompleteItems[e.selectedItem]||e.newTag,t)},function(t){return t.type.indexOf("key")||8===t.keyCode?e.invokeDelete(t):null},function(t){return t.type.indexOf("key")||9===t.keyCode?e.performBlur(t):null},function(t){return t.type.indexOf("key")||38===t.keyCode?e.selectItem(t,"before"):null},function(t){return t.type.indexOf("key")||40===t.keyCode?e.selectItem(t,"after"):null}],paste:e.addTagsFromPaste,input:e.updateNewTag,blur:function(t){return e.$emit("blur",t)},focus:function(t){e.focused=!0,e.$emit("focus",t)},click:function(t){!e.addOnlyFromAutocomplete&&(e.selectedItem=null)}}},"input",e.$attrs,!1))])],2):e._e()]),e._v(" "),e._t("between-elements"),e._v(" "),e.autocompleteOpen?n("div",{staticClass:"ti-autocomplete",on:{mouseout:function(t){e.selectedItem=null}}},[e._t("autocomplete-header"),e._v(" "),n("ul",e._l(e.filteredAutocompleteItems,function(t,i){return n("li",{key:i,staticClass:"ti-item",class:[t.tiClasses,t.classes,{"ti-selected-item":e.isSelected(i)}],style:t.style,on:{mouseover:function(t){!e.disabled&&(e.selectedItem=i)}}},[e.$scopedSlots["autocomplete-item"]?e._t("autocomplete-item",null,{item:t,index:i,performAdd:function(t){return e.performAddTags(t,void 0,"autocomplete")},selected:e.isSelected(i)}):n("div",{on:{click:function(n){return e.performAddTags(t,void 0,"autocomplete")}}},[e._v("\n "+e._s(t.text)+"\n ")])],2)}),0),e._v(" "),e._t("autocomplete-footer")],2):e._e()],2)};i._withStripped=!0;var o=n(5),r=n.n(o),a=function(e){return JSON.parse(JSON.stringify(e))},s=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3?arguments[3]:void 0;void 0===e.text&&(e={text:e});var o=function(e,t){return n.filter(function(t){var n=e.text;return"string"==typeof t.rule?!new RegExp(t.rule).test(n):t.rule instanceof RegExp?!t.rule.test(n):"[object Function]"==={}.toString.call(t.rule)?t.rule(e):void 0}).map(function(e){return e.classes})}(e),r=function(e,t){for(var n=0;n<e.length;){if(t(e[n]))return n;n++}return-1}(t,function(t){return t===e}),s=a(t),l=-1!==r?s.splice(r,1)[0]:a(e);return(i?i(s,l):-1!==s.map(function(e){return e.text}).indexOf(l.text))&&o.push("ti-duplicate"),0===o.length?o.push("ti-valid"):o.push("ti-invalid"),o},l=function(e){void 0===e.text&&(e={text:e});for(var t=a(e),n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return t.tiClasses=s.apply(void 0,[e].concat(i)),t},c=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return e.map(function(t){return l.apply(void 0,[t,e].concat(n))})},u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.scope.edit?n("input",{directives:[{name:"model",rawName:"v-model",value:e.scope.tag.text,expression:"scope.tag.text"}],staticClass:"ti-tag-input",attrs:{maxlength:e.scope.maxlength,type:"text",size:"1"},domProps:{value:e.scope.tag.text},on:{input:[function(t){t.target.composing||e.$set(e.scope.tag,"text",t.target.value)},function(t){return e.scope.validateTag(e.scope.index,t)}],blur:function(t){return e.scope.performCancelEdit(e.scope.index)},keydown:function(t){return e.scope.performSaveEdit(e.scope.index,t)}}}):e._e()};u._withStripped=!0;var d={name:"TagInput",props:{scope:{type:Object}}};function p(e,t,n,i,o,r,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),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(7);var f=p(d,u,[],!1,null,"108f4f13",null);f.options.__file="vue-tags-input/tag-input.vue";var m=f.exports,h=function(e){return!e.some(function(e){var t=!e.text;t&&console.warn('Missing property "text"',e);var n=!1;return e.classes&&(n="string"!=typeof e.classes),n&&console.warn('Property "classes" must be type of string',e),t||n})},g=function(e){return!e.some(function(e){if("number"==typeof e){var t=isFinite(e)&&Math.floor(e)===e;return t||console.warn("Only numerics are allowed for this prop. Found:",e),!t}if("string"==typeof e){var n=/\W|[a-z]|!\d/i.test(e);return n||console.warn("Only alpha strings are allowed for this prop. Found:",e),!n}return console.warn("Only numeric and string values are allowed. Found:",e),!1})},v={value:{type:String,default:"",required:!0},tags:{type:Array,default:function(){return[]},validator:h},autocompleteItems:{type:Array,default:function(){return[]},validator:h},allowEditTags:{type:Boolean,default:!1},autocompleteFilterDuplicates:{default:!0,type:Boolean},addOnlyFromAutocomplete:{type:Boolean,default:!1},autocompleteMinLength:{type:Number,default:1},autocompleteAlwaysOpen:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:"Add Tag"},addOnKey:{type:Array,default:function(){return[13]},validator:g},saveOnKey:{type:Array,default:function(){return[13]},validator:g},maxTags:{type:Number},maxlength:{type:Number},validation:{type:Array,default:function(){return[]},validator:function(e){return!e.some(function(e){var t=!e.rule;t&&console.warn('Property "rule" is missing',e);var n=e.rule&&("string"==typeof e.rule||e.rule instanceof RegExp||"[object Function]"==={}.toString.call(e.rule));n||console.warn("A rule must be type of string, RegExp or function. Found:",JSON.stringify(e.rule));var i=!e.classes;i&&console.warn('Property "classes" is missing',e);var o=e.type&&"string"!=typeof e.type;return o&&console.warn('Property "type" must be type of string. Found:',e),!n||t||i||o})}},separators:{type:Array,default:function(){return[";"]},validator:function(e){return!e.some(function(e){var t="string"!=typeof e;return t&&console.warn("Separators must be type of string. Found:",e),t})}},avoidAddingDuplicates:{type:Boolean,default:!0},addOnBlur:{type:Boolean,default:!0},isDuplicate:{type:Function,default:null},addFromPaste:{type:Boolean,default:!0},deleteOnBackspace:{default:!0,type:Boolean}};function _(e){return(_="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 b={name:"VueTagsInput",components:{TagInput:m},props:v,data:function(){return{newTag:null,tagsCopy:null,tagsEditStatus:null,deletionMark:null,deletionMarkTime:null,selectedItem:null,focused:null}},computed:{autocompleteOpen:function(){return!!this.autocompleteAlwaysOpen||null!==this.newTag&&this.newTag.length>=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems:function(){var e=this,t=this.autocompleteItems.map(function(t){return l(t,e.tags,e.validation,e.isDuplicate)});return this.autocompleteFilterDuplicates?t.filter(this.duplicateFilter):t}},methods:{createClasses:s,getSelectedIndex:function(e){var t=this.filteredAutocompleteItems,n=this.selectedItem,i=t.length-1;if(0!==t.length)return null===n?0:"before"===e&&0===n?i:"after"===e&&n===i?0:"after"===e?n+1:n-1},selectDefaultItem:function(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem:function(e,t){e.preventDefault(),this.selectedItem=this.getSelectedIndex(t)},isSelected:function(e){return this.selectedItem===e},isMarked:function(e){return this.deletionMark===e},invokeDelete:function(){var e=this;if(this.deleteOnBackspace&&!(this.newTag.length>0)){var t=this.tagsCopy.length-1;null===this.deletionMark?(this.deletionMarkTime=setTimeout(function(){return e.deletionMark=null},1e3),this.deletionMark=t):this.performDeleteTag(t)}},addTagsFromPaste:function(){var e=this;this.addFromPaste&&setTimeout(function(){return e.performAddTags(e.newTag)},10)},performEditTag:function(e){var t=this;this.allowEditTags&&(this._events["before-editing-tag"]||this.editTag(e),this.$emit("before-editing-tag",{index:e,tag:this.tagsCopy[e],editTag:function(){return t.editTag(e)}}))},editTag:function(e){this.allowEditTags&&(this.toggleEditMode(e),this.focus(e))},toggleEditMode:function(e){this.allowEditTags&&!this.disabled&&this.$set(this.tagsEditStatus,e,!this.tagsEditStatus[e])},createChangedTag:function(e,t){var n=this.tagsCopy[e];n.text=t?t.target.value:this.tagsCopy[e].text,this.$set(this.tagsCopy,e,l(n,this.tagsCopy,this.validation,this.isDuplicate))},focus:function(e){var t=this;this.$nextTick(function(){var n=t.$refs.tagCenter[e].querySelector("input.ti-tag-input");n&&n.focus()})},quote:function(e){return e.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit:function(e){this.tags[e]&&(this.tagsCopy[e]=a(l(this.tags[e],this.tags,this.validation,this.isDuplicate)),this.$set(this.tagsEditStatus,e,!1))},hasForbiddingAddRule:function(e){var t=this;return e.some(function(e){var n=t.validation.find(function(t){return e===t.classes});return!!n&&n.disableAdd})},createTagTexts:function(e){var t=this,n=new RegExp(this.separators.map(function(e){return t.quote(e)}).join("|"));return e.split(n).map(function(e){return{text:e}})},performDeleteTag:function(e){var t=this;this._events["before-deleting-tag"]||this.deleteTag(e),this.$emit("before-deleting-tag",{index:e,tag:this.tagsCopy[e],deleteTag:function(){return t.deleteTag(e)}})},deleteTag:function(e){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(e,1),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey:function(e,t){var n=-1!==this[t].indexOf(e.keyCode)||-1!==this[t].indexOf(e.key);return n&&e.preventDefault(),!n},performAddTags:function(e,t,n){var i=this;if(!(this.disabled||t&&this.noTriggerKey(t,"addOnKey"))){var o=[];"object"===_(e)&&(o=[e]),"string"==typeof e&&(o=this.createTagTexts(e)),(o=o.filter(function(e){return e.text.trim().length>0})).forEach(function(e){e=l(e,i.tags,i.validation,i.isDuplicate),i._events["before-adding-tag"]||i.addTag(e,n),i.$emit("before-adding-tag",{tag:e,addTag:function(){return i.addTag(e,n)}})})}},duplicateFilter:function(e){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,e):!this.tagsCopy.find(function(t){return t.text===e.text})},addTag:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new-tag-input",i=this.filteredAutocompleteItems.map(function(e){return e.text});this.addOnlyFromAutocomplete&&-1===i.indexOf(e.text)||this.$nextTick(function(){return t.maxTags&&t.maxTags<=t.tagsCopy.length?t.$emit("max-tags-reached",e):t.avoidAddingDuplicates&&!t.duplicateFilter(e)?t.$emit("adding-duplicate",e):void(t.hasForbiddingAddRule(e.tiClasses)||(t.$emit("input",""),t.tagsCopy.push(e),t._events["update:tags"]&&t.$emit("update:tags",t.tagsCopy),"autocomplete"===n&&t.$refs.newTagInput.focus(),t.$emit("tags-changed",t.tagsCopy)))})},performSaveTag:function(e,t){var n=this,i=this.tagsCopy[e];this.disabled||t&&this.noTriggerKey(t,"addOnKey")||0!==i.text.trim().length&&(this._events["before-saving-tag"]||this.saveTag(e,i),this.$emit("before-saving-tag",{index:e,tag:i,saveTag:function(){return n.saveTag(e,i)}}))},saveTag:function(e,t){if(this.avoidAddingDuplicates){var n=a(this.tagsCopy),i=n.splice(e,1)[0];if(this.isDuplicate?this.isDuplicate(n,i):-1!==n.map(function(e){return e.text}).indexOf(i.text))return this.$emit("saving-duplicate",t)}this.hasForbiddingAddRule(t.tiClasses)||(this.$set(this.tagsCopy,e,t),this.toggleEditMode(e),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual:function(){var e=this;return!this.tagsCopy.some(function(t,n){return!r()(t,e.tags[n])})},updateNewTag:function(e){var t=e.target.value;this.newTag=t,this.$emit("input",t)},initTags:function(){this.tagsCopy=c(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=a(this.tags).map(function(){return!1}),this._events["update:tags"]&&!this.tagsEqual()&&this.$emit("update:tags",this.tagsCopy)},blurredOnClick:function(e){this.$el.contains(e.target)||this.$el.contains(document.activeElement)||this.performBlur(e)},performBlur:function(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{value:function(e){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=e},tags:{handler:function(){this.initTags()},deep:!0},autocompleteOpen:"selectDefaultItem"},created:function(){this.newTag=this.value,this.initTags()},mounted:function(){this.selectDefaultItem(),document.addEventListener("click",this.blurredOnClick)},destroyed:function(){document.removeEventListener("click",this.blurredOnClick)}},y=(n(9),p(b,i,[],!1,null,"61d92e31",null));y.options.__file="vue-tags-input/vue-tags-input.vue";var w=y.exports;n.d(t,"VueTagsInput",function(){return w}),n.d(t,"createClasses",function(){return s}),n.d(t,"createTag",function(){return l}),n.d(t,"createTags",function(){return c}),n.d(t,"TagInput",function(){return m}),w.install=function(e){return e.component(w.name,w)},"undefined"!=typeof window&&window.Vue&&window.Vue.use(w),t.default=w}])},"object"==typeof n&&"object"==typeof t?t.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof n?n.vueTagsInput=o():i.vueTagsInput=o()},{}],2:[function(e,t,n){(function(e){"use strict";"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=function(e,t){return e(t={exports:{}},t.exports),t.exports}(function(e,t){e.exports=function(){var e=function(){},t=Object.prototype.hasOwnProperty,n=Array.prototype.slice;function i(e,i,o){var r,a;o=n.call(arguments,2);for(var s=0,l=o.length;s<l;s++)for(r in a=o[s])e&&!t.call(a,r)||(i[r]=a[r])}var o=function(t,n,o,r){var a=this;return"string"!=typeof t&&(r=o,o=n,n=t,t=null),"function"!=typeof n&&(r=o,o=n,n=function(){return a.apply(this,arguments)}),i(!1,n,a,r),n.prototype=function(t,n){var o;return"function"==typeof Object.create?o=Object.create(t):(e.prototype=t,o=new e,e.prototype=null),n&&i(!0,o,n),o}(a.prototype,o),n.prototype.constructor=n,n.class_=t||a.class_,n.super_=a,n};function r(){}r.class_="Nevis",r.super_=Object,r.extend=o;var a=r,s=a.extend(function(e,t,n){this.qrious=e,this.element=t,this.element.qrious=e,this.enabled=Boolean(n)},{draw:function(e){},getElement:function(){return this.enabled||(this.enabled=!0,this.render()),this.element},getModuleSize:function(e){var t=this.qrious,n=t.padding||0,i=Math.floor((t.size-2*n)/e.width);return Math.max(1,i)},getOffset:function(e){var t=this.qrious,n=t.padding;if(null!=n)return n;var i=this.getModuleSize(e),o=Math.floor((t.size-i*e.width)/2);return Math.max(0,o)},render:function(e){this.enabled&&(this.resize(),this.reset(),this.draw(e))},reset:function(){},resize:function(){}}),l=s.extend({draw:function(e){var t,n,i=this.qrious,o=this.getModuleSize(e),r=this.getOffset(e),a=this.element.getContext("2d");for(a.fillStyle=i.foreground,a.globalAlpha=i.foregroundAlpha,t=0;t<e.width;t++)for(n=0;n<e.width;n++)e.buffer[n*e.width+t]&&a.fillRect(o*t+r,o*n+r,o,o)},reset:function(){var e=this.qrious,t=this.element.getContext("2d"),n=e.size;t.lineWidth=1,t.clearRect(0,0,n,n),t.fillStyle=e.background,t.globalAlpha=e.backgroundAlpha,t.fillRect(0,0,n,n)},resize:function(){var e=this.element;e.width=e.height=this.qrious.size}}),c=a.extend(null,{BLOCK:[0,11,15,19,23,27,31,16,18,20,22,24,26,28,20,22,24,24,26,28,28,22,24,24,26,26,28,28,24,24,26,26,26,28,28,24,26,26,26,28,28]}),u=a.extend(null,{BLOCKS:[1,0,19,7,1,0,16,10,1,0,13,13,1,0,9,17,1,0,34,10,1,0,28,16,1,0,22,22,1,0,16,28,1,0,55,15,1,0,44,26,2,0,17,18,2,0,13,22,1,0,80,20,2,0,32,18,2,0,24,26,4,0,9,16,1,0,108,26,2,0,43,24,2,2,15,18,2,2,11,22,2,0,68,18,4,0,27,16,4,0,19,24,4,0,15,28,2,0,78,20,4,0,31,18,2,4,14,18,4,1,13,26,2,0,97,24,2,2,38,22,4,2,18,22,4,2,14,26,2,0,116,30,3,2,36,22,4,4,16,20,4,4,12,24,2,2,68,18,4,1,43,26,6,2,19,24,6,2,15,28,4,0,81,20,1,4,50,30,4,4,22,28,3,8,12,24,2,2,92,24,6,2,36,22,4,6,20,26,7,4,14,28,4,0,107,26,8,1,37,22,8,4,20,24,12,4,11,22,3,1,115,30,4,5,40,24,11,5,16,20,11,5,12,24,5,1,87,22,5,5,41,24,5,7,24,30,11,7,12,24,5,1,98,24,7,3,45,28,15,2,19,24,3,13,15,30,1,5,107,28,10,1,46,28,1,15,22,28,2,17,14,28,5,1,120,30,9,4,43,26,17,1,22,28,2,19,14,28,3,4,113,28,3,11,44,26,17,4,21,26,9,16,13,26,3,5,107,28,3,13,41,26,15,5,24,30,15,10,15,28,4,4,116,28,17,0,42,26,17,6,22,28,19,6,16,30,2,7,111,28,17,0,46,28,7,16,24,30,34,0,13,24,4,5,121,30,4,14,47,28,11,14,24,30,16,14,15,30,6,4,117,30,6,14,45,28,11,16,24,30,30,2,16,30,8,4,106,26,8,13,47,28,7,22,24,30,22,13,15,30,10,2,114,28,19,4,46,28,28,6,22,28,33,4,16,30,8,4,122,30,22,3,45,28,8,26,23,30,12,28,15,30,3,10,117,30,3,23,45,28,4,31,24,30,11,31,15,30,7,7,116,30,21,7,45,28,1,37,23,30,19,26,15,30,5,10,115,30,19,10,47,28,15,25,24,30,23,25,15,30,13,3,115,30,2,29,46,28,42,1,24,30,23,28,15,30,17,0,115,30,10,23,46,28,10,35,24,30,19,35,15,30,17,1,115,30,14,21,46,28,29,19,24,30,11,46,15,30,13,6,115,30,14,23,46,28,44,7,24,30,59,1,16,30,12,7,121,30,12,26,47,28,39,14,24,30,22,41,15,30,6,14,121,30,6,34,47,28,46,10,24,30,2,64,15,30,17,4,122,30,29,14,46,28,49,10,24,30,24,46,15,30,4,18,122,30,13,32,46,28,48,14,24,30,42,32,15,30,20,4,117,30,40,7,47,28,43,22,24,30,10,67,15,30,19,6,118,30,18,31,47,28,34,34,24,30,20,61,15,30],FINAL_FORMAT:[30660,29427,32170,30877,26159,25368,27713,26998,21522,20773,24188,23371,17913,16590,20375,19104,13663,12392,16177,14854,9396,8579,11994,11245,5769,5054,7399,6608,1890,597,3340,2107],LEVELS:{L:1,M:2,Q:3,H:4}}),d=a.extend(null,{EXPONENT:[1,2,4,8,16,32,64,128,29,58,116,232,205,135,19,38,76,152,45,90,180,117,234,201,143,3,6,12,24,48,96,192,157,39,78,156,37,74,148,53,106,212,181,119,238,193,159,35,70,140,5,10,20,40,80,160,93,186,105,210,185,111,222,161,95,190,97,194,153,47,94,188,101,202,137,15,30,60,120,240,253,231,211,187,107,214,177,127,254,225,223,163,91,182,113,226,217,175,67,134,17,34,68,136,13,26,52,104,208,189,103,206,129,31,62,124,248,237,199,147,59,118,236,197,151,51,102,204,133,23,46,92,184,109,218,169,79,158,33,66,132,21,42,84,168,77,154,41,82,164,85,170,73,146,57,114,228,213,183,115,230,209,191,99,198,145,63,126,252,229,215,179,123,246,241,255,227,219,171,75,150,49,98,196,149,55,110,220,165,87,174,65,130,25,50,100,200,141,7,14,28,56,112,224,221,167,83,166,81,162,89,178,121,242,249,239,195,155,43,86,172,69,138,9,18,36,72,144,61,122,244,245,247,243,251,235,203,139,11,22,44,88,176,125,250,233,207,131,27,54,108,216,173,71,142,0],LOG:[255,0,1,25,2,50,26,198,3,223,51,238,27,104,199,75,4,100,224,14,52,141,239,129,28,193,105,248,200,8,76,113,5,138,101,47,225,36,15,33,53,147,142,218,240,18,130,69,29,181,194,125,106,39,249,185,201,154,9,120,77,228,114,166,6,191,139,98,102,221,48,253,226,152,37,179,16,145,34,136,54,208,148,206,143,150,219,189,241,210,19,92,131,56,70,64,30,66,182,163,195,72,126,110,107,58,40,84,250,133,186,61,202,94,155,159,10,21,121,43,78,212,229,172,115,243,167,87,7,112,192,247,140,128,99,13,103,74,222,237,49,197,254,24,227,165,153,119,38,184,180,124,17,68,146,217,35,32,137,46,55,63,209,91,149,188,207,205,144,135,151,178,220,252,190,97,242,86,211,171,20,42,93,158,132,60,57,83,71,109,65,162,31,45,67,216,183,123,164,118,196,23,73,236,127,12,111,246,108,161,59,82,41,157,85,170,251,96,134,177,187,204,62,90,203,89,95,176,156,169,160,81,11,245,22,235,122,117,44,215,79,174,213,233,230,231,173,232,116,214,244,234,168,80,88,175]}),p=a.extend(null,{BLOCK:[3220,1468,2713,1235,3062,1890,2119,1549,2344,2936,1117,2583,1330,2470,1667,2249,2028,3780,481,4011,142,3098,831,3445,592,2517,1776,2234,1951,2827,1070,2660,1345,3177]}),f=a.extend(function(e){var t,n,i,o,r,a=e.value.length;for(this._badness=[],this._level=u.LEVELS[e.level],this._polynomial=[],this._value=e.value,this._version=0,this._stringBuffer=[];this._version<40&&(this._version++,i=4*(this._level-1)+16*(this._version-1),o=u.BLOCKS[i++],r=u.BLOCKS[i++],t=u.BLOCKS[i++],n=u.BLOCKS[i],i=t*(o+r)+r-3+(this._version<=9),!(a<=i)););this._dataBlock=t,this._eccBlock=n,this._neccBlock1=o,this._neccBlock2=r;var s=this.width=17+4*this._version;this.buffer=f._createArray(s*s),this._ecc=f._createArray(t+(t+n)*(o+r)+r),this._mask=f._createArray((s*(s+1)+1)/2),this._insertFinders(),this._insertAlignments(),this.buffer[8+s*(s-8)]=1,this._insertTimingGap(),this._reverseMask(),this._insertTimingRowAndColumn(),this._insertVersion(),this._syncMask(),this._convertBitStream(a),this._calculatePolynomial(),this._appendEccToData(),this._interleaveBlocks(),this._pack(),this._finish()},{_addAlignment:function(e,t){var n,i=this.buffer,o=this.width;for(i[e+o*t]=1,n=-2;n<2;n++)i[e+n+o*(t-2)]=1,i[e-2+o*(t+n+1)]=1,i[e+2+o*(t+n)]=1,i[e+n+1+o*(t+2)]=1;for(n=0;n<2;n++)this._setMask(e-1,t+n),this._setMask(e+1,t-n),this._setMask(e-n,t-1),this._setMask(e+n,t+1)},_appendData:function(e,t,n,i){var o,r,a,s=this._polynomial,l=this._stringBuffer;for(r=0;r<i;r++)l[n+r]=0;for(r=0;r<t;r++){if(255!==(o=d.LOG[l[e+r]^l[n]]))for(a=1;a<i;a++)l[n+a-1]=l[n+a]^d.EXPONENT[f._modN(o+s[i-a])];else for(a=n;a<n+i;a++)l[a]=l[a+1];l[n+i-1]=255===o?0:d.EXPONENT[f._modN(o+s[0])]}},_appendEccToData:function(){var e,t=0,n=this._dataBlock,i=this._calculateMaxLength(),o=this._eccBlock;for(e=0;e<this._neccBlock1;e++)this._appendData(t,n,i,o),t+=n,i+=o;for(e=0;e<this._neccBlock2;e++)this._appendData(t,n+1,i,o),t+=n+1,i+=o},_applyMask:function(e){var t,n,i,o,r=this.buffer,a=this.width;switch(e){case 0:for(o=0;o<a;o++)for(i=0;i<a;i++)i+o&1||this._isMasked(i,o)||(r[i+o*a]^=1);break;case 1:for(o=0;o<a;o++)for(i=0;i<a;i++)1&o||this._isMasked(i,o)||(r[i+o*a]^=1);break;case 2:for(o=0;o<a;o++)for(t=0,i=0;i<a;i++,t++)3===t&&(t=0),t||this._isMasked(i,o)||(r[i+o*a]^=1);break;case 3:for(n=0,o=0;o<a;o++,n++)for(3===n&&(n=0),t=n,i=0;i<a;i++,t++)3===t&&(t=0),t||this._isMasked(i,o)||(r[i+o*a]^=1);break;case 4:for(o=0;o<a;o++)for(t=0,n=o>>1&1,i=0;i<a;i++,t++)3===t&&(t=0,n=!n),n||this._isMasked(i,o)||(r[i+o*a]^=1);break;case 5:for(n=0,o=0;o<a;o++,n++)for(3===n&&(n=0),t=0,i=0;i<a;i++,t++)3===t&&(t=0),(i&o&1)+!(!t|!n)||this._isMasked(i,o)||(r[i+o*a]^=1);break;case 6:for(n=0,o=0;o<a;o++,n++)for(3===n&&(n=0),t=0,i=0;i<a;i++,t++)3===t&&(t=0),(i&o&1)+(t&&t===n)&1||this._isMasked(i,o)||(r[i+o*a]^=1);break;case 7:for(n=0,o=0;o<a;o++,n++)for(3===n&&(n=0),t=0,i=0;i<a;i++,t++)3===t&&(t=0),(t&&t===n)+(i+o&1)&1||this._isMasked(i,o)||(r[i+o*a]^=1)}},_calculateMaxLength:function(){return this._dataBlock*(this._neccBlock1+this._neccBlock2)+this._neccBlock2},_calculatePolynomial:function(){var e,t,n=this._eccBlock,i=this._polynomial;for(i[0]=1,e=0;e<n;e++){for(i[e+1]=1,t=e;t>0;t--)i[t]=i[t]?i[t-1]^d.EXPONENT[f._modN(d.LOG[i[t]]+e)]:i[t-1];i[0]=d.EXPONENT[f._modN(d.LOG[i[0]]+e)]}for(e=0;e<=n;e++)i[e]=d.LOG[i[e]]},_checkBadness:function(){var e,t,n,i,o,r=0,a=this._badness,s=this.buffer,l=this.width;for(o=0;o<l-1;o++)for(i=0;i<l-1;i++)(s[i+l*o]&&s[i+1+l*o]&&s[i+l*(o+1)]&&s[i+1+l*(o+1)]||!(s[i+l*o]||s[i+1+l*o]||s[i+l*(o+1)]||s[i+1+l*(o+1)]))&&(r+=f.N2);var c=0;for(o=0;o<l;o++){for(n=0,a[0]=0,e=0,i=0;i<l;i++)t=s[i+l*o],e===t?a[n]++:a[++n]=1,c+=(e=t)?1:-1;r+=this._getBadness(n)}c<0&&(c=-c);var u=0,d=c;for(d+=d<<2,d<<=1;d>l*l;)d-=l*l,u++;for(r+=u*f.N4,i=0;i<l;i++){for(n=0,a[0]=0,e=0,o=0;o<l;o++)t=s[i+l*o],e===t?a[n]++:a[++n]=1,e=t;r+=this._getBadness(n)}return r},_convertBitStream:function(e){var t,n,i=this._ecc,o=this._version;for(n=0;n<e;n++)i[n]=this._value.charCodeAt(n);var r=this._stringBuffer=i.slice(),a=this._calculateMaxLength();e>=a-2&&(e=a-2,o>9&&e--);var s=e;if(o>9){for(r[s+2]=0,r[s+3]=0;s--;)t=r[s],r[s+3]|=255&t<<4,r[s+2]=t>>4;r[2]|=255&e<<4,r[1]=e>>4,r[0]=64|e>>12}else{for(r[s+1]=0,r[s+2]=0;s--;)t=r[s],r[s+2]|=255&t<<4,r[s+1]=t>>4;r[1]|=255&e<<4,r[0]=64|e>>4}for(s=e+3-(o<10);s<a;)r[s++]=236,r[s++]=17},_getBadness:function(e){var t,n=0,i=this._badness;for(t=0;t<=e;t++)i[t]>=5&&(n+=f.N1+i[t]-5);for(t=3;t<e-1;t+=2)i[t-2]===i[t+2]&&i[t+2]===i[t-1]&&i[t-1]===i[t+1]&&3*i[t-1]===i[t]&&(0===i[t-3]||t+3>e||3*i[t-3]>=4*i[t]||3*i[t+3]>=4*i[t])&&(n+=f.N3);return n},_finish:function(){var e,t;this._stringBuffer=this.buffer.slice();var n=0,i=3e4;for(t=0;t<8&&(this._applyMask(t),(e=this._checkBadness())<i&&(i=e,n=t),7!==n);t++)this.buffer=this._stringBuffer.slice();n!==t&&this._applyMask(n),i=u.FINAL_FORMAT[n+(this._level-1<<3)];var o=this.buffer,r=this.width;for(t=0;t<8;t++,i>>=1)1&i&&(o[r-1-t+8*r]=1,t<6?o[8+r*t]=1:o[8+r*(t+1)]=1);for(t=0;t<7;t++,i>>=1)1&i&&(o[8+r*(r-7+t)]=1,t?o[6-t+8*r]=1:o[7+8*r]=1)},_interleaveBlocks:function(){var e,t,n=this._dataBlock,i=this._ecc,o=this._eccBlock,r=0,a=this._calculateMaxLength(),s=this._neccBlock1,l=this._neccBlock2,c=this._stringBuffer;for(e=0;e<n;e++){for(t=0;t<s;t++)i[r++]=c[e+t*n];for(t=0;t<l;t++)i[r++]=c[s*n+e+t*(n+1)]}for(t=0;t<l;t++)i[r++]=c[s*n+e+t*(n+1)];for(e=0;e<o;e++)for(t=0;t<s+l;t++)i[r++]=c[a+e+t*o];this._stringBuffer=i},_insertAlignments:function(){var e,t,n,i=this._version,o=this.width;if(i>1)for(e=c.BLOCK[i],n=o-7;;){for(t=o-7;t>e-3&&(this._addAlignment(t,n),!(t<e));)t-=e;if(n<=e+9)break;n-=e,this._addAlignment(6,n),this._addAlignment(n,6)}},_insertFinders:function(){var e,t,n,i,o=this.buffer,r=this.width;for(e=0;e<3;e++){for(t=0,i=0,1===e&&(t=r-7),2===e&&(i=r-7),o[i+3+r*(t+3)]=1,n=0;n<6;n++)o[i+n+r*t]=1,o[i+r*(t+n+1)]=1,o[i+6+r*(t+n)]=1,o[i+n+1+r*(t+6)]=1;for(n=1;n<5;n++)this._setMask(i+n,t+1),this._setMask(i+1,t+n+1),this._setMask(i+5,t+n),this._setMask(i+n+1,t+5);for(n=2;n<4;n++)o[i+n+r*(t+2)]=1,o[i+2+r*(t+n+1)]=1,o[i+4+r*(t+n)]=1,o[i+n+1+r*(t+4)]=1}},_insertTimingGap:function(){var e,t,n=this.width;for(t=0;t<7;t++)this._setMask(7,t),this._setMask(n-8,t),this._setMask(7,t+n-7);for(e=0;e<8;e++)this._setMask(e,7),this._setMask(e+n-8,7),this._setMask(e,n-8)},_insertTimingRowAndColumn:function(){var e,t=this.buffer,n=this.width;for(e=0;e<n-14;e++)1&e?(this._setMask(8+e,6),this._setMask(6,8+e)):(t[8+e+6*n]=1,t[6+n*(8+e)]=1)},_insertVersion:function(){var e,t,n,i,o=this.buffer,r=this._version,a=this.width;if(r>6)for(e=p.BLOCK[r-7],t=17,n=0;n<6;n++)for(i=0;i<3;i++,t--)1&(t>11?r>>t-12:e>>t)?(o[5-n+a*(2-i+a-11)]=1,o[2-i+a-11+a*(5-n)]=1):(this._setMask(5-n,2-i+a-11),this._setMask(2-i+a-11,5-n))},_isMasked:function(e,t){var n=f._getMaskBit(e,t);return 1===this._mask[n]},_pack:function(){var e,t,n,i=1,o=1,r=this.width,a=r-1,s=r-1,l=(this._dataBlock+this._eccBlock)*(this._neccBlock1+this._neccBlock2)+this._neccBlock2;for(t=0;t<l;t++)for(e=this._stringBuffer[t],n=0;n<8;n++,e<<=1){128&e&&(this.buffer[a+r*s]=1);do{o?a--:(a++,i?0!==s?s--:(i=!i,6==(a-=2)&&(a--,s=9)):s!==r-1?s++:(i=!i,6==(a-=2)&&(a--,s-=8))),o=!o}while(this._isMasked(a,s))}},_reverseMask:function(){var e,t,n=this.width;for(e=0;e<9;e++)this._setMask(e,8);for(e=0;e<8;e++)this._setMask(e+n-8,8),this._setMask(8,e);for(t=0;t<7;t++)this._setMask(8,t+n-7)},_setMask:function(e,t){var n=f._getMaskBit(e,t);this._mask[n]=1},_syncMask:function(){var e,t,n=this.width;for(t=0;t<n;t++)for(e=0;e<=t;e++)this.buffer[e+n*t]&&this._setMask(e,t)}},{_createArray:function(e){var t,n=[];for(t=0;t<e;t++)n[t]=0;return n},_getMaskBit:function(e,t){var n;return e>t&&(n=e,e=t,t=n),n=t,n+=t*t,n>>=1,n+=e},_modN:function(e){for(;e>=255;)e=((e-=255)>>8)+(255&e);return e},N1:3,N2:3,N3:40,N4:10}),m=f,h=s.extend({draw:function(){this.element.src=this.qrious.toDataURL()},reset:function(){this.element.src=""},resize:function(){var e=this.element;e.width=e.height=this.qrious.size}}),g=a.extend(function(e,t,n,i){this.name=e,this.modifiable=Boolean(t),this.defaultValue=n,this._valueTransformer=i},{transform:function(e){var t=this._valueTransformer;return"function"==typeof t?t(e,this):e}}),v=a.extend(null,{abs:function(e){return null!=e?Math.abs(e):null},hasOwn:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},noop:function(){},toUpperCase:function(e){return null!=e?e.toUpperCase():null}}),_=a.extend(function(e){this.options={},e.forEach(function(e){this.options[e.name]=e},this)},{exists:function(e){return null!=this.options[e]},get:function(e,t){return _._get(this.options[e],t)},getAll:function(e){var t,n=this.options,i={};for(t in n)v.hasOwn(n,t)&&(i[t]=_._get(n[t],e));return i},init:function(e,t,n){var i,o;for(i in"function"!=typeof n&&(n=v.noop),this.options)v.hasOwn(this.options,i)&&(o=this.options[i],_._set(o,o.defaultValue,t),_._createAccessor(o,t,n));this._setAll(e,t,!0)},set:function(e,t,n){return this._set(e,t,n)},setAll:function(e,t){return this._setAll(e,t)},_set:function(e,t,n,i){var o=this.options[e];if(!o)throw new Error("Invalid option: "+e);if(!o.modifiable&&!i)throw new Error("Option cannot be modified: "+e);return _._set(o,t,n)},_setAll:function(e,t,n){if(!e)return!1;var i,o=!1;for(i in e)v.hasOwn(e,i)&&this._set(i,e[i],t,n)&&(o=!0);return o}},{_createAccessor:function(e,t,n){var i={get:function(){return _._get(e,t)}};e.modifiable&&(i.set=function(i){_._set(e,i,t)&&n(i,e)}),Object.defineProperty(t,e.name,i)},_get:function(e,t){return t["_"+e.name]},_set:function(e,t,n){var i="_"+e.name,o=n[i],r=e.transform(null!=t?t:e.defaultValue);return n[i]=r,r!==o}}),b=_,y=a.extend(function(){this._services={}},{getService:function(e){var t=this._services[e];if(!t)throw new Error("Service is not being managed with name: "+e);return t},setService:function(e,t){if(this._services[e])throw new Error("Service is already managed with name: "+e);t&&(this._services[e]=t)}}),w=new b([new g("background",!0,"white"),new g("backgroundAlpha",!0,1,v.abs),new g("element"),new g("foreground",!0,"black"),new g("foregroundAlpha",!0,1,v.abs),new g("level",!0,"L",v.toUpperCase),new g("mime",!0,"image/png"),new g("padding",!0,null,v.abs),new g("size",!0,100,v.abs),new g("value",!0,"")]),x=new y,k=a.extend(function(e){w.init(e,this,this.update.bind(this));var t=w.get("element",this),n=x.getService("element"),i=t&&n.isCanvas(t)?t:n.createCanvas(),o=t&&n.isImage(t)?t:n.createImage();this._canvasRenderer=new l(this,i,!0),this._imageRenderer=new h(this,o,o===t),this.update()},{get:function(){return w.getAll(this)},set:function(e){w.setAll(e,this)&&this.update()},toDataURL:function(e){return this.canvas.toDataURL(e||this.mime)},update:function(){var e=new m({level:this.level,value:this.value});this._canvasRenderer.render(e),this._imageRenderer.render(e)}},{use:function(e){x.setService(e.getName(),e)}});Object.defineProperties(k.prototype,{canvas:{get:function(){return this._canvasRenderer.getElement()}},image:{get:function(){return this._imageRenderer.getElement()}}});var A=k,C=a.extend({getName:function(){}}).extend({createCanvas:function(){},createImage:function(){},getName:function(){return"element"},isCanvas:function(e){},isImage:function(e){}}).extend({createCanvas:function(){return document.createElement("canvas")},createImage:function(){return document.createElement("img")},isCanvas:function(e){return e instanceof HTMLCanvasElement},isImage:function(e){return e instanceof HTMLImageElement}});return A.use(new C),A}()}),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o={name:"qrcode",props:{options:Object,tag:{type:String,default:"canvas"},value:{type:null,default:""}},render:function(e){return e(this.tag,this.$slots.default)},watch:{value:function(){this.generate()},options:function(){this.generate()}},methods:{generate:function(){this.$el&&new n(i({element:this.$el,value:String(this.value)},this.options))}},mounted:function(){this.generate()}};t.exports=o}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(e,t,n){function i(){}t.exports=function(e,t,n){var o=!1;return n=n||i,r.count=e,0===e?t():r;function r(e,i){if(r.count<=0)throw new Error("after called too many times");--r.count,e?(o=!0,t(e),t=n):0!==r.count||o||t(null,i)}}},{}],4:[function(e,t,n){!function(){"use strict";function e(){var e={parent:document.body,version:"1.0.12",defaultOkLabel:"Ok",okLabel:"Ok",defaultCancelLabel:"Cancel",cancelLabel:"Cancel",defaultMaxLogItems:2,maxLogItems:2,promptValue:"",promptPlaceholder:"",closeLogOnClick:!1,closeLogOnClickDefault:!1,delay:5e3,defaultDelay:5e3,logContainerClass:"alertify-logs",logContainerDefaultClass:"alertify-logs",dialogs:{buttons:{holder:"<nav>{{buttons}}</nav>",ok:"<button class='ok' tabindex='1'>{{ok}}</button>",cancel:"<button class='cancel' tabindex='2'>{{cancel}}</button>"},input:"<input type='text'>",message:"<p class='msg'>{{message}}</p>",log:"<div class='{{class}}'>{{message}}</div>"},defaultDialogs:{buttons:{holder:"<nav>{{buttons}}</nav>",ok:"<button class='ok' tabindex='1'>{{ok}}</button>",cancel:"<button class='cancel' tabindex='2'>{{cancel}}</button>"},input:"<input type='text'>",message:"<p class='msg'>{{message}}</p>",log:"<div class='{{class}}'>{{message}}</div>"},build:function(e){var t=this.dialogs.buttons.ok,n="<div class='dialog'><div>"+this.dialogs.message.replace("{{message}}",e.message);return"confirm"!==e.type&&"prompt"!==e.type||(t=this.dialogs.buttons.cancel+this.dialogs.buttons.ok),"prompt"===e.type&&(n+=this.dialogs.input),(n+this.dialogs.buttons.holder+"</div></div>").replace("{{buttons}}",t).replace("{{ok}}",this.okLabel).replace("{{cancel}}",this.cancelLabel)},setCloseLogOnClick:function(e){this.closeLogOnClick=!!e},close:function(e,t){this.closeLogOnClick&&e.addEventListener("click",function(){n(e)}),0>(t=t&&!isNaN(+t)?+t:this.delay)?n(e):t>0&&setTimeout(function(){n(e)},t)},dialog:function(e,t,n,i){return this.setup({type:t,message:e,onOkay:n,onCancel:i})},log:function(e,t,n){var i=document.querySelectorAll(".alertify-logs > div");if(i){var o=i.length-this.maxLogItems;if(o>=0)for(var r=0,a=o+1;a>r;r++)this.close(i[r],-1)}this.notify(e,t,n)},setLogPosition:function(e){this.logContainerClass="alertify-logs "+e},setupLogContainer:function(){var e=document.querySelector(".alertify-logs"),t=this.logContainerClass;return e||((e=document.createElement("div")).className=t,this.parent.appendChild(e)),e.className!==t&&(e.className=t),e},notify:function(t,n,i){var o=this.setupLogContainer(),r=document.createElement("div");r.className=n||"default",e.logTemplateMethod?r.innerHTML=e.logTemplateMethod(t):r.innerHTML=t,"function"==typeof i&&r.addEventListener("click",i),o.appendChild(r),setTimeout(function(){r.className+=" show"},10),this.close(r,this.delay)},setup:function(e){function t(t){"function"!=typeof t&&(t=function(){}),r&&r.addEventListener("click",function(o){e.onOkay&&"function"==typeof e.onOkay&&(s?e.onOkay(s.value,o):e.onOkay(o)),t(s?{buttonClicked:"ok",inputValue:s.value,event:o}:{buttonClicked:"ok",event:o}),n(i)}),a&&a.addEventListener("click",function(o){e.onCancel&&"function"==typeof e.onCancel&&e.onCancel(o),t({buttonClicked:"cancel",event:o}),n(i)}),s&&s.addEventListener("keyup",function(e){13===e.which&&r.click()})}var i=document.createElement("div");i.className="alertify hide",i.innerHTML=this.build(e);var o,r=i.querySelector(".ok"),a=i.querySelector(".cancel"),s=i.querySelector("input"),l=i.querySelector("label");return s&&("string"==typeof this.promptPlaceholder&&(l?l.textContent=this.promptPlaceholder:s.placeholder=this.promptPlaceholder),"string"==typeof this.promptValue&&(s.value=this.promptValue)),"function"==typeof Promise?o=new Promise(t):t(),this.parent.appendChild(i),setTimeout(function(){i.classList.remove("hide"),s&&e.type&&"prompt"===e.type?(s.select(),s.focus()):r&&r.focus()},100),o},okBtn:function(e){return this.okLabel=e,this},setDelay:function(e){return e=e||0,this.delay=isNaN(e)?this.defaultDelay:parseInt(e,10),this},cancelBtn:function(e){return this.cancelLabel=e,this},setMaxLogItems:function(e){this.maxLogItems=parseInt(e||this.defaultMaxLogItems)},theme:function(e){switch(e.toLowerCase()){case"bootstrap":this.dialogs.buttons.ok="<button class='ok btn btn-primary' tabindex='1'>{{ok}}</button>",this.dialogs.buttons.cancel="<button class='cancel btn btn-default' tabindex='2'>{{cancel}}</button>",this.dialogs.input="<input type='text' class='form-control'>";break;case"purecss":this.dialogs.buttons.ok="<button class='ok pure-button' tabindex='1'>{{ok}}</button>",this.dialogs.buttons.cancel="<button class='cancel pure-button' tabindex='2'>{{cancel}}</button>";break;case"mdl":case"material-design-light":this.dialogs.buttons.ok="<button class='ok mdl-button mdl-js-button mdl-js-ripple-effect' tabindex='1'>{{ok}}</button>",this.dialogs.buttons.cancel="<button class='cancel mdl-button mdl-js-button mdl-js-ripple-effect' tabindex='2'>{{cancel}}</button>",this.dialogs.input="<div class='mdl-textfield mdl-js-textfield'><input class='mdl-textfield__input'><label class='md-textfield__label'></label></div>";break;case"angular-material":this.dialogs.buttons.ok="<button class='ok md-primary md-button' tabindex='1'>{{ok}}</button>",this.dialogs.buttons.cancel="<button class='cancel md-button' tabindex='2'>{{cancel}}</button>",this.dialogs.input="<div layout='column'><md-input-container md-no-float><input type='text'></md-input-container></div>";break;case"default":default:this.dialogs.buttons.ok=this.defaultDialogs.buttons.ok,this.dialogs.buttons.cancel=this.defaultDialogs.buttons.cancel,this.dialogs.input=this.defaultDialogs.input}},reset:function(){this.parent=document.body,this.theme("default"),this.okBtn(this.defaultOkLabel),this.cancelBtn(this.defaultCancelLabel),this.setMaxLogItems(),this.promptValue="",this.promptPlaceholder="",this.delay=this.defaultDelay,this.setCloseLogOnClick(this.closeLogOnClickDefault),this.setLogPosition("bottom left"),this.logTemplateMethod=null},injectCSS:function(){if(!document.querySelector("#alertifyCSS")){var e=document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css",t.id="alertifyCSS",t.innerHTML=".alertify-logs>*{padding:12px 24px;color:#fff;box-shadow:0 2px 5px 0 rgba(0,0,0,.2);border-radius:1px}.alertify-logs>*,.alertify-logs>.default{background:rgba(0,0,0,.8)}.alertify-logs>.error{background:rgba(244,67,54,.8)}.alertify-logs>.success{background:rgba(76,175,80,.9)}.alertify{position:fixed;background-color:rgba(0,0,0,.3);left:0;right:0;top:0;bottom:0;width:100%;height:100%;z-index:1}.alertify.hide{opacity:0;pointer-events:none}.alertify,.alertify.show{box-sizing:border-box;transition:all .33s cubic-bezier(.25,.8,.25,1)}.alertify,.alertify *{box-sizing:border-box}.alertify .dialog{padding:12px}.alertify .alert,.alertify .dialog{width:100%;margin:0 auto;position:relative;top:50%;transform:translateY(-50%)}.alertify .alert>*,.alertify .dialog>*{width:400px;max-width:95%;margin:0 auto;text-align:center;padding:12px;background:#fff;box-shadow:0 2px 4px -1px rgba(0,0,0,.14),0 4px 5px 0 rgba(0,0,0,.098),0 1px 10px 0 rgba(0,0,0,.084)}.alertify .alert .msg,.alertify .dialog .msg{padding:12px;margin-bottom:12px;margin:0;text-align:left}.alertify .alert input:not(.form-control),.alertify .dialog input:not(.form-control){margin-bottom:15px;width:100%;font-size:100%;padding:12px}.alertify .alert input:not(.form-control):focus,.alertify .dialog input:not(.form-control):focus{outline-offset:-2px}.alertify .alert nav,.alertify .dialog nav{text-align:right}.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button),.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button){background:transparent;box-sizing:border-box;color:rgba(0,0,0,.87);position:relative;outline:0;border:0;display:inline-block;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center;padding:0 6px;margin:6px 8px;line-height:36px;min-height:36px;white-space:nowrap;min-width:88px;text-align:center;text-transform:uppercase;font-size:14px;text-decoration:none;cursor:pointer;border:1px solid transparent;border-radius:2px}.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active,.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover,.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active,.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover{background-color:rgba(0,0,0,.05)}.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus,.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus{border:1px solid rgba(0,0,0,.1)}.alertify .alert nav button.btn,.alertify .dialog nav button.btn{margin:6px 4px}.alertify-logs{position:fixed;z-index:1}.alertify-logs.bottom,.alertify-logs:not(.top){bottom:16px}.alertify-logs.left,.alertify-logs:not(.right){left:16px}.alertify-logs.left>*,.alertify-logs:not(.right)>*{float:left;transform:translateZ(0);height:auto}.alertify-logs.left>.show,.alertify-logs:not(.right)>.show{left:0}.alertify-logs.left>*,.alertify-logs.left>.hide,.alertify-logs:not(.right)>*,.alertify-logs:not(.right)>.hide{left:-110%}.alertify-logs.right{right:16px}.alertify-logs.right>*{float:right;transform:translateZ(0)}.alertify-logs.right>.show{right:0;opacity:1}.alertify-logs.right>*,.alertify-logs.right>.hide{right:-110%;opacity:0}.alertify-logs.top{top:0}.alertify-logs>*{box-sizing:border-box;transition:all .4s cubic-bezier(.25,.8,.25,1);position:relative;clear:both;backface-visibility:hidden;perspective:1000;max-height:0;margin:0;padding:0;overflow:hidden;opacity:0;pointer-events:none}.alertify-logs>.show{margin-top:12px;opacity:1;max-height:1000px;padding:12px;pointer-events:auto}",e.insertBefore(t,e.firstChild)}},removeCSS:function(){var e=document.querySelector("#alertifyCSS");e&&e.parentNode&&e.parentNode.removeChild(e)}};return e.injectCSS(),{_$$alertify:e,parent:function(t){e.parent=t},reset:function(){return e.reset(),this},alert:function(t,n,i){return e.dialog(t,"alert",n,i)||this},confirm:function(t,n,i){return e.dialog(t,"confirm",n,i)||this},prompt:function(t,n,i){return e.dialog(t,"prompt",n,i)||this},log:function(t,n){return e.log(t,"default",n),this},theme:function(t){return e.theme(t),this},success:function(t,n){return e.log(t,"success",n),this},error:function(t,n){return e.log(t,"error",n),this},cancelBtn:function(t){return e.cancelBtn(t),this},okBtn:function(t){return e.okBtn(t),this},delay:function(t){return e.setDelay(t),this},placeholder:function(t){return e.promptPlaceholder=t,this},defaultValue:function(t){return e.promptValue=t,this},maxLogItems:function(t){return e.setMaxLogItems(t),this},closeLogOnClick:function(t){return e.setCloseLogOnClick(!!t),this},logPosition:function(t){return e.setLogPosition(t||""),this},setLogTemplate:function(t){return e.logTemplateMethod=t,this},clearLogs:function(){return e.setupLogContainer().innerHTML="",this},version:e.version}}var n=function(e){if(e){var t=function(){e&&e.parentNode&&e.parentNode.removeChild(e)};e.classList.remove("show"),e.classList.add("hide"),e.addEventListener("transitionend",t),setTimeout(t,500)}};if(void 0!==t&&t&&t.exports){t.exports=function(){return new e};var i=new e;for(var o in i)t.exports[o]=i[o]}else"function"==typeof define&&define.amd?define(function(){return new e}):window.alertify=new e}()},{}],5:[function(e,t,n){t.exports=function(e,t,n){var i=e.byteLength;if(t=t||0,n=n||i,e.slice)return e.slice(t,n);if(t<0&&(t+=i),n<0&&(n+=i),n>i&&(n=i),t>=i||t>=n||0===i)return new ArrayBuffer(0);for(var o=new Uint8Array(e),r=new Uint8Array(n-t),a=t,s=0;a<n;a++,s++)r[s]=o[a];return r.buffer}},{}],6:[function(e,t,n){t.exports=e("./lib/axios")},{"./lib/axios":8}],7:[function(e,t,n){"use strict";var i=e("./../utils"),o=e("./../core/settle"),r=e("./../helpers/buildURL"),a=e("./../helpers/parseHeaders"),s=e("./../helpers/isURLSameOrigin"),l=e("../core/createError");t.exports=function(t){return new Promise(function(n,c){var u=t.data,d=t.headers;i.isFormData(u)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",m=t.auth.password||"";d.Authorization="Basic "+btoa(f+":"+m)}if(p.open(t.method.toUpperCase(),r(t.url,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var e="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,i={data:t.responseType&&"text"!==t.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:e,config:t,request:p};o(n,c,i),p=null}},p.onabort=function(){p&&(c(l("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){c(l("Network Error",t,null,p)),p=null},p.ontimeout=function(){c(l("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",p)),p=null},i.isStandardBrowserEnv()){var h=e("./../helpers/cookies"),g=(t.withCredentials||s(t.url))&&t.xsrfCookieName?h.read(t.xsrfCookieName):void 0;g&&(d[t.xsrfHeaderName]=g)}if("setRequestHeader"in p&&i.forEach(d,function(e,t){void 0===u&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)}),t.withCredentials&&(p.withCredentials=!0),t.responseType)try{p.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(e){p&&(p.abort(),c(e),p=null)}),void 0===u&&(u=null),p.send(u)})}},{"../core/createError":14,"./../core/settle":18,"./../helpers/buildURL":22,"./../helpers/cookies":24,"./../helpers/isURLSameOrigin":26,"./../helpers/parseHeaders":28,"./../utils":30}],8:[function(e,t,n){"use strict";var i=e("./utils"),o=e("./helpers/bind"),r=e("./core/Axios"),a=e("./core/mergeConfig");function s(e){var t=new r(e),n=o(r.prototype.request,t);return i.extend(n,r.prototype,t),i.extend(n,t),n}var l=s(e("./defaults"));l.Axios=r,l.create=function(e){return s(a(l.defaults,e))},l.Cancel=e("./cancel/Cancel"),l.CancelToken=e("./cancel/CancelToken"),l.isCancel=e("./cancel/isCancel"),l.all=function(e){return Promise.all(e)},l.spread=e("./helpers/spread"),t.exports=l,t.exports.default=l},{"./cancel/Cancel":9,"./cancel/CancelToken":10,"./cancel/isCancel":11,"./core/Axios":12,"./core/mergeConfig":17,"./defaults":20,"./helpers/bind":21,"./helpers/spread":29,"./utils":30}],9:[function(e,t,n){"use strict";function i(e){this.message=e}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,t.exports=i},{}],10:[function(e,t,n){"use strict";var i=e("./Cancel");function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new i(e),t(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o(function(t){e=t}),cancel:e}},t.exports=o},{"./Cancel":9}],11:[function(e,t,n){"use strict";t.exports=function(e){return!(!e||!e.__CANCEL__)}},{}],12:[function(e,t,n){"use strict";var i=e("./../utils"),o=e("../helpers/buildURL"),r=e("./InterceptorManager"),a=e("./dispatchRequest"),s=e("./mergeConfig");function l(e){this.defaults=e,this.interceptors={request:new r,response:new r}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method=e.method?e.method.toLowerCase():"get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},l.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],function(e){l.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){l.prototype[e]=function(t,n,o){return this.request(i.merge(o||{},{method:e,url:t,data:n}))}}),t.exports=l},{"../helpers/buildURL":22,"./../utils":30,"./InterceptorManager":13,"./dispatchRequest":15,"./mergeConfig":17}],13:[function(e,t,n){"use strict";var i=e("./../utils");function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},t.exports=o},{"./../utils":30}],14:[function(e,t,n){"use strict";var i=e("./enhanceError");t.exports=function(e,t,n,o,r){var a=new Error(e);return i(a,t,n,o,r)}},{"./enhanceError":16}],15:[function(e,t,n){"use strict";var i=e("./../utils"),o=e("./transformData"),r=e("../cancel/isCancel"),a=e("../defaults"),s=e("./../helpers/isAbsoluteURL"),l=e("./../helpers/combineURLs");function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}t.exports=function(e){return c(e),e.baseURL&&!s(e.url)&&(e.url=l(e.baseURL,e.url)),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return c(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return r(t)||(c(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},{"../cancel/isCancel":11,"../defaults":20,"./../helpers/combineURLs":23,"./../helpers/isAbsoluteURL":25,"./../utils":30,"./transformData":19}],16:[function(e,t,n){"use strict";t.exports=function(e,t,n,i,o){return e.config=t,n&&(e.code=n),e.request=i,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},{}],17:[function(e,t,n){"use strict";var i=e("../utils");t.exports=function(e,t){t=t||{};var n={};return i.forEach(["url","method","params","data"],function(e){void 0!==t[e]&&(n[e]=t[e])}),i.forEach(["headers","auth","proxy"],function(o){i.isObject(t[o])?n[o]=i.deepMerge(e[o],t[o]):void 0!==t[o]?n[o]=t[o]:i.isObject(e[o])?n[o]=i.deepMerge(e[o]):void 0!==e[o]&&(n[o]=e[o])}),i.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],function(i){void 0!==t[i]?n[i]=t[i]:void 0!==e[i]&&(n[i]=e[i])}),n}},{"../utils":30}],18:[function(e,t,n){"use strict";var i=e("./createError");t.exports=function(e,t,n){var o=n.config.validateStatus;!o||o(n.status)?e(n):t(i("Request failed with status code "+n.status,n.config,null,n.request,n))}},{"./createError":14}],19:[function(e,t,n){"use strict";var i=e("./../utils");t.exports=function(e,t,n){return i.forEach(n,function(n){e=n(e,t)}),e}},{"./../utils":30}],20:[function(e,t,n){(function(n){"use strict";var i=e("./utils"),o=e("./helpers/normalizeHeaderName"),r={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,l={adapter:(void 0!==n&&"[object process]"===Object.prototype.toString.call(n)?s=e("./adapters/http"):"undefined"!=typeof XMLHttpRequest&&(s=e("./adapters/xhr")),s),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(e){l.headers[e]={}}),i.forEach(["post","put","patch"],function(e){l.headers[e]=i.merge(r)}),t.exports=l}).call(this,e("_process"))},{"./adapters/http":7,"./adapters/xhr":7,"./helpers/normalizeHeaderName":27,"./utils":30,_process:113}],21:[function(e,t,n){"use strict";t.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return e.apply(t,n)}}},{}],22:[function(e,t,n){"use strict";var i=e("./../utils");function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(i.isURLSearchParams(t))r=t.toString();else{var a=[];i.forEach(t,function(e,t){null!=e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))}))}),r=a.join("&")}if(r){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}},{"./../utils":30}],23:[function(e,t,n){"use strict";t.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},{}],24:[function(e,t,n){"use strict";var i=e("./../utils");t.exports=i.isStandardBrowserEnv()?{write:function(e,t,n,o,r,a){var s=[];s.push(e+"="+encodeURIComponent(t)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(o)&&s.push("path="+o),i.isString(r)&&s.push("domain="+r),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},{"./../utils":30}],25:[function(e,t,n){"use strict";t.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},{}],26:[function(e,t,n){"use strict";var i=e("./../utils");t.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=i.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},{"./../utils":30}],27:[function(e,t,n){"use strict";var i=e("../utils");t.exports=function(e,t){i.forEach(e,function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])})}},{"../utils":30}],28:[function(e,t,n){"use strict";var i=e("./../utils"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(e){var t,n,r,a={};return e?(i.forEach(e.split("\n"),function(e){if(r=e.indexOf(":"),t=i.trim(e.substr(0,r)).toLowerCase(),n=i.trim(e.substr(r+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},{"./../utils":30}],29:[function(e,t,n){"use strict";t.exports=function(e){return function(t){return e.apply(null,t)}}},{}],30:[function(e,t,n){"use strict";var i=e("./helpers/bind"),o=e("is-buffer"),r=Object.prototype.toString;function a(e){return"[object Array]"===r.call(e)}function s(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===r.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}t.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===r.call(e)},isBuffer:o,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===r.call(e)},isFile:function(e){return"[object File]"===r.call(e)},isBlob:function(e){return"[object Blob]"===r.call(e)},isFunction:l,isStream:function(e){return s(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:c,merge:function e(){var t={};function n(n,i){"object"==typeof t[i]&&"object"==typeof n?t[i]=e(t[i],n):t[i]=n}for(var i=0,o=arguments.length;i<o;i++)c(arguments[i],n);return t},deepMerge:function e(){var t={};function n(n,i){"object"==typeof t[i]&&"object"==typeof n?t[i]=e(t[i],n):t[i]="object"==typeof n?e({},n):n}for(var i=0,o=arguments.length;i<o;i++)c(arguments[i],n);return t},extend:function(e,t,n){return c(t,function(t,o){e[o]=n&&"function"==typeof t?i(t,n):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},{"./helpers/bind":21,"is-buffer":31}],31:[function(e,t,n){t.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},{}],32:[function(e,t,n){function i(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}t.exports=i,i.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},i.prototype.reset=function(){this.attempts=0},i.prototype.setMin=function(e){this.ms=e},i.prototype.setMax=function(e){this.max=e},i.prototype.setJitter=function(e){this.jitter=e}},{}],33:[function(e,t,n){!function(){"use strict";for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=new Uint8Array(256),i=0;i<e.length;i++)t[e.charCodeAt(i)]=i;n.encode=function(t){var n,i=new Uint8Array(t),o=i.length,r="";for(n=0;n<o;n+=3)r+=e[i[n]>>2],r+=e[(3&i[n])<<4|i[n+1]>>4],r+=e[(15&i[n+1])<<2|i[n+2]>>6],r+=e[63&i[n+2]];return o%3==2?r=r.substring(0,r.length-1)+"=":o%3==1&&(r=r.substring(0,r.length-2)+"=="),r},n.decode=function(e){var n,i,o,r,a,s=.75*e.length,l=e.length,c=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var u=new ArrayBuffer(s),d=new Uint8Array(u);for(n=0;n<l;n+=4)i=t[e.charCodeAt(n)],o=t[e.charCodeAt(n+1)],r=t[e.charCodeAt(n+2)],a=t[e.charCodeAt(n+3)],d[c++]=i<<2|o>>4,d[c++]=(15&o)<<4|r>>2,d[c++]=(3&r)<<6|63&a;return u}}()},{}],34:[function(e,t,n){(function(e){var n=e.BlobBuilder||e.WebKitBlobBuilder||e.MSBlobBuilder||e.MozBlobBuilder,i=function(){try{return 2===new Blob(["hi"]).size}catch(e){return!1}}(),o=i&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(e){return!1}}(),r=n&&n.prototype.append&&n.prototype.getBlob;function a(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.buffer instanceof ArrayBuffer){var i=n.buffer;if(n.byteLength!==i.byteLength){var o=new Uint8Array(n.byteLength);o.set(new Uint8Array(i,n.byteOffset,n.byteLength)),i=o.buffer}e[t]=i}}}function s(e,t){t=t||{};var i=new n;a(e);for(var o=0;o<e.length;o++)i.append(e[o]);return t.type?i.getBlob(t.type):i.getBlob()}function l(e,t){return a(e),new Blob(e,t||{})}t.exports=i?o?e.Blob:l:r?s:void 0}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],35:[function(e,t,n){},{}],36:[function(e,t,n){(function(t){"use strict";var i=e("base64-js"),o=e("ieee754"),r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=t,n.SlowBuffer=function(e){+e!=e&&(e=0);return t.alloc(+e)},n.INSPECT_MAX_BYTES=50;var a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var n=new Uint8Array(e);return Object.setPrototypeOf(n,t.prototype),n}function t(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,t,n)}function l(e,n,i){if("string"==typeof e)return function(e,n){"string"==typeof n&&""!==n||(n="utf8");if(!t.isEncoding(n))throw new TypeError("Unknown encoding: "+n);var i=0|f(e,n),o=s(i),r=o.write(e,n);r!==i&&(o=o.slice(0,r));return o}(e,n);if(ArrayBuffer.isView(e))return d(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(R(e,ArrayBuffer)||e&&R(e.buffer,ArrayBuffer))return function(e,n,i){if(n<0||e.byteLength<n)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<n+(i||0))throw new RangeError('"length" is outside of buffer bounds');var o;o=void 0===n&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,n):new Uint8Array(e,n,i);return Object.setPrototypeOf(o,t.prototype),o}(e,n,i);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(null!=o&&o!==e)return t.from(o,n,i);var r=function(e){if(t.isBuffer(e)){var n=0|p(e.length),i=s(n);return 0===i.length?i:(e.copy(i,0,0,n),i)}if(void 0!==e.length)return"number"!=typeof e.length||z(e.length)?s(0):d(e);if("Buffer"===e.type&&Array.isArray(e.data))return d(e.data)}(e);if(r)return r;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return t.from(e[Symbol.toPrimitive]("string"),n,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return c(e),s(e<0?0:0|p(e))}function d(e){for(var t=e.length<0?0:0|p(e.length),n=s(t),i=0;i<t;i+=1)n[i]=255&e[i];return n}function p(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function f(e,n){if(t.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||R(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var i=e.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===i)return 0;for(var r=!1;;)switch(n){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return F(e).length;default:if(r)return o?-1:L(e).length;n=(""+n).toLowerCase(),r=!0}}function m(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function h(e,n,i,o,r){if(0===e.length)return-1;if("string"==typeof i?(o=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),z(i=+i)&&(i=r?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(r)return-1;i=e.length-1}else if(i<0){if(!r)return-1;i=0}if("string"==typeof n&&(n=t.from(n,o)),t.isBuffer(n))return 0===n.length?-1:g(e,n,i,o,r);if("number"==typeof n)return n&=255,"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,n,i):Uint8Array.prototype.lastIndexOf.call(e,n,i):g(e,[n],i,o,r);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,i,o){var r,a=1,s=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(r=n;r<s;r++)if(c(e,r)===c(t,-1===u?0:r-u)){if(-1===u&&(u=r),r-u+1===l)return u*a}else-1!==u&&(r-=r-u),u=-1}else for(n+l>s&&(n=s-l),r=n;r>=0;r--){for(var d=!0,p=0;p<l;p++)if(c(e,r+p)!==c(t,p)){d=!1;break}if(d)return r}return-1}function v(e,t,n,i){n=Number(n)||0;var o=e.length-n;i?(i=Number(i))>o&&(i=o):i=o;var r=t.length;i>r/2&&(i=r/2);for(var a=0;a<i;++a){var s=parseInt(t.substr(2*a,2),16);if(z(s))return a;e[n+a]=s}return a}function _(e,t,n,i){return D(L(t,e.length-n),e,n,i)}function b(e,t,n,i){return D(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,i)}function y(e,t,n,i){return b(e,t,n,i)}function w(e,t,n,i){return D(F(t),e,n,i)}function x(e,t,n,i){return D(function(e,t){for(var n,i,o,r=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),i=n>>8,o=n%256,r.push(o),r.push(i);return r}(t,e.length-n),e,n,i)}function k(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function A(e,t,n){n=Math.min(e.length,n);for(var i=[],o=t;o<n;){var r,a,s,l,c=e[o],u=null,d=c>239?4:c>223?3:c>191?2:1;if(o+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(r=e[o+1]))&&(l=(31&c)<<6|63&r)>127&&(u=l);break;case 3:r=e[o+1],a=e[o+2],128==(192&r)&&128==(192&a)&&(l=(15&c)<<12|(63&r)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:r=e[o+1],a=e[o+2],s=e[o+3],128==(192&r)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&r)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),o+=d}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",i=0;for(;i<t;)n+=String.fromCharCode.apply(String,e.slice(i,i+=C));return n}(i)}n.kMaxLength=a,t.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),t.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(t.prototype,"parent",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.buffer}}),Object.defineProperty(t.prototype,"offset",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&t[Symbol.species]===t&&Object.defineProperty(t,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),t.poolSize=8192,t.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(t.prototype,Uint8Array.prototype),Object.setPrototypeOf(t,Uint8Array),t.alloc=function(e,t,n){return function(e,t,n){return c(e),e<=0?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},t.allocUnsafe=function(e){return u(e)},t.allocUnsafeSlow=function(e){return u(e)},t.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==t.prototype},t.compare=function(e,n){if(R(e,Uint8Array)&&(e=t.from(e,e.offset,e.byteLength)),R(n,Uint8Array)&&(n=t.from(n,n.offset,n.byteLength)),!t.isBuffer(e)||!t.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===n)return 0;for(var i=e.length,o=n.length,r=0,a=Math.min(i,o);r<a;++r)if(e[r]!==n[r]){i=e[r],o=n[r];break}return i<o?-1:o<i?1:0},t.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},t.concat=function(e,n){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return t.alloc(0);var i;if(void 0===n)for(n=0,i=0;i<e.length;++i)n+=e[i].length;var o=t.allocUnsafe(n),r=0;for(i=0;i<e.length;++i){var a=e[i];if(R(a,Uint8Array)&&(a=t.from(a)),!t.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(o,r),r+=a.length}return o},t.byteLength=f,t.prototype._isBuffer=!0,t.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},t.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},t.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},t.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?A(this,0,e):function(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return A(this,t,n);case"ascii":return S(this,t,n);case"latin1":case"binary":return M(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}.apply(this,arguments)},t.prototype.toLocaleString=t.prototype.toString,t.prototype.equals=function(e){if(!t.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===t.compare(this,e)},t.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},r&&(t.prototype[r]=t.prototype.inspect),t.prototype.compare=function(e,n,i,o,r){if(R(e,Uint8Array)&&(e=t.from(e,e.offset,e.byteLength)),!t.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===n&&(n=0),void 0===i&&(i=e?e.length:0),void 0===o&&(o=0),void 0===r&&(r=this.length),n<0||i>e.length||o<0||r>this.length)throw new RangeError("out of range index");if(o>=r&&n>=i)return 0;if(o>=r)return-1;if(n>=i)return 1;if(this===e)return 0;for(var a=(r>>>=0)-(o>>>=0),s=(i>>>=0)-(n>>>=0),l=Math.min(a,s),c=this.slice(o,r),u=e.slice(n,i),d=0;d<l;++d)if(c[d]!==u[d]){a=c[d],s=u[d];break}return a<s?-1:s<a?1:0},t.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},t.prototype.indexOf=function(e,t,n){return h(this,e,t,n,!0)},t.prototype.lastIndexOf=function(e,t,n){return h(this,e,t,n,!1)},t.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var r=!1;;)switch(i){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return b(this,e,t,n);case"latin1":case"binary":return y(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(r)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),r=!0}},t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function S(e,t,n){var i="";n=Math.min(e.length,n);for(var o=t;o<n;++o)i+=String.fromCharCode(127&e[o]);return i}function M(e,t,n){var i="";n=Math.min(e.length,n);for(var o=t;o<n;++o)i+=String.fromCharCode(e[o]);return i}function P(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var o="",r=t;r<n;++r)o+=B[e[r]];return o}function O(e,t,n){for(var i=e.slice(t,n),o="",r=0;r<i.length;r+=2)o+=String.fromCharCode(i[r]+256*i[r+1]);return o}function T(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function E(e,n,i,o,r,a){if(!t.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>r||n<a)throw new RangeError('"value" argument is out of bounds');if(i+o>e.length)throw new RangeError("Index out of range")}function N(e,t,n,i,o,r){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function $(e,t,n,i,r){return t=+t,n>>>=0,r||N(e,0,n,4),o.write(e,t,n,i,23,4),n+4}function j(e,t,n,i,r){return t=+t,n>>>=0,r||N(e,0,n,8),o.write(e,t,n,i,52,8),n+8}t.prototype.slice=function(e,n){var i=this.length;(e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(n=void 0===n?i:~~n)<0?(n+=i)<0&&(n=0):n>i&&(n=i),n<e&&(n=e);var o=this.subarray(e,n);return Object.setPrototypeOf(o,t.prototype),o},t.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var i=this[e],o=1,r=0;++r<t&&(o*=256);)i+=this[e+r]*o;return i},t.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var i=this[e+--t],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;return i},t.prototype.readUInt8=function(e,t){return e>>>=0,t||T(e,1,this.length),this[e]},t.prototype.readUInt16LE=function(e,t){return e>>>=0,t||T(e,2,this.length),this[e]|this[e+1]<<8},t.prototype.readUInt16BE=function(e,t){return e>>>=0,t||T(e,2,this.length),this[e]<<8|this[e+1]},t.prototype.readUInt32LE=function(e,t){return e>>>=0,t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},t.prototype.readUInt32BE=function(e,t){return e>>>=0,t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},t.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var i=this[e],o=1,r=0;++r<t&&(o*=256);)i+=this[e+r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},t.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var i=t,o=1,r=this[e+--i];i>0&&(o*=256);)r+=this[e+--i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},t.prototype.readInt8=function(e,t){return e>>>=0,t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},t.prototype.readInt16LE=function(e,t){e>>>=0,t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt16BE=function(e,t){e>>>=0,t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt32LE=function(e,t){return e>>>=0,t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},t.prototype.readInt32BE=function(e,t){return e>>>=0,t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},t.prototype.readFloatLE=function(e,t){return e>>>=0,t||T(e,4,this.length),o.read(this,e,!0,23,4)},t.prototype.readFloatBE=function(e,t){return e>>>=0,t||T(e,4,this.length),o.read(this,e,!1,23,4)},t.prototype.readDoubleLE=function(e,t){return e>>>=0,t||T(e,8,this.length),o.read(this,e,!0,52,8)},t.prototype.readDoubleBE=function(e,t){return e>>>=0,t||T(e,8,this.length),o.read(this,e,!1,52,8)},t.prototype.writeUIntLE=function(e,t,n,i){(e=+e,t>>>=0,n>>>=0,i)||E(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,r=0;for(this[t]=255&e;++r<n&&(o*=256);)this[t+r]=e/o&255;return t+n},t.prototype.writeUIntBE=function(e,t,n,i){(e=+e,t>>>=0,n>>>=0,i)||E(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,r=1;for(this[t+o]=255&e;--o>=0&&(r*=256);)this[t+o]=e/r&255;return t+n},t.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,1,255,0),this[t]=255&e,t+1},t.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},t.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},t.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},t.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},t.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t>>>=0,!i){var o=Math.pow(2,8*n-1);E(this,e,t,n,o-1,-o)}var r=0,a=1,s=0;for(this[t]=255&e;++r<n&&(a*=256);)e<0&&0===s&&0!==this[t+r-1]&&(s=1),this[t+r]=(e/a>>0)-s&255;return t+n},t.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t>>>=0,!i){var o=Math.pow(2,8*n-1);E(this,e,t,n,o-1,-o)}var r=n-1,a=1,s=0;for(this[t+r]=255&e;--r>=0&&(a*=256);)e<0&&0===s&&0!==this[t+r+1]&&(s=1),this[t+r]=(e/a>>0)-s&255;return t+n},t.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},t.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},t.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},t.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},t.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},t.prototype.writeFloatLE=function(e,t,n){return $(this,e,t,!0,n)},t.prototype.writeFloatBE=function(e,t,n){return $(this,e,t,!1,n)},t.prototype.writeDoubleLE=function(e,t,n){return j(this,e,t,!0,n)},t.prototype.writeDoubleBE=function(e,t,n){return j(this,e,t,!1,n)},t.prototype.copy=function(e,n,i,o){if(!t.isBuffer(e))throw new TypeError("argument should be a Buffer");if(i||(i=0),o||0===o||(o=this.length),n>=e.length&&(n=e.length),n||(n=0),o>0&&o<i&&(o=i),o===i)return 0;if(0===e.length||0===this.length)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-n<o-i&&(o=e.length-n+i);var r=o-i;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(n,i,o);else if(this===e&&i<n&&n<o)for(var a=r-1;a>=0;--a)e[a+n]=this[a+i];else Uint8Array.prototype.set.call(e,this.subarray(i,o),n);return r},t.prototype.fill=function(e,n,i,o){if("string"==typeof e){if("string"==typeof n?(o=n,n=0,i=this.length):"string"==typeof i&&(o=i,i=this.length),void 0!==o&&"string"!=typeof o)throw new TypeError("encoding must be a string");if("string"==typeof o&&!t.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(1===e.length){var r=e.charCodeAt(0);("utf8"===o&&r<128||"latin1"===o)&&(e=r)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(n<0||this.length<n||this.length<i)throw new RangeError("Out of range index");if(i<=n)return this;var a;if(n>>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(a=n;a<i;++a)this[a]=e;else{var s=t.isBuffer(e)?e:t.from(e,o),l=s.length;if(0===l)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<i-n;++a)this[a+n]=s[a%l]}return this};var q=/[^+/0-9A-Za-z-_]/g;function L(e,t){var n;t=t||1/0;for(var i=e.length,o=null,r=[],a=0;a<i;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&r.push(239,191,189);continue}if(a+1===i){(t-=3)>-1&&r.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&r.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&r.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;r.push(n)}else if(n<2048){if((t-=2)<0)break;r.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;r.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return r}function F(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(q,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function D(e,t,n,i){for(var o=0;o<i&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function R(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function z(e){return e!=e}var B=function(){for(var e=new Array(256),t=0;t<16;++t)for(var n=16*t,i=0;i<16;++i)e[n+i]="0123456789abcdef"[t]+"0123456789abcdef"[i];return e}()}).call(this,e("buffer").Buffer)},{"base64-js":37,buffer:36,ieee754:69}],37:[function(e,t,n){"use strict";n.byteLength=function(e){var t=c(e),n=t[0],i=t[1];return 3*(n+i)/4-i},n.toByteArray=function(e){var t,n,i=c(e),a=i[0],s=i[1],l=new r(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),u=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===s&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,l[u++]=255&t);1===s&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},n.fromByteArray=function(e){for(var t,n=e.length,o=n%3,r=[],a=0,s=n-o;a<s;a+=16383)r.push(u(e,a,a+16383>s?s:a+16383));1===o?(t=e[n-1],r.push(i[t>>2]+i[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],r.push(i[t>>10]+i[t>>4&63]+i[t<<2&63]+"="));return r.join("")};for(var i=[],o=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)i[s]=a[s],o[a.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var o,r,a=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(i[(r=o)>>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},{}],38:[function(e,t,n){var i=[].slice;t.exports=function(e,t){if("string"==typeof t&&(t=e[t]),"function"!=typeof t)throw new Error("bind() requires a function");var n=i.call(arguments,2);return function(){return t.apply(e,n.concat(i.call(arguments)))}}},{}],39:[function(e,t,n){function i(e){if(e)return function(e){for(var t in i.prototype)e[t]=i.prototype[t];return e}(e)}void 0!==t&&(t.exports=i),i.prototype.on=i.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},i.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},i.prototype.off=i.prototype.removeListener=i.prototype.removeAllListeners=i.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks["$"+e];if(!i)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<i.length;o++)if((n=i[o])===t||n.fn===t){i.splice(o,1);break}return this},i.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n)for(var i=0,o=(n=n.slice(0)).length;i<o;++i)n[i].apply(this,t);return this},i.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},i.prototype.hasListeners=function(e){return!!this.listeners(e).length}},{}],40:[function(e,t,n){t.exports=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],41:[function(e,t,n){function i(e,t,n){var i,o,r,a,s;function l(){var c=Date.now()-a;c<t&&c>=0?i=setTimeout(l,t-c):(i=null,n||(s=e.apply(r,o),r=o=null))}null==t&&(t=100);var c=function(){r=this,o=arguments,a=Date.now();var c=n&&!i;return i||(i=setTimeout(l,t)),c&&(s=e.apply(r,o),r=o=null),s};return c.clear=function(){i&&(clearTimeout(i),i=null)},c.flush=function(){i&&(s=e.apply(r,o),r=o=null,clearTimeout(i),i=null)},c}i.debounce=i,t.exports=i},{}],42:[function(e,t,n){(function(i){function o(){var e;try{e=n.storage.debug}catch(e){}return!e&&void 0!==i&&"env"in i&&(e=i.env.DEBUG),e}(n=t.exports=e("./debug")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},n.formatArgs=function(e){var t=this.useColors;if(e[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+e[0]+(t?"%c ":" ")+"+"+n.humanize(this.diff),!t)return;var i="color: "+this.color;e.splice(1,0,i,"color: inherit");var o=0,r=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&"%c"===e&&(r=++o)}),e.splice(r,0,i)},n.save=function(e){try{null==e?n.storage.removeItem("debug"):n.storage.debug=e}catch(e){}},n.load=o,n.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),n.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],n.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},n.enable(o())}).call(this,e("_process"))},{"./debug":43,_process:113}],43:[function(e,t,n){function i(e){var t;function i(){if(i.enabled){var e=i,o=+new Date,r=o-(t||o);e.diff=r,e.prev=t,e.curr=o,t=o;for(var a=new Array(arguments.length),s=0;s<a.length;s++)a[s]=arguments[s];a[0]=n.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var l=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,function(t,i){if("%%"===t)return t;l++;var o=n.formatters[i];if("function"==typeof o){var r=a[l];t=o.call(e,r),a.splice(l,1),l--}return t}),n.formatArgs.call(e,a),(i.log||n.log||console.log.bind(console)).apply(e,a)}}return i.namespace=e,i.enabled=n.enabled(e),i.useColors=n.useColors(),i.color=function(e){var t,i=0;for(t in e)i=(i<<5)-i+e.charCodeAt(t),i|=0;return n.colors[Math.abs(i)%n.colors.length]}(e),i.destroy=o,"function"==typeof n.init&&n.init(i),n.instances.push(i),i}function o(){var e=n.instances.indexOf(this);return-1!==e&&(n.instances.splice(e,1),!0)}(n=t.exports=i.debug=i.default=i).coerce=function(e){return e instanceof Error?e.stack||e.message:e},n.disable=function(){n.enable("")},n.enable=function(e){var t;n.save(e),n.names=[],n.skips=[];var i=("string"==typeof e?e:"").split(/[\s,]+/),o=i.length;for(t=0;t<o;t++)i[t]&&("-"===(e=i[t].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")));for(t=0;t<n.instances.length;t++){var r=n.instances[t];r.enabled=n.enabled(r.namespace)}},n.enabled=function(e){if("*"===e[e.length-1])return!0;var t,i;for(t=0,i=n.skips.length;t<i;t++)if(n.skips[t].test(e))return!1;for(t=0,i=n.names.length;t<i;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=e("ms"),n.instances=[],n.names=[],n.skips=[],n.formatters={}},{ms:99}],44:[function(e,t,n){var i=e("object-keys"),o=e("is-arguments"),r=e("object-is"),a=e("is-regex"),s=e("regexp.prototype.flags"),l=e("is-date-object"),c=Date.prototype.getTime;function u(e,t,n){var f=n||{};return!(f.strict?!r(e,t):e!==t)||(!e||!t||"object"!=typeof e&&"object"!=typeof t?f.strict?r(e,t):e==t:function(e,t,n){var r,f;if(typeof e!=typeof t)return!1;if(d(e)||d(t))return!1;if(e.prototype!==t.prototype)return!1;if(o(e)!==o(t))return!1;var m=a(e),h=a(t);if(m!==h)return!1;if(m||h)return e.source===t.source&&s(e)===s(t);if(l(e)&&l(t))return c.call(e)===c.call(t);var g=p(e),v=p(t);if(g!==v)return!1;if(g||v){if(e.length!==t.length)return!1;for(r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}if(typeof e!=typeof t)return!1;try{var _=i(e),b=i(t)}catch(e){return!1}if(_.length!==b.length)return!1;for(_.sort(),b.sort(),r=_.length-1;r>=0;r--)if(_[r]!=b[r])return!1;for(r=_.length-1;r>=0;r--)if(f=_[r],!u(e[f],t[f],n))return!1;return!0}(e,t,f))}function d(e){return null==e}function p(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(e.length>0&&"number"!=typeof e[0]))}t.exports=u},{"is-arguments":72,"is-date-object":73,"is-regex":74,"object-is":100,"object-keys":46,"regexp.prototype.flags":119}],45:[function(e,t,n){"use strict";var i;if(!Object.keys){var o=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=e("./isArguments"),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call(function(){},"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();i=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===r.call(e),i=a(e),s=t&&"[object String]"===r.call(e),p=[];if(!t&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var m=c&&n;if(s&&e.length>0&&!o.call(e,0))for(var h=0;h<e.length;++h)p.push(String(h));if(i&&e.length>0)for(var g=0;g<e.length;++g)p.push(String(g));else for(var v in e)m&&"prototype"===v||!o.call(e,v)||p.push(String(v));if(l)for(var _=function(e){if("undefined"==typeof window||!f)return d(e);try{return d(e)}catch(e){return!1}}(e),b=0;b<u.length;++b)_&&"constructor"===u[b]||!o.call(e,u[b])||p.push(u[b]);return p}}t.exports=i},{"./isArguments":47}],46:[function(e,t,n){"use strict";var i=Array.prototype.slice,o=e("./isArguments"),r=Object.keys,a=r?function(e){return r(e)}:e("./implementation"),s=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?s(i.call(e)):s(e)}):Object.keys=a;return Object.keys||a},t.exports=a},{"./implementation":45,"./isArguments":47}],47:[function(e,t,n){"use strict";var i=Object.prototype.toString;t.exports=function(e){var t=i.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===i.call(e.callee)),n}},{}],48:[function(e,t,n){"use strict";var i=e("object-keys"),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),r=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,l=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),c=function(e,t,n,i){var o;t in e&&("function"!=typeof(o=i)||"[object Function]"!==r.call(o)||!i())||(l?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},r=i(t);o&&(r=a.call(r,Object.getOwnPropertySymbols(t)));for(var s=0;s<r.length;s+=1)c(e,r[s],t[r[s]],n[r[s]])};u.supportsDescriptors=!!l,t.exports=u},{"object-keys":102}],49:[function(e,t,n){t.exports=e("./socket"),t.exports.parser=e("engine.io-parser")},{"./socket":50,"engine.io-parser":58}],50:[function(e,t,n){(function(n){var i=e("./transports/index"),o=e("component-emitter"),r=e("debug")("engine.io-client:socket"),a=e("indexof"),s=e("engine.io-parser"),l=e("parseuri"),c=e("parseqs");function u(e,t){if(!(this instanceof u))return new u(e,t);t=t||{},e&&"object"==typeof e&&(t=e,e=null),e?(e=l(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=l(t.host).host),this.secure=null!=t.secure?t.secure:n.location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.agent=t.agent||!1,this.hostname=t.hostname||(n.location?location.hostname:"localhost"),this.port=t.port||(n.location&&location.port?location.port:this.secure?443:80),this.query=t.query||{},"string"==typeof this.query&&(this.query=c.decode(this.query)),this.upgrade=!1!==t.upgrade,this.path=(t.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!t.forceJSONP,this.jsonp=!1!==t.jsonp,this.forceBase64=!!t.forceBase64,this.enablesXDR=!!t.enablesXDR,this.timestampParam=t.timestampParam||"t",this.timestampRequests=t.timestampRequests,this.transports=t.transports||["polling","websocket"],this.transportOptions=t.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=t.policyPort||843,this.rememberUpgrade=t.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=t.onlyBinaryUpgrades,this.perMessageDeflate=!1!==t.perMessageDeflate&&(t.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=t.pfx||null,this.key=t.key||null,this.passphrase=t.passphrase||null,this.cert=t.cert||null,this.ca=t.ca||null,this.ciphers=t.ciphers||null,this.rejectUnauthorized=void 0===t.rejectUnauthorized||t.rejectUnauthorized,this.forceNode=!!t.forceNode;var i="object"==typeof n&&n;i.global===i&&(t.extraHeaders&&Object.keys(t.extraHeaders).length>0&&(this.extraHeaders=t.extraHeaders),t.localAddress&&(this.localAddress=t.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}t.exports=u,u.priorWebsocketSuccess=!1,o(u.prototype),u.protocol=s.protocol,u.Socket=u,u.Transport=e("./transport"),u.transports=e("./transports/index"),u.parser=e("engine.io-parser"),u.prototype.createTransport=function(e){r('creating transport "%s"',e);var t=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(this.query);t.EIO=s.protocol,t.transport=e;var n=this.transportOptions[e]||{};return this.id&&(t.sid=this.id),new i[e]({query:t,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0})},u.prototype.open=function(){var e;if(this.rememberUpgrade&&u.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length){var t=this;return void setTimeout(function(){t.emit("error","No transports available")},0)}e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)},u.prototype.setTransport=function(e){r("setting transport %s",e.name);var t=this;this.transport&&(r("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",function(){t.onDrain()}).on("packet",function(e){t.onPacket(e)}).on("error",function(e){t.onError(e)}).on("close",function(){t.onClose("transport close")})},u.prototype.probe=function(e){r('probing transport "%s"',e);var t=this.createTransport(e,{probe:1}),n=!1,i=this;function o(){if(i.onlyBinaryUpgrades){var o=!this.supportsBinary&&i.transport.supportsBinary;n=n||o}n||(r('probe transport "%s" opened',e),t.send([{type:"ping",data:"probe"}]),t.once("packet",function(o){if(!n)if("pong"===o.type&&"probe"===o.data){if(r('probe transport "%s" pong',e),i.upgrading=!0,i.emit("upgrading",t),!t)return;u.priorWebsocketSuccess="websocket"===t.name,r('pausing current transport "%s"',i.transport.name),i.transport.pause(function(){n||"closed"!==i.readyState&&(r("changing transport and sending upgrade packet"),p(),i.setTransport(t),t.send([{type:"upgrade"}]),i.emit("upgrade",t),t=null,i.upgrading=!1,i.flush())})}else{r('probe transport "%s" failed',e);var a=new Error("probe error");a.transport=t.name,i.emit("upgradeError",a)}}))}function a(){n||(n=!0,p(),t.close(),t=null)}function s(n){var o=new Error("probe error: "+n);o.transport=t.name,a(),r('probe transport "%s" failed because of error: %s',e,n),i.emit("upgradeError",o)}function l(){s("transport closed")}function c(){s("socket closed")}function d(e){t&&e.name!==t.name&&(r('"%s" works - aborting "%s"',e.name,t.name),a())}function p(){t.removeListener("open",o),t.removeListener("error",s),t.removeListener("close",l),i.removeListener("close",c),i.removeListener("upgrading",d)}u.priorWebsocketSuccess=!1,t.once("open",o),t.once("error",s),t.once("close",l),this.once("close",c),this.once("upgrading",d),t.open()},u.prototype.onOpen=function(){if(r("socket open"),this.readyState="open",u.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){r("starting upgrade probes");for(var e=0,t=this.upgrades.length;e<t;e++)this.probe(this.upgrades[e])}},u.prototype.onPacket=function(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(r('socket receive: type "%s", data "%s"',e.type,e.data),this.emit("packet",e),this.emit("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emit("data",e.data),this.emit("message",e.data)}else r('packet received with socket readyState "%s"',this.readyState)},u.prototype.onHandshake=function(e){this.emit("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.onOpen(),"closed"!==this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},u.prototype.onHeartbeat=function(e){clearTimeout(this.pingTimeoutTimer);var t=this;t.pingTimeoutTimer=setTimeout(function(){"closed"!==t.readyState&&t.onClose("ping timeout")},e||t.pingInterval+t.pingTimeout)},u.prototype.setPing=function(){var e=this;clearTimeout(e.pingIntervalTimer),e.pingIntervalTimer=setTimeout(function(){r("writing ping packet - expecting pong within %sms",e.pingTimeout),e.ping(),e.onHeartbeat(e.pingTimeout)},e.pingInterval)},u.prototype.ping=function(){var e=this;this.sendPacket("ping",function(){e.emit("ping")})},u.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()},u.prototype.flush=function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(r("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},u.prototype.write=u.prototype.send=function(e,t,n){return this.sendPacket("message",e,t,n),this},u.prototype.sendPacket=function(e,t,n,i){if("function"==typeof t&&(i=t,t=void 0),"function"==typeof n&&(i=n,n=null),"closing"!==this.readyState&&"closed"!==this.readyState){(n=n||{}).compress=!1!==n.compress;var o={type:e,data:t,options:n};this.emit("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}},u.prototype.close=function(){if("opening"===this.readyState||"open"===this.readyState){this.readyState="closing";var e=this;this.writeBuffer.length?this.once("drain",function(){this.upgrading?i():t()}):this.upgrading?i():t()}function t(){e.onClose("forced close"),r("socket closing - telling transport to close"),e.transport.close()}function n(){e.removeListener("upgrade",n),e.removeListener("upgradeError",n),t()}function i(){e.once("upgrade",n),e.once("upgradeError",n)}return this},u.prototype.onError=function(e){r("socket error %j",e),u.priorWebsocketSuccess=!1,this.emit("error",e),this.onClose("transport error",e)},u.prototype.onClose=function(e,t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){r('socket close with reason: "%s"',e);clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",e,t),this.writeBuffer=[],this.prevBufferLen=0}},u.prototype.filterUpgrades=function(e){for(var t=[],n=0,i=e.length;n<i;n++)~a(this.transports,e[n])&&t.push(e[n]);return t}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./transport":51,"./transports/index":52,"component-emitter":39,debug:42,"engine.io-parser":58,indexof:71,parseqs:108,parseuri:109}],51:[function(e,t,n){var i=e("engine.io-parser"),o=e("component-emitter");function r(e){this.path=e.path,this.hostname=e.hostname,this.port=e.port,this.secure=e.secure,this.query=e.query,this.timestampParam=e.timestampParam,this.timestampRequests=e.timestampRequests,this.readyState="",this.agent=e.agent||!1,this.socket=e.socket,this.enablesXDR=e.enablesXDR,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.forceNode=e.forceNode,this.extraHeaders=e.extraHeaders,this.localAddress=e.localAddress}t.exports=r,o(r.prototype),r.prototype.onError=function(e,t){var n=new Error(e);return n.type="TransportError",n.description=t,this.emit("error",n),this},r.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},r.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},r.prototype.send=function(e){if("open"!==this.readyState)throw new Error("Transport not open");this.write(e)},r.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},r.prototype.onData=function(e){var t=i.decodePacket(e,this.socket.binaryType);this.onPacket(t)},r.prototype.onPacket=function(e){this.emit("packet",e)},r.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},{"component-emitter":39,"engine.io-parser":58}],52:[function(e,t,n){(function(t){var i=e("xmlhttprequest-ssl"),o=e("./polling-xhr"),r=e("./polling-jsonp"),a=e("./websocket");n.polling=function(e){var n=!1,a=!1,s=!1!==e.jsonp;if(t.location){var l="https:"===location.protocol,c=location.port;c||(c=l?443:80),n=e.hostname!==location.hostname||c!==e.port,a=e.secure!==l}if(e.xdomain=n,e.xscheme=a,"open"in new i(e)&&!e.forceJSONP)return new o(e);if(!s)throw new Error("JSONP disabled");return new r(e)},n.websocket=a}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./polling-jsonp":53,"./polling-xhr":54,"./websocket":56,"xmlhttprequest-ssl":57}],53:[function(e,t,n){(function(n){var i=e("./polling"),o=e("component-inherit");t.exports=c;var r,a=/\n/g,s=/\\n/g;function l(){}function c(e){i.call(this,e),this.query=this.query||{},r||(n.___eio||(n.___eio=[]),r=n.___eio),this.index=r.length;var t=this;r.push(function(e){t.onData(e)}),this.query.j=this.index,n.document&&n.addEventListener&&n.addEventListener("beforeunload",function(){t.script&&(t.script.onerror=l)},!1)}o(c,i),c.prototype.supportsBinary=!1,c.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),i.prototype.doClose.call(this)},c.prototype.doPoll=function(){var e=this,t=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),t.async=!0,t.src=this.uri(),t.onerror=function(t){e.onError("jsonp poll error",t)};var n=document.getElementsByTagName("script")[0];n?n.parentNode.insertBefore(t,n):(document.head||document.body).appendChild(t),this.script=t,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout(function(){var e=document.createElement("iframe");document.body.appendChild(e),document.body.removeChild(e)},100)},c.prototype.doWrite=function(e,t){var n=this;if(!this.form){var i,o=document.createElement("form"),r=document.createElement("textarea"),l=this.iframeId="eio_iframe_"+this.index;o.className="socketio",o.style.position="absolute",o.style.top="-1000px",o.style.left="-1000px",o.target=l,o.method="POST",o.setAttribute("accept-charset","utf-8"),r.name="d",o.appendChild(r),document.body.appendChild(o),this.form=o,this.area=r}function c(){u(),t()}function u(){if(n.iframe)try{n.form.removeChild(n.iframe)}catch(e){n.onError("jsonp polling iframe removal error",e)}try{var e='<iframe src="javascript:0" name="'+n.iframeId+'">';i=document.createElement(e)}catch(e){(i=document.createElement("iframe")).name=n.iframeId,i.src="javascript:0"}i.id=n.iframeId,n.form.appendChild(i),n.iframe=i}this.form.action=this.uri(),u(),e=e.replace(s,"\\\n"),this.area.value=e.replace(a,"\\n");try{this.form.submit()}catch(e){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===n.iframe.readyState&&c()}:this.iframe.onload=c}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./polling":55,"component-inherit":40}],54:[function(e,t,n){(function(n){var i=e("xmlhttprequest-ssl"),o=e("./polling"),r=e("component-emitter"),a=e("component-inherit"),s=e("debug")("engine.io-client:polling-xhr");function l(){}function c(e){if(o.call(this,e),this.requestTimeout=e.requestTimeout,this.extraHeaders=e.extraHeaders,n.location){var t="https:"===location.protocol,i=location.port;i||(i=t?443:80),this.xd=e.hostname!==n.location.hostname||i!==e.port,this.xs=e.secure!==t}}function u(e){this.method=e.method||"GET",this.uri=e.uri,this.xd=!!e.xd,this.xs=!!e.xs,this.async=!1!==e.async,this.data=void 0!==e.data?e.data:null,this.agent=e.agent,this.isBinary=e.isBinary,this.supportsBinary=e.supportsBinary,this.enablesXDR=e.enablesXDR,this.requestTimeout=e.requestTimeout,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.extraHeaders=e.extraHeaders,this.create()}function d(){for(var e in u.requests)u.requests.hasOwnProperty(e)&&u.requests[e].abort()}t.exports=c,t.exports.Request=u,a(c,o),c.prototype.supportsBinary=!0,c.prototype.request=function(e){return(e=e||{}).uri=this.uri(),e.xd=this.xd,e.xs=this.xs,e.agent=this.agent||!1,e.supportsBinary=this.supportsBinary,e.enablesXDR=this.enablesXDR,e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized,e.requestTimeout=this.requestTimeout,e.extraHeaders=this.extraHeaders,new u(e)},c.prototype.doWrite=function(e,t){var n="string"!=typeof e&&void 0!==e,i=this.request({method:"POST",data:e,isBinary:n}),o=this;i.on("success",t),i.on("error",function(e){o.onError("xhr post error",e)}),this.sendXhr=i},c.prototype.doPoll=function(){s("xhr poll");var e=this.request(),t=this;e.on("data",function(e){t.onData(e)}),e.on("error",function(e){t.onError("xhr poll error",e)}),this.pollXhr=e},r(u.prototype),u.prototype.create=function(){var e={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized;var t=this.xhr=new i(e),o=this;try{s("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var r in t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(r)&&t.setRequestHeader(r,this.extraHeaders[r])}catch(e){}if("POST"===this.method)try{this.isBinary?t.setRequestHeader("Content-type","application/octet-stream"):t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{t.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in t&&(t.withCredentials=!0),this.requestTimeout&&(t.timeout=this.requestTimeout),this.hasXDR()?(t.onload=function(){o.onLoad()},t.onerror=function(){o.onError(t.responseText)}):t.onreadystatechange=function(){if(2===t.readyState)try{var e=t.getResponseHeader("Content-Type");o.supportsBinary&&"application/octet-stream"===e&&(t.responseType="arraybuffer")}catch(e){}4===t.readyState&&(200===t.status||1223===t.status?o.onLoad():setTimeout(function(){o.onError(t.status)},0))},s("xhr data %s",this.data),t.send(this.data)}catch(e){return void setTimeout(function(){o.onError(e)},0)}n.document&&(this.index=u.requestsCount++,u.requests[this.index]=this)},u.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},u.prototype.onData=function(e){this.emit("data",e),this.onSuccess()},u.prototype.onError=function(e){this.emit("error",e),this.cleanup(!0)},u.prototype.cleanup=function(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=l:this.xhr.onreadystatechange=l,e)try{this.xhr.abort()}catch(e){}n.document&&delete u.requests[this.index],this.xhr=null}},u.prototype.onLoad=function(){var e;try{var t;try{t=this.xhr.getResponseHeader("Content-Type")}catch(e){}e="application/octet-stream"===t&&this.xhr.response||this.xhr.responseText}catch(e){this.onError(e)}null!=e&&this.onData(e)},u.prototype.hasXDR=function(){return void 0!==n.XDomainRequest&&!this.xs&&this.enablesXDR},u.prototype.abort=function(){this.cleanup()},u.requestsCount=0,u.requests={},n.document&&(n.attachEvent?n.attachEvent("onunload",d):n.addEventListener&&n.addEventListener("beforeunload",d,!1))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./polling":55,"component-emitter":39,"component-inherit":40,debug:42,"xmlhttprequest-ssl":57}],55:[function(e,t,n){var i=e("../transport"),o=e("parseqs"),r=e("engine.io-parser"),a=e("component-inherit"),s=e("yeast"),l=e("debug")("engine.io-client:polling");t.exports=u;var c=null!=new(e("xmlhttprequest-ssl"))({xdomain:!1}).responseType;function u(e){var t=e&&e.forceBase64;c&&!t||(this.supportsBinary=!1),i.call(this,e)}a(u,i),u.prototype.name="polling",u.prototype.doOpen=function(){this.poll()},u.prototype.pause=function(e){var t=this;function n(){l("paused"),t.readyState="paused",e()}if(this.readyState="pausing",this.polling||!this.writable){var i=0;this.polling&&(l("we are currently polling - waiting to pause"),i++,this.once("pollComplete",function(){l("pre-pause polling complete"),--i||n()})),this.writable||(l("we are currently writing - waiting to pause"),i++,this.once("drain",function(){l("pre-pause writing complete"),--i||n()}))}else n()},u.prototype.poll=function(){l("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},u.prototype.onData=function(e){var t=this;l("polling got data %s",e);r.decodePayload(e,this.socket.binaryType,function(e,n,i){if("opening"===t.readyState&&t.onOpen(),"close"===e.type)return t.onClose(),!1;t.onPacket(e)}),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():l('ignoring poll - transport state "%s"',this.readyState))},u.prototype.doClose=function(){var e=this;function t(){l("writing close packet"),e.write([{type:"close"}])}"open"===this.readyState?(l("transport open - closing"),t()):(l("transport not open - deferring close"),this.once("open",t))},u.prototype.write=function(e){var t=this;this.writable=!1;var n=function(){t.writable=!0,t.emit("drain")};r.encodePayload(e,this.supportsBinary,function(e){t.doWrite(e,n)})},u.prototype.uri=function(){var e=this.query||{},t=this.secure?"https":"http",n="";return!1!==this.timestampRequests&&(e[this.timestampParam]=s()),this.supportsBinary||e.sid||(e.b64=1),e=o.encode(e),this.port&&("https"===t&&443!==Number(this.port)||"http"===t&&80!==Number(this.port))&&(n=":"+this.port),e.length&&(e="?"+e),t+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+e}},{"../transport":51,"component-inherit":40,debug:42,"engine.io-parser":58,parseqs:108,"xmlhttprequest-ssl":57,yeast:192}],56:[function(e,t,n){(function(n){var i,o=e("../transport"),r=e("engine.io-parser"),a=e("parseqs"),s=e("component-inherit"),l=e("yeast"),c=e("debug")("engine.io-client:websocket"),u=n.WebSocket||n.MozWebSocket;if("undefined"==typeof window)try{i=e("ws")}catch(e){}var d=u;function p(e){e&&e.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=e.perMessageDeflate,this.usingBrowserWebSocket=u&&!e.forceNode,this.protocols=e.protocols,this.usingBrowserWebSocket||(d=i),o.call(this,e)}d||"undefined"!=typeof window||(d=i),t.exports=p,s(p,o),p.prototype.name="websocket",p.prototype.supportsBinary=!0,p.prototype.doOpen=function(){if(this.check()){var e=this.uri(),t=this.protocols,n={agent:this.agent,perMessageDeflate:this.perMessageDeflate};n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized,this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket?t?new d(e,t):new d(e):new d(e,t,n)}catch(e){return this.emit("error",e)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},p.prototype.addEventListeners=function(){var e=this;this.ws.onopen=function(){e.onOpen()},this.ws.onclose=function(){e.onClose()},this.ws.onmessage=function(t){e.onData(t.data)},this.ws.onerror=function(t){e.onError("websocket error",t)}},p.prototype.write=function(e){var t=this;this.writable=!1;for(var i=e.length,o=0,a=i;o<a;o++)!function(e){r.encodePacket(e,t.supportsBinary,function(o){if(!t.usingBrowserWebSocket){var r={};if(e.options&&(r.compress=e.options.compress),t.perMessageDeflate)("string"==typeof o?n.Buffer.byteLength(o):o.length)<t.perMessageDeflate.threshold&&(r.compress=!1)}try{t.usingBrowserWebSocket?t.ws.send(o):t.ws.send(o,r)}catch(e){c("websocket closed before onclose event")}--i||s()})}(e[o]);function s(){t.emit("flush"),setTimeout(function(){t.writable=!0,t.emit("drain")},0)}},p.prototype.onClose=function(){o.prototype.onClose.call(this)},p.prototype.doClose=function(){void 0!==this.ws&&this.ws.close()},p.prototype.uri=function(){var e=this.query||{},t=this.secure?"wss":"ws",n="";return this.port&&("wss"===t&&443!==Number(this.port)||"ws"===t&&80!==Number(this.port))&&(n=":"+this.port),this.timestampRequests&&(e[this.timestampParam]=l()),this.supportsBinary||(e.b64=1),(e=a.encode(e)).length&&(e="?"+e),t+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+e},p.prototype.check=function(){return!(!d||"__initialize"in d&&this.name===p.prototype.name)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../transport":51,"component-inherit":40,debug:42,"engine.io-parser":58,parseqs:108,ws:35,yeast:192}],57:[function(e,t,n){(function(n){var i=e("has-cors");t.exports=function(e){var t=e.xdomain,o=e.xscheme,r=e.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!t||i))return new XMLHttpRequest}catch(e){}try{if("undefined"!=typeof XDomainRequest&&!o&&r)return new XDomainRequest}catch(e){}if(!t)try{return new(n[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(e){}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"has-cors":67}],58:[function(e,t,n){(function(t){var i,o=e("./keys"),r=e("has-binary2"),a=e("arraybuffer.slice"),s=e("after"),l=e("./utf8");t&&t.ArrayBuffer&&(i=e("base64-arraybuffer"));var c="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),u="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),d=c||u;n.protocol=3;var p=n.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},f=o(p),m={type:"error",data:"parser error"},h=e("blob");function g(e,t,n){for(var i=new Array(e.length),o=s(e.length,n),r=function(e,n,o){t(n,function(t,n){i[e]=n,o(t,i)})},a=0;a<e.length;a++)r(a,e[a],o)}n.encodePacket=function(e,i,o,r){"function"==typeof i&&(r=i,i=!1),"function"==typeof o&&(r=o,o=null);var a=void 0===e.data?void 0:e.data.buffer||e.data;if(t.ArrayBuffer&&a instanceof ArrayBuffer)return function(e,t,i){if(!t)return n.encodeBase64Packet(e,i);var o=e.data,r=new Uint8Array(o),a=new Uint8Array(1+o.byteLength);a[0]=p[e.type];for(var s=0;s<r.length;s++)a[s+1]=r[s];return i(a.buffer)}(e,i,r);if(h&&a instanceof t.Blob)return function(e,t,i){if(!t)return n.encodeBase64Packet(e,i);if(d)return function(e,t,i){if(!t)return n.encodeBase64Packet(e,i);var o=new FileReader;return o.onload=function(){e.data=o.result,n.encodePacket(e,t,!0,i)},o.readAsArrayBuffer(e.data)}(e,t,i);var o=new Uint8Array(1);o[0]=p[e.type];var r=new h([o.buffer,e.data]);return i(r)}(e,i,r);if(a&&a.base64)return function(e,t){var i="b"+n.packets[e.type]+e.data.data;return t(i)}(e,r);var s=p[e.type];return void 0!==e.data&&(s+=o?l.encode(String(e.data),{strict:!1}):String(e.data)),r(""+s)},n.encodeBase64Packet=function(e,i){var o,r="b"+n.packets[e.type];if(h&&e.data instanceof t.Blob){var a=new FileReader;return a.onload=function(){var e=a.result.split(",")[1];i(r+e)},a.readAsDataURL(e.data)}try{o=String.fromCharCode.apply(null,new Uint8Array(e.data))}catch(t){for(var s=new Uint8Array(e.data),l=new Array(s.length),c=0;c<s.length;c++)l[c]=s[c];o=String.fromCharCode.apply(null,l)}return r+=t.btoa(o),i(r)},n.decodePacket=function(e,t,i){if(void 0===e)return m;if("string"==typeof e){if("b"===e.charAt(0))return n.decodeBase64Packet(e.substr(1),t);if(i&&!1===(e=function(e){try{e=l.decode(e,{strict:!1})}catch(e){return!1}return e}(e)))return m;var o=e.charAt(0);return Number(o)==o&&f[o]?e.length>1?{type:f[o],data:e.substring(1)}:{type:f[o]}:m}o=new Uint8Array(e)[0];var r=a(e,1);return h&&"blob"===t&&(r=new h([r])),{type:f[o],data:r}},n.decodeBase64Packet=function(e,t){var n=f[e.charAt(0)];if(!i)return{type:n,data:{base64:!0,data:e.substr(1)}};var o=i.decode(e.substr(1));return"blob"===t&&h&&(o=new h([o])),{type:n,data:o}},n.encodePayload=function(e,t,i){"function"==typeof t&&(i=t,t=null);var o=r(e);if(t&&o)return h&&!d?n.encodePayloadAsBlob(e,i):n.encodePayloadAsArrayBuffer(e,i);if(!e.length)return i("0:");g(e,function(e,i){n.encodePacket(e,!!o&&t,!1,function(e){i(null,function(e){return e.length+":"+e}(e))})},function(e,t){return i(t.join(""))})},n.decodePayload=function(e,t,i){if("string"!=typeof e)return n.decodePayloadAsBinary(e,t,i);var o;if("function"==typeof t&&(i=t,t=null),""===e)return i(m,0,1);for(var r,a,s="",l=0,c=e.length;l<c;l++){var u=e.charAt(l);if(":"===u){if(""===s||s!=(r=Number(s)))return i(m,0,1);if(s!=(a=e.substr(l+1,r)).length)return i(m,0,1);if(a.length){if(o=n.decodePacket(a,t,!1),m.type===o.type&&m.data===o.data)return i(m,0,1);if(!1===i(o,l+r,c))return}l+=r,s=""}else s+=u}return""!==s?i(m,0,1):void 0},n.encodePayloadAsArrayBuffer=function(e,t){if(!e.length)return t(new ArrayBuffer(0));g(e,function(e,t){n.encodePacket(e,!0,!0,function(e){return t(null,e)})},function(e,n){var i=n.reduce(function(e,t){var n;return e+(n="string"==typeof t?t.length:t.byteLength).toString().length+n+2},0),o=new Uint8Array(i),r=0;return n.forEach(function(e){var t="string"==typeof e,n=e;if(t){for(var i=new Uint8Array(e.length),a=0;a<e.length;a++)i[a]=e.charCodeAt(a);n=i.buffer}o[r++]=t?0:1;var s=n.byteLength.toString();for(a=0;a<s.length;a++)o[r++]=parseInt(s[a]);o[r++]=255;for(i=new Uint8Array(n),a=0;a<i.length;a++)o[r++]=i[a]}),t(o.buffer)})},n.encodePayloadAsBlob=function(e,t){g(e,function(e,t){n.encodePacket(e,!0,!0,function(e){var n=new Uint8Array(1);if(n[0]=1,"string"==typeof e){for(var i=new Uint8Array(e.length),o=0;o<e.length;o++)i[o]=e.charCodeAt(o);e=i.buffer,n[0]=0}var r=(e instanceof ArrayBuffer?e.byteLength:e.size).toString(),a=new Uint8Array(r.length+1);for(o=0;o<r.length;o++)a[o]=parseInt(r[o]);if(a[r.length]=255,h){var s=new h([n.buffer,a.buffer,e]);t(null,s)}})},function(e,n){return t(new h(n))})},n.decodePayloadAsBinary=function(e,t,i){"function"==typeof t&&(i=t,t=null);for(var o=e,r=[];o.byteLength>0;){for(var s=new Uint8Array(o),l=0===s[0],c="",u=1;255!==s[u];u++){if(c.length>310)return i(m,0,1);c+=s[u]}o=a(o,2+c.length),c=parseInt(c);var d=a(o,0,c);if(l)try{d=String.fromCharCode.apply(null,new Uint8Array(d))}catch(e){var p=new Uint8Array(d);d="";for(u=0;u<p.length;u++)d+=String.fromCharCode(p[u])}r.push(d),o=a(o,c)}var f=r.length;r.forEach(function(e,o){i(n.decodePacket(e,t,!0),o,f)})}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./keys":59,"./utf8":60,after:3,"arraybuffer.slice":5,"base64-arraybuffer":33,blob:34,"has-binary2":65}],59:[function(e,t,n){t.exports=Object.keys||function(e){var t=[],n=Object.prototype.hasOwnProperty;for(var i in e)n.call(e,i)&&t.push(i);return t}},{}],60:[function(e,t,n){(function(e){!function(i){var o="object"==typeof n&&n,r="object"==typeof t&&t&&t.exports==o&&t,a="object"==typeof e&&e;a.global!==a&&a.window!==a||(i=a);var s,l,c,u=String.fromCharCode;function d(e){for(var t,n,i=[],o=0,r=e.length;o<r;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<r?56320==(64512&(n=e.charCodeAt(o++)))?i.push(((1023&t)<<10)+(1023&n)+65536):(i.push(t),o--):i.push(t);return i}function p(e,t){if(e>=55296&&e<=57343){if(t)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function f(e,t){return u(e>>t&63|128)}function m(e,t){if(0==(4294967168&e))return u(e);var n="";return 0==(4294965248&e)?n=u(e>>6&31|192):0==(4294901760&e)?(p(e,t)||(e=65533),n=u(e>>12&15|224),n+=f(e,6)):0==(4292870144&e)&&(n=u(e>>18&7|240),n+=f(e,12),n+=f(e,6)),n+=u(63&e|128)}function h(){if(c>=l)throw Error("Invalid byte index");var e=255&s[c];if(c++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function g(e){var t,n;if(c>l)throw Error("Invalid byte index");if(c==l)return!1;if(t=255&s[c],c++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|h())>=128)return n;throw Error("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|h()<<6|h())>=2048)return p(n,e)?n:65533;throw Error("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|h()<<12|h()<<6|h())>=65536&&n<=1114111)return n;throw Error("Invalid UTF-8 detected")}var v={version:"2.1.2",encode:function(e,t){for(var n=!1!==(t=t||{}).strict,i=d(e),o=i.length,r=-1,a="";++r<o;)a+=m(i[r],n);return a},decode:function(e,t){var n=!1!==(t=t||{}).strict;s=d(e),l=s.length,c=0;for(var i,o=[];!1!==(i=g(n));)o.push(i);return function(e){for(var t,n=e.length,i=-1,o="";++i<n;)(t=e[i])>65535&&(o+=u((t-=65536)>>>10&1023|55296),t=56320|1023&t),o+=u(t);return o}(o)}};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)define(function(){return v});else if(o&&!o.nodeType)if(r)r.exports=v;else{var _={}.hasOwnProperty;for(var b in v)_.call(v,b)&&(o[b]=v[b])}else i.utf8=v}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],61:[function(e,t,n){var i=Object.create||function(e){var t=function(){};return t.prototype=e,new t},o=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return n},r=Function.prototype.bind||function(e){var t=this;return function(){return t.apply(e,arguments)}};function a(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=i(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}t.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._maxListeners=void 0;var s,l=10;try{var c={};Object.defineProperty&&Object.defineProperty(c,"x",{value:0}),s=0===c.x}catch(e){s=!1}function u(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function d(e,t,n,o){var r,a,s;if("function"!=typeof n)throw new TypeError('"listener" argument must be a function');if((a=e._events)?(a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),s=a[t]):(a=e._events=i(null),e._eventsCount=0),s){if("function"==typeof s?s=a[t]=o?[n,s]:[s,n]:o?s.unshift(n):s.push(n),!s.warned&&(r=u(e))&&r>0&&s.length>r){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+' "'+String(t)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",l.name,l.message)}}else s=a[t]=n,++e._eventsCount;return e}function p(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var e=new Array(arguments.length),t=0;t<e.length;++t)e[t]=arguments[t];this.listener.apply(this.target,e)}}function f(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=r.call(p,i);return o.listener=n,i.wrapFn=o,o}function m(e,t,n){var i=e._events;if(!i)return[];var o=i[t];return o?"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):g(o,o.length):[]}function h(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function g(e,t){for(var n=new Array(t),i=0;i<t;++i)n[i]=e[i];return n}s?Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||e!=e)throw new TypeError('"defaultMaxListeners" must be a positive number');l=e}}):a.defaultMaxListeners=l,a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return u(this)},a.prototype.emit=function(e){var t,n,i,o,r,a,s="error"===e;if(a=this._events)s=s&&null==a.error;else if(!s)return!1;if(s){if(arguments.length>1&&(t=arguments[1]),t instanceof Error)throw t;var l=new Error('Unhandled "error" event. ('+t+")");throw l.context=t,l}if(!(n=a[e]))return!1;var c="function"==typeof n;switch(i=arguments.length){case 1:!function(e,t,n){if(t)e.call(n);else for(var i=e.length,o=g(e,i),r=0;r<i;++r)o[r].call(n)}(n,c,this);break;case 2:!function(e,t,n,i){if(t)e.call(n,i);else for(var o=e.length,r=g(e,o),a=0;a<o;++a)r[a].call(n,i)}(n,c,this,arguments[1]);break;case 3:!function(e,t,n,i,o){if(t)e.call(n,i,o);else for(var r=e.length,a=g(e,r),s=0;s<r;++s)a[s].call(n,i,o)}(n,c,this,arguments[1],arguments[2]);break;case 4:!function(e,t,n,i,o,r){if(t)e.call(n,i,o,r);else for(var a=e.length,s=g(e,a),l=0;l<a;++l)s[l].call(n,i,o,r)}(n,c,this,arguments[1],arguments[2],arguments[3]);break;default:for(o=new Array(i-1),r=1;r<i;r++)o[r-1]=arguments[r];!function(e,t,n,i){if(t)e.apply(n,i);else for(var o=e.length,r=g(e,o),a=0;a<o;++a)r[a].apply(n,i)}(n,c,this,o)}return!0},a.prototype.addListener=function(e,t){return d(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return d(this,e,t,!0)},a.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,f(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,f(this,e,t)),this},a.prototype.removeListener=function(e,t){var n,o,r,a,s;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(o=this._events))return this;if(!(n=o[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=i(null):(delete o[e],o.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(r=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){s=n[a].listener,r=a;break}if(r<0)return this;0===r?n.shift():function(e,t){for(var n=t,i=n+1,o=e.length;i<o;n+=1,i+=1)e[n]=e[i];e.pop()}(n,r),1===n.length&&(o[e]=n[0]),o.removeListener&&this.emit("removeListener",e,s||t)}return this},a.prototype.removeAllListeners=function(e){var t,n,r;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=i(null),this._eventsCount=0):n[e]&&(0==--this._eventsCount?this._events=i(null):delete n[e]),this;if(0===arguments.length){var a,s=o(n);for(r=0;r<s.length;++r)"removeListener"!==(a=s[r])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=i(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},a.prototype.listeners=function(e){return m(this,e,!0)},a.prototype.rawListeners=function(e){return m(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},a.prototype.listenerCount=h,a.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},{}],62:[function(e,t,n){"use strict";var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===o.call(e)},l=function(e){if(!e||"[object Object]"!==o.call(e))return!1;var t,n=i.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&i.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||i.call(e,t)},c=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,t){if("__proto__"===t){if(!i.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,i,o,r,a,d=arguments[0],p=1,f=arguments.length,m=!1;for("boolean"==typeof d&&(m=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(n in t)i=u(d,n),d!==(o=u(t,n))&&(m&&o&&(l(o)||(r=s(o)))?(r?(r=!1,a=i&&s(i)?i:[]):a=i&&l(i)?i:{},c(d,{name:n,newValue:e(m,a,o)})):void 0!==o&&c(d,{name:n,newValue:o}));return d}},{}],63:[function(e,t,n){"use strict";var i=Array.prototype.slice,o=Object.prototype.toString;t.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==o.call(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,r=i.call(arguments,1),a=Math.max(0,t.length-r.length),s=[],l=0;l<a;l++)s.push("$"+l);if(n=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof n){var o=t.apply(this,r.concat(i.call(arguments)));return Object(o)===o?o:this}return t.apply(e,r.concat(i.call(arguments)))}),t.prototype){var c=function(){};c.prototype=t.prototype,n.prototype=new c,c.prototype=null}return n}},{}],64:[function(e,t,n){"use strict";var i=e("./implementation");t.exports=Function.prototype.bind||i},{"./implementation":63}],65:[function(e,t,n){(function(n){var i=e("isarray"),o=Object.prototype.toString,r="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===o.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===o.call(File);t.exports=function e(t){if(!t||"object"!=typeof t)return!1;if(i(t)){for(var o=0,s=t.length;o<s;o++)if(e(t[o]))return!0;return!1}if("function"==typeof n&&n.isBuffer&&n.isBuffer(t)||"function"==typeof ArrayBuffer&&t instanceof ArrayBuffer||r&&t instanceof Blob||a&&t instanceof File)return!0;if(t.toJSON&&"function"==typeof t.toJSON&&1===arguments.length)return e(t.toJSON(),!0);for(var l in t)if(Object.prototype.hasOwnProperty.call(t,l)&&e(t[l]))return!0;return!1}}).call(this,e("buffer").Buffer)},{buffer:36,isarray:66}],66:[function(e,t,n){var i={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},{}],67:[function(e,t,n){try{t.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(e){t.exports=!1}},{}],68:[function(e,t,n){"use strict";var i=e("function-bind");t.exports=i.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":64}],69:[function(e,t,n){n.read=function(e,t,n,i,o){var r,a,s=8*o-i-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?o-1:0,p=n?-1:1,f=e[t+d];for(d+=p,r=f&(1<<-u)-1,f>>=-u,u+=s;u>0;r=256*r+e[t+d],d+=p,u-=8);for(a=r&(1<<-u)-1,r>>=-u,u+=i;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===r)r=1-c;else{if(r===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,i),r-=c}return(f?-1:1)*a*Math.pow(2,r-i)},n.write=function(e,t,n,i,o,r){var a,s,l,c=8*r-o-1,u=(1<<c)-1,d=u>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:r-1,m=i?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[n+f]=255&s,f+=m,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[n+f]=255&a,f+=m,a/=256,c-=8);e[n+f-m]|=128*h}},{}],70:[function(e,t,n){!function(){"use strict";function e(){var e=this;this.versionnumber="1.2.5",this.imageToSVG=function(t,n,i){i=e.checkoptions(i),e.loadImage(t,function(t){n(e.imagedataToSVG(e.getImgdata(t),i))},i)},this.imagedataToSVG=function(t,n){n=e.checkoptions(n);var i=e.imagedataToTracedata(t,n);return e.getsvgstring(i,n)},this.imageToTracedata=function(t,n,i){i=e.checkoptions(i),e.loadImage(t,function(t){n(e.imagedataToTracedata(e.getImgdata(t),i))},i)},this.imagedataToTracedata=function(t,n){n=e.checkoptions(n);var i=e.colorquantization(t,n);if(0===n.layering)for(var o={layers:[],palette:i.palette,width:i.array[0].length-2,height:i.array.length-2},r=0;r<i.palette.length;r++){var a=e.batchtracepaths(e.internodes(e.pathscan(e.layeringstep(i,r),n.pathomit),n),n.ltres,n.qtres);o.layers.push(a)}else{var s=e.layering(i);n.layercontainerid&&e.drawLayers(s,e.specpalette,n.scale,n.layercontainerid);var l=e.batchpathscan(s,n.pathomit),c=e.batchinternodes(l,n);o={layers:e.batchtracelayers(c,n.ltres,n.qtres),palette:i.palette,width:t.width,height:t.height}}return o},this.optionpresets={default:{corsenabled:!1,ltres:1,qtres:1,pathomit:8,rightangleenhance:!0,colorsampling:2,numberofcolors:16,mincolorratio:0,colorquantcycles:3,layering:0,strokewidth:1,linefilter:!1,scale:1,roundcoords:1,viewbox:!1,desc:!1,lcpr:0,qcpr:0,blurradius:0,blurdelta:20},posterized1:{colorsampling:0,numberofcolors:2},posterized2:{numberofcolors:4,blurradius:5},curvy:{ltres:.01,linefilter:!0,rightangleenhance:!1},sharp:{qtres:.01,linefilter:!1},detailed:{pathomit:0,roundcoords:2,ltres:.5,qtres:.5,numberofcolors:64},smoothed:{blurradius:5,blurdelta:64},grayscale:{colorsampling:0,colorquantcycles:1,numberofcolors:7},fixedpalette:{colorsampling:0,colorquantcycles:1,numberofcolors:27},randomsampling1:{colorsampling:1,numberofcolors:8},randomsampling2:{colorsampling:1,numberofcolors:64},artistic1:{colorsampling:0,colorquantcycles:1,pathomit:0,blurradius:5,blurdelta:64,ltres:.01,linefilter:!0,numberofcolors:16,strokewidth:2},artistic2:{qtres:.01,colorsampling:0,colorquantcycles:1,numberofcolors:4,strokewidth:0},artistic3:{qtres:10,ltres:10,numberofcolors:8},artistic4:{qtres:10,ltres:10,numberofcolors:64,blurradius:5,blurdelta:256,strokewidth:2},posterized3:{ltres:1,qtres:1,pathomit:20,rightangleenhance:!0,colorsampling:0,numberofcolors:3,mincolorratio:0,colorquantcycles:3,blurradius:3,blurdelta:20,strokewidth:0,linefilter:!1,roundcoords:1,pal:[{r:0,g:0,b:100,a:255},{r:255,g:255,b:255,a:255}]}},this.checkoptions=function(t){"string"==typeof(t=t||{})&&(t=t.toLowerCase(),t=e.optionpresets[t]?e.optionpresets[t]:{});for(var n=Object.keys(e.optionpresets.default),i=0;i<n.length;i++)t.hasOwnProperty(n[i])||(t[n[i]]=e.optionpresets.default[n[i]]);return t},this.colorquantization=function(t,n){var i,o,r,a,s,l,c,u,d=[],p=0,f=[],m=t.width*t.height;if(t.data.length<4*m){for(var h=new Uint8ClampedArray(4*m),g=0;g<m;g++)h[4*g]=t.data[3*g],h[4*g+1]=t.data[3*g+1],h[4*g+2]=t.data[3*g+2],h[4*g+3]=255;t.data=h}for(s=0;s<t.height+2;s++)for(d[s]=[],a=0;a<t.width+2;a++)d[s][a]=-1;for(u=n.pal?n.pal:0===n.colorsampling?e.generatepalette(n.numberofcolors):1===n.colorsampling?e.samplepalette(n.numberofcolors,t):e.samplepalette2(n.numberofcolors,t),n.blurradius>0&&(t=e.blur(t,n.blurradius,n.blurdelta)),c=0;c<n.colorquantcycles;c++){if(c>0)for(l=0;l<u.length;l++)f[l].n>0&&(u[l]={r:Math.floor(f[l].r/f[l].n),g:Math.floor(f[l].g/f[l].n),b:Math.floor(f[l].b/f[l].n),a:Math.floor(f[l].a/f[l].n)}),f[l].n/m<n.mincolorratio&&c<n.colorquantcycles-1&&(u[l]={r:Math.floor(255*Math.random()),g:Math.floor(255*Math.random()),b:Math.floor(255*Math.random()),a:Math.floor(255*Math.random())});for(a=0;a<u.length;a++)f[a]={r:0,g:0,b:0,a:0,n:0};for(s=0;s<t.height;s++)for(a=0;a<t.width;a++){for(p=4*(s*t.width+a),r=0,o=1024,l=0;l<u.length;l++)(i=Math.abs(u[l].r-t.data[p])+Math.abs(u[l].g-t.data[p+1])+Math.abs(u[l].b-t.data[p+2])+Math.abs(u[l].a-t.data[p+3]))<o&&(o=i,r=l);f[r].r+=t.data[p],f[r].g+=t.data[p+1],f[r].b+=t.data[p+2],f[r].a+=t.data[p+3],f[r].n++,d[s+1][a+1]=r}}return{array:d,palette:u}},this.samplepalette=function(e,t){for(var n,i=[],o=0;o<e;o++)n=4*Math.floor(Math.random()*t.data.length/4),i.push({r:t.data[n],g:t.data[n+1],b:t.data[n+2],a:t.data[n+3]});return i},this.samplepalette2=function(e,t){for(var n,i=[],o=Math.ceil(Math.sqrt(e)),r=Math.ceil(e/o),a=t.width/(o+1),s=t.height/(r+1),l=0;l<r;l++)for(var c=0;c<o&&i.length!==e;c++)n=4*Math.floor((l+1)*s*t.width+(c+1)*a),i.push({r:t.data[n],g:t.data[n+1],b:t.data[n+2],a:t.data[n+3]});return i},this.generatepalette=function(e){var t,n,i,o=[];if(e<8)for(var r=Math.floor(255/(e-1)),a=0;a<e;a++)o.push({r:a*r,g:a*r,b:a*r,a:255});else{var s=Math.floor(Math.pow(e,1/3)),l=Math.floor(255/(s-1)),c=e-s*s*s;for(t=0;t<s;t++)for(n=0;n<s;n++)for(i=0;i<s;i++)o.push({r:t*l,g:n*l,b:i*l,a:255});for(t=0;t<c;t++)o.push({r:Math.floor(255*Math.random()),g:Math.floor(255*Math.random()),b:Math.floor(255*Math.random()),a:Math.floor(255*Math.random())})}return o},this.layering=function(e){var t,n,i,o,r,a,s,l,c,u,d,p=[],f=0,m=e.array.length,h=e.array[0].length;for(d=0;d<e.palette.length;d++)for(p[d]=[],u=0;u<m;u++)for(p[d][u]=[],c=0;c<h;c++)p[d][u][c]=0;for(u=1;u<m-1;u++)for(c=1;c<h-1;c++)f=e.array[u][c],t=e.array[u-1][c-1]===f?1:0,n=e.array[u-1][c]===f?1:0,i=e.array[u-1][c+1]===f?1:0,o=e.array[u][c-1]===f?1:0,r=e.array[u][c+1]===f?1:0,a=e.array[u+1][c-1]===f?1:0,s=e.array[u+1][c]===f?1:0,l=e.array[u+1][c+1]===f?1:0,p[f][u+1][c+1]=1+2*r+4*l+8*s,o||(p[f][u+1][c]=2+4*s+8*a),n||(p[f][u][c+1]=0+2*i+4*r+8),t||(p[f][u][c]=0+2*n+4+8*o);return p},this.layeringstep=function(e,t){var n,i,o=[],r=e.array.length,a=e.array[0].length;for(i=0;i<r;i++)for(o[i]=[],n=0;n<a;n++)o[i][n]=0;for(i=1;i<r;i++)for(n=1;n<a;n++)o[i][n]=(e.array[i-1][n-1]===t?1:0)+(e.array[i-1][n]===t?2:0)+(e.array[i][n-1]===t?8:0)+(e.array[i][n]===t?4:0);return o},this.pathscan_combined_lookup=[[[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1]],[[0,1,0,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],[0,2,-1,0]],[[-1,-1,-1,-1],[-1,-1,-1,-1],[0,1,0,-1],[0,0,1,0]],[[0,0,1,0],[-1,-1,-1,-1],[0,2,-1,0],[-1,-1,-1,-1]],[[-1,-1,-1,-1],[0,0,1,0],[0,3,0,1],[-1,-1,-1,-1]],[[13,3,0,1],[13,2,-1,0],[7,1,0,-1],[7,0,1,0]],[[-1,-1,-1,-1],[0,1,0,-1],[-1,-1,-1,-1],[0,3,0,1]],[[0,3,0,1],[0,2,-1,0],[-1,-1,-1,-1],[-1,-1,-1,-1]],[[0,3,0,1],[0,2,-1,0],[-1,-1,-1,-1],[-1,-1,-1,-1]],[[-1,-1,-1,-1],[0,1,0,-1],[-1,-1,-1,-1],[0,3,0,1]],[[11,1,0,-1],[14,0,1,0],[14,3,0,1],[11,2,-1,0]],[[-1,-1,-1,-1],[0,0,1,0],[0,3,0,1],[-1,-1,-1,-1]],[[0,0,1,0],[-1,-1,-1,-1],[0,2,-1,0],[-1,-1,-1,-1]],[[-1,-1,-1,-1],[-1,-1,-1,-1],[0,1,0,-1],[0,0,1,0]],[[0,1,0,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],[0,2,-1,0]],[[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1]]],this.pathscan=function(t,n){for(var i,o=[],r=0,a=0,s=0,l=0,c=t[0].length,u=t.length,d=0,p=!0,f=!1,m=0;m<u;m++)for(var h=0;h<c;h++)if(4==t[m][h]||11==t[m][h])for(s=h,l=m,o[r]={},o[r].points=[],o[r].boundingbox=[s,l,s,l],o[r].holechildren=[],p=!1,a=0,f=11==t[m][h],d=1;!p;){if(o[r].points[a]={},o[r].points[a].x=s-1,o[r].points[a].y=l-1,o[r].points[a].t=t[l][s],s-1<o[r].boundingbox[0]&&(o[r].boundingbox[0]=s-1),s-1>o[r].boundingbox[2]&&(o[r].boundingbox[2]=s-1),l-1<o[r].boundingbox[1]&&(o[r].boundingbox[1]=l-1),l-1>o[r].boundingbox[3]&&(o[r].boundingbox[3]=l-1),i=e.pathscan_combined_lookup[t[l][s]][d],t[l][s]=i[0],d=i[1],s+=i[2],l+=i[3],s-1===o[r].points[0].x&&l-1===o[r].points[0].y)if(p=!0,o[r].points.length<n)o.pop();else{if(o[r].isholepath=!!f,f){for(var g=0,v=[-1,-1,c+1,u+1],_=0;_<r;_++)!o[_].isholepath&&e.boundingboxincludes(o[_].boundingbox,o[r].boundingbox)&&e.boundingboxincludes(v,o[_].boundingbox)&&(g=_,v=o[_].boundingbox);o[g].holechildren.push(r)}r++}a++}return o},this.boundingboxincludes=function(e,t){return e[0]<t[0]&&e[1]<t[1]&&e[2]>t[2]&&e[3]>t[3]},this.batchpathscan=function(t,n){var i=[];for(var o in t)t.hasOwnProperty(o)&&(i[o]=e.pathscan(t[o],n));return i},this.internodes=function(t,n){var i,o,r=[],a=0,s=0,l=0,c=0,u=0;for(i=0;i<t.length;i++)for(r[i]={},r[i].points=[],r[i].boundingbox=t[i].boundingbox,r[i].holechildren=t[i].holechildren,r[i].isholepath=t[i].isholepath,a=t[i].points.length,o=0;o<a;o++)s=(o+1)%a,l=(o+2)%a,c=(o-1+a)%a,u=(o-2+a)%a,n.rightangleenhance&&e.testrightangle(t[i],u,c,o,s,l)&&(r[i].points.length>0&&(r[i].points[r[i].points.length-1].linesegment=e.getdirection(r[i].points[r[i].points.length-1].x,r[i].points[r[i].points.length-1].y,t[i].points[o].x,t[i].points[o].y)),r[i].points.push({x:t[i].points[o].x,y:t[i].points[o].y,linesegment:e.getdirection(t[i].points[o].x,t[i].points[o].y,(t[i].points[o].x+t[i].points[s].x)/2,(t[i].points[o].y+t[i].points[s].y)/2)})),r[i].points.push({x:(t[i].points[o].x+t[i].points[s].x)/2,y:(t[i].points[o].y+t[i].points[s].y)/2,linesegment:e.getdirection((t[i].points[o].x+t[i].points[s].x)/2,(t[i].points[o].y+t[i].points[s].y)/2,(t[i].points[s].x+t[i].points[l].x)/2,(t[i].points[s].y+t[i].points[l].y)/2)});return r},this.testrightangle=function(e,t,n,i,o,r){return e.points[i].x===e.points[t].x&&e.points[i].x===e.points[n].x&&e.points[i].y===e.points[o].y&&e.points[i].y===e.points[r].y||e.points[i].y===e.points[t].y&&e.points[i].y===e.points[n].y&&e.points[i].x===e.points[o].x&&e.points[i].x===e.points[r].x},this.getdirection=function(e,t,n,i){return e<n?t<i?1:t>i?7:0:e>n?t<i?3:t>i?5:4:t<i?2:t>i?6:8},this.batchinternodes=function(t,n){var i=[];for(var o in t)t.hasOwnProperty(o)&&(i[o]=e.internodes(t[o],n));return i},this.tracepath=function(t,n,i){var o,r,a,s=0,l={segments:[]};for(l.boundingbox=t.boundingbox,l.holechildren=t.holechildren,l.isholepath=t.isholepath;s<t.points.length;){for(o=t.points[s].linesegment,r=-1,a=s+1;(t.points[a].linesegment===o||t.points[a].linesegment===r||-1===r)&&a<t.points.length-1;)t.points[a].linesegment!==o&&-1===r&&(r=t.points[a].linesegment),a++;a===t.points.length-1&&(a=0),l.segments=l.segments.concat(e.fitseq(t,n,i,s,a)),s=a>0?a:t.points.length}return l},this.fitseq=function(t,n,i,o,r){if(r>t.points.length||r<0)return[];var a,s,l,c=o,u=0,d=!0,p=r-o;p<0&&(p+=t.points.length);for(var f,m=(t.points[r].x-t.points[o].x)/p,h=(t.points[r].y-t.points[o].y)/p,g=(o+1)%t.points.length;g!=r;)(f=g-o)<0&&(f+=t.points.length),a=t.points[o].x+m*f,s=t.points[o].y+h*f,(l=(t.points[g].x-a)*(t.points[g].x-a)+(t.points[g].y-s)*(t.points[g].y-s))>n&&(d=!1),l>u&&(c=g,u=l),g=(g+1)%t.points.length;if(d)return[{type:"L",x1:t.points[o].x,y1:t.points[o].y,x2:t.points[r].x,y2:t.points[r].y}];var v=c;d=!0,u=0;var _=(v-o)/p,b=(1-_)*(1-_),y=2*(1-_)*_,w=_*_,x=(b*t.points[o].x+w*t.points[r].x-t.points[v].x)/-y,k=(b*t.points[o].y+w*t.points[r].y-t.points[v].y)/-y;for(g=o+1;g!=r;)y=2*(1-(_=(g-o)/p))*_,w=_*_,a=(b=(1-_)*(1-_))*t.points[o].x+y*x+w*t.points[r].x,s=b*t.points[o].y+y*k+w*t.points[r].y,(l=(t.points[g].x-a)*(t.points[g].x-a)+(t.points[g].y-s)*(t.points[g].y-s))>i&&(d=!1),l>u&&(c=g,u=l),g=(g+1)%t.points.length;if(d)return[{type:"Q",x1:t.points[o].x,y1:t.points[o].y,x2:x,y2:k,x3:t.points[r].x,y3:t.points[r].y}];var A=v;return e.fitseq(t,n,i,o,A).concat(e.fitseq(t,n,i,A,r))},this.batchtracepaths=function(t,n,i){var o=[];for(var r in t)t.hasOwnProperty(r)&&o.push(e.tracepath(t[r],n,i));return o},this.batchtracelayers=function(t,n,i){var o=[];for(var r in t)t.hasOwnProperty(r)&&(o[r]=e.batchtracepaths(t[r],n,i));return o},this.roundtodec=function(e,t){return+e.toFixed(t)},this.svgpathstring=function(t,n,i,o){var r,a=t.layers[n],s=a[i],l="";if(o.linefilter&&s.segments.length<3)return l;if(l="<path "+(o.desc?'desc="l '+n+" p "+i+'" ':"")+e.tosvgcolorstr(t.palette[n],o)+'d="',-1===o.roundcoords){for(l+="M "+s.segments[0].x1*o.scale+" "+s.segments[0].y1*o.scale+" ",r=0;r<s.segments.length;r++)l+=s.segments[r].type+" "+s.segments[r].x2*o.scale+" "+s.segments[r].y2*o.scale+" ",s.segments[r].hasOwnProperty("x3")&&(l+=s.segments[r].x3*o.scale+" "+s.segments[r].y3*o.scale+" ");l+="Z "}else{for(l+="M "+e.roundtodec(s.segments[0].x1*o.scale,o.roundcoords)+" "+e.roundtodec(s.segments[0].y1*o.scale,o.roundcoords)+" ",r=0;r<s.segments.length;r++)l+=s.segments[r].type+" "+e.roundtodec(s.segments[r].x2*o.scale,o.roundcoords)+" "+e.roundtodec(s.segments[r].y2*o.scale,o.roundcoords)+" ",s.segments[r].hasOwnProperty("x3")&&(l+=e.roundtodec(s.segments[r].x3*o.scale,o.roundcoords)+" "+e.roundtodec(s.segments[r].y3*o.scale,o.roundcoords)+" ");l+="Z "}for(var c=0;c<s.holechildren.length;c++){var u=a[s.holechildren[c]];if(-1===o.roundcoords)for(u.segments[u.segments.length-1].hasOwnProperty("x3")?l+="M "+u.segments[u.segments.length-1].x3*o.scale+" "+u.segments[u.segments.length-1].y3*o.scale+" ":l+="M "+u.segments[u.segments.length-1].x2*o.scale+" "+u.segments[u.segments.length-1].y2*o.scale+" ",r=u.segments.length-1;r>=0;r--)l+=u.segments[r].type+" ",u.segments[r].hasOwnProperty("x3")&&(l+=u.segments[r].x2*o.scale+" "+u.segments[r].y2*o.scale+" "),l+=u.segments[r].x1*o.scale+" "+u.segments[r].y1*o.scale+" ";else for(u.segments[u.segments.length-1].hasOwnProperty("x3")?l+="M "+e.roundtodec(u.segments[u.segments.length-1].x3*o.scale)+" "+e.roundtodec(u.segments[u.segments.length-1].y3*o.scale)+" ":l+="M "+e.roundtodec(u.segments[u.segments.length-1].x2*o.scale)+" "+e.roundtodec(u.segments[u.segments.length-1].y2*o.scale)+" ",r=u.segments.length-1;r>=0;r--)l+=u.segments[r].type+" ",u.segments[r].hasOwnProperty("x3")&&(l+=e.roundtodec(u.segments[r].x2*o.scale)+" "+e.roundtodec(u.segments[r].y2*o.scale)+" "),l+=e.roundtodec(u.segments[r].x1*o.scale)+" "+e.roundtodec(u.segments[r].y1*o.scale)+" ";l+="Z "}if(l+='" />',o.lcpr||o.qcpr){for(r=0;r<s.segments.length;r++)s.segments[r].hasOwnProperty("x3")&&o.qcpr&&(l+='<circle cx="'+s.segments[r].x2*o.scale+'" cy="'+s.segments[r].y2*o.scale+'" r="'+o.qcpr+'" fill="cyan" stroke-width="'+.2*o.qcpr+'" stroke="black" />',l+='<circle cx="'+s.segments[r].x3*o.scale+'" cy="'+s.segments[r].y3*o.scale+'" r="'+o.qcpr+'" fill="white" stroke-width="'+.2*o.qcpr+'" stroke="black" />',l+='<line x1="'+s.segments[r].x1*o.scale+'" y1="'+s.segments[r].y1*o.scale+'" x2="'+s.segments[r].x2*o.scale+'" y2="'+s.segments[r].y2*o.scale+'" stroke-width="'+.2*o.qcpr+'" stroke="cyan" />',l+='<line x1="'+s.segments[r].x2*o.scale+'" y1="'+s.segments[r].y2*o.scale+'" x2="'+s.segments[r].x3*o.scale+'" y2="'+s.segments[r].y3*o.scale+'" stroke-width="'+.2*o.qcpr+'" stroke="cyan" />'),!s.segments[r].hasOwnProperty("x3")&&o.lcpr&&(l+='<circle cx="'+s.segments[r].x2*o.scale+'" cy="'+s.segments[r].y2*o.scale+'" r="'+o.lcpr+'" fill="white" stroke-width="'+.2*o.lcpr+'" stroke="black" />');for(c=0;c<s.holechildren.length;c++){u=a[s.holechildren[c]];for(r=0;r<u.segments.length;r++)u.segments[r].hasOwnProperty("x3")&&o.qcpr&&(l+='<circle cx="'+u.segments[r].x2*o.scale+'" cy="'+u.segments[r].y2*o.scale+'" r="'+o.qcpr+'" fill="cyan" stroke-width="'+.2*o.qcpr+'" stroke="black" />',l+='<circle cx="'+u.segments[r].x3*o.scale+'" cy="'+u.segments[r].y3*o.scale+'" r="'+o.qcpr+'" fill="white" stroke-width="'+.2*o.qcpr+'" stroke="black" />',l+='<line x1="'+u.segments[r].x1*o.scale+'" y1="'+u.segments[r].y1*o.scale+'" x2="'+u.segments[r].x2*o.scale+'" y2="'+u.segments[r].y2*o.scale+'" stroke-width="'+.2*o.qcpr+'" stroke="cyan" />',l+='<line x1="'+u.segments[r].x2*o.scale+'" y1="'+u.segments[r].y2*o.scale+'" x2="'+u.segments[r].x3*o.scale+'" y2="'+u.segments[r].y3*o.scale+'" stroke-width="'+.2*o.qcpr+'" stroke="cyan" />'),!u.segments[r].hasOwnProperty("x3")&&o.lcpr&&(l+='<circle cx="'+u.segments[r].x2*o.scale+'" cy="'+u.segments[r].y2*o.scale+'" r="'+o.lcpr+'" fill="white" stroke-width="'+.2*o.lcpr+'" stroke="black" />')}}return l},this.getsvgstring=function(t,n){n=e.checkoptions(n);for(var i=t.width*n.scale,o=t.height*n.scale,r="<svg "+(n.viewbox?'viewBox="0 0 '+i+" "+o+'" ':'width="'+i+'" height="'+o+'" ')+'version="1.1" xmlns="http://www.w3.org/2000/svg" desc="Created with imagetracer.js version '+e.versionnumber+'" >',a=0;a<t.layers.length;a++)for(var s=0;s<t.layers[a].length;s++)t.layers[a][s].isholepath||(r+=e.svgpathstring(t,a,s,n));return r+="</svg>"},this.compareNumbers=function(e,t){return e-t},this.torgbastr=function(e){return"rgba("+e.r+","+e.g+","+e.b+","+e.a+")"},this.tosvgcolorstr=function(e,t){return'fill="rgb('+e.r+","+e.g+","+e.b+')" stroke="rgb('+e.r+","+e.g+","+e.b+')" stroke-width="'+t.strokewidth+'" opacity="'+e.a/255+'" '},this.appendSVGString=function(e,t){var n;t?(n=document.getElementById(t))||((n=document.createElement("div")).id=t,document.body.appendChild(n)):(n=document.createElement("div"),document.body.appendChild(n)),n.innerHTML+=e},this.gks=[[.27901,.44198,.27901],[.135336,.228569,.272192,.228569,.135336],[.086776,.136394,.178908,.195843,.178908,.136394,.086776],[.063327,.093095,.122589,.144599,.152781,.144599,.122589,.093095,.063327],[.049692,.069304,.089767,.107988,.120651,.125194,.120651,.107988,.089767,.069304,.049692]],this.blur=function(t,n,i){var o,r,a,s,l,c,u,d,p,f={width:t.width,height:t.height,data:[]};if((n=Math.floor(n))<1)return t;n>5&&(n=5),(i=Math.abs(i))>1024&&(i=1024);var m=e.gks[n-1];for(r=0;r<t.height;r++)for(o=0;o<t.width;o++){for(l=0,c=0,u=0,d=0,p=0,a=-n;a<n+1;a++)o+a>0&&o+a<t.width&&(s=4*(r*t.width+o+a),l+=t.data[s]*m[a+n],c+=t.data[s+1]*m[a+n],u+=t.data[s+2]*m[a+n],d+=t.data[s+3]*m[a+n],p+=m[a+n]);s=4*(r*t.width+o),f.data[s]=Math.floor(l/p),f.data[s+1]=Math.floor(c/p),f.data[s+2]=Math.floor(u/p),f.data[s+3]=Math.floor(d/p)}var h=new Uint8ClampedArray(f.data);for(r=0;r<t.height;r++)for(o=0;o<t.width;o++){for(l=0,c=0,u=0,d=0,p=0,a=-n;a<n+1;a++)r+a>0&&r+a<t.height&&(l+=h[s=4*((r+a)*t.width+o)]*m[a+n],c+=h[s+1]*m[a+n],u+=h[s+2]*m[a+n],d+=h[s+3]*m[a+n],p+=m[a+n]);s=4*(r*t.width+o),f.data[s]=Math.floor(l/p),f.data[s+1]=Math.floor(c/p),f.data[s+2]=Math.floor(u/p),f.data[s+3]=Math.floor(d/p)}for(r=0;r<t.height;r++)for(o=0;o<t.width;o++)s=4*(r*t.width+o),Math.abs(f.data[s]-t.data[s])+Math.abs(f.data[s+1]-t.data[s+1])+Math.abs(f.data[s+2]-t.data[s+2])+Math.abs(f.data[s+3]-t.data[s+3])>i&&(f.data[s]=t.data[s],f.data[s+1]=t.data[s+1],f.data[s+2]=t.data[s+2],f.data[s+3]=t.data[s+3]);return f},this.loadImage=function(e,t,n){var i=new Image;n&&n.corsenabled&&(i.crossOrigin="Anonymous"),i.onload=function(){var e=document.createElement("canvas");e.width=i.width,e.height=i.height,e.getContext("2d").drawImage(i,0,0),t(e)},i.src=e},this.getImgdata=function(e){return e.getContext("2d").getImageData(0,0,e.width,e.height)},this.specpalette=[{r:0,g:0,b:0,a:255},{r:128,g:128,b:128,a:255},{r:0,g:0,b:128,a:255},{r:64,g:64,b:128,a:255},{r:192,g:192,b:192,a:255},{r:255,g:255,b:255,a:255},{r:128,g:128,b:192,a:255},{r:0,g:0,b:192,a:255},{r:128,g:0,b:0,a:255},{r:128,g:64,b:64,a:255},{r:128,g:0,b:128,a:255},{r:168,g:168,b:168,a:255},{r:192,g:128,b:128,a:255},{r:192,g:0,b:0,a:255},{r:255,g:255,b:255,a:255},{r:0,g:128,b:0,a:255}],this.drawLayers=function(t,n,i,o){var r,a,s,l,c,u;for(c in i=i||1,o?(u=document.getElementById(o))||((u=document.createElement("div")).id=o,document.body.appendChild(u)):(u=document.createElement("div"),document.body.appendChild(u)),t)if(t.hasOwnProperty(c)){r=t[c][0].length,a=t[c].length;var d=document.createElement("canvas");d.width=r*i,d.height=a*i;var p=d.getContext("2d");for(l=0;l<a;l++)for(s=0;s<r;s++)p.fillStyle=e.torgbastr(n[t[c][l][s]%n.length]),p.fillRect(s*i,l*i,i,i);u.appendChild(d)}}}"function"==typeof define&&define.amd?define(function(){return new e}):void 0!==t?t.exports=new e:"undefined"!=typeof self?self.ImageTracer=new e:window.ImageTracer=new e}()},{}],71:[function(e,t,n){var i=[].indexOf;t.exports=function(e,t){if(i)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}},{}],72:[function(e,t,n){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,o=Object.prototype.toString,r=function(e){return!(i&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o.call(e)},a=function(e){return!!r(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o.call(e)&&"[object Function]"===o.call(e.callee)},s=function(){return r(arguments)}();r.isLegacyArguments=a,t.exports=s?r:a},{}],73:[function(e,t,n){"use strict";var i=Date.prototype.getDay,o=Object.prototype.toString,r="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;t.exports=function(e){return"object"==typeof e&&null!==e&&(r?function(e){try{return i.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},{}],74:[function(e,t,n){"use strict";var i=e("has"),o=RegExp.prototype.exec,r=Object.getOwnPropertyDescriptor,a=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;t.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s)return"[object RegExp]"===a.call(e);var t=r(e,"lastIndex");return!(!t||!i(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,o.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}}(e)}},{has:68}],75:[function(e,t,n){!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],i=e.document,o=Object.getPrototypeOf,r=n.slice,a=n.concat,s=n.push,l=n.indexOf,c={},u=c.toString,d=c.hasOwnProperty,p=d.toString,f=p.call(Object),m={},h=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},g=function(e){return null!=e&&e===e.window},v={type:!0,src:!0,nonce:!0,noModule:!0};function _(e,t,n){var o,r,a=(n=n||i).createElement("script");if(a.text=e,t)for(o in v)(r=t[o]||t.getAttribute&&t.getAttribute(o))&&a.setAttribute(o,r);n.head.appendChild(a).parentNode.removeChild(a)}function b(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[u.call(e)]||"object":typeof e}var y=function(e,t){return new y.fn.init(e,t)},w=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function x(e){var t=!!e&&"length"in e&&e.length,n=b(e);return!h(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}y.fn=y.prototype={jquery:"3.4.1",constructor:y,length:0,toArray:function(){return r.call(this)},get:function(e){return null==e?r.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=y.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return y.each(this,e)},map:function(e){return this.pushStack(y.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},y.extend=y.fn.extend=function(){var e,t,n,i,o,r,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||h(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)i=e[t],"__proto__"!==t&&a!==i&&(c&&i&&(y.isPlainObject(i)||(o=Array.isArray(i)))?(n=a[t],r=o&&!Array.isArray(n)?[]:o||y.isPlainObject(n)?n:{},o=!1,a[t]=y.extend(c,r,i)):void 0!==i&&(a[t]=i));return a},y.extend({expando:"jQuery"+("3.4.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==u.call(e))&&(!(t=o(e))||"function"==typeof(n=d.call(t,"constructor")&&t.constructor)&&p.call(n)===f)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){_(e,{nonce:t&&t.nonce})},each:function(e,t){var n,i=0;if(x(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(w,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(x(Object(e))?y.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,r=e.length,a=!n;o<r;o++)!t(e[o],o)!==a&&i.push(e[o]);return i},map:function(e,t,n){var i,o,r=0,s=[];if(x(e))for(i=e.length;r<i;r++)null!=(o=t(e[r],r,n))&&s.push(o);else for(r in e)null!=(o=t(e[r],r,n))&&s.push(o);return a.apply([],s)},guid:1,support:m}),"function"==typeof Symbol&&(y.fn[Symbol.iterator]=n[Symbol.iterator]),y.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});var k=function(e){var t,n,i,o,r,a,s,l,c,u,d,p,f,m,h,g,v,_,b,y="sizzle"+1*new Date,w=e.document,x=0,k=0,A=le(),C=le(),S=le(),M=le(),P=function(e,t){return e===t&&(d=!0),0},O={}.hasOwnProperty,T=[],E=T.pop,N=T.push,$=T.push,j=T.slice,q=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",D="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",R="\\["+F+"*("+D+")(?:"+F+"*([*^$|!~]?=)"+F+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+D+"))|)"+F+"*\\]",z=":("+D+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",B=new RegExp(F+"+","g"),I=new RegExp("^"+F+"+|((?:^|[^\\\\])(?:\\\\.)*)"+F+"+$","g"),H=new RegExp("^"+F+"*,"+F+"*"),U=new RegExp("^"+F+"*([>+~]|"+F+")"+F+"*"),V=new RegExp(F+"|>"),W=new RegExp(z),Y=new RegExp("^"+D+"$"),G={ID:new RegExp("^#("+D+")"),CLASS:new RegExp("^\\.("+D+")"),TAG:new RegExp("^("+D+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+F+"?|("+F+")|.)","ig"),ne=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ae=ye(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{$.apply(T=j.call(w.childNodes),w.childNodes),T[w.childNodes.length].nodeType}catch(e){$={apply:T.length?function(e,t){N.apply(e,j.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function se(e,t,i,o){var r,s,c,u,d,m,v,_=t&&t.ownerDocument,x=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return i;if(!o&&((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,h)){if(11!==x&&(d=Q.exec(e)))if(r=d[1]){if(9===x){if(!(c=t.getElementById(r)))return i;if(c.id===r)return i.push(c),i}else if(_&&(c=_.getElementById(r))&&b(t,c)&&c.id===r)return i.push(c),i}else{if(d[2])return $.apply(i,t.getElementsByTagName(e)),i;if((r=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return $.apply(i,t.getElementsByClassName(r)),i}if(n.qsa&&!M[e+" "]&&(!g||!g.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(v=e,_=t,1===x&&V.test(e)){for((u=t.getAttribute("id"))?u=u.replace(ie,oe):t.setAttribute("id",u=y),s=(m=a(e)).length;s--;)m[s]="#"+u+" "+be(m[s]);v=m.join(","),_=ee.test(e)&&ve(t.parentNode)||t}try{return $.apply(i,_.querySelectorAll(v)),i}catch(t){M(e,!0)}finally{u===y&&t.removeAttribute("id")}}}return l(e.replace(I,"$1"),t,i,o)}function le(){var e=[];return function t(n,o){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ce(e){return e[y]=!0,e}function ue(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),o=n.length;o--;)i.attrHandle[n[o]]=t}function pe(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function me(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function he(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce(function(t){return t=+t,ce(function(n,i){for(var o,r=e([],n.length,t),a=r.length;a--;)n[o=r[a]]&&(n[o]=!(i[o]=n[o]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},r=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},p=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!==f&&9===a.nodeType&&a.documentElement?(m=(f=a).documentElement,h=!r(f),w!==f&&(o=f.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",re,!1):o.attachEvent&&o.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(f.getElementsByClassName),n.getById=ue(function(e){return m.appendChild(e).id=y,!f.getElementsByName||!f.getElementsByName(y).length}),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&h){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&h){var n,i,o,r=t.getElementById(e);if(r){if((n=r.getAttributeNode("id"))&&n.value===e)return[r];for(o=t.getElementsByName(e),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===e)return[r]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,r=t.getElementsByTagName(e);if("*"===e){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&h)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=Z.test(f.querySelectorAll))&&(ue(function(e){m.appendChild(e).innerHTML="<a id='"+y+"'></a><select id='"+y+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+F+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+F+"*(?:value|"+L+")"),e.querySelectorAll("[id~="+y+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+y+"+*").length||g.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+F+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),m.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=Z.test(_=m.matches||m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=_.call(e,"*"),_.call(e,"[s!='']:x"),v.push("!=",z)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=Z.test(m.compareDocumentPosition),b=t||Z.test(m.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},P=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===f||e.ownerDocument===w&&b(w,e)?-1:t===f||t.ownerDocument===w&&b(w,t)?1:u?q(u,e)-q(u,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,o=e.parentNode,r=t.parentNode,a=[e],s=[t];if(!o||!r)return e===f?-1:t===f?1:o?-1:r?1:u?q(u,e)-q(u,t):0;if(o===r)return pe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?pe(a[i],s[i]):a[i]===w?-1:s[i]===w?1:0},f):f},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),n.matchesSelector&&h&&!M[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var i=_.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){M(t,!0)}return se(t,f,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!==f&&p(e);var o=i.attrHandle[t.toLowerCase()],r=o&&O.call(i.attrHandle,t.toLowerCase())?o(e,t,!h):void 0;return void 0!==r?r:n.attributes||!h?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(ie,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,i=[],o=0,r=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(P),d){for(;t=e[r++];)t===e[r]&&(o=i.push(r));for(;o--;)e.splice(i[o],1)}return u=null,e},o=se.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},(i=se.selectors={cacheLength:50,createPseudo:ce,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=A[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&&A(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var o=se.attr(i,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,o){var r="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,p,f,m,h=r!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),_=!l&&!s,b=!1;if(g){if(r){for(;h;){for(p=t;p=p[h];)if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;m=h="only"===e&&!m&&"nextSibling"}return!0}if(m=[a?g.firstChild:g.lastChild],a&&_){for(b=(f=(c=(u=(d=(p=g)[y]||(p[y]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===x&&c[1])&&c[2],p=f&&g.childNodes[f];p=++f&&p&&p[h]||(b=f=0)||m.pop();)if(1===p.nodeType&&++b&&p===t){u[e]=[x,f,b];break}}else if(_&&(b=f=(c=(u=(d=(p=t)[y]||(p[y]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===x&&c[1]),!1===b)for(;(p=++f&&p&&p[h]||(b=f=0)||m.pop())&&((s?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(_&&((u=(d=p[y]||(p[y]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[x,b]),p!==t)););return(b-=o)===i||b%i==0&&b/i>=0}}},PSEUDO:function(e,t){var n,o=i.pseudos[e]||i.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[y]?o(t):o.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,n){for(var i,r=o(e,t),a=r.length;a--;)e[i=q(e,r[a])]=!(n[i]=r[a])}):function(e){return o(e,0,n)}):o}},pseudos:{not:ce(function(e){var t=[],n=[],i=s(e.replace(I,"$1"));return i[y]?ce(function(e,t,n,o){for(var r,a=i(e,null,o,[]),s=e.length;s--;)(r=a[s])&&(e[s]=!(t[s]=r))}):function(e,o,r){return t[0]=e,i(t,null,r,n),t[0]=null,!n.pop()}}),has:ce(function(e){return function(t){return se(e,t).length>0}}),contains:ce(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}}),lang:ce(function(e){return Y.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===m},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:he(!1),disabled:he(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge(function(){return[0]}),last:ge(function(e,t){return[t-1]}),eq:ge(function(e,t,n){return[n<0?n+t:n]}),even:ge(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ge(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ge(function(e,t,n){for(var i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e}),gt:ge(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=me(t);function _e(){}function be(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function ye(e,t,n){var i=t.dir,o=t.next,r=o||i,a=n&&"parentNode"===r,s=k++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var c,u,d,p=[x,s];if(l){for(;t=t[i];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||a)if(u=(d=t[y]||(t[y]={}))[t.uniqueID]||(d[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[i]||t;else{if((c=u[r])&&c[0]===x&&c[1]===s)return p[2]=c[2];if(u[r]=p,p[2]=e(t,n,l))return!0}return!1}}function we(e){return e.length>1?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function xe(e,t,n,i,o){for(var r,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(r=e[s])&&(n&&!n(r,i,o)||(a.push(r),c&&t.push(s)));return a}function ke(e,t,n,i,o,r){return i&&!i[y]&&(i=ke(i)),o&&!o[y]&&(o=ke(o,r)),ce(function(r,a,s,l){var c,u,d,p=[],f=[],m=a.length,h=r||function(e,t,n){for(var i=0,o=t.length;i<o;i++)se(e,t[i],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!r&&t?h:xe(h,p,e,s,l),v=n?o||(r?e:m||i)?[]:a:g;if(n&&n(g,v,s,l),i)for(c=xe(v,f),i(c,[],s,l),u=c.length;u--;)(d=c[u])&&(v[f[u]]=!(g[f[u]]=d));if(r){if(o||e){if(o){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(g[u]=d);o(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&(c=o?q(r,d):p[u])>-1&&(r[c]=!(a[c]=d))}}else v=xe(v===a?v.splice(m,v.length):v),o?o(null,a,v,l):$.apply(a,v)})}function Ae(e){for(var t,n,o,r=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],l=a?1:0,u=ye(function(e){return e===t},s,!0),d=ye(function(e){return q(t,e)>-1},s,!0),p=[function(e,n,i){var o=!a&&(i||n!==c)||((t=n).nodeType?u(e,n,i):d(e,n,i));return t=null,o}];l<r;l++)if(n=i.relative[e[l].type])p=[ye(we(p),n)];else{if((n=i.filter[e[l].type].apply(null,e[l].matches))[y]){for(o=++l;o<r&&!i.relative[e[o].type];o++);return ke(l>1&&we(p),l>1&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(I,"$1"),n,l<o&&Ae(e.slice(l,o)),o<r&&Ae(e=e.slice(o)),o<r&&be(e))}p.push(n)}return we(p)}return _e.prototype=i.filters=i.pseudos,i.setFilters=new _e,a=se.tokenize=function(e,t){var n,o,r,a,s,l,c,u=C[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=i.preFilter;s;){for(a in n&&!(o=H.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(r=[])),n=!1,(o=U.exec(s))&&(n=o.shift(),r.push({value:n,type:o[0].replace(I," ")}),s=s.slice(n.length)),i.filter)!(o=G[a].exec(s))||c[a]&&!(o=c[a](o))||(n=o.shift(),r.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):C(e,l).slice(0)},s=se.compile=function(e,t){var n,o=[],r=[],s=S[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Ae(t[n]))[y]?o.push(s):r.push(s);(s=S(e,function(e,t){var n=t.length>0,o=e.length>0,r=function(r,a,s,l,u){var d,m,g,v=0,_="0",b=r&&[],y=[],w=c,k=r||o&&i.find.TAG("*",u),A=x+=null==w?1:Math.random()||.1,C=k.length;for(u&&(c=a===f||a||u);_!==C&&null!=(d=k[_]);_++){if(o&&d){for(m=0,a||d.ownerDocument===f||(p(d),s=!h);g=e[m++];)if(g(d,a||f,s)){l.push(d);break}u&&(x=A)}n&&((d=!g&&d)&&v--,r&&b.push(d))}if(v+=_,n&&_!==v){for(m=0;g=t[m++];)g(b,y,a,s);if(r){if(v>0)for(;_--;)b[_]||y[_]||(y[_]=E.call(l));y=xe(y)}$.apply(l,y),u&&!r&&y.length>0&&v+t.length>1&&se.uniqueSort(l)}return u&&(x=A,c=w),b};return n?ce(r):r}(r,o))).selector=e}return s},l=se.select=function(e,t,n,o){var r,l,c,u,d,p="function"==typeof e&&e,f=!o&&a(e=p.selector||e);if(n=n||[],1===f.length){if((l=f[0]=f[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&h&&i.relative[l[1].type]){if(!(t=(i.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(r=G.needsContext.test(e)?0:l.length;r--&&(c=l[r],!i.relative[u=c.type]);)if((d=i.find[u])&&(o=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ve(t.parentNode)||t))){if(l.splice(r,1),!(e=o.length&&be(l)))return $.apply(n,o),n;break}}return(p||s(e,f))(o,t,!h,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=y.split("").sort(P).join("")===y,n.detectDuplicates=!!d,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||de(L,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),se}(e);y.find=k,y.expr=k.selectors,y.expr[":"]=y.expr.pseudos,y.uniqueSort=y.unique=k.uniqueSort,y.text=k.getText,y.isXMLDoc=k.isXML,y.contains=k.contains,y.escapeSelector=k.escape;var A=function(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&y(e).is(n))break;i.push(e)}return i},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},S=y.expr.match.needsContext;function M(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var P=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(e,t,n){return h(t)?y.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?y.grep(e,function(e){return e===t!==n}):"string"!=typeof t?y.grep(e,function(e){return l.call(t,e)>-1!==n}):y.filter(t,e,n)}y.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?y.find.matchesSelector(i,e)?[i]:[]:y.find.matches(e,y.grep(t,function(e){return 1===e.nodeType}))},y.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(y(e).filter(function(){for(t=0;t<i;t++)if(y.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)y.find(e,o[t],n);return i>1?y.uniqueSort(n):n},filter:function(e){return this.pushStack(O(this,e||[],!1))},not:function(e){return this.pushStack(O(this,e||[],!0))},is:function(e){return!!O(this,"string"==typeof e&&S.test(e)?y(e):e||[],!1).length}});var T,E=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(y.fn.init=function(e,t,n){var o,r;if(!e)return this;if(n=n||T,"string"==typeof e){if(!(o="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:E.exec(e))||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(t=t instanceof y?t[0]:t,y.merge(this,y.parseHTML(o[1],t&&t.nodeType?t.ownerDocument||t:i,!0)),P.test(o[1])&&y.isPlainObject(t))for(o in t)h(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return(r=i.getElementById(o[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):h(e)?void 0!==n.ready?n.ready(e):e(y):y.makeArray(e,this)}).prototype=y.fn,T=y(i);var N=/^(?:parents|prev(?:Until|All))/,$={children:!0,contents:!0,next:!0,prev:!0};function j(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}y.fn.extend({has:function(e){var t=y(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(y.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,o=this.length,r=[],a="string"!=typeof e&&y(e);if(!S.test(e))for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&y.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?y.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?l.call(y(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(y.uniqueSort(y.merge(this.get(),y(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),y.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return A(e,"parentNode")},parentsUntil:function(e,t,n){return A(e,"parentNode",n)},next:function(e){return j(e,"nextSibling")},prev:function(e){return j(e,"previousSibling")},nextAll:function(e){return A(e,"nextSibling")},prevAll:function(e){return A(e,"previousSibling")},nextUntil:function(e,t,n){return A(e,"nextSibling",n)},prevUntil:function(e,t,n){return A(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(M(e,"template")&&(e=e.content||e),y.merge([],e.childNodes))}},function(e,t){y.fn[e]=function(n,i){var o=y.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=y.filter(i,o)),this.length>1&&($[e]||y.uniqueSort(o),N.test(e)&&o.reverse()),this.pushStack(o)}});var q=/[^\x20\t\r\n\f]+/g;function L(e){return e}function F(e){throw e}function D(e,t,n,i){var o;try{e&&h(o=e.promise)?o.call(e).done(t).fail(n):e&&h(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}y.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return y.each(e.match(q)||[],function(e,n){t[n]=!0}),t}(e):y.extend({},e);var t,n,i,o,r=[],a=[],s=-1,l=function(){for(o=o||e.once,i=t=!0;a.length;s=-1)for(n=a.shift();++s<r.length;)!1===r[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=r.length,n=!1);e.memory||(n=!1),t=!1,o&&(r=n?[]:"")},c={add:function(){return r&&(n&&!t&&(s=r.length-1,a.push(n)),function t(n){y.each(n,function(n,i){h(i)?e.unique&&c.has(i)||r.push(i):i&&i.length&&"string"!==b(i)&&t(i)})}(arguments),n&&!t&&l()),this},remove:function(){return y.each(arguments,function(e,t){for(var n;(n=y.inArray(t,r,n))>-1;)r.splice(n,1),n<=s&&s--}),this},has:function(e){return e?y.inArray(e,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=a=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=a=[],n||t||(r=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},y.extend({Deferred:function(t){var n=[["notify","progress",y.Callbacks("memory"),y.Callbacks("memory"),2],["resolve","done",y.Callbacks("once memory"),y.Callbacks("once memory"),0,"resolved"],["reject","fail",y.Callbacks("once memory"),y.Callbacks("once memory"),1,"rejected"]],i="pending",o={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return y.Deferred(function(t){y.each(n,function(n,i){var o=h(e[i[4]])&&e[i[4]];r[i[1]](function(){var e=o&&o.apply(this,arguments);e&&h(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(t,i,o){var r=0;function a(t,n,i,o){return function(){var s=this,l=arguments,c=function(){var e,c;if(!(t<r)){if((e=i.apply(s,l))===n.promise())throw new TypeError("Thenable self-resolution");c=e&&("object"==typeof e||"function"==typeof e)&&e.then,h(c)?o?c.call(e,a(r,n,L,o),a(r,n,F,o)):(r++,c.call(e,a(r,n,L,o),a(r,n,F,o),a(r,n,L,n.notifyWith))):(i!==L&&(s=void 0,l=[e]),(o||n.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(e){y.Deferred.exceptionHook&&y.Deferred.exceptionHook(e,u.stackTrace),t+1>=r&&(i!==F&&(s=void 0,l=[e]),n.rejectWith(s,l))}};t?u():(y.Deferred.getStackHook&&(u.stackTrace=y.Deferred.getStackHook()),e.setTimeout(u))}}return y.Deferred(function(e){n[0][3].add(a(0,e,h(o)?o:L,e.notifyWith)),n[1][3].add(a(0,e,h(t)?t:L)),n[2][3].add(a(0,e,h(i)?i:F))}).promise()},promise:function(e){return null!=e?y.extend(e,o):o}},r={};return y.each(n,function(e,t){var a=t[2],s=t[5];o[t[1]]=a.add,s&&a.add(function(){i=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),r[t[0]]=function(){return r[t[0]+"With"](this===r?void 0:this,arguments),this},r[t[0]+"With"]=a.fireWith}),o.promise(r),t&&t.call(r,r),r},when:function(e){var t=arguments.length,n=t,i=Array(n),o=r.call(arguments),a=y.Deferred(),s=function(e){return function(n){i[e]=this,o[e]=arguments.length>1?r.call(arguments):n,--t||a.resolveWith(i,o)}};if(t<=1&&(D(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||h(o[n]&&o[n].then)))return a.then();for(;n--;)D(o[n],s(n),a.reject);return a.promise()}});var R=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;y.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&R.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},y.readyException=function(t){e.setTimeout(function(){throw t})};var z=y.Deferred();function B(){i.removeEventListener("DOMContentLoaded",B),e.removeEventListener("load",B),y.ready()}y.fn.ready=function(e){return z.then(e).catch(function(e){y.readyException(e)}),this},y.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--y.readyWait:y.isReady)||(y.isReady=!0,!0!==e&&--y.readyWait>0||z.resolveWith(i,[y]))}}),y.ready.then=z.then,"complete"===i.readyState||"loading"!==i.readyState&&!i.documentElement.doScroll?e.setTimeout(y.ready):(i.addEventListener("DOMContentLoaded",B),e.addEventListener("load",B));var I=function(e,t,n,i,o,r,a){var s=0,l=e.length,c=null==n;if("object"===b(n))for(s in o=!0,n)I(e,t,s,n[s],!0,r,a);else if(void 0!==i&&(o=!0,h(i)||(a=!0),c&&(a?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(y(e),n)})),t))for(;s<l;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):r},H=/^-ms-/,U=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function W(e){return e.replace(H,"ms-").replace(U,V)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=y.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[W(t)]=n;else for(i in t)o[W(i)]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][W(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(W):(t=W(t))in i?[t]:t.match(q)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||y.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!y.isEmptyObject(t)}};var K=new G,J=new G,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Z=/[A-Z]/g;function Q(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(Z,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:X.test(e)?JSON.parse(e):e)}(n)}catch(e){}J.set(e,t,n)}else n=void 0;return n}y.extend({hasData:function(e){return J.hasData(e)||K.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return K.access(e,t,n)},_removeData:function(e,t){K.remove(e,t)}}),y.fn.extend({data:function(e,t){var n,i,o,r=this[0],a=r&&r.attributes;if(void 0===e){if(this.length&&(o=J.get(r),1===r.nodeType&&!K.get(r,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&(i=W(i.slice(5)),Q(r,i,o[i]));K.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){J.set(this,e)}):I(this,function(t){var n;if(r&&void 0===t)return void 0!==(n=J.get(r,e))?n:void 0!==(n=Q(r,e))?n:void 0;this.each(function(){J.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){J.remove(this,e)})}}),y.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=K.get(e,t),n&&(!i||Array.isArray(n)?i=K.access(e,t,y.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=y.queue(e,t),i=n.length,o=n.shift(),r=y._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,function(){y.dequeue(e,t)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return K.get(e,n)||K.access(e,n,{empty:y.Callbacks("once memory").add(function(){K.remove(e,[t+"queue",n])})})}}),y.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?y.queue(this[0],e):void 0===t?this:this.each(function(){var n=y.queue(this,e,t);y._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&y.dequeue(this,e)})},dequeue:function(e){return this.each(function(){y.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=y.Deferred(),r=this,a=this.length,s=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=K.get(r[a],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],ie=i.documentElement,oe=function(e){return y.contains(e.ownerDocument,e)},re={composed:!0};ie.getRootNode&&(oe=function(e){return y.contains(e.ownerDocument,e)||e.getRootNode(re)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&oe(e)&&"none"===y.css(e,"display")},se=function(e,t,n,i){var o,r,a={};for(r in t)a[r]=e.style[r],e.style[r]=t[r];for(r in o=n.apply(e,i||[]),t)e.style[r]=a[r];return o};function le(e,t,n,i){var o,r,a=20,s=i?function(){return i.cur()}:function(){return y.css(e,t,"")},l=s(),c=n&&n[3]||(y.cssNumber[t]?"":"px"),u=e.nodeType&&(y.cssNumber[t]||"px"!==c&&+l)&&te.exec(y.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)y.style(e,t,u+c),(1-r)*(1-(r=s()/l||.5))<=0&&(a=0),u/=r;u*=2,y.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}var ce={};function ue(e){var t,n=e.ownerDocument,i=e.nodeName,o=ce[i];return o||(t=n.body.appendChild(n.createElement(i)),o=y.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),ce[i]=o,o)}function de(e,t){for(var n,i,o=[],r=0,a=e.length;r<a;r++)(i=e[r]).style&&(n=i.style.display,t?("none"===n&&(o[r]=K.get(i,"display")||null,o[r]||(i.style.display="")),""===i.style.display&&ae(i)&&(o[r]=ue(i))):"none"!==n&&(o[r]="none",K.set(i,"display",n)));for(r=0;r<a;r++)null!=o[r]&&(e[r].style.display=o[r]);return e}y.fn.extend({show:function(){return de(this,!0)},hide:function(){return de(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?y(this).show():y(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,fe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,me=/^$|^module$|\/(?:java|ecma)script/i,he={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&M(e,t)?y.merge([e],n):n}function ve(e,t){for(var n=0,i=e.length;n<i;n++)K.set(e[n],"globalEval",!t||K.get(t[n],"globalEval"))}he.optgroup=he.option,he.tbody=he.tfoot=he.colgroup=he.caption=he.thead,he.th=he.td;var _e,be,ye=/<|&#?\w+;/;function we(e,t,n,i,o){for(var r,a,s,l,c,u,d=t.createDocumentFragment(),p=[],f=0,m=e.length;f<m;f++)if((r=e[f])||0===r)if("object"===b(r))y.merge(p,r.nodeType?[r]:r);else if(ye.test(r)){for(a=a||d.appendChild(t.createElement("div")),s=(fe.exec(r)||["",""])[1].toLowerCase(),l=he[s]||he._default,a.innerHTML=l[1]+y.htmlPrefilter(r)+l[2],u=l[0];u--;)a=a.lastChild;y.merge(p,a.childNodes),(a=d.firstChild).textContent=""}else p.push(t.createTextNode(r));for(d.textContent="",f=0;r=p[f++];)if(i&&y.inArray(r,i)>-1)o&&o.push(r);else if(c=oe(r),a=ge(d.appendChild(r),"script"),c&&ve(a),n)for(u=0;r=a[u++];)me.test(r.type||"")&&n.push(r);return d}_e=i.createDocumentFragment().appendChild(i.createElement("div")),(be=i.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),_e.appendChild(be),m.checkClone=_e.cloneNode(!0).cloneNode(!0).lastChild.checked,_e.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!_e.cloneNode(!0).lastChild.defaultValue;var xe=/^key/,ke=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ae=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Se(){return!1}function Me(e,t){return e===function(){try{return i.activeElement}catch(e){}}()==("focus"===t)}function Pe(e,t,n,i,o,r){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=void 0),t)Pe(e,s,n,i,t[s],r);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=Se;else if(!o)return e;return 1===r&&(a=o,(o=function(e){return y().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=y.guid++)),e.each(function(){y.event.add(this,t,o,i,n)})}function Oe(e,t,n){n?(K.set(e,t,!1),y.event.add(e,t,{namespace:!1,handler:function(e){var i,o,a=K.get(this,t);if(1&e.isTrigger&&this[t]){if(a.length)(y.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=r.call(arguments),K.set(this,t,a),i=n(this,t),this[t](),a!==(o=K.get(this,t))||i?K.set(this,t,!1):o={},a!==o)return e.stopImmediatePropagation(),e.preventDefault(),o.value}else a.length&&(K.set(this,t,{value:y.event.trigger(y.extend(a[0],y.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,t)&&y.event.add(e,t,Ce)}y.event={global:{},add:function(e,t,n,i,o){var r,a,s,l,c,u,d,p,f,m,h,g=K.get(e);if(g)for(n.handler&&(n=(r=n).handler,o=r.selector),o&&y.find.matchesSelector(ie,o),n.guid||(n.guid=y.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(t){return void 0!==y&&y.event.triggered!==t.type?y.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(q)||[""]).length;c--;)f=h=(s=Ae.exec(t[c])||[])[1],m=(s[2]||"").split(".").sort(),f&&(d=y.event.special[f]||{},f=(o?d.delegateType:d.bindType)||f,d=y.event.special[f]||{},u=y.extend({type:f,origType:h,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&y.expr.match.needsContext.test(o),namespace:m.join(".")},r),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,m,a)||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),y.event.global[f]=!0)},remove:function(e,t,n,i,o){var r,a,s,l,c,u,d,p,f,m,h,g=K.hasData(e)&&K.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(q)||[""]).length;c--;)if(f=h=(s=Ae.exec(t[c])||[])[1],m=(s[2]||"").split(".").sort(),f){for(d=y.event.special[f]||{},p=l[f=(i?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=p.length;r--;)u=p[r],!o&&h!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(r,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,m,g.handle)||y.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)y.event.remove(e,f+t[c],n,i,!0);y.isEmptyObject(l)&&K.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,r,a,s=y.event.fix(e),l=new Array(arguments.length),c=(K.get(this,"events")||{})[s.type]||[],u=y.event.special[s.type]||{};for(l[0]=s,t=1;t<arguments.length;t++)l[t]=arguments[t];if(s.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,s)){for(a=y.event.handlers.call(this,s,c),t=0;(o=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==r.namespace&&!s.rnamespace.test(r.namespace)||(s.handleObj=r,s.data=r.data,void 0!==(i=((y.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,l))&&!1===(s.result=i)&&(s.preventDefault(),s.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,i,o,r,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(r=[],a={},n=0;n<l;n++)void 0===a[o=(i=t[n]).selector+" "]&&(a[o]=i.needsContext?y(o,this).index(c)>-1:y.find(o,this,null,[c]).length),a[o]&&r.push(i);r.length&&s.push({elem:c,handlers:r})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(y.Event.prototype,e,{enumerable:!0,configurable:!0,get:h(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[y.expando]?e:new y.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&M(t,"input")&&Oe(t,"click",Ce),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&M(t,"input")&&Oe(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&M(t,"input")&&K.get(t,"click")||M(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},y.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},y.Event=function(e,t){if(!(this instanceof y.Event))return new y.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:Se,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&y.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[y.expando]=!0},y.Event.prototype={constructor:y.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},y.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&xe.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&ke.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},y.event.addProp),y.each({focus:"focusin",blur:"focusout"},function(e,t){y.event.special[e]={setup:function(){return Oe(this,e,Me),!1},trigger:function(){return Oe(this,e),!0},delegateType:t}}),y.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){y.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,o=e.handleObj;return i&&(i===this||y.contains(this,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),y.fn.extend({on:function(e,t,n,i){return Pe(this,e,t,n,i)},one:function(e,t,n,i){return Pe(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,y(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Se),this.each(function(){y.event.remove(this,e,n,t)})}});var Te=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ee=/<script|<style|<link/i,Ne=/checked\s*(?:[^=]|=\s*.checked.)/i,$e=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function je(e,t){return M(e,"table")&&M(11!==t.nodeType?t:t.firstChild,"tr")&&y(e).children("tbody")[0]||e}function qe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,i,o,r,a,s,l,c;if(1===t.nodeType){if(K.hasData(e)&&(r=K.access(e),a=K.set(t,r),c=r.events))for(o in delete a.handle,a.events={},c)for(n=0,i=c[o].length;n<i;n++)y.event.add(t,o,c[o][n]);J.hasData(e)&&(s=J.access(e),l=y.extend({},s),J.set(t,l))}}function De(e,t,n,i){t=a.apply([],t);var o,r,s,l,c,u,d=0,p=e.length,f=p-1,g=t[0],v=h(g);if(v||p>1&&"string"==typeof g&&!m.checkClone&&Ne.test(g))return e.each(function(o){var r=e.eq(o);v&&(t[0]=g.call(this,o,r.html())),De(r,t,n,i)});if(p&&(r=(o=we(t,e[0].ownerDocument,!1,e,i)).firstChild,1===o.childNodes.length&&(o=r),r||i)){for(l=(s=y.map(ge(o,"script"),qe)).length;d<p;d++)c=o,d!==f&&(c=y.clone(c,!0,!0),l&&y.merge(s,ge(c,"script"))),n.call(e[d],c,d);if(l)for(u=s[s.length-1].ownerDocument,y.map(s,Le),d=0;d<l;d++)c=s[d],me.test(c.type||"")&&!K.access(c,"globalEval")&&y.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?y._evalUrl&&!c.noModule&&y._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")}):_(c.textContent.replace($e,""),c,u))}return e}function Re(e,t,n){for(var i,o=t?y.filter(t,e):e,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||y.cleanData(ge(i)),i.parentNode&&(n&&oe(i)&&ve(ge(i,"script")),i.parentNode.removeChild(i));return e}y.extend({htmlPrefilter:function(e){return e.replace(Te,"<$1></$2>")},clone:function(e,t,n){var i,o,r,a,s,l,c,u=e.cloneNode(!0),d=oe(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||y.isXMLDoc(e)))for(a=ge(u),i=0,o=(r=ge(e)).length;i<o;i++)s=r[i],l=a[i],void 0,"input"===(c=l.nodeName.toLowerCase())&&pe.test(s.type)?l.checked=s.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=s.defaultValue);if(t)if(n)for(r=r||ge(e),a=a||ge(u),i=0,o=r.length;i<o;i++)Fe(r[i],a[i]);else Fe(e,u);return(a=ge(u,"script")).length>0&&ve(a,!d&&ge(e,"script")),u},cleanData:function(e){for(var t,n,i,o=y.event.special,r=0;void 0!==(n=e[r]);r++)if(Y(n)){if(t=n[K.expando]){if(t.events)for(i in t.events)o[i]?y.event.remove(n,i):y.removeEvent(n,i,t.handle);n[K.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),y.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return I(this,function(e){return void 0===e?y.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return De(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||je(this,e).appendChild(e)})},prepend:function(){return De(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=je(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return De(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return De(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(y.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return y.clone(this,e,t)})},html:function(e){return I(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ee.test(e)&&!he[(fe.exec(e)||["",""])[1].toLowerCase()]){e=y.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(y.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return De(this,arguments,function(t){var n=this.parentNode;y.inArray(this,e)<0&&(y.cleanData(ge(this)),n&&n.replaceChild(t,this))},e)}}),y.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){y.fn[e]=function(e){for(var n,i=[],o=y(e),r=o.length-1,a=0;a<=r;a++)n=a===r?this:this.clone(!0),y(o[a])[t](n),s.apply(i,n.get());return this.pushStack(i)}});var ze=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Be=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Ie=new RegExp(ne.join("|"),"i");function He(e,t,n){var i,o,r,a,s=e.style;return(n=n||Be(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||oe(e)||(a=y.style(e,t)),!m.pixelBoxStyles()&&ze.test(a)&&Ie.test(t)&&(i=s.width,o=s.minWidth,r=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=o,s.maxWidth=r)),void 0!==a?a+"":a}function Ue(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ie.appendChild(c).appendChild(u);var t=e.getComputedStyle(u);o="1%"!==t.top,l=12===n(t.marginLeft),u.style.right="60%",s=36===n(t.right),r=36===n(t.width),u.style.position="absolute",a=12===n(u.offsetWidth/3),ie.removeChild(c),u=null}}function n(e){return Math.round(parseFloat(e))}var o,r,a,s,l,c=i.createElement("div"),u=i.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===u.style.backgroundClip,y.extend(m,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),o},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),a}}))}();var Ve=["Webkit","Moz","ms"],We=i.createElement("div").style,Ye={};function Ge(e){var t=y.cssProps[e]||Ye[e];return t||(e in We?e:Ye[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ve.length;n--;)if((e=Ve[n]+t)in We)return e}(e)||e)}var Ke=/^(none|table(?!-c[ea]).+)/,Je=/^--/,Xe={position:"absolute",visibility:"hidden",display:"block"},Ze={letterSpacing:"0",fontWeight:"400"};function Qe(e,t,n){var i=te.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function et(e,t,n,i,o,r){var a="width"===t?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=y.css(e,n+ne[a],!0,o)),i?("content"===n&&(l-=y.css(e,"padding"+ne[a],!0,o)),"margin"!==n&&(l-=y.css(e,"border"+ne[a]+"Width",!0,o))):(l+=y.css(e,"padding"+ne[a],!0,o),"padding"!==n?l+=y.css(e,"border"+ne[a]+"Width",!0,o):s+=y.css(e,"border"+ne[a]+"Width",!0,o));return!i&&r>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-l-s-.5))||0),l}function tt(e,t,n){var i=Be(e),o=(!m.boxSizingReliable()||n)&&"border-box"===y.css(e,"boxSizing",!1,i),r=o,a=He(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(ze.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&o||"auto"===a||!parseFloat(a)&&"inline"===y.css(e,"display",!1,i))&&e.getClientRects().length&&(o="border-box"===y.css(e,"boxSizing",!1,i),(r=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+et(e,t,n||(o?"border":"content"),r,i,a)+"px"}function nt(e,t,n,i,o){return new nt.prototype.init(e,t,n,i,o)}y.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=He(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,a,s=W(t),l=Je.test(t),c=e.style;if(l||(t=Ge(s)),a=y.cssHooks[t]||y.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,i))?o:c[t];"string"===(r=typeof n)&&(o=te.exec(n))&&o[1]&&(n=le(e,t,o),r="number"),null!=n&&n==n&&("number"!==r||l||(n+=o&&o[3]||(y.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var o,r,a,s=W(t);return Je.test(t)||(t=Ge(s)),(a=y.cssHooks[t]||y.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=He(e,t,i)),"normal"===o&&t in Ze&&(o=Ze[t]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),y.each(["height","width"],function(e,t){y.cssHooks[t]={get:function(e,n,i){if(n)return!Ke.test(y.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,i):se(e,Xe,function(){return tt(e,t,i)})},set:function(e,n,i){var o,r=Be(e),a=!m.scrollboxSize()&&"absolute"===r.position,s=(a||i)&&"border-box"===y.css(e,"boxSizing",!1,r),l=i?et(e,t,i,s,r):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(r[t])-et(e,t,"border",!1,r)-.5)),l&&(o=te.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=y.css(e,t)),Qe(0,n,l)}}}),y.cssHooks.marginLeft=Ue(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat(He(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),y.each({margin:"",padding:"",border:"Width"},function(e,t){y.cssHooks[e+t]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[e+ne[i]+t]=r[i]||r[i-2]||r[0];return o}},"margin"!==e&&(y.cssHooks[e+t].set=Qe)}),y.fn.extend({css:function(e,t){return I(this,function(e,t,n){var i,o,r={},a=0;if(Array.isArray(t)){for(i=Be(e),o=t.length;a<o;a++)r[t[a]]=y.css(e,t[a],!1,i);return r}return void 0!==n?y.style(e,t,n):y.css(e,t)},e,t,arguments.length>1)}}),y.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||y.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(y.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=y.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=y.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){y.fx.step[e.prop]?y.fx.step[e.prop](e):1!==e.elem.nodeType||!y.cssHooks[e.prop]&&null==e.elem.style[Ge(e.prop)]?e.elem[e.prop]=e.now:y.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},y.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},y.fx=nt.prototype.init,y.fx.step={};var it,ot,rt=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){ot&&(!1===i.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(st):e.setTimeout(st,y.fx.interval),y.fx.tick())}function lt(){return e.setTimeout(function(){it=void 0}),it=Date.now()}function ct(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=ne[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function ut(e,t,n){for(var i,o=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),r=0,a=o.length;r<a;r++)if(i=o[r].call(n,t,e))return i}function dt(e,t,n){var i,o,r=0,a=dt.prefilters.length,s=y.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=it||lt(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),r=0,a=c.tweens.length;r<a;r++)c.tweens[r].run(i);return s.notifyWith(e,[c,i,n]),i<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:y.extend({},t),opts:y.extend(!0,{specialEasing:{},easing:y.easing._default},n),originalProperties:t,originalOptions:n,startTime:it||lt(),duration:n.duration,tweens:[],createTween:function(t,n){var i=y.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,i,o,r,a;for(n in e)if(o=t[i=W(n)],r=e[n],Array.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),(a=y.cssHooks[i])&&"expand"in a)for(n in r=a.expand(r),delete e[i],r)n in e||(e[n]=r[n],t[n]=o);else t[i]=o}(u,c.opts.specialEasing);r<a;r++)if(i=dt.prefilters[r].call(c,e,u,c.opts))return h(i.stop)&&(y._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return y.map(u,ut,c),h(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),y.fx.timer(y.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}y.Animation=y.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){h(e)?(t=e,e=["*"]):e=e.match(q);for(var n,i=0,o=e.length;i<o;i++)n=e[i],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,o,r,a,s,l,c,u,d="width"in t||"height"in t,p=this,f={},m=e.style,h=e.nodeType&&ae(e),g=K.get(e,"fxshow");for(i in n.queue||(null==(a=y._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,y.queue(e,"fx").length||a.empty.fire()})})),t)if(o=t[i],rt.test(o)){if(delete t[i],r=r||"toggle"===o,o===(h?"hide":"show")){if("show"!==o||!g||void 0===g[i])continue;h=!0}f[i]=g&&g[i]||y.style(e,i)}if((l=!y.isEmptyObject(t))||!y.isEmptyObject(f))for(i in d&&1===e.nodeType&&(n.overflow=[m.overflow,m.overflowX,m.overflowY],null==(c=g&&g.display)&&(c=K.get(e,"display")),"none"===(u=y.css(e,"display"))&&(c?u=c:(de([e],!0),c=e.style.display||c,u=y.css(e,"display"),de([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===y.css(e,"float")&&(l||(p.done(function(){m.display=c}),null==c&&(u=m.display,c="none"===u?"":u)),m.display="inline-block")),n.overflow&&(m.overflow="hidden",p.always(function(){m.overflow=n.overflow[0],m.overflowX=n.overflow[1],m.overflowY=n.overflow[2]})),l=!1,f)l||(g?"hidden"in g&&(h=g.hidden):g=K.access(e,"fxshow",{display:c}),r&&(g.hidden=!h),h&&de([e],!0),p.done(function(){for(i in h||de([e]),K.remove(e,"fxshow"),f)y.style(e,i,f[i])})),l=ut(h?g[i]:0,i,p),i in g||(g[i]=l.start,h&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),y.speed=function(e,t,n){var i=e&&"object"==typeof e?y.extend({},e):{complete:n||!n&&t||h(e)&&e,duration:e,easing:n&&t||t&&!h(t)&&t};return y.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in y.fx.speeds?i.duration=y.fx.speeds[i.duration]:i.duration=y.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){h(i.old)&&i.old.call(this),i.queue&&y.dequeue(this,i.queue)},i},y.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=y.isEmptyObject(e),r=y.speed(t,n,i),a=function(){var t=dt(this,y.extend({},e),r);(o||K.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===r.queue?this.each(a):this.queue(r.queue,a)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",r=y.timers,a=K.get(this);if(o)a[o]&&a[o].stop&&i(a[o]);else for(o in a)a[o]&&a[o].stop&&at.test(o)&&i(a[o]);for(o=r.length;o--;)r[o].elem!==this||null!=e&&r[o].queue!==e||(r[o].anim.stop(n),t=!1,r.splice(o,1));!t&&n||y.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=K.get(this),i=n[e+"queue"],o=n[e+"queueHooks"],r=y.timers,a=i?i.length:0;for(n.finish=!0,y.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<a;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),y.each(["toggle","show","hide"],function(e,t){var n=y.fn[t];y.fn[t]=function(e,i,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,i,o)}}),y.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){y.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),y.timers=[],y.fx.tick=function(){var e,t=0,n=y.timers;for(it=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||y.fx.stop(),it=void 0},y.fx.timer=function(e){y.timers.push(e),y.fx.start()},y.fx.interval=13,y.fx.start=function(){ot||(ot=!0,st())},y.fx.stop=function(){ot=null},y.fx.speeds={slow:600,fast:200,_default:400},y.fn.delay=function(t,n){return t=y.fx&&y.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(n,i){var o=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(o)}})},function(){var e=i.createElement("input"),t=i.createElement("select").appendChild(i.createElement("option"));e.type="checkbox",m.checkOn=""!==e.value,m.optSelected=t.selected,(e=i.createElement("input")).value="t",e.type="radio",m.radioValue="t"===e.value}();var pt,ft=y.expr.attrHandle;y.fn.extend({attr:function(e,t){return I(this,y.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){y.removeAttr(this,e)})}}),y.extend({attr:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?y.prop(e,t,n):(1===r&&y.isXMLDoc(e)||(o=y.attrHooks[t.toLowerCase()]||(y.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void y.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:null==(i=y.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&M(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(q);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?y.removeAttr(e,n):e.setAttribute(n,n),n}},y.each(y.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ft[t]||y.find.attr;ft[t]=function(e,t,i){var o,r,a=t.toLowerCase();return i||(r=ft[a],ft[a]=o,o=null!=n(e,t,i)?a:null,ft[a]=r),o}});var mt=/^(?:input|select|textarea|button)$/i,ht=/^(?:a|area)$/i;function gt(e){return(e.match(q)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function _t(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(q)||[]}y.fn.extend({prop:function(e,t){return I(this,y.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[y.propFix[e]||e]})}}),y.extend({prop:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&y.isXMLDoc(e)||(t=y.propFix[t]||t,o=y.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=y.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||ht.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(y.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),y.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){y.propFix[this.toLowerCase()]=this}),y.fn.extend({addClass:function(e){var t,n,i,o,r,a,s,l=0;if(h(e))return this.each(function(t){y(this).addClass(e.call(this,t,vt(this)))});if((t=_t(e)).length)for(;n=this[l++];)if(o=vt(n),i=1===n.nodeType&&" "+gt(o)+" "){for(a=0;r=t[a++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");o!==(s=gt(i))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,i,o,r,a,s,l=0;if(h(e))return this.each(function(t){y(this).removeClass(e.call(this,t,vt(this)))});if(!arguments.length)return this.attr("class","");if((t=_t(e)).length)for(;n=this[l++];)if(o=vt(n),i=1===n.nodeType&&" "+gt(o)+" "){for(a=0;r=t[a++];)for(;i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");o!==(s=gt(i))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):h(e)?this.each(function(n){y(this).toggleClass(e.call(this,n,vt(this),t),t)}):this.each(function(){var t,o,r,a;if(i)for(o=0,r=y(this),a=_t(e);t=a[o++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else void 0!==e&&"boolean"!==n||((t=vt(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":K.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+gt(vt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;y.fn.extend({val:function(e){var t,n,i,o=this[0];return arguments.length?(i=h(e),this.each(function(n){var o;1===this.nodeType&&(null==(o=i?e.call(this,n,y(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=y.map(o,function(e){return null==e?"":e+""})),(t=y.valHooks[this.type]||y.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=y.valHooks[o.type]||y.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(bt,""):null==n?"":n:void 0}}),y.extend({valHooks:{option:{get:function(e){var t=y.find.attr(e,"value");return null!=t?t:gt(y.text(e))}},select:{get:function(e){var t,n,i,o=e.options,r=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?r+1:o.length;for(i=r<0?l:a?r:0;i<l;i++)if(((n=o[i]).selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!M(n.parentNode,"optgroup"))){if(t=y(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,i,o=e.options,r=y.makeArray(t),a=o.length;a--;)((i=o[a]).selected=y.inArray(y.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),y.each(["radio","checkbox"],function(){y.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=y.inArray(y(e).val(),t)>-1}},m.checkOn||(y.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),m.focusin="onfocusin"in e;var yt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};y.extend(y.event,{trigger:function(t,n,o,r){var a,s,l,c,u,p,f,m,v=[o||i],_=d.call(t,"type")?t.type:t,b=d.call(t,"namespace")?t.namespace.split("."):[];if(s=m=l=o=o||i,3!==o.nodeType&&8!==o.nodeType&&!yt.test(_+y.event.triggered)&&(_.indexOf(".")>-1&&(_=(b=_.split(".")).shift(),b.sort()),u=_.indexOf(":")<0&&"on"+_,(t=t[y.expando]?t:new y.Event(_,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=o),n=null==n?[t]:y.makeArray(n,[t]),f=y.event.special[_]||{},r||!f.trigger||!1!==f.trigger.apply(o,n))){if(!r&&!f.noBubble&&!g(o)){for(c=f.delegateType||_,yt.test(c+_)||(s=s.parentNode);s;s=s.parentNode)v.push(s),l=s;l===(o.ownerDocument||i)&&v.push(l.defaultView||l.parentWindow||e)}for(a=0;(s=v[a++])&&!t.isPropagationStopped();)m=s,t.type=a>1?c:f.bindType||_,(p=(K.get(s,"events")||{})[t.type]&&K.get(s,"handle"))&&p.apply(s,n),(p=u&&s[u])&&p.apply&&Y(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=_,r||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(v.pop(),n)||!Y(o)||u&&h(o[_])&&!g(o)&&((l=o[u])&&(o[u]=null),y.event.triggered=_,t.isPropagationStopped()&&m.addEventListener(_,wt),o[_](),t.isPropagationStopped()&&m.removeEventListener(_,wt),y.event.triggered=void 0,l&&(o[u]=l)),t.result}},simulate:function(e,t,n){var i=y.extend(new y.Event,n,{type:e,isSimulated:!0});y.event.trigger(i,null,t)}}),y.fn.extend({trigger:function(e,t){return this.each(function(){y.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return y.event.trigger(e,t,n,!0)}}),m.focusin||y.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){y.event.simulate(t,e.target,y.event.fix(e))};y.event.special[t]={setup:function(){var i=this.ownerDocument||this,o=K.access(i,t);o||i.addEventListener(e,n,!0),K.access(i,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=K.access(i,t)-1;o?K.access(i,t,o):(i.removeEventListener(e,n,!0),K.remove(i,t))}}});var xt=e.location,kt=Date.now(),At=/\?/;y.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||y.error("Invalid XML: "+t),n};var Ct=/\[\]$/,St=/\r?\n/g,Mt=/^(?:submit|button|image|reset|file)$/i,Pt=/^(?:input|select|textarea|keygen)/i;function Ot(e,t,n,i){var o;if(Array.isArray(t))y.each(t,function(t,o){n||Ct.test(e)?i(e,o):Ot(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,i)});else if(n||"object"!==b(t))i(e,t);else for(o in t)Ot(e+"["+o+"]",t[o],n,i)}y.param=function(e,t){var n,i=[],o=function(e,t){var n=h(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!y.isPlainObject(e))y.each(e,function(){o(this.name,this.value)});else for(n in e)Ot(n,e[n],t,o);return i.join("&")},y.fn.extend({serialize:function(){return y.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=y.prop(this,"elements");return e?y.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!y(this).is(":disabled")&&Pt.test(this.nodeName)&&!Mt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=y(this).val();return null==n?null:Array.isArray(n)?y.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}});var Tt=/%20/g,Et=/#.*$/,Nt=/([?&])_=[^&]*/,$t=/^(.*?):[ \t]*([^\r\n]*)$/gm,jt=/^(?:GET|HEAD)$/,qt=/^\/\//,Lt={},Ft={},Dt="*/".concat("*"),Rt=i.createElement("a");function zt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,r=t.toLowerCase().match(q)||[];if(h(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Bt(e,t,n,i){var o={},r=e===Ft;function a(s){var l;return o[s]=!0,y.each(e[s]||[],function(e,s){var c=s(t,n,i);return"string"!=typeof c||r||o[c]?r?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function It(e,t){var n,i,o=y.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i||(i={}))[n]=t[n]);return i&&y.extend(!0,e,i),e}Rt.href=xt.href,y.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":y.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?It(It(e,y.ajaxSettings),t):It(y.ajaxSettings,e)},ajaxPrefilter:zt(Lt),ajaxTransport:zt(Ft),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var o,r,a,s,l,c,u,d,p,f,m=y.ajaxSetup({},n),h=m.context||m,g=m.context&&(h.nodeType||h.jquery)?y(h):y.event,v=y.Deferred(),_=y.Callbacks("once memory"),b=m.statusCode||{},w={},x={},k="canceled",A={readyState:0,getResponseHeader:function(e){var t;if(u){if(!s)for(s={};t=$t.exec(a);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?a:null},setRequestHeader:function(e,t){return null==u&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==u&&(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)A.always(e[A.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||k;return o&&o.abort(t),C(0,t),this}};if(v.promise(A),m.url=((t||m.url||xt.href)+"").replace(qt,xt.protocol+"//"),m.type=n.method||n.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(q)||[""],null==m.crossDomain){c=i.createElement("a");try{c.href=m.url,c.href=c.href,m.crossDomain=Rt.protocol+"//"+Rt.host!=c.protocol+"//"+c.host}catch(e){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=y.param(m.data,m.traditional)),Bt(Lt,m,n,A),u)return A;for(p in(d=y.event&&m.global)&&0==y.active++&&y.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!jt.test(m.type),r=m.url.replace(Et,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(Tt,"+")):(f=m.url.slice(r.length),m.data&&(m.processData||"string"==typeof m.data)&&(r+=(At.test(r)?"&":"?")+m.data,delete m.data),!1===m.cache&&(r=r.replace(Nt,"$1"),f=(At.test(r)?"&":"?")+"_="+kt+++f),m.url=r+f),m.ifModified&&(y.lastModified[r]&&A.setRequestHeader("If-Modified-Since",y.lastModified[r]),y.etag[r]&&A.setRequestHeader("If-None-Match",y.etag[r])),(m.data&&m.hasContent&&!1!==m.contentType||n.contentType)&&A.setRequestHeader("Content-Type",m.contentType),A.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Dt+"; q=0.01":""):m.accepts["*"]),m.headers)A.setRequestHeader(p,m.headers[p]);if(m.beforeSend&&(!1===m.beforeSend.call(h,A,m)||u))return A.abort();if(k="abort",_.add(m.complete),A.done(m.success),A.fail(m.error),o=Bt(Ft,m,n,A)){if(A.readyState=1,d&&g.trigger("ajaxSend",[A,m]),u)return A;m.async&&m.timeout>0&&(l=e.setTimeout(function(){A.abort("timeout")},m.timeout));try{u=!1,o.send(w,C)}catch(e){if(u)throw e;C(-1,e)}}else C(-1,"No Transport");function C(t,n,i,s){var c,p,f,w,x,k=n;u||(u=!0,l&&e.clearTimeout(l),o=void 0,a=s||"",A.readyState=t>0?4:0,c=t>=200&&t<300||304===t,i&&(w=function(e,t,n){for(var i,o,r,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in s)if(s[o]&&s[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){r=o;break}a||(a=o)}r=r||a}if(r)return r!==l[0]&&l.unshift(r),n[r]}(m,A,i)),w=function(e,t,n,i){var o,r,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(r=u.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(a=c[l+" "+r]||c["* "+r]))for(o in c)if((s=o.split(" "))[1]===r&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(r=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}(m,w,A,c),c?(m.ifModified&&((x=A.getResponseHeader("Last-Modified"))&&(y.lastModified[r]=x),(x=A.getResponseHeader("etag"))&&(y.etag[r]=x)),204===t||"HEAD"===m.type?k="nocontent":304===t?k="notmodified":(k=w.state,p=w.data,c=!(f=w.error))):(f=k,!t&&k||(k="error",t<0&&(t=0))),A.status=t,A.statusText=(n||k)+"",c?v.resolveWith(h,[p,k,A]):v.rejectWith(h,[A,k,f]),A.statusCode(b),b=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[A,m,c?p:f]),_.fireWith(h,[A,k]),d&&(g.trigger("ajaxComplete",[A,m]),--y.active||y.event.trigger("ajaxStop")))}return A},getJSON:function(e,t,n){return y.get(e,t,n,"json")},getScript:function(e,t){return y.get(e,void 0,t,"script")}}),y.each(["get","post"],function(e,t){y[t]=function(e,n,i,o){return h(n)&&(o=o||i,i=n,n=void 0),y.ajax(y.extend({url:e,type:t,dataType:o,data:n,success:i},y.isPlainObject(e)&&e))}}),y._evalUrl=function(e,t){return y.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){y.globalEval(e,t)}})},y.fn.extend({wrapAll:function(e){var t;return this[0]&&(h(e)&&(e=e.call(this[0])),t=y(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return h(e)?this.each(function(t){y(this).wrapInner(e.call(this,t))}):this.each(function(){var t=y(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=h(e);return this.each(function(n){y(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){y(this).replaceWith(this.childNodes)}),this}}),y.expr.pseudos.hidden=function(e){return!y.expr.pseudos.visible(e)},y.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},y.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Ht={0:200,1223:204},Ut=y.ajaxSettings.xhr();m.cors=!!Ut&&"withCredentials"in Ut,m.ajax=Ut=!!Ut,y.ajaxTransport(function(t){var n,i;if(m.cors||Ut&&!t.crossDomain)return{send:function(o,r){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);n=function(e){return function(){n&&(n=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?r(0,"error"):r(s.status,s.statusText):r(Ht[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),i=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&i()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),y.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),y.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return y.globalEval(e),e}}}),y.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),y.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(o,r){t=y("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),i.head.appendChild(t[0])},abort:function(){n&&n()}}});var Vt,Wt=[],Yt=/(=)\?(?=&|$)|\?\?/;y.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Wt.pop()||y.expando+"_"+kt++;return this[e]=!0,e}}),y.ajaxPrefilter("json jsonp",function(t,n,i){var o,r,a,s=!1!==t.jsonp&&(Yt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=h(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Yt,"$1"+o):!1!==t.jsonp&&(t.url+=(At.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||y.error(o+" was not called"),a[0]},t.dataTypes[0]="json",r=e[o],e[o]=function(){a=arguments},i.always(function(){void 0===r?y(e).removeProp(o):e[o]=r,t[o]&&(t.jsonpCallback=n.jsonpCallback,Wt.push(o)),a&&h(r)&&r(a[0]),a=r=void 0}),"script"}),m.createHTMLDocument=((Vt=i.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Vt.childNodes.length),y.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((o=(t=i.implementation.createHTMLDocument("")).createElement("base")).href=i.location.href,t.head.appendChild(o)):t=i),a=!n&&[],(r=P.exec(e))?[t.createElement(r[1])]:(r=we([e],t,a),a&&a.length&&y(a).remove(),y.merge([],r.childNodes)));var o,r,a},y.fn.load=function(e,t,n){var i,o,r,a=this,s=e.indexOf(" ");return s>-1&&(i=gt(e.slice(s)),e=e.slice(0,s)),h(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&y.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){r=arguments,a.html(i?y("<div>").append(y.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},y.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){y.fn[t]=function(e){return this.on(t,e)}}),y.expr.pseudos.animated=function(e){return y.grep(y.timers,function(t){return e===t.elem}).length},y.offset={setOffset:function(e,t,n){var i,o,r,a,s,l,c=y.css(e,"position"),u=y(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),r=y.css(e,"top"),l=y.css(e,"left"),("absolute"===c||"fixed"===c)&&(r+l).indexOf("auto")>-1?(a=(i=u.position()).top,o=i.left):(a=parseFloat(r)||0,o=parseFloat(l)||0),h(t)&&(t=t.call(e,n,y.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):u.css(d)}},y.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){y.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],o={top:0,left:0};if("fixed"===y.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===y.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((o=y(e).offset()).top+=y.css(e,"borderTopWidth",!0),o.left+=y.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-y.css(i,"marginTop",!0),left:t.left-o.left-y.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===y.css(e,"position");)e=e.offsetParent;return e||ie})}}),y.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;y.fn[e]=function(i){return I(this,function(e,i,o){var r;if(g(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===o)return r?r[t]:e[i];r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):e[i]=o},e,i,arguments.length)}}),y.each(["top","left"],function(e,t){y.cssHooks[t]=Ue(m.pixelPosition,function(e,n){if(n)return n=He(e,t),ze.test(n)?y(e).position()[t]+"px":n})}),y.each({Height:"height",Width:"width"},function(e,t){y.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){y.fn[i]=function(o,r){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===r?"margin":"border");return I(this,function(t,n,o){var r;return g(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===o?y.css(t,n,s):y.style(t,n,o,s)},t,a?o:void 0,a)}})}),y.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){y.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),y.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),y.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),y.proxy=function(e,t){var n,i,o;if("string"==typeof t&&(n=e[t],t=e,e=n),h(e))return i=r.call(arguments,2),(o=function(){return e.apply(t||this,i.concat(r.call(arguments)))}).guid=e.guid=e.guid||y.guid++,o},y.holdReady=function(e){e?y.readyWait++:y.ready(!0)},y.isArray=Array.isArray,y.parseJSON=JSON.parse,y.nodeName=M,y.isFunction=h,y.isWindow=g,y.camelCase=W,y.type=b,y.now=Date.now,y.isNumeric=function(e){var t=y.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return y});var Gt=e.jQuery,Kt=e.$;return y.noConflict=function(t){return e.$===y&&(e.$=Kt),t&&e.jQuery===y&&(e.jQuery=Gt),y},t||(e.jQuery=e.$=y),y})},{}],76:[function(e,t,n){var i,o;i="undefined"!=typeof self?self:this,o=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},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=1)}([function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(0);var i=function(){function e(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}return e.range=function(t,n){return n?t&&t.loc&&n.loc&&t.loc.lexer===n.loc.lexer?new e(t.loc.lexer,t.loc.start,n.loc.end):null:t&&t.loc},e}(),o=function(){function e(e,t){this.text=void 0,this.loc=void 0,this.text=e,this.loc=t}return e.prototype.range=function(t,n){return new e(n,i.range(this,t))},e}(),r=function e(t,n){this.position=void 0;var i,o="KaTeX parse error: "+t,r=n&&n.loc;if(r&&r.start<=r.end){var a=r.lexer.input;i=r.start;var s=r.end;i===a.length?o+=" at end of input: ":o+=" at position "+(i+1)+": ";var l=a.slice(i,s).replace(/[^]/g,"$&̲");o+=(i>15?"…"+a.slice(i-15,i):a.slice(0,i))+l+(s+15<a.length?a.slice(s,s+15)+"…":a.slice(s))}var c=new Error(o);return c.name="ParseError",c.__proto__=e.prototype,c.position=i,c};r.prototype.__proto__=Error.prototype;var a=r,s=/([A-Z])/g,l={"&":"&",">":">","<":"<",'"':""","'":"'"},c=/[&><"']/g;var u=function e(t){return"ordgroup"===t.type?1===t.body.length?e(t.body[0]):t:"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},d={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(c,function(e){return l[e]})},hyphenate:function(e){return e.replace(s,"-$1").toLowerCase()},getBaseElem:u,isCharacterBox:function(e){var t=u(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"}},p=function(){function e(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,e=e||{},this.displayMode=d.deflt(e.displayMode,!1),this.output=d.deflt(e.output,"htmlAndMathml"),this.leqno=d.deflt(e.leqno,!1),this.fleqn=d.deflt(e.fleqn,!1),this.throwOnError=d.deflt(e.throwOnError,!0),this.errorColor=d.deflt(e.errorColor,"#cc0000"),this.macros=e.macros||{},this.minRuleThickness=Math.max(0,d.deflt(e.minRuleThickness,0)),this.colorIsTextColor=d.deflt(e.colorIsTextColor,!1),this.strict=d.deflt(e.strict,"warn"),this.trust=d.deflt(e.trust,!1),this.maxSize=Math.max(0,d.deflt(e.maxSize,1/0)),this.maxExpand=Math.max(0,d.deflt(e.maxExpand,1e3))}var t=e.prototype;return t.reportNonstrict=function(e,t,n){var i=this.strict;if("function"==typeof i&&(i=i(e,t,n)),i&&"ignore"!==i){if(!0===i||"error"===i)throw new a("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===i?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+i+"': "+t+" ["+e+"]")}},t.useStrictBehavior=function(e,t,n){var i=this.strict;if("function"==typeof i)try{i=i(e,t,n)}catch(e){i="error"}return!(!i||"ignore"===i)&&(!0===i||"error"===i||("warn"===i?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),!1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+i+"': "+t+" ["+e+"]"),!1)))},t.isTrusted=function(e){e.url&&!e.protocol&&(e.protocol=d.protocolFromUrl(e.url));var t="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(t)},e}(),f=function(){function e(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}var t=e.prototype;return t.sup=function(){return m[h[this.id]]},t.sub=function(){return m[g[this.id]]},t.fracNum=function(){return m[v[this.id]]},t.fracDen=function(){return m[_[this.id]]},t.cramp=function(){return m[b[this.id]]},t.text=function(){return m[y[this.id]]},t.isTight=function(){return this.size>=2},e}(),m=[new f(0,0,!1),new f(1,0,!0),new f(2,1,!1),new f(3,1,!0),new f(4,2,!1),new f(5,2,!0),new f(6,3,!1),new f(7,3,!0)],h=[4,5,4,5,6,7,6,7],g=[5,5,5,5,7,7,7,7],v=[2,3,4,5,6,7,6,7],_=[3,3,5,5,7,7,7,7],b=[1,1,3,3,5,5,7,7],y=[0,1,2,3,2,3,2,3],w={DISPLAY:m[0],TEXT:m[2],SCRIPT:m[4],SCRIPTSCRIPT:m[6]},x=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];var k=[];function A(e){for(var t=0;t<k.length;t+=2)if(e>=k[t]&&e<=k[t+1])return!0;return!1}x.forEach(function(e){return e.blocks.forEach(function(e){return k.push.apply(k,e)})});var C={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},S=function(){function e(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var t=e.prototype;return t.hasClass=function(e){return d.contains(this.classes,e)},t.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e},t.toMarkup=function(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e},t.toText=function(){var e=function(e){return e.toText()};return this.children.map(e).join("")},e}(),M=function(e){return e.filter(function(e){return e}).join(" ")},P=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var i=t.getColor();i&&(this.style.color=i)}},O=function(e){var t=document.createElement(e);for(var n in t.className=M(this.classes),this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&t.setAttribute(i,this.attributes[i]);for(var o=0;o<this.children.length;o++)t.appendChild(this.children[o].toNode());return t},T=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+d.escape(M(this.classes))+'"');var n="";for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=d.hyphenate(i)+":"+this.style[i]+";");for(var o in n&&(t+=' style="'+d.escape(n)+'"'),this.attributes)this.attributes.hasOwnProperty(o)&&(t+=" "+o+'="'+d.escape(this.attributes[o])+'"');t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+e+">"},E=function(){function e(e,t,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,P.call(this,e,n,i),this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return d.contains(this.classes,e)},t.toNode=function(){return O.call(this,"span")},t.toMarkup=function(){return T.call(this,"span")},e}(),N=function(){function e(e,t,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,P.call(this,t,i),this.children=n||[],this.setAttribute("href",e)}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return d.contains(this.classes,e)},t.toNode=function(){return O.call(this,"a")},t.toMarkup=function(){return T.call(this,"a")},e}(),$=function(){function e(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}var t=e.prototype;return t.hasClass=function(e){return d.contains(this.classes,e)},t.toNode=function(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e},t.toMarkup=function(){var e="<img src='"+this.src+" 'alt='"+this.alt+"' ",t="";for(var n in this.style)this.style.hasOwnProperty(n)&&(t+=d.hyphenate(n)+":"+this.style[n]+";");return t&&(e+=' style="'+d.escape(t)+'"'),e+="'/>"},e}(),j={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"},q=function(){function e(e,t,n,i,o,r,a,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=n||0,this.italic=i||0,this.skew=o||0,this.width=r||0,this.classes=a||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t<x.length;t++)for(var n=x[t],i=0;i<n.blocks.length;i++){var o=n.blocks[i];if(e>=o[0]&&e<=o[1])return n.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=j[this.text])}var t=e.prototype;return t.hasClass=function(e){return d.contains(this.classes,e)},t.toNode=function(){var e=document.createTextNode(this.text),t=null;for(var n in this.italic>0&&((t=document.createElement("span")).style.marginRight=this.italic+"em"),this.classes.length>0&&((t=t||document.createElement("span")).className=M(this.classes)),this.style)this.style.hasOwnProperty(n)&&((t=t||document.createElement("span")).style[n]=this.style[n]);return t?(t.appendChild(e),t):e},t.toMarkup=function(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=d.escape(M(this.classes)),t+='"');var n="";for(var i in this.italic>0&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(i)&&(n+=d.hyphenate(i)+":"+this.style[i]+";");n&&(e=!0,t+=' style="'+d.escape(n)+'"');var o=d.escape(this.text);return e?(t+=">",t+=o,t+="</span>"):o},e}(),L=function(){function e(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e},t.toMarkup=function(){var e="<svg";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</svg>"},e}(),F=function(){function e(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",C[this.pathName]),e},t.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+C[this.pathName]+"'/>"},e}(),D=function(){function e(e){this.attributes=void 0,this.attributes=e||{}}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e},t.toMarkup=function(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");return e+="/>"},e}();function R(e){if(e instanceof q)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var z={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},B={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},I={"Å":"A","Ç":"C","Ð":"D","Þ":"o","å":"a","ç":"c","ð":"d","þ":"o","А":"A","Б":"B","В":"B","Г":"F","Д":"A","Е":"E","Ж":"K","З":"3","И":"N","Й":"N","К":"K","Л":"N","М":"M","Н":"H","О":"O","П":"N","Р":"P","С":"C","Т":"T","У":"y","Ф":"O","Х":"X","Ц":"U","Ч":"h","Ш":"W","Щ":"W","Ъ":"B","Ы":"X","Ь":"B","Э":"3","Ю":"X","Я":"R","а":"a","б":"b","в":"a","г":"r","д":"y","е":"e","ж":"m","з":"e","и":"n","й":"n","к":"n","л":"n","м":"m","н":"n","о":"o","п":"n","р":"p","с":"c","т":"o","у":"y","ф":"b","х":"x","ц":"n","ч":"n","ш":"w","щ":"w","ъ":"a","ы":"m","ь":"a","э":"e","ю":"m","я":"r"};function H(e,t,n){if(!z[t])throw new Error("Font metrics not found for font: "+t+".");var i=e.charCodeAt(0),o=z[t][i];if(!o&&e[0]in I&&(i=I[e[0]].charCodeAt(0),o=z[t][i]),o||"text"!==n||A(i)&&(o=z[t][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}var U={};var V={bin:1,close:1,inner:1,open:1,punct:1,rel:1},W={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Y={math:{},text:{}},G=Y;function K(e,t,n,i,o,r){Y[e][o]={font:t,group:n,replace:i},r&&i&&(Y[e][i]=Y[e][o])}var J="main",X="ams",Z="bin",Q="mathord",ee="op-token",te="rel";K("math",J,te,"≡","\\equiv",!0),K("math",J,te,"≺","\\prec",!0),K("math",J,te,"≻","\\succ",!0),K("math",J,te,"∼","\\sim",!0),K("math",J,te,"⊥","\\perp"),K("math",J,te,"⪯","\\preceq",!0),K("math",J,te,"⪰","\\succeq",!0),K("math",J,te,"≃","\\simeq",!0),K("math",J,te,"∣","\\mid",!0),K("math",J,te,"≪","\\ll",!0),K("math",J,te,"≫","\\gg",!0),K("math",J,te,"≍","\\asymp",!0),K("math",J,te,"∥","\\parallel"),K("math",J,te,"⋈","\\bowtie",!0),K("math",J,te,"⌣","\\smile",!0),K("math",J,te,"⊑","\\sqsubseteq",!0),K("math",J,te,"⊒","\\sqsupseteq",!0),K("math",J,te,"≐","\\doteq",!0),K("math",J,te,"⌢","\\frown",!0),K("math",J,te,"∋","\\ni",!0),K("math",J,te,"∝","\\propto",!0),K("math",J,te,"⊢","\\vdash",!0),K("math",J,te,"⊣","\\dashv",!0),K("math",J,te,"∋","\\owns"),K("math",J,"punct",".","\\ldotp"),K("math",J,"punct","⋅","\\cdotp"),K("math",J,"textord","#","\\#"),K("text",J,"textord","#","\\#"),K("math",J,"textord","&","\\&"),K("text",J,"textord","&","\\&"),K("math",J,"textord","ℵ","\\aleph",!0),K("math",J,"textord","∀","\\forall",!0),K("math",J,"textord","ℏ","\\hbar",!0),K("math",J,"textord","∃","\\exists",!0),K("math",J,"textord","∇","\\nabla",!0),K("math",J,"textord","♭","\\flat",!0),K("math",J,"textord","ℓ","\\ell",!0),K("math",J,"textord","♮","\\natural",!0),K("math",J,"textord","♣","\\clubsuit",!0),K("math",J,"textord","℘","\\wp",!0),K("math",J,"textord","♯","\\sharp",!0),K("math",J,"textord","♢","\\diamondsuit",!0),K("math",J,"textord","ℜ","\\Re",!0),K("math",J,"textord","♡","\\heartsuit",!0),K("math",J,"textord","ℑ","\\Im",!0),K("math",J,"textord","♠","\\spadesuit",!0),K("text",J,"textord","§","\\S",!0),K("text",J,"textord","¶","\\P",!0),K("math",J,"textord","†","\\dag"),K("text",J,"textord","†","\\dag"),K("text",J,"textord","†","\\textdagger"),K("math",J,"textord","‡","\\ddag"),K("text",J,"textord","‡","\\ddag"),K("text",J,"textord","‡","\\textdaggerdbl"),K("math",J,"close","⎱","\\rmoustache",!0),K("math",J,"open","⎰","\\lmoustache",!0),K("math",J,"close","⟯","\\rgroup",!0),K("math",J,"open","⟮","\\lgroup",!0),K("math",J,Z,"∓","\\mp",!0),K("math",J,Z,"⊖","\\ominus",!0),K("math",J,Z,"⊎","\\uplus",!0),K("math",J,Z,"⊓","\\sqcap",!0),K("math",J,Z,"∗","\\ast"),K("math",J,Z,"⊔","\\sqcup",!0),K("math",J,Z,"◯","\\bigcirc"),K("math",J,Z,"∙","\\bullet"),K("math",J,Z,"‡","\\ddagger"),K("math",J,Z,"≀","\\wr",!0),K("math",J,Z,"⨿","\\amalg"),K("math",J,Z,"&","\\And"),K("math",J,te,"⟵","\\longleftarrow",!0),K("math",J,te,"⇐","\\Leftarrow",!0),K("math",J,te,"⟸","\\Longleftarrow",!0),K("math",J,te,"⟶","\\longrightarrow",!0),K("math",J,te,"⇒","\\Rightarrow",!0),K("math",J,te,"⟹","\\Longrightarrow",!0),K("math",J,te,"↔","\\leftrightarrow",!0),K("math",J,te,"⟷","\\longleftrightarrow",!0),K("math",J,te,"⇔","\\Leftrightarrow",!0),K("math",J,te,"⟺","\\Longleftrightarrow",!0),K("math",J,te,"↦","\\mapsto",!0),K("math",J,te,"⟼","\\longmapsto",!0),K("math",J,te,"↗","\\nearrow",!0),K("math",J,te,"↩","\\hookleftarrow",!0),K("math",J,te,"↪","\\hookrightarrow",!0),K("math",J,te,"↘","\\searrow",!0),K("math",J,te,"↼","\\leftharpoonup",!0),K("math",J,te,"⇀","\\rightharpoonup",!0),K("math",J,te,"↙","\\swarrow",!0),K("math",J,te,"↽","\\leftharpoondown",!0),K("math",J,te,"⇁","\\rightharpoondown",!0),K("math",J,te,"↖","\\nwarrow",!0),K("math",J,te,"⇌","\\rightleftharpoons",!0),K("math",X,te,"≮","\\nless",!0),K("math",X,te,"","\\@nleqslant"),K("math",X,te,"","\\@nleqq"),K("math",X,te,"⪇","\\lneq",!0),K("math",X,te,"≨","\\lneqq",!0),K("math",X,te,"","\\@lvertneqq"),K("math",X,te,"⋦","\\lnsim",!0),K("math",X,te,"⪉","\\lnapprox",!0),K("math",X,te,"⊀","\\nprec",!0),K("math",X,te,"⋠","\\npreceq",!0),K("math",X,te,"⋨","\\precnsim",!0),K("math",X,te,"⪹","\\precnapprox",!0),K("math",X,te,"≁","\\nsim",!0),K("math",X,te,"","\\@nshortmid"),K("math",X,te,"∤","\\nmid",!0),K("math",X,te,"⊬","\\nvdash",!0),K("math",X,te,"⊭","\\nvDash",!0),K("math",X,te,"⋪","\\ntriangleleft"),K("math",X,te,"⋬","\\ntrianglelefteq",!0),K("math",X,te,"⊊","\\subsetneq",!0),K("math",X,te,"","\\@varsubsetneq"),K("math",X,te,"⫋","\\subsetneqq",!0),K("math",X,te,"","\\@varsubsetneqq"),K("math",X,te,"≯","\\ngtr",!0),K("math",X,te,"","\\@ngeqslant"),K("math",X,te,"","\\@ngeqq"),K("math",X,te,"⪈","\\gneq",!0),K("math",X,te,"≩","\\gneqq",!0),K("math",X,te,"","\\@gvertneqq"),K("math",X,te,"⋧","\\gnsim",!0),K("math",X,te,"⪊","\\gnapprox",!0),K("math",X,te,"⊁","\\nsucc",!0),K("math",X,te,"⋡","\\nsucceq",!0),K("math",X,te,"⋩","\\succnsim",!0),K("math",X,te,"⪺","\\succnapprox",!0),K("math",X,te,"≆","\\ncong",!0),K("math",X,te,"","\\@nshortparallel"),K("math",X,te,"∦","\\nparallel",!0),K("math",X,te,"⊯","\\nVDash",!0),K("math",X,te,"⋫","\\ntriangleright"),K("math",X,te,"⋭","\\ntrianglerighteq",!0),K("math",X,te,"","\\@nsupseteqq"),K("math",X,te,"⊋","\\supsetneq",!0),K("math",X,te,"","\\@varsupsetneq"),K("math",X,te,"⫌","\\supsetneqq",!0),K("math",X,te,"","\\@varsupsetneqq"),K("math",X,te,"⊮","\\nVdash",!0),K("math",X,te,"⪵","\\precneqq",!0),K("math",X,te,"⪶","\\succneqq",!0),K("math",X,te,"","\\@nsubseteqq"),K("math",X,Z,"⊴","\\unlhd"),K("math",X,Z,"⊵","\\unrhd"),K("math",X,te,"↚","\\nleftarrow",!0),K("math",X,te,"↛","\\nrightarrow",!0),K("math",X,te,"⇍","\\nLeftarrow",!0),K("math",X,te,"⇏","\\nRightarrow",!0),K("math",X,te,"↮","\\nleftrightarrow",!0),K("math",X,te,"⇎","\\nLeftrightarrow",!0),K("math",X,te,"△","\\vartriangle"),K("math",X,"textord","ℏ","\\hslash"),K("math",X,"textord","▽","\\triangledown"),K("math",X,"textord","◊","\\lozenge"),K("math",X,"textord","Ⓢ","\\circledS"),K("math",X,"textord","®","\\circledR"),K("text",X,"textord","®","\\circledR"),K("math",X,"textord","∡","\\measuredangle",!0),K("math",X,"textord","∄","\\nexists"),K("math",X,"textord","℧","\\mho"),K("math",X,"textord","Ⅎ","\\Finv",!0),K("math",X,"textord","⅁","\\Game",!0),K("math",X,"textord","‵","\\backprime"),K("math",X,"textord","▲","\\blacktriangle"),K("math",X,"textord","▼","\\blacktriangledown"),K("math",X,"textord","■","\\blacksquare"),K("math",X,"textord","⧫","\\blacklozenge"),K("math",X,"textord","★","\\bigstar"),K("math",X,"textord","∢","\\sphericalangle",!0),K("math",X,"textord","∁","\\complement",!0),K("math",X,"textord","ð","\\eth",!0),K("math",X,"textord","╱","\\diagup"),K("math",X,"textord","╲","\\diagdown"),K("math",X,"textord","□","\\square"),K("math",X,"textord","□","\\Box"),K("math",X,"textord","◊","\\Diamond"),K("math",X,"textord","¥","\\yen",!0),K("text",X,"textord","¥","\\yen",!0),K("math",X,"textord","✓","\\checkmark",!0),K("text",X,"textord","✓","\\checkmark"),K("math",X,"textord","ℶ","\\beth",!0),K("math",X,"textord","ℸ","\\daleth",!0),K("math",X,"textord","ℷ","\\gimel",!0),K("math",X,"textord","ϝ","\\digamma",!0),K("math",X,"textord","ϰ","\\varkappa"),K("math",X,"open","┌","\\ulcorner",!0),K("math",X,"close","┐","\\urcorner",!0),K("math",X,"open","└","\\llcorner",!0),K("math",X,"close","┘","\\lrcorner",!0),K("math",X,te,"≦","\\leqq",!0),K("math",X,te,"⩽","\\leqslant",!0),K("math",X,te,"⪕","\\eqslantless",!0),K("math",X,te,"≲","\\lesssim",!0),K("math",X,te,"⪅","\\lessapprox",!0),K("math",X,te,"≊","\\approxeq",!0),K("math",X,Z,"⋖","\\lessdot"),K("math",X,te,"⋘","\\lll",!0),K("math",X,te,"≶","\\lessgtr",!0),K("math",X,te,"⋚","\\lesseqgtr",!0),K("math",X,te,"⪋","\\lesseqqgtr",!0),K("math",X,te,"≑","\\doteqdot"),K("math",X,te,"≓","\\risingdotseq",!0),K("math",X,te,"≒","\\fallingdotseq",!0),K("math",X,te,"∽","\\backsim",!0),K("math",X,te,"⋍","\\backsimeq",!0),K("math",X,te,"⫅","\\subseteqq",!0),K("math",X,te,"⋐","\\Subset",!0),K("math",X,te,"⊏","\\sqsubset",!0),K("math",X,te,"≼","\\preccurlyeq",!0),K("math",X,te,"⋞","\\curlyeqprec",!0),K("math",X,te,"≾","\\precsim",!0),K("math",X,te,"⪷","\\precapprox",!0),K("math",X,te,"⊲","\\vartriangleleft"),K("math",X,te,"⊴","\\trianglelefteq"),K("math",X,te,"⊨","\\vDash",!0),K("math",X,te,"⊪","\\Vvdash",!0),K("math",X,te,"⌣","\\smallsmile"),K("math",X,te,"⌢","\\smallfrown"),K("math",X,te,"≏","\\bumpeq",!0),K("math",X,te,"≎","\\Bumpeq",!0),K("math",X,te,"≧","\\geqq",!0),K("math",X,te,"⩾","\\geqslant",!0),K("math",X,te,"⪖","\\eqslantgtr",!0),K("math",X,te,"≳","\\gtrsim",!0),K("math",X,te,"⪆","\\gtrapprox",!0),K("math",X,Z,"⋗","\\gtrdot"),K("math",X,te,"⋙","\\ggg",!0),K("math",X,te,"≷","\\gtrless",!0),K("math",X,te,"⋛","\\gtreqless",!0),K("math",X,te,"⪌","\\gtreqqless",!0),K("math",X,te,"≖","\\eqcirc",!0),K("math",X,te,"≗","\\circeq",!0),K("math",X,te,"≜","\\triangleq",!0),K("math",X,te,"∼","\\thicksim"),K("math",X,te,"≈","\\thickapprox"),K("math",X,te,"⫆","\\supseteqq",!0),K("math",X,te,"⋑","\\Supset",!0),K("math",X,te,"⊐","\\sqsupset",!0),K("math",X,te,"≽","\\succcurlyeq",!0),K("math",X,te,"⋟","\\curlyeqsucc",!0),K("math",X,te,"≿","\\succsim",!0),K("math",X,te,"⪸","\\succapprox",!0),K("math",X,te,"⊳","\\vartriangleright"),K("math",X,te,"⊵","\\trianglerighteq"),K("math",X,te,"⊩","\\Vdash",!0),K("math",X,te,"∣","\\shortmid"),K("math",X,te,"∥","\\shortparallel"),K("math",X,te,"≬","\\between",!0),K("math",X,te,"⋔","\\pitchfork",!0),K("math",X,te,"∝","\\varpropto"),K("math",X,te,"◀","\\blacktriangleleft"),K("math",X,te,"∴","\\therefore",!0),K("math",X,te,"∍","\\backepsilon"),K("math",X,te,"▶","\\blacktriangleright"),K("math",X,te,"∵","\\because",!0),K("math",X,te,"⋘","\\llless"),K("math",X,te,"⋙","\\gggtr"),K("math",X,Z,"⊲","\\lhd"),K("math",X,Z,"⊳","\\rhd"),K("math",X,te,"≂","\\eqsim",!0),K("math",J,te,"⋈","\\Join"),K("math",X,te,"≑","\\Doteq",!0),K("math",X,Z,"∔","\\dotplus",!0),K("math",X,Z,"∖","\\smallsetminus"),K("math",X,Z,"⋒","\\Cap",!0),K("math",X,Z,"⋓","\\Cup",!0),K("math",X,Z,"⩞","\\doublebarwedge",!0),K("math",X,Z,"⊟","\\boxminus",!0),K("math",X,Z,"⊞","\\boxplus",!0),K("math",X,Z,"⋇","\\divideontimes",!0),K("math",X,Z,"⋉","\\ltimes",!0),K("math",X,Z,"⋊","\\rtimes",!0),K("math",X,Z,"⋋","\\leftthreetimes",!0),K("math",X,Z,"⋌","\\rightthreetimes",!0),K("math",X,Z,"⋏","\\curlywedge",!0),K("math",X,Z,"⋎","\\curlyvee",!0),K("math",X,Z,"⊝","\\circleddash",!0),K("math",X,Z,"⊛","\\circledast",!0),K("math",X,Z,"⋅","\\centerdot"),K("math",X,Z,"⊺","\\intercal",!0),K("math",X,Z,"⋒","\\doublecap"),K("math",X,Z,"⋓","\\doublecup"),K("math",X,Z,"⊠","\\boxtimes",!0),K("math",X,te,"⇢","\\dashrightarrow",!0),K("math",X,te,"⇠","\\dashleftarrow",!0),K("math",X,te,"⇇","\\leftleftarrows",!0),K("math",X,te,"⇆","\\leftrightarrows",!0),K("math",X,te,"⇚","\\Lleftarrow",!0),K("math",X,te,"↞","\\twoheadleftarrow",!0),K("math",X,te,"↢","\\leftarrowtail",!0),K("math",X,te,"↫","\\looparrowleft",!0),K("math",X,te,"⇋","\\leftrightharpoons",!0),K("math",X,te,"↶","\\curvearrowleft",!0),K("math",X,te,"↺","\\circlearrowleft",!0),K("math",X,te,"↰","\\Lsh",!0),K("math",X,te,"⇈","\\upuparrows",!0),K("math",X,te,"↿","\\upharpoonleft",!0),K("math",X,te,"⇃","\\downharpoonleft",!0),K("math",X,te,"⊸","\\multimap",!0),K("math",X,te,"↭","\\leftrightsquigarrow",!0),K("math",X,te,"⇉","\\rightrightarrows",!0),K("math",X,te,"⇄","\\rightleftarrows",!0),K("math",X,te,"↠","\\twoheadrightarrow",!0),K("math",X,te,"↣","\\rightarrowtail",!0),K("math",X,te,"↬","\\looparrowright",!0),K("math",X,te,"↷","\\curvearrowright",!0),K("math",X,te,"↻","\\circlearrowright",!0),K("math",X,te,"↱","\\Rsh",!0),K("math",X,te,"⇊","\\downdownarrows",!0),K("math",X,te,"↾","\\upharpoonright",!0),K("math",X,te,"⇂","\\downharpoonright",!0),K("math",X,te,"⇝","\\rightsquigarrow",!0),K("math",X,te,"⇝","\\leadsto"),K("math",X,te,"⇛","\\Rrightarrow",!0),K("math",X,te,"↾","\\restriction"),K("math",J,"textord","‘","`"),K("math",J,"textord","$","\\$"),K("text",J,"textord","$","\\$"),K("text",J,"textord","$","\\textdollar"),K("math",J,"textord","%","\\%"),K("text",J,"textord","%","\\%"),K("math",J,"textord","_","\\_"),K("text",J,"textord","_","\\_"),K("text",J,"textord","_","\\textunderscore"),K("math",J,"textord","∠","\\angle",!0),K("math",J,"textord","∞","\\infty",!0),K("math",J,"textord","′","\\prime"),K("math",J,"textord","△","\\triangle"),K("math",J,"textord","Γ","\\Gamma",!0),K("math",J,"textord","Δ","\\Delta",!0),K("math",J,"textord","Θ","\\Theta",!0),K("math",J,"textord","Λ","\\Lambda",!0),K("math",J,"textord","Ξ","\\Xi",!0),K("math",J,"textord","Π","\\Pi",!0),K("math",J,"textord","Σ","\\Sigma",!0),K("math",J,"textord","Υ","\\Upsilon",!0),K("math",J,"textord","Φ","\\Phi",!0),K("math",J,"textord","Ψ","\\Psi",!0),K("math",J,"textord","Ω","\\Omega",!0),K("math",J,"textord","A","Α"),K("math",J,"textord","B","Β"),K("math",J,"textord","E","Ε"),K("math",J,"textord","Z","Ζ"),K("math",J,"textord","H","Η"),K("math",J,"textord","I","Ι"),K("math",J,"textord","K","Κ"),K("math",J,"textord","M","Μ"),K("math",J,"textord","N","Ν"),K("math",J,"textord","O","Ο"),K("math",J,"textord","P","Ρ"),K("math",J,"textord","T","Τ"),K("math",J,"textord","X","Χ"),K("math",J,"textord","¬","\\neg",!0),K("math",J,"textord","¬","\\lnot"),K("math",J,"textord","⊤","\\top"),K("math",J,"textord","⊥","\\bot"),K("math",J,"textord","∅","\\emptyset"),K("math",X,"textord","∅","\\varnothing"),K("math",J,Q,"α","\\alpha",!0),K("math",J,Q,"β","\\beta",!0),K("math",J,Q,"γ","\\gamma",!0),K("math",J,Q,"δ","\\delta",!0),K("math",J,Q,"ϵ","\\epsilon",!0),K("math",J,Q,"ζ","\\zeta",!0),K("math",J,Q,"η","\\eta",!0),K("math",J,Q,"θ","\\theta",!0),K("math",J,Q,"ι","\\iota",!0),K("math",J,Q,"κ","\\kappa",!0),K("math",J,Q,"λ","\\lambda",!0),K("math",J,Q,"μ","\\mu",!0),K("math",J,Q,"ν","\\nu",!0),K("math",J,Q,"ξ","\\xi",!0),K("math",J,Q,"ο","\\omicron",!0),K("math",J,Q,"π","\\pi",!0),K("math",J,Q,"ρ","\\rho",!0),K("math",J,Q,"σ","\\sigma",!0),K("math",J,Q,"τ","\\tau",!0),K("math",J,Q,"υ","\\upsilon",!0),K("math",J,Q,"ϕ","\\phi",!0),K("math",J,Q,"χ","\\chi",!0),K("math",J,Q,"ψ","\\psi",!0),K("math",J,Q,"ω","\\omega",!0),K("math",J,Q,"ε","\\varepsilon",!0),K("math",J,Q,"ϑ","\\vartheta",!0),K("math",J,Q,"ϖ","\\varpi",!0),K("math",J,Q,"ϱ","\\varrho",!0),K("math",J,Q,"ς","\\varsigma",!0),K("math",J,Q,"φ","\\varphi",!0),K("math",J,Z,"∗","*"),K("math",J,Z,"+","+"),K("math",J,Z,"−","-"),K("math",J,Z,"⋅","\\cdot",!0),K("math",J,Z,"∘","\\circ"),K("math",J,Z,"÷","\\div",!0),K("math",J,Z,"±","\\pm",!0),K("math",J,Z,"×","\\times",!0),K("math",J,Z,"∩","\\cap",!0),K("math",J,Z,"∪","\\cup",!0),K("math",J,Z,"∖","\\setminus"),K("math",J,Z,"∧","\\land"),K("math",J,Z,"∨","\\lor"),K("math",J,Z,"∧","\\wedge",!0),K("math",J,Z,"∨","\\vee",!0),K("math",J,"textord","√","\\surd"),K("math",J,"open","(","("),K("math",J,"open","[","["),K("math",J,"open","⟨","\\langle",!0),K("math",J,"open","∣","\\lvert"),K("math",J,"open","∥","\\lVert"),K("math",J,"close",")",")"),K("math",J,"close","]","]"),K("math",J,"close","?","?"),K("math",J,"close","!","!"),K("math",J,"close","⟩","\\rangle",!0),K("math",J,"close","∣","\\rvert"),K("math",J,"close","∥","\\rVert"),K("math",J,te,"=","="),K("math",J,te,"<","<"),K("math",J,te,">",">"),K("math",J,te,":",":"),K("math",J,te,"≈","\\approx",!0),K("math",J,te,"≅","\\cong",!0),K("math",J,te,"≥","\\ge"),K("math",J,te,"≥","\\geq",!0),K("math",J,te,"←","\\gets"),K("math",J,te,">","\\gt"),K("math",J,te,"∈","\\in",!0),K("math",J,te,"","\\@not"),K("math",J,te,"⊂","\\subset",!0),K("math",J,te,"⊃","\\supset",!0),K("math",J,te,"⊆","\\subseteq",!0),K("math",J,te,"⊇","\\supseteq",!0),K("math",X,te,"⊈","\\nsubseteq",!0),K("math",X,te,"⊉","\\nsupseteq",!0),K("math",J,te,"⊨","\\models"),K("math",J,te,"←","\\leftarrow",!0),K("math",J,te,"≤","\\le"),K("math",J,te,"≤","\\leq",!0),K("math",J,te,"<","\\lt"),K("math",J,te,"→","\\rightarrow",!0),K("math",J,te,"→","\\to"),K("math",X,te,"≱","\\ngeq",!0),K("math",X,te,"≰","\\nleq",!0),K("math",J,"spacing"," ","\\ "),K("math",J,"spacing"," ","~"),K("math",J,"spacing"," ","\\space"),K("math",J,"spacing"," ","\\nobreakspace"),K("text",J,"spacing"," ","\\ "),K("text",J,"spacing"," ","~"),K("text",J,"spacing"," ","\\space"),K("text",J,"spacing"," ","\\nobreakspace"),K("math",J,"spacing",null,"\\nobreak"),K("math",J,"spacing",null,"\\allowbreak"),K("math",J,"punct",",",","),K("math",J,"punct",";",";"),K("math",X,Z,"⊼","\\barwedge",!0),K("math",X,Z,"⊻","\\veebar",!0),K("math",J,Z,"⊙","\\odot",!0),K("math",J,Z,"⊕","\\oplus",!0),K("math",J,Z,"⊗","\\otimes",!0),K("math",J,"textord","∂","\\partial",!0),K("math",J,Z,"⊘","\\oslash",!0),K("math",X,Z,"⊚","\\circledcirc",!0),K("math",X,Z,"⊡","\\boxdot",!0),K("math",J,Z,"△","\\bigtriangleup"),K("math",J,Z,"▽","\\bigtriangledown"),K("math",J,Z,"†","\\dagger"),K("math",J,Z,"⋄","\\diamond"),K("math",J,Z,"⋆","\\star"),K("math",J,Z,"◃","\\triangleleft"),K("math",J,Z,"▹","\\triangleright"),K("math",J,"open","{","\\{"),K("text",J,"textord","{","\\{"),K("text",J,"textord","{","\\textbraceleft"),K("math",J,"close","}","\\}"),K("text",J,"textord","}","\\}"),K("text",J,"textord","}","\\textbraceright"),K("math",J,"open","{","\\lbrace"),K("math",J,"close","}","\\rbrace"),K("math",J,"open","[","\\lbrack"),K("text",J,"textord","[","\\lbrack"),K("math",J,"close","]","\\rbrack"),K("text",J,"textord","]","\\rbrack"),K("math",J,"open","(","\\lparen"),K("math",J,"close",")","\\rparen"),K("text",J,"textord","<","\\textless"),K("text",J,"textord",">","\\textgreater"),K("math",J,"open","⌊","\\lfloor",!0),K("math",J,"close","⌋","\\rfloor",!0),K("math",J,"open","⌈","\\lceil",!0),K("math",J,"close","⌉","\\rceil",!0),K("math",J,"textord","\\","\\backslash"),K("math",J,"textord","∣","|"),K("math",J,"textord","∣","\\vert"),K("text",J,"textord","|","\\textbar"),K("math",J,"textord","∥","\\|"),K("math",J,"textord","∥","\\Vert"),K("text",J,"textord","∥","\\textbardbl"),K("text",J,"textord","~","\\textasciitilde"),K("text",J,"textord","\\","\\textbackslash"),K("text",J,"textord","^","\\textasciicircum"),K("math",J,te,"↑","\\uparrow",!0),K("math",J,te,"⇑","\\Uparrow",!0),K("math",J,te,"↓","\\downarrow",!0),K("math",J,te,"⇓","\\Downarrow",!0),K("math",J,te,"↕","\\updownarrow",!0),K("math",J,te,"⇕","\\Updownarrow",!0),K("math",J,ee,"∐","\\coprod"),K("math",J,ee,"⋁","\\bigvee"),K("math",J,ee,"⋀","\\bigwedge"),K("math",J,ee,"⨄","\\biguplus"),K("math",J,ee,"⋂","\\bigcap"),K("math",J,ee,"⋃","\\bigcup"),K("math",J,ee,"∫","\\int"),K("math",J,ee,"∫","\\intop"),K("math",J,ee,"∬","\\iint"),K("math",J,ee,"∭","\\iiint"),K("math",J,ee,"∏","\\prod"),K("math",J,ee,"∑","\\sum"),K("math",J,ee,"⨂","\\bigotimes"),K("math",J,ee,"⨁","\\bigoplus"),K("math",J,ee,"⨀","\\bigodot"),K("math",J,ee,"∮","\\oint"),K("math",J,ee,"∯","\\oiint"),K("math",J,ee,"∰","\\oiiint"),K("math",J,ee,"⨆","\\bigsqcup"),K("math",J,ee,"∫","\\smallint"),K("text",J,"inner","…","\\textellipsis"),K("math",J,"inner","…","\\mathellipsis"),K("text",J,"inner","…","\\ldots",!0),K("math",J,"inner","…","\\ldots",!0),K("math",J,"inner","⋯","\\@cdots",!0),K("math",J,"inner","⋱","\\ddots",!0),K("math",J,"textord","⋮","\\varvdots"),K("math",J,"accent-token","ˊ","\\acute"),K("math",J,"accent-token","ˋ","\\grave"),K("math",J,"accent-token","¨","\\ddot"),K("math",J,"accent-token","~","\\tilde"),K("math",J,"accent-token","ˉ","\\bar"),K("math",J,"accent-token","˘","\\breve"),K("math",J,"accent-token","ˇ","\\check"),K("math",J,"accent-token","^","\\hat"),K("math",J,"accent-token","⃗","\\vec"),K("math",J,"accent-token","˙","\\dot"),K("math",J,"accent-token","˚","\\mathring"),K("math",J,Q,"ı","\\imath",!0),K("math",J,Q,"ȷ","\\jmath",!0),K("text",J,"textord","ı","\\i",!0),K("text",J,"textord","ȷ","\\j",!0),K("text",J,"textord","ß","\\ss",!0),K("text",J,"textord","æ","\\ae",!0),K("text",J,"textord","æ","\\ae",!0),K("text",J,"textord","œ","\\oe",!0),K("text",J,"textord","ø","\\o",!0),K("text",J,"textord","Æ","\\AE",!0),K("text",J,"textord","Œ","\\OE",!0),K("text",J,"textord","Ø","\\O",!0),K("text",J,"accent-token","ˊ","\\'"),K("text",J,"accent-token","ˋ","\\`"),K("text",J,"accent-token","ˆ","\\^"),K("text",J,"accent-token","˜","\\~"),K("text",J,"accent-token","ˉ","\\="),K("text",J,"accent-token","˘","\\u"),K("text",J,"accent-token","˙","\\."),K("text",J,"accent-token","˚","\\r"),K("text",J,"accent-token","ˇ","\\v"),K("text",J,"accent-token","¨",'\\"'),K("text",J,"accent-token","˝","\\H"),K("text",J,"accent-token","◯","\\textcircled");var ne={"--":!0,"---":!0,"``":!0,"''":!0};K("text",J,"textord","–","--"),K("text",J,"textord","–","\\textendash"),K("text",J,"textord","—","---"),K("text",J,"textord","—","\\textemdash"),K("text",J,"textord","‘","`"),K("text",J,"textord","‘","\\textquoteleft"),K("text",J,"textord","’","'"),K("text",J,"textord","’","\\textquoteright"),K("text",J,"textord","“","``"),K("text",J,"textord","“","\\textquotedblleft"),K("text",J,"textord","”","''"),K("text",J,"textord","”","\\textquotedblright"),K("math",J,"textord","°","\\degree",!0),K("text",J,"textord","°","\\degree"),K("text",J,"textord","°","\\textdegree",!0),K("math",J,Q,"£","\\pounds"),K("math",J,Q,"£","\\mathsterling",!0),K("text",J,Q,"£","\\pounds"),K("text",J,Q,"£","\\textsterling",!0),K("math",X,"textord","✠","\\maltese"),K("text",X,"textord","✠","\\maltese"),K("text",J,"spacing"," ","\\ "),K("text",J,"spacing"," "," "),K("text",J,"spacing"," ","~");for(var ie=0;ie<'0123456789/@."'.length;ie++){var oe='0123456789/@."'.charAt(ie);K("math",J,"textord",oe,oe)}for(var re=0;re<'0123456789!@*()-=+[]<>|";:?/.,'.length;re++){var ae='0123456789!@*()-=+[]<>|";:?/.,'.charAt(re);K("text",J,"textord",ae,ae)}for(var se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",le=0;le<se.length;le++){var ce=se.charAt(le);K("math",J,Q,ce,ce),K("text",J,"textord",ce,ce)}K("math",X,"textord","C","ℂ"),K("text",X,"textord","C","ℂ"),K("math",X,"textord","H","ℍ"),K("text",X,"textord","H","ℍ"),K("math",X,"textord","N","ℕ"),K("text",X,"textord","N","ℕ"),K("math",X,"textord","P","ℙ"),K("text",X,"textord","P","ℙ"),K("math",X,"textord","Q","ℚ"),K("text",X,"textord","Q","ℚ"),K("math",X,"textord","R","ℝ"),K("text",X,"textord","R","ℝ"),K("math",X,"textord","Z","ℤ"),K("text",X,"textord","Z","ℤ"),K("math",J,Q,"h","ℎ"),K("text",J,Q,"h","ℎ");for(var ue="",de=0;de<se.length;de++){var pe=se.charAt(de);K("math",J,Q,pe,ue=String.fromCharCode(55349,56320+de)),K("text",J,"textord",pe,ue),K("math",J,Q,pe,ue=String.fromCharCode(55349,56372+de)),K("text",J,"textord",pe,ue),K("math",J,Q,pe,ue=String.fromCharCode(55349,56424+de)),K("text",J,"textord",pe,ue),K("math",J,Q,pe,ue=String.fromCharCode(55349,56580+de)),K("text",J,"textord",pe,ue),K("math",J,Q,pe,ue=String.fromCharCode(55349,56736+de)),K("text",J,"textord",pe,ue),K("math",J,Q,pe,ue=String.fromCharCode(55349,56788+de)),K("text",J,"textord",pe,ue),K("math",J,Q,pe,ue=String.fromCharCode(55349,56840+de)),K("text",J,"textord",pe,ue),K("math",J,Q,pe,ue=String.fromCharCode(55349,56944+de)),K("text",J,"textord",pe,ue),de<26&&(K("math",J,Q,pe,ue=String.fromCharCode(55349,56632+de)),K("text",J,"textord",pe,ue),K("math",J,Q,pe,ue=String.fromCharCode(55349,56476+de)),K("text",J,"textord",pe,ue))}K("math",J,Q,"k",ue=String.fromCharCode(55349,56668)),K("text",J,"textord","k",ue);for(var fe=0;fe<10;fe++){var me=fe.toString();K("math",J,Q,me,ue=String.fromCharCode(55349,57294+fe)),K("text",J,"textord",me,ue),K("math",J,Q,me,ue=String.fromCharCode(55349,57314+fe)),K("text",J,"textord",me,ue),K("math",J,Q,me,ue=String.fromCharCode(55349,57324+fe)),K("text",J,"textord",me,ue),K("math",J,Q,me,ue=String.fromCharCode(55349,57334+fe)),K("text",J,"textord",me,ue)}for(var he=0;he<"ÇÐÞçþ".length;he++){var ge="ÇÐÞçþ".charAt(he);K("math",J,Q,ge,ge),K("text",J,"textord",ge,ge)}K("text",J,"textord","ð","ð"),K("text",J,"textord","–","–"),K("text",J,"textord","—","—"),K("text",J,"textord","‘","‘"),K("text",J,"textord","’","’"),K("text",J,"textord","“","“"),K("text",J,"textord","”","”");var ve=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],_e=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],be=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],ye=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],we=function(e,t){return t.size<2?e:be[e-1][t.size-1]},xe=function(){function e(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=ye[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}var t=e.prototype;return t.extend=function(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);return new e(n)},t.havingStyle=function(e){return this.style===e?this:this.extend({style:e,size:we(this.textSize,e)})},t.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},t.havingSize=function(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:ye[e-1]})},t.havingBaseStyle=function(t){t=t||this.style.text();var n=we(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})},t.havingBaseSizing=function(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})},t.withColor=function(e){return this.extend({color:e})},t.withPhantom=function(){return this.extend({phantom:!0})},t.withFont=function(e){return this.extend({font:e})},t.withTextFontFamily=function(e){return this.extend({fontFamily:e,font:""})},t.withTextFontWeight=function(e){return this.extend({fontWeight:e,font:""})},t.withTextFontShape=function(e){return this.extend({fontShape:e,font:""})},t.sizingClasses=function(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]},t.baseSizingClasses=function(){return this.size!==e.BASESIZE?["sizing","reset-size"+this.size,"size"+e.BASESIZE]:[]},t.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!U[t=e>=5?0:e>=3?1:2]){var n=U[t]={cssEmPerMu:B.quad[t]/18};for(var i in B)B.hasOwnProperty(i)&&(n[i]=B[i][t])}return U[t]}(this.size)),this._fontMetrics},t.getColor=function(){return this.phantom?"transparent":this.color},e}();xe.BASESIZE=6;var ke=xe,Ae={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Ce={ex:!0,em:!0,mu:!0},Se=function(e){return"string"!=typeof e&&(e=e.unit),e in Ae||e in Ce||"ex"===e},Me=function(e,t){var n;if(e.unit in Ae)n=Ae[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var i;if(i=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=i.fontMetrics().xHeight;else{if("em"!==e.unit)throw new a("Invalid unit: '"+e.unit+"'");n=i.fontMetrics().quad}i!==t&&(n*=i.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},Pe=["\\imath","ı","\\jmath","ȷ","\\pounds","\\mathsterling","\\textsterling","£"],Oe=function(e,t,n){return G[n][e]&&G[n][e].replace&&(e=G[n][e].replace),{value:e,metrics:H(e,t,n)}},Te=function(e,t,n,i,o){var r,a=Oe(e,t,n),s=a.metrics;if(e=a.value,s){var l=s.italic;("text"===n||i&&"mathit"===i.font)&&(l=0),r=new q(e,s.height,s.depth,l,s.skew,s.width,o)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+n+"'"),r=new q(e,0,0,0,0,0,o);if(i){r.maxFontSize=i.sizeMultiplier,i.style.isTight()&&r.classes.push("mtight");var c=i.getColor();c&&(r.style.color=c)}return r},Ee=function(e,t){if(M(e.classes)!==M(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var i in t.style)if(t.style.hasOwnProperty(i)&&e.style[i]!==t.style[i])return!1;return!0},Ne=function(e){for(var t=0,n=0,i=0,o=0;o<e.children.length;o++){var r=e.children[o];r.height>t&&(t=r.height),r.depth>n&&(n=r.depth),r.maxFontSize>i&&(i=r.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=i},$e=function(e,t,n,i){var o=new E(e,t,n,i);return Ne(o),o},je=function(e,t,n,i){return new E(e,t,n,i)},qe=function(e){var t=new S(e);return Ne(t),t},Le=function(e,t,n){var i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}return i+"-"+("textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Fe={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},De={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Re={fontMap:Fe,makeSymbol:Te,mathsym:function(e,t,n,i){return void 0===i&&(i=[]),"boldsymbol"===n.font&&Oe(e,"Main-Bold",t).metrics?Te(e,"Main-Bold",t,n,i.concat(["mathbf"])):"\\"===e||"main"===G[t][e].font?Te(e,"Main-Regular",t,n,i):Te(e,"AMS-Regular",t,n,i.concat(["amsrm"]))},makeSpan:$e,makeSvgSpan:je,makeLineSpan:function(e,t,n){var i=$e([e],[],t);return i.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),i.style.borderBottomWidth=i.height+"em",i.maxFontSize=1,i},makeAnchor:function(e,t,n,i){var o=new N(e,t,n,i);return Ne(o),o},makeFragment:qe,wrapFragment:function(e,t){return e instanceof S?$e([],[e],t):e},makeVList:function(e,t){for(var n=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],i=-t[0].shift-t[0].elem.depth,o=i,r=1;r<t.length;r++){var a=-t[r].shift-o-t[r].elem.depth,s=a-(t[r-1].elem.height+t[r-1].elem.depth);o+=a,n.push({type:"kern",size:s}),n.push(t[r])}return{children:n,depth:i}}var l;if("top"===e.positionType){for(var c=e.positionData,u=0;u<e.children.length;u++){var d=e.children[u];c-="kern"===d.type?d.size:d.elem.height+d.elem.depth}l=c}else if("bottom"===e.positionType)l=-e.positionData;else{var p=e.children[0];if("elem"!==p.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)l=-p.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");l=-p.elem.depth}}return{children:e.children,depth:l}}(e),i=n.children,o=n.depth,r=0,a=0;a<i.length;a++){var s=i[a];if("elem"===s.type){var l=s.elem;r=Math.max(r,l.maxFontSize,l.height)}}r+=2;var c=$e(["pstrut"],[]);c.style.height=r+"em";for(var u=[],d=o,p=o,f=o,m=0;m<i.length;m++){var h=i[m];if("kern"===h.type)f+=h.size;else{var g=h.elem,v=h.wrapperClasses||[],_=h.wrapperStyle||{},b=$e(v,[c,g],void 0,_);b.style.top=-r-f-g.depth+"em",h.marginLeft&&(b.style.marginLeft=h.marginLeft),h.marginRight&&(b.style.marginRight=h.marginRight),u.push(b),f+=g.height+g.depth}d=Math.min(d,f),p=Math.max(p,f)}var y,w=$e(["vlist"],u);if(w.style.height=p+"em",d<0){var x=$e([],[]),k=$e(["vlist"],[x]);k.style.height=-d+"em";var A=$e(["vlist-s"],[new q("")]);y=[$e(["vlist-r"],[w,A]),$e(["vlist-r"],[k])]}else y=[$e(["vlist-r"],[w])];var C=$e(["vlist-t"],y);return 2===y.length&&C.classes.push("vlist-t2"),C.height=p,C.depth=-d,C},makeOrd:function(e,t,n){var i,o=e.mode,r=e.text,s=["mord"],l="math"===o||"text"===o&&t.font,c=l?t.font:t.fontFamily;if(55349===r.charCodeAt(0)){var u=function(e,t){var n=1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536,i="math"===t?0:1;if(119808<=n&&n<120484){var o=Math.floor((n-119808)/26);return[ve[o][2],ve[o][i]]}if(120782<=n&&n<=120831){var r=Math.floor((n-120782)/10);return[_e[r][2],_e[r][i]]}if(120485===n||120486===n)return[ve[0][2],ve[0][i]];if(120486<n&&n<120782)return["",""];throw new a("Unsupported character: "+e)}(r,o),p=u[0],f=u[1];return Te(r,p,o,t,s.concat(f))}if(c){var m,h;if("boldsymbol"===c||"mathnormal"===c){var g="boldsymbol"===c?function(e,t,n,i){return Oe(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(r,o):(i=r,d.contains(Pe,i)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(i.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"});m=g.fontName,h=[g.fontClass]}else d.contains(Pe,r)?(m="Main-Italic",h=["mathit"]):l?(m=Fe[c].fontName,h=[c]):(m=Le(c,t.fontWeight,t.fontShape),h=[c,t.fontWeight,t.fontShape]);if(Oe(r,m,o).metrics)return Te(r,m,o,t,s.concat(h));if(ne.hasOwnProperty(r)&&"Typewriter"===m.substr(0,10)){for(var v=[],_=0;_<r.length;_++)v.push(Te(r[_],m,o,t,s.concat(h)));return qe(v)}}if("mathord"===n){var b=function(e,t,n,i){return/[0-9]/.test(e.charAt(0))||d.contains(Pe,e)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}}(r);return Te(r,b.fontName,o,t,s.concat([b.fontClass]))}if("textord"===n){var y=G[o][r]&&G[o][r].font;if("ams"===y){var w=Le("amsrm",t.fontWeight,t.fontShape);return Te(r,w,o,t,s.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==y&&y){var x=Le(y,t.fontWeight,t.fontShape);return Te(r,x,o,t,s.concat(x,t.fontWeight,t.fontShape))}var k=Le("textrm",t.fontWeight,t.fontShape);return Te(r,k,o,t,s.concat(t.fontWeight,t.fontShape))}throw new Error("unexpected type: "+n+" in makeOrd")},makeGlue:function(e,t){var n=$e(["mspace"],[],t),i=Me(e,t);return n.style.marginRight=i+"em",n},staticSvg:function(e,t){var n=De[e],i=n[0],o=n[1],r=n[2],a=new F(i),s=new L([a],{width:o+"em",height:r+"em",style:"width:"+o+"em",viewBox:"0 0 "+1e3*o+" "+1e3*r,preserveAspectRatio:"xMinYMin"}),l=je(["overlay"],[s],t);return l.height=r,l.style.height=r+"em",l.style.width=o+"em",l},svgData:De,tryCombineChars:function(e){for(var t=0;t<e.length-1;t++){var n=e[t],i=e[t+1];n instanceof q&&i instanceof q&&Ee(n,i)&&(n.text+=i.text,n.height=Math.max(n.height,i.height),n.depth=Math.max(n.depth,i.depth),n.italic=i.italic,e.splice(t+1,1),t--)}return e}};function ze(e,t){var n=Be(e,t);if(!n)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return n}function Be(e,t){return e&&e.type===t?e:null}function Ie(e,t){var n=function(e,t){return e&&"atom"===e.type&&e.family===t?e:null}(e,t);if(!n)throw new Error('Expected node of type "atom" and family "'+t+'", but got '+(e?"atom"===e.type?"atom of family "+e.family:"node of type "+e.type:String(e)));return n}function He(e){var t=Ue(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Ue(e){return e&&("atom"===e.type||W.hasOwnProperty(e.type))?e:null}var Ve={number:3,unit:"mu"},We={number:4,unit:"mu"},Ye={number:5,unit:"mu"},Ge={mord:{mop:Ve,mbin:We,mrel:Ye,minner:Ve},mop:{mord:Ve,mop:Ve,mrel:Ye,minner:Ve},mbin:{mord:We,mop:We,mopen:We,minner:We},mrel:{mord:Ye,mop:Ye,mopen:Ye,minner:Ye},mopen:{},mclose:{mop:Ve,mbin:We,mrel:Ye,minner:Ve},mpunct:{mord:Ve,mop:Ve,mrel:Ye,mopen:Ve,mclose:Ve,mpunct:Ve,minner:Ve},minner:{mord:Ve,mop:Ve,mbin:We,mrel:Ye,mopen:Ve,mpunct:Ve,minner:Ve}},Ke={mord:{mop:Ve},mop:{mord:Ve,mop:Ve},mbin:{},mrel:{},mopen:{},mclose:{mop:Ve},mpunct:{},minner:{mop:Ve}},Je={},Xe={},Ze={};function Qe(e){for(var t=e.type,n=e.names,i=e.props,o=e.handler,r=e.htmlBuilder,a=e.mathmlBuilder,s={type:t,numArgs:i.numArgs,argTypes:i.argTypes,greediness:void 0===i.greediness?1:i.greediness,allowedInText:!!i.allowedInText,allowedInMath:void 0===i.allowedInMath||i.allowedInMath,numOptionalArgs:i.numOptionalArgs||0,infix:!!i.infix,handler:o},l=0;l<n.length;++l)Je[n[l]]=s;t&&(r&&(Xe[t]=r),a&&(Ze[t]=a))}function et(e){Qe({type:e.type,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:e.htmlBuilder,mathmlBuilder:e.mathmlBuilder})}var tt=function(e){var t=Be(e,"ordgroup");return t?t.body:[e]},nt=Re.makeSpan,it=["leftmost","mbin","mopen","mrel","mop","mpunct"],ot=["rightmost","mrel","mclose","mpunct"],rt={display:w.DISPLAY,text:w.TEXT,script:w.SCRIPT,scriptscript:w.SCRIPTSCRIPT},at={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},st=function(e,t,n,i){void 0===i&&(i=[null,null]);for(var o=[],r=0;r<e.length;r++){var a=pt(e[r],t);if(a instanceof S){var s=a.children;o.push.apply(o,s)}else o.push(a)}if(!n)return o;var l=t;if(1===e.length){var c=Be(e[0],"sizing")||Be(e[0],"styling");c&&("sizing"===c.type?l=t.havingSize(c.size):"styling"===c.type&&(l=t.havingStyle(rt[c.style])))}var u=nt([i[0]||"leftmost"],[],t),p=nt([i[1]||"rightmost"],[],t);return lt(o,function(e,t){var n=t.classes[0],i=e.classes[0];"mbin"===n&&d.contains(ot,i)?t.classes[0]="mord":"mbin"===i&&d.contains(it,n)&&(e.classes[0]="mord")},{node:u},p),lt(o,function(e,t){var n=ut(t),i=ut(e),o=n&&i?e.hasClass("mtight")?Ke[n][i]:Ge[n][i]:null;if(o)return Re.makeGlue(o,l)},{node:u},p),o},lt=function e(t,n,i,o){o&&t.push(o);for(var r=0;r<t.length;r++){var a=t[r],s=ct(a);if(s)e(s.children,n,i);else if("mspace"!==a.classes[0]){var l=n(a,i.node);l&&(i.insertAfter?i.insertAfter(l):(t.unshift(l),r++)),i.node=a,i.insertAfter=function(e){return function(n){t.splice(e+1,0,n),r++}}(r)}}o&&t.pop()},ct=function(e){return e instanceof S||e instanceof N?e:null},ut=function(e,t){return e?(t&&(e=function e(t,n){var i=ct(t);if(i){var o=i.children;if(o.length){if("right"===n)return e(o[o.length-1],"right");if("left"===n)return e(o[0],"left")}}return t}(e,t)),at[e.classes[0]]||null):null},dt=function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return nt(t.concat(n))},pt=function(e,t,n){if(!e)return nt();if(Xe[e.type]){var i=Xe[e.type](e,t);if(n&&t.size!==n.size){i=nt(t.sizingClasses(n),[i],t);var o=t.sizeMultiplier/n.sizeMultiplier;i.height*=o,i.depth*=o}return i}throw new a("Got group of unknown type: '"+e.type+"'")};function ft(e,t){var n=nt(["base"],e,t),i=nt(["strut"]);return i.style.height=n.height+n.depth+"em",i.style.verticalAlign=-n.depth+"em",n.children.unshift(i),n}function mt(e,t){var n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);for(var i,o=st(e,t,!0),r=[],a=[],s=0;s<o.length;s++)if(a.push(o[s]),o[s].hasClass("mbin")||o[s].hasClass("mrel")||o[s].hasClass("allowbreak")){for(var l=!1;s<o.length-1&&o[s+1].hasClass("mspace")&&!o[s+1].hasClass("newline");)s++,a.push(o[s]),o[s].hasClass("nobreak")&&(l=!0);l||(r.push(ft(a,t)),a=[])}else o[s].hasClass("newline")&&(a.pop(),a.length>0&&(r.push(ft(a,t)),a=[]),r.push(o[s]));a.length>0&&r.push(ft(a,t)),n&&((i=ft(st(n,t,!0))).classes=["tag"],r.push(i));var c=nt(["katex-html"],r);if(c.setAttribute("aria-hidden","true"),i){var u=i.children[0];u.style.height=c.height+c.depth+"em",u.style.verticalAlign=-c.depth+"em"}return c}function ht(e){return new S(e)}var gt=function(){function e(e,t){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=e,this.attributes={},this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.getAttribute=function(e){return this.attributes[e]},t.toNode=function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e},t.toMarkup=function(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=d.escape(this.attributes[t]),e+='"');e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</"+this.type+">"},t.toText=function(){return this.children.map(function(e){return e.toText()}).join("")},e}(),vt=function(){function e(e){this.text=void 0,this.text=e}var t=e.prototype;return t.toNode=function(){return document.createTextNode(this.text)},t.toMarkup=function(){return d.escape(this.toText())},t.toText=function(){return this.text},e}(),_t={MathNode:gt,TextNode:vt,SpaceNode:function(){function e(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?" ":e>=-.05556&&e<=-.05555?" ":e>=-.1667&&e<=-.1666?" ":e>=-.2223&&e<=-.2222?" ":e>=-.2778&&e<=-.2777?" ":null}var t=e.prototype;return t.toNode=function(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",this.width+"em"),e},t.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},t.toText=function(){return this.character?this.character:" "},e}(),newDocumentFragment:ht},bt=function(e,t,n){return!G[t][e]||!G[t][e].replace||55349===e.charCodeAt(0)||ne.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.substr(4,2)||n.font&&"tt"===n.font.substr(4,2))||(e=G[t][e].replace),new _t.TextNode(e)},yt=function(e){return 1===e.length?e[0]:new _t.MathNode("mrow",e)},wt=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var n=t.font;if(!n||"mathnormal"===n)return null;var i=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";var o=e.text;return d.contains(["\\imath","\\jmath"],o)?null:(G[i][o]&&G[i][o].replace&&(o=G[i][o].replace),H(o,Re.fontMap[n].fontName,i)?Re.fontMap[n].variant:null)},xt=function(e,t,n){if(1===e.length){var i=At(e[0],t);return n&&i instanceof gt&&"mo"===i.type&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var o,r=[],a=0;a<e.length;a++){var s=At(e[a],t);if(s instanceof gt&&o instanceof gt){if("mtext"===s.type&&"mtext"===o.type&&s.getAttribute("mathvariant")===o.getAttribute("mathvariant")){var l;(l=o.children).push.apply(l,s.children);continue}if("mn"===s.type&&"mn"===o.type){var c;(c=o.children).push.apply(c,s.children);continue}if("mi"===s.type&&1===s.children.length&&"mn"===o.type){var u=s.children[0];if(u instanceof vt&&"."===u.text){var d;(d=o.children).push.apply(d,s.children);continue}}else if("mi"===o.type&&1===o.children.length){var p=o.children[0];if(p instanceof vt&&"̸"===p.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var f=s.children[0];f instanceof vt&&f.text.length>0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),r.pop())}}}r.push(s),o=s}return r},kt=function(e,t,n){return yt(xt(e,t,n))},At=function(e,t){if(!e)return new _t.MathNode("mrow");if(Ze[e.type])return Ze[e.type](e,t);throw new a("Got group of unknown type: '"+e.type+"'")};function Ct(e,t,n,i){var o,r=xt(e,n);o=1===r.length&&r[0]instanceof gt&&d.contains(["mrow","mtable"],r[0].type)?r[0]:new _t.MathNode("mrow",r);var a=new _t.MathNode("annotation",[new _t.TextNode(t)]);a.setAttribute("encoding","application/x-tex");var s=new _t.MathNode("semantics",[o,a]),l=new _t.MathNode("math",[s]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var c=i?"katex":"katex-mathml";return Re.makeSpan([c],[l])}var St=function(e){return new ke({style:e.displayMode?w.DISPLAY:w.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Mt=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Re.makeSpan(n,[e])}return e},Pt=function(e,t,n){var i,o=St(n);if("mathml"===n.output)return Ct(e,t,o,!0);if("html"===n.output){var r=mt(e,o);i=Re.makeSpan(["katex"],[r])}else{var a=Ct(e,t,o,!1),s=mt(e,o);i=Re.makeSpan(["katex"],[a,s])}return Mt(i,n)},Ot={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋"},Tt={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Et=function(e){return"ordgroup"===e.type?e.body.length:1},Nt=function(e,t,n,i){var o,r=e.height+e.depth+2*n;if(/fbox|color/.test(t)){if(o=Re.makeSpan(["stretchy",t],[],i),"fbox"===t){var a=i.color&&i.getColor();a&&(o.style.borderColor=a)}}else{var s=[];/^[bx]cancel$/.test(t)&&s.push(new D({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&s.push(new D({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var l=new L(s,{width:"100%",height:r+"em"});o=Re.makeSvgSpan([],[l],i)}return o.height=r,o.style.height=r+"em",o},$t=function(e){var t=new _t.MathNode("mo",[new _t.TextNode(Ot[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},jt=function(e,t){var n=function(){var n=4e5,i=e.label.substr(1);if(d.contains(["widehat","widecheck","widetilde","utilde"],i)){var o,r,a,s=Et(e.base);if(s>5)"widehat"===i||"widecheck"===i?(o=420,n=2364,a=.42,r=i+"4"):(o=312,n=2340,a=.34,r="tilde4");else{var l=[1,1,2,2,3,3][s];"widehat"===i||"widecheck"===i?(n=[0,1062,2364,2364,2364][l],o=[0,239,300,360,420][l],a=[0,.24,.3,.3,.36,.42][l],r=i+l):(n=[0,600,1033,2339,2340][l],o=[0,260,286,306,312][l],a=[0,.26,.286,.3,.306,.34][l],r="tilde"+l)}var c=new F(r),u=new L([c],{width:"100%",height:a+"em",viewBox:"0 0 "+n+" "+o,preserveAspectRatio:"none"});return{span:Re.makeSvgSpan([],[u],t),minWidth:0,height:a}}var p,f,m=[],h=Tt[i],g=h[0],v=h[1],_=h[2],b=_/1e3,y=g.length;if(1===y)p=["hide-tail"],f=[h[3]];else if(2===y)p=["halfarrow-left","halfarrow-right"],f=["xMinYMin","xMaxYMin"];else{if(3!==y)throw new Error("Correct katexImagesData or update code here to support\n "+y+" children.");p=["brace-left","brace-center","brace-right"],f=["xMinYMin","xMidYMin","xMaxYMin"]}for(var w=0;w<y;w++){var x=new F(g[w]),k=new L([x],{width:"400em",height:b+"em",viewBox:"0 0 "+n+" "+_,preserveAspectRatio:f[w]+" slice"}),A=Re.makeSvgSpan([p[w]],[k],t);if(1===y)return{span:A,minWidth:v,height:b};A.style.height=b+"em",m.push(A)}return{span:Re.makeSpan(["stretchy"],m,t),minWidth:v,height:b}}(),i=n.span,o=n.minWidth,r=n.height;return i.height=r,i.style.height=r+"em",o>0&&(i.style.minWidth=o+"em"),i},qt=function(e,t){var n,i,o,r=Be(e,"supsub");r?(n=(i=ze(r.base,"accent")).base,r.base=n,o=function(e){if(e instanceof E)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(pt(r,t)),r.base=i):n=(i=ze(e,"accent")).base;var a=pt(n,t.havingCrampedStyle()),s=0;if(i.isShifty&&d.isCharacterBox(n)){var l=d.getBaseElem(n);s=R(pt(l,t.havingCrampedStyle())).skew}var c,u=Math.min(a.height,t.fontMetrics().xHeight);if(i.isStretchy)c=jt(i,t),c=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:c,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+2*s+"em)",marginLeft:2*s+"em"}:void 0}]},t);else{var p,f;"\\vec"===i.label?(p=Re.staticSvg("vec",t),f=Re.svgData.vec[1]):((p=R(p=Re.makeOrd({mode:i.mode,text:i.label},t,"textord"))).italic=0,f=p.width),c=Re.makeSpan(["accent-body"],[p]);var m="\\textcircled"===i.label;m&&(c.classes.push("accent-full"),u=a.height);var h=s;m||(h-=f/2),c.style.left=h+"em","\\textcircled"===i.label&&(c.style.top=".2em"),c=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-u},{type:"elem",elem:c}]},t)}var g=Re.makeSpan(["mord","accent"],[c],t);return o?(o.children[0]=g,o.height=Math.max(g.height,o.height),o.classes[0]="mord",o):g},Lt=function(e,t){var n=e.isStretchy?$t(e.label):new _t.MathNode("mo",[bt(e.label,e.mode)]),i=new _t.MathNode("mover",[At(e.base,t),n]);return i.setAttribute("accent","true"),i},Ft=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(e){return"\\"+e}).join("|"));Qe({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(e,t){var n=t[0],i=!Ft.test(e.funcName),o=!i||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:i,isShifty:o,base:n}},htmlBuilder:qt,mathmlBuilder:Lt}),Qe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=t[0];return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:qt,mathmlBuilder:Lt}),Qe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var n=e.parser,i=e.funcName,o=t[0];return{type:"accentUnder",mode:n.mode,label:i,base:o}},htmlBuilder:function(e,t){var n=pt(e.base,t),i=jt(e,t),o="\\utilde"===e.label?.12:0,r=Re.makeVList({positionType:"bottom",positionData:i.height+o,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},t);return Re.makeSpan(["mord","accentunder"],[r],t)},mathmlBuilder:function(e,t){var n=$t(e.label),i=new _t.MathNode("munder",[At(e.base,t),n]);return i.setAttribute("accentunder","true"),i}});var Dt=function(e){var t=new _t.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Qe({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var i=e.parser,o=e.funcName;return{type:"xArrow",mode:i.mode,label:o,body:t[0],below:n[0]}},htmlBuilder:function(e,t){var n,i=t.style,o=t.havingStyle(i.sup()),r=Re.wrapFragment(pt(e.body,o,t),t);r.classes.push("x-arrow-pad"),e.below&&(o=t.havingStyle(i.sub()),(n=Re.wrapFragment(pt(e.below,o,t),t)).classes.push("x-arrow-pad"));var a,s=jt(e,t),l=-t.fontMetrics().axisHeight+.5*s.height,c=-t.fontMetrics().axisHeight-.5*s.height-.111;if((r.depth>.25||"\\xleftequilibrium"===e.label)&&(c-=r.depth),n){var u=-t.fontMetrics().axisHeight+n.height+.5*s.height+.111;a=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:c},{type:"elem",elem:s,shift:l},{type:"elem",elem:n,shift:u}]},t)}else a=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:c},{type:"elem",elem:s,shift:l}]},t);return a.children[0].children[0].children[1].classes.push("svg-align"),Re.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder:function(e,t){var n,i=$t(e.label);if(e.body){var o=Dt(At(e.body,t));if(e.below){var r=Dt(At(e.below,t));n=new _t.MathNode("munderover",[i,r,o])}else n=new _t.MathNode("mover",[i,o])}else if(e.below){var a=Dt(At(e.below,t));n=new _t.MathNode("munder",[i,a])}else n=Dt(),n=new _t.MathNode("mover",[i,n]);return n}}),Qe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){for(var n=e.parser,i=ze(t[0],"ordgroup").body,o="",r=0;r<i.length;r++){o+=ze(i[r],"textord").text}var s=parseInt(o);if(isNaN(s))throw new a("\\@char has non-numeric argument "+o);return{type:"textord",mode:n.mode,text:String.fromCharCode(s)}}});var Rt=function(e,t){var n=st(e.body,t.withColor(e.color),!1);return Re.makeFragment(n)},zt=function(e,t){var n=xt(e.body,t.withColor(e.color)),i=new _t.MathNode("mstyle",n);return i.setAttribute("mathcolor",e.color),i};Qe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(e,t){var n=e.parser,i=ze(t[0],"color-token").color,o=t[1];return{type:"color",mode:n.mode,color:i,body:tt(o)}},htmlBuilder:Rt,mathmlBuilder:zt}),Qe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(e,t){var n=e.parser,i=e.breakOnTokenText,o=ze(t[0],"color-token").color;n.gullet.macros.set("\\current@color",o);var r=n.parseExpression(!0,i);return{type:"color",mode:n.mode,color:o,body:r}},htmlBuilder:Rt,mathmlBuilder:zt}),Qe({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t,n){var i=e.parser,o=e.funcName,r=n[0],a="\\cr"===o,s=!1;return a||(s=!i.settings.displayMode||!i.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")),{type:"cr",mode:i.mode,newLine:s,newRow:a,size:r&&ze(r,"size").value}},htmlBuilder:function(e,t){if(e.newRow)throw new a("\\cr valid only within a tabular/array environment");var n=Re.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Me(e.size,t)+"em")),n},mathmlBuilder:function(e,t){var n=new _t.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Me(e.size,t)+"em")),n}});var Bt=function(e,t,n){var i=H(G.math[e]&&G.math[e].replace||e,t,n);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return i},It=function(e,t,n,i){var o=n.havingBaseStyle(t),r=Re.makeSpan(i.concat(o.sizingClasses(n)),[e],n),a=o.sizeMultiplier/n.sizeMultiplier;return r.height*=a,r.depth*=a,r.maxFontSize=o.sizeMultiplier,r},Ht=function(e,t,n){var i=t.havingBaseStyle(n),o=(1-t.sizeMultiplier/i.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=o+"em",e.height-=o,e.depth+=o},Ut=function(e,t,n,i,o,r){var a=function(e,t,n,i){return Re.makeSymbol(e,"Size"+t+"-Regular",n,i)}(e,t,o,i),s=It(Re.makeSpan(["delimsizing","size"+t],[a],i),w.TEXT,i,r);return n&&Ht(s,i,w.TEXT),s},Vt=function(e,t,n){var i;return i="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:Re.makeSpan(["delimsizinginner",i],[Re.makeSpan([],[Re.makeSymbol(e,t,n)])])}},Wt={type:"kern",size:-.005},Yt=function(e,t,n,i,o,r){var a,s,l,c;a=l=c=e,s=null;var u="Size1-Regular";"\\uparrow"===e?l=c="⏐":"\\Uparrow"===e?l=c="‖":"\\downarrow"===e?a=l="⏐":"\\Downarrow"===e?a=l="‖":"\\updownarrow"===e?(a="\\uparrow",l="⏐",c="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",l="‖",c="\\Downarrow"):"["===e||"\\lbrack"===e?(a="⎡",l="⎢",c="⎣",u="Size4-Regular"):"]"===e||"\\rbrack"===e?(a="⎤",l="⎥",c="⎦",u="Size4-Regular"):"\\lfloor"===e||"⌊"===e?(l=a="⎢",c="⎣",u="Size4-Regular"):"\\lceil"===e||"⌈"===e?(a="⎡",l=c="⎢",u="Size4-Regular"):"\\rfloor"===e||"⌋"===e?(l=a="⎥",c="⎦",u="Size4-Regular"):"\\rceil"===e||"⌉"===e?(a="⎤",l=c="⎥",u="Size4-Regular"):"("===e||"\\lparen"===e?(a="⎛",l="⎜",c="⎝",u="Size4-Regular"):")"===e||"\\rparen"===e?(a="⎞",l="⎟",c="⎠",u="Size4-Regular"):"\\{"===e||"\\lbrace"===e?(a="⎧",s="⎨",c="⎩",l="⎪",u="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="⎫",s="⎬",c="⎭",l="⎪",u="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(a="⎧",c="⎩",l="⎪",u="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(a="⎫",c="⎭",l="⎪",u="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(a="⎧",c="⎭",l="⎪",u="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(a="⎫",c="⎩",l="⎪",u="Size4-Regular");var d=Bt(a,u,o),p=d.height+d.depth,f=Bt(l,u,o),m=f.height+f.depth,h=Bt(c,u,o),g=h.height+h.depth,v=0,_=1;if(null!==s){var b=Bt(s,u,o);v=b.height+b.depth,_=2}var y=p+g+v,x=Math.max(0,Math.ceil((t-y)/(_*m))),k=y+x*_*m,A=i.fontMetrics().axisHeight;n&&(A*=i.sizeMultiplier);var C=k/2-A,S=.005*(x+1)-m,M=[];if(M.push(Vt(c,u,o)),null===s)for(var P=0;P<x;P++)M.push(Wt),M.push(Vt(l,u,o));else{for(var O=0;O<x;O++)M.push(Wt),M.push(Vt(l,u,o));M.push({type:"kern",size:S}),M.push(Vt(l,u,o)),M.push(Wt),M.push(Vt(s,u,o));for(var T=0;T<x;T++)M.push(Wt),M.push(Vt(l,u,o))}M.push({type:"kern",size:S}),M.push(Vt(l,u,o)),M.push(Wt),M.push(Vt(a,u,o));var E=i.havingBaseStyle(w.TEXT),N=Re.makeVList({positionType:"bottom",positionData:C,children:M},E);return It(Re.makeSpan(["delimsizing","mult"],[N],E),w.TEXT,i,r)},Gt=function(e,t,n,i,o){var r=function(e,t,n){t*=1e3;var i="";switch(e){case"sqrtMain":i=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,80);break;case"sqrtSize1":i=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,80);break;case"sqrtSize2":i=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,80);break;case"sqrtSize3":i=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"}(t,80);break;case"sqrtSize4":i=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"}(t,80);break;case"sqrtTall":i=function(e,t,n){return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+(n-54-t-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"}(t,80,n)}return i}(e,i,n),a=new F(e,r),s=new L([a],{width:"400em",height:t+"em",viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Re.makeSvgSpan(["hide-tail"],[s],o)},Kt=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Jt=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Xt=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Zt=[0,1.2,1.8,2.4,3],Qt=[{type:"small",style:w.SCRIPTSCRIPT},{type:"small",style:w.SCRIPT},{type:"small",style:w.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],en=[{type:"small",style:w.SCRIPTSCRIPT},{type:"small",style:w.SCRIPT},{type:"small",style:w.TEXT},{type:"stack"}],tn=[{type:"small",style:w.SCRIPTSCRIPT},{type:"small",style:w.SCRIPT},{type:"small",style:w.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],nn=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},on=function(e,t,n,i){for(var o=Math.min(2,3-i.style.size);o<n.length&&"stack"!==n[o].type;o++){var r=Bt(e,nn(n[o]),"math"),a=r.height+r.depth;if("small"===n[o].type&&(a*=i.havingBaseStyle(n[o].style).sizeMultiplier),a>t)return n[o]}return n[n.length-1]},rn=function(e,t,n,i,o,r){var a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=d.contains(Xt,e)?Qt:d.contains(Kt,e)?tn:en;var s=on(e,t,a,i);return"small"===s.type?function(e,t,n,i,o,r){var a=Re.makeSymbol(e,"Main-Regular",o,i),s=It(a,t,i,r);return n&&Ht(s,i,t),s}(e,s.style,n,i,o,r):"large"===s.type?Ut(e,s.size,n,i,o,r):Yt(e,t,n,i,o,r)},an=function(e,t){var n,i,o=t.havingBaseSizing(),r=on("\\surd",e*o.sizeMultiplier,tn,o),a=o.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,c=0,u=0;return"small"===r.type?(e<1?a=1:e<1.4&&(a=.7),c=(1+s)/a,(n=Gt("sqrtMain",l=(1+s+.08)/a,u=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",i=.833/a):"large"===r.type?(u=1080*Zt[r.size],c=(Zt[r.size]+s)/a,l=(Zt[r.size]+s+.08)/a,(n=Gt("sqrtSize"+r.size,l,u,s,t)).style.minWidth="1.02em",i=1/a):(l=e+s+.08,c=e+s,u=Math.floor(1e3*e+s)+80,(n=Gt("sqrtTall",l,u,s,t)).style.minWidth="0.742em",i=1.056),n.height=c,n.style.height=l+"em",{span:n,advanceWidth:i,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*a}},sn=function(e,t,n,i,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),d.contains(Kt,e)||d.contains(Xt,e))return Ut(e,t,!1,n,i,o);if(d.contains(Jt,e))return Yt(e,Zt[t],!1,n,i,o);throw new a("Illegal delimiter: '"+e+"'")},ln=rn,cn=function(e,t,n,i,o,r){var a=i.fontMetrics().axisHeight*i.sizeMultiplier,s=5/i.fontMetrics().ptPerEm,l=Math.max(t-a,n+a),c=Math.max(l/500*901,2*l-s);return rn(e,c,!0,i,o,r)},un={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},dn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function pn(e,t){var n=Ue(e);if(n&&d.contains(dn,n.text))return n;throw new a("Invalid delimiter: '"+(n?n.text:JSON.stringify(e))+"' after '"+t.funcName+"'",e)}function fn(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Qe({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(e,t){var n=pn(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:un[e.funcName].size,mclass:un[e.funcName].mclass,delim:n.text}},htmlBuilder:function(e,t){return"."===e.delim?Re.makeSpan([e.mclass]):sn(e.delim,e.size,t,e.mode,[e.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.delim&&t.push(bt(e.delim,e.mode));var n=new _t.MathNode("mo",t);return"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n}}),Qe({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(e,t){var n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!=typeof n)throw new a("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:pn(t[0],e).text,color:n}}}),Qe({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(e,t){var n=pn(t[0],e),i=e.parser;++i.leftrightDepth;var o=i.parseExpression(!1);--i.leftrightDepth,i.expect("\\right",!1);var r=ze(i.parseFunction(),"leftright-right");return{type:"leftright",mode:i.mode,body:o,left:n.text,right:r.delim,rightColor:r.color}},htmlBuilder:function(e,t){fn(e);for(var n,i,o=st(e.body,t,!0,["mopen","mclose"]),r=0,a=0,s=!1,l=0;l<o.length;l++)o[l].isMiddle?s=!0:(r=Math.max(o[l].height,r),a=Math.max(o[l].depth,a));if(r*=t.sizeMultiplier,a*=t.sizeMultiplier,n="."===e.left?dt(t,["mopen"]):cn(e.left,r,a,t,e.mode,["mopen"]),o.unshift(n),s)for(var c=1;c<o.length;c++){var u=o[c].isMiddle;u&&(o[c]=cn(u.delim,r,a,u.options,e.mode,[]))}if("."===e.right)i=dt(t,["mclose"]);else{var d=e.rightColor?t.withColor(e.rightColor):t;i=cn(e.right,r,a,d,e.mode,["mclose"])}return o.push(i),Re.makeSpan(["minner"],o,t)},mathmlBuilder:function(e,t){fn(e);var n=xt(e.body,t);if("."!==e.left){var i=new _t.MathNode("mo",[bt(e.left,e.mode)]);i.setAttribute("fence","true"),n.unshift(i)}if("."!==e.right){var o=new _t.MathNode("mo",[bt(e.right,e.mode)]);o.setAttribute("fence","true"),e.rightColor&&o.setAttribute("mathcolor",e.rightColor),n.push(o)}return yt(n)}}),Qe({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(e,t){var n=pn(t[0],e);if(!e.parser.leftrightDepth)throw new a("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:function(e,t){var n;if("."===e.delim)n=dt(t,[]);else{n=sn(e.delim,1,t,e.mode,[]);var i={delim:e.delim,options:t};n.isMiddle=i}return n},mathmlBuilder:function(e,t){var n="\\vert"===e.delim||"|"===e.delim?bt("|","text"):bt(e.delim,e.mode),i=new _t.MathNode("mo",[n]);return i.setAttribute("fence","true"),i.setAttribute("lspace","0.05em"),i.setAttribute("rspace","0.05em"),i}});var mn=function(e,t){var n,i,o=Re.wrapFragment(pt(e.body,t),t),r=e.label.substr(1),a=t.sizeMultiplier,s=0,l=d.isCharacterBox(e.body);if("sout"===r)(n=Re.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else{/cancel/.test(r)?l||o.classes.push("cancel-pad"):o.classes.push("boxpad");var c=0,u=0;/box/.test(r)?(u=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),c=t.fontMetrics().fboxsep+("colorbox"===r?0:u)):c=l?.2:0,n=Nt(o,r,c,t),/fbox|boxed|fcolorbox/.test(r)&&(n.style.borderStyle="solid",n.style.borderWidth=u+"em"),s=o.depth+c,e.backgroundColor&&(n.style.backgroundColor=e.backgroundColor,e.borderColor&&(n.style.borderColor=e.borderColor))}return i=e.backgroundColor?Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:s},{type:"elem",elem:o,shift:0}]},t):Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:n,shift:s,wrapperClasses:/cancel/.test(r)?["svg-align"]:[]}]},t),/cancel/.test(r)&&(i.height=o.height,i.depth=o.depth),/cancel/.test(r)&&!l?Re.makeSpan(["mord","cancel-lap"],[i],t):Re.makeSpan(["mord"],[i],t)},hn=function(e,t){var n=0,i=new _t.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[At(e.body,t)]);switch(e.label){case"\\cancel":i.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":i.setAttribute("notation","downdiagonalstrike");break;case"\\sout":i.setAttribute("notation","horizontalstrike");break;case"\\fbox":i.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,i.setAttribute("width","+"+2*n+"pt"),i.setAttribute("height","+"+2*n+"pt"),i.setAttribute("lspace",n+"pt"),i.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){var o=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);i.setAttribute("style","border: "+o+"em solid "+String(e.borderColor))}break;case"\\xcancel":i.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&i.setAttribute("mathbackground",e.backgroundColor),i};Qe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(e,t,n){var i=e.parser,o=e.funcName,r=ze(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:i.mode,label:o,backgroundColor:r,body:a}},htmlBuilder:mn,mathmlBuilder:hn}),Qe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(e,t,n){var i=e.parser,o=e.funcName,r=ze(t[0],"color-token").color,a=ze(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:i.mode,label:o,backgroundColor:a,borderColor:r,body:s}},htmlBuilder:mn,mathmlBuilder:hn}),Qe({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(e,t){return{type:"enclose",mode:e.parser.mode,label:"\\fbox",body:t[0]}}}),Qe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(e,t,n){var i=e.parser,o=e.funcName,r=t[0];return{type:"enclose",mode:i.mode,label:o,body:r}},htmlBuilder:mn,mathmlBuilder:hn});var gn={};function vn(e){for(var t=e.type,n=e.names,i=e.props,o=e.handler,r=e.htmlBuilder,a=e.mathmlBuilder,s={type:t,numArgs:i.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:o},l=0;l<n.length;++l)gn[n[l]]=s;r&&(Xe[t]=r),a&&(Ze[t]=a)}function _n(e){var t=[];e.consumeSpaces();for(var n=e.fetch().text;"\\hline"===n||"\\hdashline"===n;)e.consume(),t.push("\\hdashline"===n),e.consumeSpaces(),n=e.fetch().text;return t}function bn(e,t,n){var i=t.hskipBeforeAndAfter,o=t.addJot,r=t.cols,s=t.arraystretch,l=t.colSeparationType;if(e.gullet.beginGroup(),e.gullet.macros.set("\\\\","\\cr"),!s){var c=e.gullet.expandMacroAsText("\\arraystretch");if(null==c)s=1;else if(!(s=parseFloat(c))||s<0)throw new a("Invalid \\arraystretch: "+c)}e.gullet.beginGroup();var u=[],d=[u],p=[],f=[];for(f.push(_n(e));;){var m=e.parseExpression(!1,"\\cr");e.gullet.endGroup(),e.gullet.beginGroup(),m={type:"ordgroup",mode:e.mode,body:m},n&&(m={type:"styling",mode:e.mode,style:n,body:[m]}),u.push(m);var h=e.fetch().text;if("&"===h)e.consume();else{if("\\end"===h){1===u.length&&"styling"===m.type&&0===m.body[0].body.length&&d.pop(),f.length<d.length+1&&f.push([]);break}if("\\cr"!==h)throw new a("Expected & or \\\\ or \\cr or \\end",e.nextToken);var g=ze(e.parseFunction(),"cr");p.push(g.size),f.push(_n(e)),u=[],d.push(u)}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:o,arraystretch:s,body:d,cols:r,rowGaps:p,hskipBeforeAndAfter:i,hLinesBeforeRow:f,colSeparationType:l}}function yn(e){return"d"===e.substr(0,1)?"display":"text"}var wn=function(e,t){var n,i,o=e.body.length,r=e.hLinesBeforeRow,s=0,l=new Array(o),c=[],u=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),p=1/t.fontMetrics().ptPerEm,f=5*p;e.colSeparationType&&"small"===e.colSeparationType&&(f=t.havingStyle(w.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);var m=12*p,h=3*p,g=e.arraystretch*m,v=.7*g,_=.3*g,b=0;function y(e){for(var t=0;t<e.length;++t)t>0&&(b+=.25),c.push({pos:b,isDashed:e[t]})}for(y(r[0]),n=0;n<e.body.length;++n){var x=e.body[n],k=v,A=_;s<x.length&&(s=x.length);var C=new Array(x.length);for(i=0;i<x.length;++i){var S=pt(x[i],t);A<S.depth&&(A=S.depth),k<S.height&&(k=S.height),C[i]=S}var M=e.rowGaps[n],P=0;M&&(P=Me(M,t))>0&&(A<(P+=_)&&(A=P),P=0),e.addJot&&(A+=h),C.height=k,C.depth=A,b+=k,C.pos=b,b+=A+P,l[n]=C,y(r[n+1])}var O,T,E=b/2+t.fontMetrics().axisHeight,N=e.cols||[],$=[];for(i=0,T=0;i<s||T<N.length;++i,++T){for(var j=N[T]||{},q=!0;"separator"===j.type;){if(q||((O=Re.makeSpan(["arraycolsep"],[])).style.width=t.fontMetrics().doubleRuleSep+"em",$.push(O)),"|"!==j.separator&&":"!==j.separator)throw new a("Invalid separator type: "+j.separator);var L="|"===j.separator?"solid":"dashed",F=Re.makeSpan(["vertical-separator"],[],t);F.style.height=b+"em",F.style.borderRightWidth=u+"em",F.style.borderRightStyle=L,F.style.margin="0 -"+u/2+"em",F.style.verticalAlign=-(b-E)+"em",$.push(F),j=N[++T]||{},q=!1}if(!(i>=s)){var D=void 0;(i>0||e.hskipBeforeAndAfter)&&0!==(D=d.deflt(j.pregap,f))&&((O=Re.makeSpan(["arraycolsep"],[])).style.width=D+"em",$.push(O));var R=[];for(n=0;n<o;++n){var z=l[n],B=z[i];if(B){var I=z.pos-E;B.depth=z.depth,B.height=z.height,R.push({type:"elem",elem:B,shift:I})}}R=Re.makeVList({positionType:"individualShift",children:R},t),R=Re.makeSpan(["col-align-"+(j.align||"c")],[R]),$.push(R),(i<s-1||e.hskipBeforeAndAfter)&&0!==(D=d.deflt(j.postgap,f))&&((O=Re.makeSpan(["arraycolsep"],[])).style.width=D+"em",$.push(O))}}if(l=Re.makeSpan(["mtable"],$),c.length>0){for(var H=Re.makeLineSpan("hline",t,u),U=Re.makeLineSpan("hdashline",t,u),V=[{type:"elem",elem:l,shift:0}];c.length>0;){var W=c.pop(),Y=W.pos-E;W.isDashed?V.push({type:"elem",elem:U,shift:Y}):V.push({type:"elem",elem:H,shift:Y})}l=Re.makeVList({positionType:"individualShift",children:V},t)}return Re.makeSpan(["mord"],[l],t)},xn={c:"center ",l:"left ",r:"right "},kn=function(e,t){var n=new _t.MathNode("mtable",e.body.map(function(e){return new _t.MathNode("mtr",e.map(function(e){return new _t.MathNode("mtd",[At(e,t)])}))})),i=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);n.setAttribute("rowspacing",i+"em");var o="",r="";if(e.cols){var a=e.cols,s="",l=!1,c=0,u=a.length;"separator"===a[0].type&&(o+="top ",c=1),"separator"===a[a.length-1].type&&(o+="bottom ",u-=1);for(var d=c;d<u;d++)"align"===a[d].type?(r+=xn[a[d].align],l&&(s+="none "),l=!0):"separator"===a[d].type&&l&&(s+="|"===a[d].separator?"solid ":"dashed ",l=!1);n.setAttribute("columnalign",r.trim()),/[sd]/.test(s)&&n.setAttribute("columnlines",s.trim())}if("align"===e.colSeparationType){for(var p=e.cols||[],f="",m=1;m<p.length;m++)f+=m%2?"0em ":"1em ";n.setAttribute("columnspacing",f.trim())}else"alignat"===e.colSeparationType?n.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?n.setAttribute("columnspacing","0.2778em"):n.setAttribute("columnspacing","1em");var h="",g=e.hLinesBeforeRow;o+=g[0].length>0?"left ":"",o+=g[g.length-1].length>0?"right ":"";for(var v=1;v<g.length-1;v++)h+=0===g[v].length?"none ":g[v][0]?"dashed ":"solid ";return/[sd]/.test(h)&&n.setAttribute("rowlines",h.trim()),""!==o&&(n=new _t.MathNode("menclose",[n])).setAttribute("notation",o.trim()),e.arraystretch&&e.arraystretch<1&&(n=new _t.MathNode("mstyle",[n])).setAttribute("scriptlevel","1"),n},An=function(e,t){var n,i=[],o=bn(e.parser,{cols:i,addJot:!0},"display"),r=0,s={type:"ordgroup",mode:e.mode,body:[]},l=Be(t[0],"ordgroup");if(l){for(var c="",u=0;u<l.body.length;u++){c+=ze(l.body[u],"textord").text}n=Number(c),r=2*n}var d=!r;o.body.forEach(function(e){for(var t=1;t<e.length;t+=2){ze(ze(e[t],"styling").body[0],"ordgroup").body.unshift(s)}if(d)r<e.length&&(r=e.length);else{var i=e.length/2;if(n<i)throw new a("Too many math in a row: expected "+n+", but got "+i,e[0])}});for(var p=0;p<r;++p){var f="r",m=0;p%2==1?f="l":p>0&&d&&(m=1),i[p]={type:"align",align:f,pregap:m,postgap:0}}return o.colSeparationType=d?"align":"alignat",o};vn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var n={cols:(Ue(t[0])?[t[0]]:ze(t[0],"ordgroup").body).map(function(e){var t=He(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new a("Unknown column alignment: "+t,e)}),hskipBeforeAndAfter:!0};return bn(e.parser,n,yn(e.envName))},htmlBuilder:wn,mathmlBuilder:kn}),vn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],n=bn(e.parser,{hskipBeforeAndAfter:!1},yn(e.envName));return t?{type:"leftright",mode:e.mode,body:[n],left:t[0],right:t[1],rightColor:void 0}:n},htmlBuilder:wn,mathmlBuilder:kn}),vn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(e){var t=bn(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:wn,mathmlBuilder:kn}),vn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(e,t){var n=(Ue(t[0])?[t[0]]:ze(t[0],"ordgroup").body).map(function(e){var t=He(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new a("Unknown column alignment: "+t,e)});if(n.length>1)throw new a("{subarray} can contain only one column");var i={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if((i=bn(e.parser,i,"script")).body[0].length>1)throw new a("{subarray} can contain only one column");return i},htmlBuilder:wn,mathmlBuilder:kn}),vn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(e){var t=bn(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},yn(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:wn,mathmlBuilder:kn}),vn({type:"array",names:["aligned"],props:{numArgs:0},handler:An,htmlBuilder:wn,mathmlBuilder:kn}),vn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(e){return bn(e.parser,{cols:[{type:"align",align:"c"}],addJot:!0},"display")},htmlBuilder:wn,mathmlBuilder:kn}),vn({type:"array",names:["alignedat"],props:{numArgs:1},handler:An,htmlBuilder:wn,mathmlBuilder:kn}),Qe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(e,t){throw new a(e.funcName+" valid only within array environment")}});var Cn=gn;Qe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(e,t){var n=e.parser,i=e.funcName,o=t[0];if("ordgroup"!==o.type)throw new a("Invalid environment name",o);for(var r="",s=0;s<o.body.length;++s)r+=ze(o.body[s],"textord").text;if("\\begin"===i){if(!Cn.hasOwnProperty(r))throw new a("No such environment: "+r,o);var l=Cn[r],c=n.parseArguments("\\begin{"+r+"}",l),u=c.args,d=c.optArgs,p={mode:n.mode,envName:r,parser:n},f=l.handler(p,u,d);n.expect("\\end",!1);var m=n.nextToken,h=ze(n.parseFunction(),"environment");if(h.name!==r)throw new a("Mismatch: \\begin{"+r+"} matched by \\end{"+h.name+"}",m);return f}return{type:"environment",mode:n.mode,name:r,nameGroup:o}}});var Sn=Re.makeSpan;function Mn(e,t){var n=st(e.body,t,!0);return Sn([e.mclass],n,t)}function Pn(e,t){var n,i=xt(e.body,t);return"minner"===e.mclass?_t.newDocumentFragment(i):("mord"===e.mclass?e.isCharacterBox?(n=i[0]).type="mi":n=new _t.MathNode("mi",i):(e.isCharacterBox?(n=i[0]).type="mo":n=new _t.MathNode("mo",i),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"!==e.mclass&&"mclose"!==e.mclass||(n.attributes.lspace="0em",n.attributes.rspace="0em")),n)}Qe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(e,t){var n=e.parser,i=e.funcName,o=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+i.substr(5),body:tt(o),isCharacterBox:d.isCharacterBox(o)}},htmlBuilder:Mn,mathmlBuilder:Pn});var On=function(e){var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};Qe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(e,t){return{type:"mclass",mode:e.parser.mode,mclass:On(t[0]),body:[t[1]],isCharacterBox:d.isCharacterBox(t[1])}}}),Qe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(e,t){var n,i=e.parser,o=e.funcName,r=t[1],a=t[0];n="\\stackrel"!==o?On(r):"mrel";var s={type:"op",mode:r.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==o,body:tt(r)},l={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===o?null:a,sub:"\\underset"===o?a:null};return{type:"mclass",mode:i.mode,mclass:n,body:[l],isCharacterBox:d.isCharacterBox(l)}},htmlBuilder:Mn,mathmlBuilder:Pn});var Tn=function(e,t){var n=e.font,i=t.withFont(n);return pt(e.body,i)},En=function(e,t){var n=e.font,i=t.withFont(n);return At(e.body,i)},Nn={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Qe({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(e,t){var n=e.parser,i=e.funcName,o=t[0],r=i;return r in Nn&&(r=Nn[r]),{type:"font",mode:n.mode,font:r.slice(1),body:o}},htmlBuilder:Tn,mathmlBuilder:En}),Qe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(e,t){var n=e.parser,i=t[0],o=d.isCharacterBox(i);return{type:"mclass",mode:n.mode,mclass:On(i),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:i}],isCharacterBox:o}}}),Qe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.parser,i=e.funcName,o=e.breakOnTokenText,r=n.mode,a=n.parseExpression(!0,o);return{type:"font",mode:r,font:"math"+i.slice(1),body:{type:"ordgroup",mode:n.mode,body:a}}},htmlBuilder:Tn,mathmlBuilder:En});var $n=function(e,t){var n=t;return"display"===e?n=n.id>=w.SCRIPT.id?n.text():w.DISPLAY:"text"===e&&n.size===w.DISPLAY.size?n=w.TEXT:"script"===e?n=w.SCRIPT:"scriptscript"===e&&(n=w.SCRIPTSCRIPT),n},jn=function(e,t){var n,i=$n(e.size,t.style),o=i.fracNum(),r=i.fracDen();n=t.havingStyle(o);var a=pt(e.numer,n,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<l?l:a.depth}n=t.havingStyle(r);var c,u,d,p,f,m,h,g,v,_,b=pt(e.denom,n,t);if(e.hasBarLine?(e.barSize?(u=Me(e.barSize,t),c=Re.makeLineSpan("frac-line",t,u)):c=Re.makeLineSpan("frac-line",t),u=c.height,d=c.height):(c=null,u=0,d=t.fontMetrics().defaultRuleThickness),i.size===w.DISPLAY.size||"display"===e.size?(p=t.fontMetrics().num1,f=u>0?3*d:7*d,m=t.fontMetrics().denom1):(u>0?(p=t.fontMetrics().num2,f=d):(p=t.fontMetrics().num3,f=3*d),m=t.fontMetrics().denom2),c){var y=t.fontMetrics().axisHeight;p-a.depth-(y+.5*u)<f&&(p+=f-(p-a.depth-(y+.5*u))),y-.5*u-(b.height-m)<f&&(m+=f-(y-.5*u-(b.height-m)));var x=-(y-.5*u);h=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:m},{type:"elem",elem:c,shift:x},{type:"elem",elem:a,shift:-p}]},t)}else{var k=p-a.depth-(b.height-m);k<f&&(p+=.5*(f-k),m+=.5*(f-k)),h=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:m},{type:"elem",elem:a,shift:-p}]},t)}return n=t.havingStyle(i),h.height*=n.sizeMultiplier/t.sizeMultiplier,h.depth*=n.sizeMultiplier/t.sizeMultiplier,g=i.size===w.DISPLAY.size?t.fontMetrics().delim1:t.fontMetrics().delim2,v=null==e.leftDelim?dt(t,["mopen"]):ln(e.leftDelim,g,!0,t.havingStyle(i),e.mode,["mopen"]),_=e.continued?Re.makeSpan([]):null==e.rightDelim?dt(t,["mclose"]):ln(e.rightDelim,g,!0,t.havingStyle(i),e.mode,["mclose"]),Re.makeSpan(["mord"].concat(n.sizingClasses(t)),[v,Re.makeSpan(["mfrac"],[h]),_],t)},qn=function(e,t){var n=new _t.MathNode("mfrac",[At(e.numer,t),At(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var i=Me(e.barSize,t);n.setAttribute("linethickness",i+"em")}}else n.setAttribute("linethickness","0px");var o=$n(e.size,t.style);if(o.size!==t.style.size){n=new _t.MathNode("mstyle",[n]);var r=o.size===w.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",r),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var a=[];if(null!=e.leftDelim){var s=new _t.MathNode("mo",[new _t.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(n),null!=e.rightDelim){var l=new _t.MathNode("mo",[new _t.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return yt(a)}return n};Qe({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(e,t){var n,i=e.parser,o=e.funcName,r=t[0],a=t[1],s=null,l=null,c="auto";switch(o){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":n=!0;break;case"\\\\atopfrac":n=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":n=!1,s="(",l=")";break;case"\\\\bracefrac":n=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":n=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(o){case"\\cfrac":case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text"}return{type:"genfrac",mode:i.mode,continued:"\\cfrac"===o,numer:r,denom:a,hasBarLine:n,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:jn,mathmlBuilder:qn}),Qe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(e){var t,n=e.parser,i=e.funcName,o=e.token;switch(i){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:t,token:o}}});var Ln=["display","text","script","scriptscript"],Fn=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};Qe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(e,t){var n=e.parser,i=t[4],o=t[5],r=Be(t[0],"atom");r&&(r=Ie(t[0],"open"));var a=r?Fn(r.text):null,s=Be(t[1],"atom");s&&(s=Ie(t[1],"close"));var l,c=s?Fn(s.text):null,u=ze(t[2],"size"),d=null;l=!!u.isBlank||(d=u.value).number>0;var p="auto",f=Be(t[3],"ordgroup");if(f){if(f.body.length>0){var m=ze(f.body[0],"textord");p=Ln[Number(m.text)]}}else f=ze(t[3],"textord"),p=Ln[Number(f.text)];return{type:"genfrac",mode:n.mode,numer:i,denom:o,continued:!1,hasBarLine:l,barSize:d,leftDelim:a,rightDelim:c,size:p}},htmlBuilder:jn,mathmlBuilder:qn}),Qe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(e,t){var n=e.parser,i=(e.funcName,e.token);return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:ze(t[0],"size").value,token:i}}}),Qe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(e,t){var n=e.parser,i=(e.funcName,t[0]),o=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(ze(t[1],"infix").size),r=t[2],a=o.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:r,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:jn,mathmlBuilder:qn});var Dn=function(e,t){var n,i,o=t.style,r=Be(e,"supsub");r?(n=r.sup?pt(r.sup,t.havingStyle(o.sup()),t):pt(r.sub,t.havingStyle(o.sub()),t),i=ze(r.base,"horizBrace")):i=ze(e,"horizBrace");var a,s=pt(i.base,t.havingBaseStyle(w.DISPLAY)),l=jt(i,t);if(i.isOver?(a=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:l}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(a=Re.makeVList({positionType:"bottom",positionData:s.depth+.1+l.height,children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[0].classes.push("svg-align"),n){var c=Re.makeSpan(["mord",i.isOver?"mover":"munder"],[a],t);a=i.isOver?Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.2},{type:"elem",elem:n}]},t):Re.makeVList({positionType:"bottom",positionData:c.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:c}]},t)}return Re.makeSpan(["mord",i.isOver?"mover":"munder"],[a],t)};Qe({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(e,t){var n=e.parser,i=e.funcName;return{type:"horizBrace",mode:n.mode,label:i,isOver:/^\\over/.test(i),base:t[0]}},htmlBuilder:Dn,mathmlBuilder:function(e,t){var n=$t(e.label);return new _t.MathNode(e.isOver?"mover":"munder",[At(e.base,t),n])}}),Qe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(e,t){var n=e.parser,i=t[1],o=ze(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:n.mode,href:o,body:tt(i)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:function(e,t){var n=st(e.body,t,!1);return Re.makeAnchor(e.href,[],n,t)},mathmlBuilder:function(e,t){var n=kt(e.body,t);return n instanceof gt||(n=new gt("mrow",[n])),n.setAttribute("href",e.href),n}}),Qe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(e,t){var n=e.parser,i=ze(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:i}))return n.formatUnsupportedCmd("\\url");for(var o=[],r=0;r<i.length;r++){var a=i[r];"~"===a&&(a="\\textasciitilde"),o.push({type:"textord",mode:"text",text:a})}var s={type:"text",mode:n.mode,font:"\\texttt",body:o};return{type:"href",mode:n.mode,href:i,body:tt(s)}}}),Qe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(e,t){return{type:"htmlmathml",mode:e.parser.mode,html:tt(t[0]),mathml:tt(t[1])}},htmlBuilder:function(e,t){var n=st(e.html,t,!1);return Re.makeFragment(n)},mathmlBuilder:function(e,t){return kt(e.mathml,t)}});var Rn=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new a("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(t[1]+t[2]),unit:t[3]};if(!Se(n))throw new a("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};Qe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(e,t,n){var i=e.parser,o={number:0,unit:"em"},r={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(n[0])for(var c=ze(n[0],"raw").string.split(","),u=0;u<c.length;u++){var d=c[u].split("=");if(2===d.length){var p=d[1].trim();switch(d[0].trim()){case"alt":l=p;break;case"width":o=Rn(p);break;case"height":r=Rn(p);break;case"totalheight":s=Rn(p);break;default:throw new a("Invalid key: '"+d[0]+"' in \\includegraphics.")}}}var f=ze(t[0],"url").url;return""===l&&(l=(l=(l=f).replace(/^.*[\\/]/,"")).substring(0,l.lastIndexOf("."))),i.settings.isTrusted({command:"\\includegraphics",url:f})?{type:"includegraphics",mode:i.mode,alt:l,width:o,height:r,totalheight:s,src:f}:i.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(e,t){var n=Me(e.height,t),i=0;e.totalheight.number>0&&(i=Me(e.totalheight,t)-n,i=Number(i.toFixed(2)));var o=0;e.width.number>0&&(o=Me(e.width,t));var r={height:n+i+"em"};o>0&&(r.width=o+"em"),i>0&&(r.verticalAlign=-i+"em");var a=new $(e.src,e.alt,r);return a.height=n,a.depth=i,a},mathmlBuilder:function(e,t){var n=new _t.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var i=Me(e.height,t),o=0;if(e.totalheight.number>0&&(o=(o=Me(e.totalheight,t)-i).toFixed(2),n.setAttribute("valign","-"+o+"em")),n.setAttribute("height",i+o+"em"),e.width.number>0){var r=Me(e.width,t);n.setAttribute("width",r+"em")}return n.setAttribute("src",e.src),n}}),Qe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t){var n=e.parser,i=e.funcName,o=ze(t[0],"size");if(n.settings.strict){var r="m"===i[1],a="mu"===o.value.unit;r?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" supports only mu units, not "+o.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:o.value}},htmlBuilder:function(e,t){return Re.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var n=Me(e.dimension,t);return new _t.SpaceNode(n)}}),Qe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,i=e.funcName,o=t[0];return{type:"lap",mode:n.mode,alignment:i.slice(5),body:o}},htmlBuilder:function(e,t){var n;"clap"===e.alignment?(n=Re.makeSpan([],[pt(e.body,t)]),n=Re.makeSpan(["inner"],[n],t)):n=Re.makeSpan(["inner"],[pt(e.body,t)]);var i=Re.makeSpan(["fix"],[]),o=Re.makeSpan([e.alignment],[n,i],t),r=Re.makeSpan(["strut"]);return r.style.height=o.height+o.depth+"em",r.style.verticalAlign=-o.depth+"em",o.children.unshift(r),o=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},t),Re.makeSpan(["mord"],[o],t)},mathmlBuilder:function(e,t){var n=new _t.MathNode("mpadded",[At(e.body,t)]);if("rlap"!==e.alignment){var i="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",i+"width")}return n.setAttribute("width","0px"),n}}),Qe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=e.funcName,i=e.parser,o=i.mode;i.switchMode("math");var r="\\("===n?"\\)":"$",a=i.parseExpression(!1,r);return i.expect(r),i.switchMode(o),{type:"styling",mode:i.mode,style:"text",body:a}}}),Qe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){throw new a("Mismatched "+e.funcName)}});var zn=function(e,t){switch(t.style.size){case w.DISPLAY.size:return e.display;case w.TEXT.size:return e.text;case w.SCRIPT.size:return e.script;case w.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Qe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(e,t){return{type:"mathchoice",mode:e.parser.mode,display:tt(t[0]),text:tt(t[1]),script:tt(t[2]),scriptscript:tt(t[3])}},htmlBuilder:function(e,t){var n=zn(e,t),i=st(n,t,!1);return Re.makeFragment(i)},mathmlBuilder:function(e,t){var n=zn(e,t);return kt(n,t)}});var Bn=function(e,t,n,i,o,r,a){var s,l,c;if(e=Re.makeSpan([],[e]),t){var u=pt(t,i.havingStyle(o.sup()),i);l={elem:u,kern:Math.max(i.fontMetrics().bigOpSpacing1,i.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var d=pt(n,i.havingStyle(o.sub()),i);s={elem:d,kern:Math.max(i.fontMetrics().bigOpSpacing2,i.fontMetrics().bigOpSpacing4-d.height)}}if(l&&s){var p=i.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;c=Re.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:-r+"em"},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:r+"em"},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}else if(s){var f=e.height-a;c=Re.makeVList({positionType:"top",positionData:f,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:-r+"em"},{type:"kern",size:s.kern},{type:"elem",elem:e}]},i)}else{if(!l)return e;var m=e.depth+a;c=Re.makeVList({positionType:"bottom",positionData:m,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:r+"em"},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}return Re.makeSpan(["mop","op-limits"],[c],i)},In=["\\smallint"],Hn=function(e,t){var n,i,o,r=!1,a=Be(e,"supsub");a?(n=a.sup,i=a.sub,o=ze(a.base,"op"),r=!0):o=ze(e,"op");var s,l=t.style,c=!1;if(l.size===w.DISPLAY.size&&o.symbol&&!d.contains(In,o.name)&&(c=!0),o.symbol){var u=c?"Size2-Regular":"Size1-Regular",p="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(p=o.name.substr(1),o.name="oiint"===p?"\\iint":"\\iiint"),s=Re.makeSymbol(o.name,u,"math",t,["mop","op-symbol",c?"large-op":"small-op"]),p.length>0){var f=s.italic,m=Re.staticSvg(p+"Size"+(c?"2":"1"),t);s=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:m,shift:c?.08:0}]},t),o.name="\\"+p,s.classes.unshift("mop"),s.italic=f}}else if(o.body){var h=st(o.body,t,!0);1===h.length&&h[0]instanceof q?(s=h[0]).classes[0]="mop":s=Re.makeSpan(["mop"],Re.tryCombineChars(h),t)}else{for(var g=[],v=1;v<o.name.length;v++)g.push(Re.mathsym(o.name[v],o.mode,t));s=Re.makeSpan(["mop"],g,t)}var _=0,b=0;return(s instanceof q||"\\oiint"===o.name||"\\oiiint"===o.name)&&!o.suppressBaseShift&&(_=(s.height-s.depth)/2-t.fontMetrics().axisHeight,b=s.italic),r?Bn(s,n,i,t,l,b,_):(_&&(s.style.position="relative",s.style.top=_+"em"),s)},Un=function(e,t){var n;if(e.symbol)n=new gt("mo",[bt(e.name,e.mode)]),d.contains(In,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new gt("mo",xt(e.body,t));else{n=new gt("mi",[new vt(e.name.slice(1))]);var i=new gt("mo",[bt("","text")]);n=e.parentIsSupSub?new gt("mo",[n,i]):ht([n,i])}return n},Vn={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Qe({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:function(e,t){var n=e.parser,i=e.funcName;return 1===i.length&&(i=Vn[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Hn,mathmlBuilder:Un}),Qe({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(e,t){var n=e.parser,i=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:tt(i)}},htmlBuilder:Hn,mathmlBuilder:Un});var Wn={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Qe({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(e){var t=e.parser,n=e.funcName;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Hn,mathmlBuilder:Un}),Qe({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(e){var t=e.parser,n=e.funcName;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Hn,mathmlBuilder:Un}),Qe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler:function(e){var t=e.parser,n=e.funcName;return 1===n.length&&(n=Wn[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Hn,mathmlBuilder:Un});var Yn=function(e,t){var n,i,o,r,a=!1,s=Be(e,"supsub");if(s?(n=s.sup,i=s.sub,o=ze(s.base,"operatorname"),a=!0):o=ze(e,"operatorname"),o.body.length>0){for(var l=o.body.map(function(e){var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e}),c=st(l,t.withFont("mathrm"),!0),u=0;u<c.length;u++){var d=c[u];d instanceof q&&(d.text=d.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}r=Re.makeSpan(["mop"],c,t)}else r=Re.makeSpan(["mop"],[],t);return a?Bn(r,n,i,t,t.style,0,0):r};function Gn(e,t,n){for(var i=st(e,t,!1),o=t.sizeMultiplier/n.sizeMultiplier,r=0;r<i.length;r++){var a=i[r].classes.indexOf("sizing");a<0?Array.prototype.push.apply(i[r].classes,t.sizingClasses(n)):i[r].classes[a+1]==="reset-size"+t.size&&(i[r].classes[a+1]="reset-size"+n.size),i[r].height*=o,i[r].depth*=o}return Re.makeFragment(i)}Qe({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(e,t){var n=e.parser,i=e.funcName,o=t[0];return{type:"operatorname",mode:n.mode,body:tt(o),alwaysHandleSupSub:"\\operatorname*"===i,limits:!1,parentIsSupSub:!1}},htmlBuilder:Yn,mathmlBuilder:function(e,t){for(var n=xt(e.body,t.withFont("mathrm")),i=!0,o=0;o<n.length;o++){var r=n[o];if(r instanceof _t.SpaceNode);else if(r instanceof _t.MathNode)switch(r.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":var a=r.children[0];1===r.children.length&&a instanceof _t.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):i=!1;break;default:i=!1}else i=!1}if(i){var s=n.map(function(e){return e.toText()}).join("");n=[new _t.TextNode(s)]}var l=new _t.MathNode("mi",n);l.setAttribute("mathvariant","normal");var c=new _t.MathNode("mo",[bt("","text")]);return e.parentIsSupSub?new _t.MathNode("mo",[l,c]):_t.newDocumentFragment([l,c])}}),et({type:"ordgroup",htmlBuilder:function(e,t){return e.semisimple?Re.makeFragment(st(e.body,t,!1)):Re.makeSpan(["mord"],st(e.body,t,!0),t)},mathmlBuilder:function(e,t){return kt(e.body,t,!0)}}),Qe({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(e,t){var n=e.parser,i=t[0];return{type:"overline",mode:n.mode,body:i}},htmlBuilder:function(e,t){var n=pt(e.body,t.havingCrampedStyle()),i=Re.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,r=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:i},{type:"kern",size:o}]},t);return Re.makeSpan(["mord","overline"],[r],t)},mathmlBuilder:function(e,t){var n=new _t.MathNode("mo",[new _t.TextNode("‾")]);n.setAttribute("stretchy","true");var i=new _t.MathNode("mover",[At(e.body,t),n]);return i.setAttribute("accent","true"),i}}),Qe({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,i=t[0];return{type:"phantom",mode:n.mode,body:tt(i)}},htmlBuilder:function(e,t){var n=st(e.body,t.withPhantom(),!1);return Re.makeFragment(n)},mathmlBuilder:function(e,t){var n=xt(e.body,t);return new _t.MathNode("mphantom",n)}}),Qe({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,i=t[0];return{type:"hphantom",mode:n.mode,body:i}},htmlBuilder:function(e,t){var n=Re.makeSpan([],[pt(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var i=0;i<n.children.length;i++)n.children[i].height=0,n.children[i].depth=0;return n=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),Re.makeSpan(["mord"],[n],t)},mathmlBuilder:function(e,t){var n=xt(tt(e.body),t),i=new _t.MathNode("mphantom",n),o=new _t.MathNode("mpadded",[i]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}}),Qe({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,i=t[0];return{type:"vphantom",mode:n.mode,body:i}},htmlBuilder:function(e,t){var n=Re.makeSpan(["inner"],[pt(e.body,t.withPhantom())]),i=Re.makeSpan(["fix"],[]);return Re.makeSpan(["mord","rlap"],[n,i],t)},mathmlBuilder:function(e,t){var n=xt(tt(e.body),t),i=new _t.MathNode("mphantom",n),o=new _t.MathNode("mpadded",[i]);return o.setAttribute("width","0px"),o}}),Qe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(e,t){var n=e.parser,i=ze(t[0],"size").value,o=t[1];return{type:"raisebox",mode:n.mode,dy:i,body:o}},htmlBuilder:function(e,t){var n=pt(e.body,t),i=Me(e.dy,t);return Re.makeVList({positionType:"shift",positionData:-i,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(e,t){var n=new _t.MathNode("mpadded",[At(e.body,t)]),i=e.dy.number+e.dy.unit;return n.setAttribute("voffset",i),n}}),Qe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(e,t,n){var i=e.parser,o=n[0],r=ze(t[0],"size"),a=ze(t[1],"size");return{type:"rule",mode:i.mode,shift:o&&ze(o,"size").value,width:r.value,height:a.value}},htmlBuilder:function(e,t){var n=Re.makeSpan(["mord","rule"],[],t),i=Me(e.width,t),o=Me(e.height,t),r=e.shift?Me(e.shift,t):0;return n.style.borderRightWidth=i+"em",n.style.borderTopWidth=o+"em",n.style.bottom=r+"em",n.width=i,n.height=o+r,n.depth=-r,n.maxFontSize=1.125*o*t.sizeMultiplier,n},mathmlBuilder:function(e,t){var n=Me(e.width,t),i=Me(e.height,t),o=e.shift?Me(e.shift,t):0,r=t.color&&t.getColor()||"black",a=new _t.MathNode("mspace");a.setAttribute("mathbackground",r),a.setAttribute("width",n+"em"),a.setAttribute("height",i+"em");var s=new _t.MathNode("mpadded",[a]);return o>=0?s.setAttribute("height","+"+o+"em"):(s.setAttribute("height",o+"em"),s.setAttribute("depth","+"+-o+"em")),s.setAttribute("voffset",o+"em"),s}});var Kn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Qe({type:"sizing",names:Kn,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,i=e.funcName,o=e.parser,r=o.parseExpression(!1,n);return{type:"sizing",mode:o.mode,size:Kn.indexOf(i)+1,body:r}},htmlBuilder:function(e,t){var n=t.havingSize(e.size);return Gn(e.body,n,t)},mathmlBuilder:function(e,t){var n=t.havingSize(e.size),i=xt(e.body,n),o=new _t.MathNode("mstyle",i);return o.setAttribute("mathsize",n.sizeMultiplier+"em"),o}}),Qe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,n){var i=e.parser,o=!1,r=!1,a=n[0]&&ze(n[0],"ordgroup");if(a)for(var s="",l=0;l<a.body.length;++l){if("t"===(s=a.body[l].text))o=!0;else{if("b"!==s){o=!1,r=!1;break}r=!0}}else o=!0,r=!0;var c=t[0];return{type:"smash",mode:i.mode,body:c,smashHeight:o,smashDepth:r}},htmlBuilder:function(e,t){var n=Re.makeSpan([],[pt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var i=0;i<n.children.length;i++)n.children[i].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(var o=0;o<n.children.length;o++)n.children[o].depth=0;var r=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return Re.makeSpan(["mord"],[r],t)},mathmlBuilder:function(e,t){var n=new _t.MathNode("mpadded",[At(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),Qe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var i=e.parser,o=n[0],r=t[0];return{type:"sqrt",mode:i.mode,body:r,index:o}},htmlBuilder:function(e,t){var n=pt(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=Re.wrapFragment(n,t);var i=t.fontMetrics().defaultRuleThickness,o=i;t.style.id<w.TEXT.id&&(o=t.fontMetrics().xHeight);var r=i+o/4,a=n.height+n.depth+r+i,s=an(a,t),l=s.span,c=s.ruleWidth,u=s.advanceWidth,d=l.height-c;d>n.height+n.depth+r&&(r=(r+d-n.height-n.depth)/2);var p=l.height-n.height-r-c;n.style.paddingLeft=u+"em";var f=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+p)},{type:"elem",elem:l},{type:"kern",size:c}]},t);if(e.index){var m=t.havingStyle(w.SCRIPTSCRIPT),h=pt(e.index,m,t),g=.6*(f.height-f.depth),v=Re.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:h}]},t),_=Re.makeSpan(["root"],[v]);return Re.makeSpan(["mord","sqrt"],[_,f],t)}return Re.makeSpan(["mord","sqrt"],[f],t)},mathmlBuilder:function(e,t){var n=e.body,i=e.index;return i?new _t.MathNode("mroot",[At(n,t),At(i,t)]):new _t.MathNode("msqrt",[At(n,t)])}});var Jn={display:w.DISPLAY,text:w.TEXT,script:w.SCRIPT,scriptscript:w.SCRIPTSCRIPT};Qe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,i=e.funcName,o=e.parser,r=o.parseExpression(!0,n),a=i.slice(1,i.length-5);return{type:"styling",mode:o.mode,style:a,body:r}},htmlBuilder:function(e,t){var n=Jn[e.style],i=t.havingStyle(n).withFont("");return Gn(e.body,i,t)},mathmlBuilder:function(e,t){var n=Jn[e.style],i=t.havingStyle(n),o=xt(e.body,i),r=new _t.MathNode("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return r.setAttribute("scriptlevel",a[0]),r.setAttribute("displaystyle",a[1]),r}});et({type:"supsub",htmlBuilder:function(e,t){var n=function(e,t){var n=e.base;return n?"op"===n.type?n.limits&&(t.style.size===w.DISPLAY.size||n.alwaysHandleSupSub)?Hn:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===w.DISPLAY.size||n.limits)?Yn:null:"accent"===n.type?d.isCharacterBox(n.base)?qt:null:"horizBrace"===n.type&&!e.sub===n.isOver?Dn:null:null}(e,t);if(n)return n(e,t);var i,o,r,a=e.base,s=e.sup,l=e.sub,c=pt(a,t),u=t.fontMetrics(),p=0,f=0,m=a&&d.isCharacterBox(a);if(s){var h=t.havingStyle(t.style.sup());i=pt(s,h,t),m||(p=c.height-h.fontMetrics().supDrop*h.sizeMultiplier/t.sizeMultiplier)}if(l){var g=t.havingStyle(t.style.sub());o=pt(l,g,t),m||(f=c.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}r=t.style===w.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;var v,_=t.sizeMultiplier,b=.5/u.ptPerEm/_+"em",y=null;if(o){var x=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(c instanceof q||x)&&(y=-c.italic+"em")}if(i&&o){p=Math.max(p,r,i.depth+.25*u.xHeight),f=Math.max(f,u.sub2);var k=4*u.defaultRuleThickness;if(p-i.depth-(o.height-f)<k){f=k-(p-i.depth)+o.height;var A=.8*u.xHeight-(p-i.depth);A>0&&(p+=A,f-=A)}var C=[{type:"elem",elem:o,shift:f,marginRight:b,marginLeft:y},{type:"elem",elem:i,shift:-p,marginRight:b}];v=Re.makeVList({positionType:"individualShift",children:C},t)}else if(o){f=Math.max(f,u.sub1,o.height-.8*u.xHeight);var S=[{type:"elem",elem:o,marginLeft:y,marginRight:b}];v=Re.makeVList({positionType:"shift",positionData:f,children:S},t)}else{if(!i)throw new Error("supsub must have either sup or sub.");p=Math.max(p,r,i.depth+.25*u.xHeight),v=Re.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:i,marginRight:b}]},t)}var M=ut(c,"right")||"mord";return Re.makeSpan([M],[c,Re.makeSpan(["msupsub"],[v])],t)},mathmlBuilder:function(e,t){var n,i=!1,o=Be(e.base,"horizBrace");o&&!!e.sup===o.isOver&&(i=!0,n=o.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var r,a=[At(e.base,t)];if(e.sub&&a.push(At(e.sub,t)),e.sup&&a.push(At(e.sup,t)),i)r=n?"mover":"munder";else if(e.sub)if(e.sup){var s=e.base;r=s&&"op"===s.type&&s.limits&&t.style===w.DISPLAY?"munderover":s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(t.style===w.DISPLAY||s.limits)?"munderover":"msubsup"}else{var l=e.base;r=l&&"op"===l.type&&l.limits&&(t.style===w.DISPLAY||l.alwaysHandleSupSub)?"munder":l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===w.DISPLAY)?"munder":"msub"}else{var c=e.base;r=c&&"op"===c.type&&c.limits&&(t.style===w.DISPLAY||c.alwaysHandleSupSub)?"mover":c&&"operatorname"===c.type&&c.alwaysHandleSupSub&&(c.limits||t.style===w.DISPLAY)?"mover":"msup"}return new _t.MathNode(r,a)}}),et({type:"atom",htmlBuilder:function(e,t){return Re.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder:function(e,t){var n=new _t.MathNode("mo",[bt(e.text,e.mode)]);if("bin"===e.family){var i=wt(e,t);"bold-italic"===i&&n.setAttribute("mathvariant",i)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});var Xn={mi:"italic",mn:"normal",mtext:"normal"};et({type:"mathord",htmlBuilder:function(e,t){return Re.makeOrd(e,t,"mathord")},mathmlBuilder:function(e,t){var n=new _t.MathNode("mi",[bt(e.text,e.mode,t)]),i=wt(e,t)||"italic";return i!==Xn[n.type]&&n.setAttribute("mathvariant",i),n}}),et({type:"textord",htmlBuilder:function(e,t){return Re.makeOrd(e,t,"textord")},mathmlBuilder:function(e,t){var n,i=bt(e.text,e.mode,t),o=wt(e,t)||"normal";return n="text"===e.mode?new _t.MathNode("mtext",[i]):/[0-9]/.test(e.text)?new _t.MathNode("mn",[i]):"\\prime"===e.text?new _t.MathNode("mo",[i]):new _t.MathNode("mi",[i]),o!==Xn[n.type]&&n.setAttribute("mathvariant",o),n}});var Zn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Qn={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};et({type:"spacing",htmlBuilder:function(e,t){if(Qn.hasOwnProperty(e.text)){var n=Qn[e.text].className||"";if("text"===e.mode){var i=Re.makeOrd(e,t,"textord");return i.classes.push(n),i}return Re.makeSpan(["mspace",n],[Re.mathsym(e.text,e.mode,t)],t)}if(Zn.hasOwnProperty(e.text))return Re.makeSpan(["mspace",Zn[e.text]],[],t);throw new a('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,t){if(!Qn.hasOwnProperty(e.text)){if(Zn.hasOwnProperty(e.text))return new _t.MathNode("mspace");throw new a('Unknown type of space "'+e.text+'"')}return new _t.MathNode("mtext",[new _t.TextNode(" ")])}});var ei=function(){var e=new _t.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};et({type:"tag",mathmlBuilder:function(e,t){var n=new _t.MathNode("mtable",[new _t.MathNode("mtr",[ei(),new _t.MathNode("mtd",[kt(e.body,t)]),ei(),new _t.MathNode("mtd",[kt(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var ti={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ni={"\\textbf":"textbf","\\textmd":"textmd"},ii={"\\textit":"textit","\\textup":"textup"},oi=function(e,t){var n=e.font;return n?ti[n]?t.withTextFontFamily(ti[n]):ni[n]?t.withTextFontWeight(ni[n]):t.withTextFontShape(ii[n]):t};Qe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(e,t){var n=e.parser,i=e.funcName,o=t[0];return{type:"text",mode:n.mode,body:tt(o),font:i}},htmlBuilder:function(e,t){var n=oi(e,t),i=st(e.body,n,!0);return Re.makeSpan(["mord","text"],Re.tryCombineChars(i),n)},mathmlBuilder:function(e,t){var n=oi(e,t);return kt(e.body,n)}}),Qe({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){return{type:"underline",mode:e.parser.mode,body:t[0]}},htmlBuilder:function(e,t){var n=pt(e.body,t),i=Re.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,r=Re.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:o},{type:"elem",elem:i},{type:"kern",size:3*o},{type:"elem",elem:n}]},t);return Re.makeSpan(["mord","underline"],[r],t)},mathmlBuilder:function(e,t){var n=new _t.MathNode("mo",[new _t.TextNode("‾")]);n.setAttribute("stretchy","true");var i=new _t.MathNode("munder",[At(e.body,t),n]);return i.setAttribute("accentunder","true"),i}}),Qe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,n){throw new a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var n=ri(e),i=[],o=t.havingStyle(t.style.text()),r=0;r<n.length;r++){var a=n[r];"~"===a&&(a="\\textasciitilde"),i.push(Re.makeSymbol(a,"Typewriter-Regular",e.mode,o,["mord","texttt"]))}return Re.makeSpan(["mord","text"].concat(o.sizingClasses(t)),Re.tryCombineChars(i),o)},mathmlBuilder:function(e,t){var n=new _t.TextNode(ri(e)),i=new _t.MathNode("mtext",[n]);return i.setAttribute("mathvariant","monospace"),i}});var ri=function(e){return e.body.replace(/ /g,e.star?"␣":" ")},ai=Je,si=new RegExp("^(\\\\[a-zA-Z@]+)[ \r\n\t]*$"),li=new RegExp("[̀-ͯ]+$"),ci="([ \r\n\t]+)|([!-\\[\\]-‧-豈-][̀-ͯ]*|[\ud800-\udbff][\udc00-\udfff][̀-ͯ]*|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*|\\\\[a-zA-Z@]+[ \r\n\t]*|\\\\[^\ud800-\udfff])",ui=function(){function e(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(ci,"g"),this.catcodes={"%":14}}var t=e.prototype;return t.setCatcode=function(e,t){this.catcodes[e]=t},t.lex=function(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new o("EOF",new i(this,t,t));var n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new a("Unexpected character: '"+e[t]+"'",new o(e[t],new i(this,t,t+1)));var r=n[2]||" ";if(14===this.catcodes[r]){var s=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===s?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}var l=r.match(si);return l&&(r=l[1]),new o(r,new i(this,t,this.tokenRegex.lastIndex))},e}(),di=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}var t=e.prototype;return t.beginGroup=function(){this.undefStack.push({})},t.endGroup=function(){if(0===this.undefStack.length)throw new a("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(void 0===e[t]?delete this.current[t]:this.current[t]=e[t])},t.has=function(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)},t.get=function(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]},t.set=function(e,t,n){if(void 0===n&&(n=!1),n){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}this.current[e]=t},e}(),pi={},fi=pi;function mi(e,t){pi[e]=t}mi("\\@firstoftwo",function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),mi("\\@secondoftwo",function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),mi("\\@ifnextchar",function(e){var t=e.consumeArgs(3),n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),mi("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),mi("\\TextOrMath",function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var hi={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};mi("\\char",function(e){var t,n=e.popToken(),i="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if("\\"===(n=e.popToken()).text[0])i=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new a("\\char` missing argument");i=n.text.charCodeAt(0)}else t=10;if(t){if(null==(i=hi[n.text])||i>=t)throw new a("Invalid base-"+t+" digit "+n.text);for(var o;null!=(o=hi[e.future().text])&&o<t;)i*=t,i+=o,e.popToken()}return"\\@char{"+i+"}"});var gi=function(e,t){var n=e.consumeArgs(1)[0];if(1!==n.length)throw new a("\\gdef's first argument must be a macro name");var i=n[0].text,o=0;for(n=e.consumeArgs(1)[0];1===n.length&&"#"===n[0].text;){if(1!==(n=e.consumeArgs(1)[0]).length)throw new a('Invalid argument number length "'+n.length+'"');if(!/^[1-9]$/.test(n[0].text))throw new a('Invalid argument number "'+n[0].text+'"');if(o++,parseInt(n[0].text)!==o)throw new a('Argument number "'+n[0].text+'" out of order');n=e.consumeArgs(1)[0]}return e.macros.set(i,{tokens:n,numArgs:o},t),""};mi("\\gdef",function(e){return gi(e,!0)}),mi("\\def",function(e){return gi(e,!1)}),mi("\\global",function(e){var t=e.consumeArgs(1)[0];if(1!==t.length)throw new a("Invalid command after \\global");var n=t[0].text;if("\\def"===n)return gi(e,!0);throw new a("Invalid command '"+n+"' after \\global")});var vi=function(e,t,n){var i=e.consumeArgs(1)[0];if(1!==i.length)throw new a("\\newcommand's first argument must be a macro name");var o=i[0].text,r=e.isDefined(o);if(r&&!t)throw new a("\\newcommand{"+o+"} attempting to redefine "+o+"; use \\renewcommand");if(!r&&!n)throw new a("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");var s=0;if(1===(i=e.consumeArgs(1)[0]).length&&"["===i[0].text){for(var l="",c=e.expandNextToken();"]"!==c.text&&"EOF"!==c.text;)l+=c.text,c=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new a("Invalid number of arguments: "+l);s=parseInt(l),i=e.consumeArgs(1)[0]}return e.macros.set(o,{tokens:i,numArgs:s}),""};mi("\\newcommand",function(e){return vi(e,!1,!0)}),mi("\\renewcommand",function(e){return vi(e,!0,!1)}),mi("\\providecommand",function(e){return vi(e,!0,!0)}),mi("\\bgroup","{"),mi("\\egroup","}"),mi("\\lq","`"),mi("\\rq","'"),mi("\\aa","\\r a"),mi("\\AA","\\r A"),mi("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),mi("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),mi("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),mi("ℬ","\\mathscr{B}"),mi("ℰ","\\mathscr{E}"),mi("ℱ","\\mathscr{F}"),mi("ℋ","\\mathscr{H}"),mi("ℐ","\\mathscr{I}"),mi("ℒ","\\mathscr{L}"),mi("ℳ","\\mathscr{M}"),mi("ℛ","\\mathscr{R}"),mi("ℭ","\\mathfrak{C}"),mi("ℌ","\\mathfrak{H}"),mi("ℨ","\\mathfrak{Z}"),mi("\\Bbbk","\\Bbb{k}"),mi("·","\\cdotp"),mi("\\llap","\\mathllap{\\textrm{#1}}"),mi("\\rlap","\\mathrlap{\\textrm{#1}}"),mi("\\clap","\\mathclap{\\textrm{#1}}"),mi("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),mi("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),mi("\\ne","\\neq"),mi("≠","\\neq"),mi("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),mi("∉","\\notin"),mi("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),mi("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),mi("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),mi("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),mi("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),mi("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),mi("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),mi("⟂","\\perp"),mi("‼","\\mathclose{!\\mkern-0.8mu!}"),mi("∌","\\notni"),mi("⌜","\\ulcorner"),mi("⌝","\\urcorner"),mi("⌞","\\llcorner"),mi("⌟","\\lrcorner"),mi("©","\\copyright"),mi("®","\\textregistered"),mi("️","\\textregistered"),mi("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),mi("⋮","\\vdots"),mi("\\varGamma","\\mathit{\\Gamma}"),mi("\\varDelta","\\mathit{\\Delta}"),mi("\\varTheta","\\mathit{\\Theta}"),mi("\\varLambda","\\mathit{\\Lambda}"),mi("\\varXi","\\mathit{\\Xi}"),mi("\\varPi","\\mathit{\\Pi}"),mi("\\varSigma","\\mathit{\\Sigma}"),mi("\\varUpsilon","\\mathit{\\Upsilon}"),mi("\\varPhi","\\mathit{\\Phi}"),mi("\\varPsi","\\mathit{\\Psi}"),mi("\\varOmega","\\mathit{\\Omega}"),mi("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),mi("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),mi("\\boxed","\\fbox{$\\displaystyle{#1}$}"),mi("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),mi("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),mi("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var _i={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};mi("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in _i?t=_i[n]:"\\not"===n.substr(0,4)?t="\\dotsb":n in G.math&&d.contains(["bin","rel"],G.math[n].group)&&(t="\\dotsb"),t});var bi={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};mi("\\dotso",function(e){return e.future().text in bi?"\\ldots\\,":"\\ldots"}),mi("\\dotsc",function(e){var t=e.future().text;return t in bi&&","!==t?"\\ldots\\,":"\\ldots"}),mi("\\cdots",function(e){return e.future().text in bi?"\\@cdots\\,":"\\@cdots"}),mi("\\dotsb","\\cdots"),mi("\\dotsm","\\cdots"),mi("\\dotsi","\\!\\cdots"),mi("\\dotsx","\\ldots\\,"),mi("\\DOTSI","\\relax"),mi("\\DOTSB","\\relax"),mi("\\DOTSX","\\relax"),mi("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),mi("\\,","\\tmspace+{3mu}{.1667em}"),mi("\\thinspace","\\,"),mi("\\>","\\mskip{4mu}"),mi("\\:","\\tmspace+{4mu}{.2222em}"),mi("\\medspace","\\:"),mi("\\;","\\tmspace+{5mu}{.2777em}"),mi("\\thickspace","\\;"),mi("\\!","\\tmspace-{3mu}{.1667em}"),mi("\\negthinspace","\\!"),mi("\\negmedspace","\\tmspace-{4mu}{.2222em}"),mi("\\negthickspace","\\tmspace-{5mu}{.277em}"),mi("\\enspace","\\kern.5em "),mi("\\enskip","\\hskip.5em\\relax"),mi("\\quad","\\hskip1em\\relax"),mi("\\qquad","\\hskip2em\\relax"),mi("\\tag","\\@ifstar\\tag@literal\\tag@paren"),mi("\\tag@paren","\\tag@literal{({#1})}"),mi("\\tag@literal",function(e){if(e.macros.get("\\df@tag"))throw new a("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),mi("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),mi("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),mi("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),mi("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),mi("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),mi("\\\\","\\newline"),mi("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var yi=z["Main-Regular"]["T".charCodeAt(0)][1]-.7*z["Main-Regular"]["A".charCodeAt(0)][1]+"em";mi("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+yi+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),mi("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+yi+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),mi("\\hspace","\\@ifstar\\@hspacer\\@hspace"),mi("\\@hspace","\\hskip #1\\relax"),mi("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),mi("\\ordinarycolon",":"),mi("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),mi("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),mi("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),mi("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),mi("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),mi("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),mi("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),mi("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),mi("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),mi("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),mi("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),mi("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),mi("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),mi("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),mi("∷","\\dblcolon"),mi("∹","\\eqcolon"),mi("≔","\\coloneqq"),mi("≕","\\eqqcolon"),mi("⩴","\\Coloneqq"),mi("\\ratio","\\vcentcolon"),mi("\\coloncolon","\\dblcolon"),mi("\\colonequals","\\coloneqq"),mi("\\coloncolonequals","\\Coloneqq"),mi("\\equalscolon","\\eqqcolon"),mi("\\equalscoloncolon","\\Eqqcolon"),mi("\\colonminus","\\coloneq"),mi("\\coloncolonminus","\\Coloneq"),mi("\\minuscolon","\\eqcolon"),mi("\\minuscoloncolon","\\Eqcolon"),mi("\\coloncolonapprox","\\Colonapprox"),mi("\\coloncolonsim","\\Colonsim"),mi("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),mi("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),mi("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),mi("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),mi("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),mi("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),mi("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),mi("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),mi("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),mi("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),mi("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),mi("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),mi("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),mi("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),mi("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),mi("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),mi("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),mi("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),mi("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),mi("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),mi("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),mi("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),mi("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),mi("⟦","\\llbracket"),mi("⟧","\\rrbracket"),mi("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),mi("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),mi("⦃","\\lBrace"),mi("⦄","\\rBrace"),mi("\\darr","\\downarrow"),mi("\\dArr","\\Downarrow"),mi("\\Darr","\\Downarrow"),mi("\\lang","\\langle"),mi("\\rang","\\rangle"),mi("\\uarr","\\uparrow"),mi("\\uArr","\\Uparrow"),mi("\\Uarr","\\Uparrow"),mi("\\N","\\mathbb{N}"),mi("\\R","\\mathbb{R}"),mi("\\Z","\\mathbb{Z}"),mi("\\alef","\\aleph"),mi("\\alefsym","\\aleph"),mi("\\Alpha","\\mathrm{A}"),mi("\\Beta","\\mathrm{B}"),mi("\\bull","\\bullet"),mi("\\Chi","\\mathrm{X}"),mi("\\clubs","\\clubsuit"),mi("\\cnums","\\mathbb{C}"),mi("\\Complex","\\mathbb{C}"),mi("\\Dagger","\\ddagger"),mi("\\diamonds","\\diamondsuit"),mi("\\empty","\\emptyset"),mi("\\Epsilon","\\mathrm{E}"),mi("\\Eta","\\mathrm{H}"),mi("\\exist","\\exists"),mi("\\harr","\\leftrightarrow"),mi("\\hArr","\\Leftrightarrow"),mi("\\Harr","\\Leftrightarrow"),mi("\\hearts","\\heartsuit"),mi("\\image","\\Im"),mi("\\infin","\\infty"),mi("\\Iota","\\mathrm{I}"),mi("\\isin","\\in"),mi("\\Kappa","\\mathrm{K}"),mi("\\larr","\\leftarrow"),mi("\\lArr","\\Leftarrow"),mi("\\Larr","\\Leftarrow"),mi("\\lrarr","\\leftrightarrow"),mi("\\lrArr","\\Leftrightarrow"),mi("\\Lrarr","\\Leftrightarrow"),mi("\\Mu","\\mathrm{M}"),mi("\\natnums","\\mathbb{N}"),mi("\\Nu","\\mathrm{N}"),mi("\\Omicron","\\mathrm{O}"),mi("\\plusmn","\\pm"),mi("\\rarr","\\rightarrow"),mi("\\rArr","\\Rightarrow"),mi("\\Rarr","\\Rightarrow"),mi("\\real","\\Re"),mi("\\reals","\\mathbb{R}"),mi("\\Reals","\\mathbb{R}"),mi("\\Rho","\\mathrm{P}"),mi("\\sdot","\\cdot"),mi("\\sect","\\S"),mi("\\spades","\\spadesuit"),mi("\\sub","\\subset"),mi("\\sube","\\subseteq"),mi("\\supe","\\supseteq"),mi("\\Tau","\\mathrm{T}"),mi("\\thetasym","\\vartheta"),mi("\\weierp","\\wp"),mi("\\Zeta","\\mathrm{Z}"),mi("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),mi("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),mi("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),mi("\\blue","\\textcolor{##6495ed}{#1}"),mi("\\orange","\\textcolor{##ffa500}{#1}"),mi("\\pink","\\textcolor{##ff00af}{#1}"),mi("\\red","\\textcolor{##df0030}{#1}"),mi("\\green","\\textcolor{##28ae7b}{#1}"),mi("\\gray","\\textcolor{gray}{#1}"),mi("\\purple","\\textcolor{##9d38bd}{#1}"),mi("\\blueA","\\textcolor{##ccfaff}{#1}"),mi("\\blueB","\\textcolor{##80f6ff}{#1}"),mi("\\blueC","\\textcolor{##63d9ea}{#1}"),mi("\\blueD","\\textcolor{##11accd}{#1}"),mi("\\blueE","\\textcolor{##0c7f99}{#1}"),mi("\\tealA","\\textcolor{##94fff5}{#1}"),mi("\\tealB","\\textcolor{##26edd5}{#1}"),mi("\\tealC","\\textcolor{##01d1c1}{#1}"),mi("\\tealD","\\textcolor{##01a995}{#1}"),mi("\\tealE","\\textcolor{##208170}{#1}"),mi("\\greenA","\\textcolor{##b6ffb0}{#1}"),mi("\\greenB","\\textcolor{##8af281}{#1}"),mi("\\greenC","\\textcolor{##74cf70}{#1}"),mi("\\greenD","\\textcolor{##1fab54}{#1}"),mi("\\greenE","\\textcolor{##0d923f}{#1}"),mi("\\goldA","\\textcolor{##ffd0a9}{#1}"),mi("\\goldB","\\textcolor{##ffbb71}{#1}"),mi("\\goldC","\\textcolor{##ff9c39}{#1}"),mi("\\goldD","\\textcolor{##e07d10}{#1}"),mi("\\goldE","\\textcolor{##a75a05}{#1}"),mi("\\redA","\\textcolor{##fca9a9}{#1}"),mi("\\redB","\\textcolor{##ff8482}{#1}"),mi("\\redC","\\textcolor{##f9685d}{#1}"),mi("\\redD","\\textcolor{##e84d39}{#1}"),mi("\\redE","\\textcolor{##bc2612}{#1}"),mi("\\maroonA","\\textcolor{##ffbde0}{#1}"),mi("\\maroonB","\\textcolor{##ff92c6}{#1}"),mi("\\maroonC","\\textcolor{##ed5fa6}{#1}"),mi("\\maroonD","\\textcolor{##ca337c}{#1}"),mi("\\maroonE","\\textcolor{##9e034e}{#1}"),mi("\\purpleA","\\textcolor{##ddd7ff}{#1}"),mi("\\purpleB","\\textcolor{##c6b9fc}{#1}"),mi("\\purpleC","\\textcolor{##aa87ff}{#1}"),mi("\\purpleD","\\textcolor{##7854ab}{#1}"),mi("\\purpleE","\\textcolor{##543b78}{#1}"),mi("\\mintA","\\textcolor{##f5f9e8}{#1}"),mi("\\mintB","\\textcolor{##edf2df}{#1}"),mi("\\mintC","\\textcolor{##e0e5cc}{#1}"),mi("\\grayA","\\textcolor{##f6f7f7}{#1}"),mi("\\grayB","\\textcolor{##f0f1f2}{#1}"),mi("\\grayC","\\textcolor{##e3e5e6}{#1}"),mi("\\grayD","\\textcolor{##d6d8da}{#1}"),mi("\\grayE","\\textcolor{##babec2}{#1}"),mi("\\grayF","\\textcolor{##888d93}{#1}"),mi("\\grayG","\\textcolor{##626569}{#1}"),mi("\\grayH","\\textcolor{##3b3e40}{#1}"),mi("\\grayI","\\textcolor{##21242c}{#1}"),mi("\\kaBlue","\\textcolor{##314453}{#1}"),mi("\\kaGreen","\\textcolor{##71B307}{#1}");var wi={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},xi=function(){function e(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new di(fi,t.macros),this.mode=n,this.stack=[]}var t=e.prototype;return t.feed=function(e){this.lexer=new ui(e,this.settings)},t.switchMode=function(e){this.mode=e},t.beginGroup=function(){this.macros.beginGroup()},t.endGroup=function(){this.macros.endGroup()},t.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},t.popToken=function(){return this.future(),this.stack.pop()},t.pushToken=function(e){this.stack.push(e)},t.pushTokens=function(e){var t;(t=this.stack).push.apply(t,e)},t.consumeSpaces=function(){for(;;){if(" "!==this.future().text)break;this.stack.pop()}},t.consumeArgs=function(e){for(var t=[],n=0;n<e;++n){this.consumeSpaces();var i=this.popToken();if("{"===i.text){for(var o=[],r=1;0!==r;){var s=this.popToken();if(o.push(s),"{"===s.text)++r;else if("}"===s.text)--r;else if("EOF"===s.text)throw new a("End of input in macro argument",i)}o.pop(),o.reverse(),t[n]=o}else{if("EOF"===i.text)throw new a("End of input expecting macro argument");t[n]=[i]}}return t},t.expandOnce=function(){var e=this.popToken(),t=e.text,n=this._getExpansion(t);if(null==n)return this.pushToken(e),e;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new a("Too many expansions: infinite loop or need to increase maxExpand setting");var i=n.tokens;if(n.numArgs)for(var o=this.consumeArgs(n.numArgs),r=(i=i.slice()).length-1;r>=0;--r){var s=i[r];if("#"===s.text){if(0===r)throw new a("Incomplete placeholder at end of macro body",s);if("#"===(s=i[--r]).text)i.splice(r+1,1);else{if(!/^[1-9]$/.test(s.text))throw new a("Not a valid argument number",s);var l;(l=i).splice.apply(l,[r,2].concat(o[+s.text-1]))}}}return this.pushTokens(i),i},t.expandAfterFuture=function(){return this.expandOnce(),this.future()},t.expandNextToken=function(){for(;;){var e=this.expandOnce();if(e instanceof o){if("\\relax"!==e.text)return this.stack.pop();this.stack.pop()}}throw new Error},t.expandMacro=function(e){if(this.macros.get(e)){var t=[],n=this.stack.length;for(this.pushToken(new o(e));this.stack.length>n;){this.expandOnce()instanceof o&&t.push(this.stack.pop())}return t}},t.expandMacroAsText=function(e){var t=this.expandMacro(e);return t?t.map(function(e){return e.text}).join(""):t},t._getExpansion=function(e){var t=this.macros.get(e);if(null==t)return t;var n="function"==typeof t?t(this):t;if("string"==typeof n){var i=0;if(-1!==n.indexOf("#"))for(var o=n.replace(/##/g,"");-1!==o.indexOf("#"+(i+1));)++i;for(var r=new ui(n,this.settings),a=[],s=r.lex();"EOF"!==s.text;)a.push(s),s=r.lex();return a.reverse(),{tokens:a,numArgs:i}}return n},t.isDefined=function(e){return this.macros.has(e)||ai.hasOwnProperty(e)||G.math.hasOwnProperty(e)||G.text.hasOwnProperty(e)||wi.hasOwnProperty(e)},e}(),ki={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"}},Ai={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","č":"č","ĉ":"ĉ","ċ":"ċ","ď":"ď","ḋ":"ḋ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ĺ":"ĺ","ľ":"ľ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ď":"Ď","Ḋ":"Ḋ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ĺ":"Ĺ","Ľ":"Ľ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ť":"Ť","Ṫ":"Ṫ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"},Ci=function(){function e(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new xi(e,t,this.mode),this.settings=t,this.leftrightDepth=0}var t=e.prototype;return t.expect=function(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new a("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()},t.consume=function(){this.nextToken=null},t.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},t.switchMode=function(e){this.mode=e,this.gullet.switchMode(e)},t.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var e=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),e},t.parseExpression=function(t,n){for(var i=[];;){"math"===this.mode&&this.consumeSpaces();var o=this.fetch();if(-1!==e.endOfExpression.indexOf(o.text))break;if(n&&o.text===n)break;if(t&&ai[o.text]&&ai[o.text].infix)break;var r=this.parseAtom(n);if(!r)break;i.push(r)}return"text"===this.mode&&this.formLigatures(i),this.handleInfixNodes(i)},t.handleInfixNodes=function(e){for(var t,n=-1,i=0;i<e.length;i++){var o=Be(e[i],"infix");if(o){if(-1!==n)throw new a("only one infix operator per group",o.token);n=i,t=o.replaceWith}}if(-1!==n&&t){var r,s,l=e.slice(0,n),c=e.slice(n+1);return r=1===l.length&&"ordgroup"===l[0].type?l[0]:{type:"ordgroup",mode:this.mode,body:l},s=1===c.length&&"ordgroup"===c[0].type?c[0]:{type:"ordgroup",mode:this.mode,body:c},["\\\\abovefrac"===t?this.callFunction(t,[r,e[n],s],[]):this.callFunction(t,[r,s],[])]}return e},t.handleSupSubscript=function(t){var n=this.fetch(),i=n.text;this.consume();var o=this.parseGroup(t,!1,e.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!o)throw new a("Expected group after '"+i+"'",n);return o},t.formatUnsupportedCmd=function(e){for(var t=[],n=0;n<e.length;n++)t.push({type:"textord",mode:"text",text:e[n]});var i={type:"text",mode:this.mode,body:t};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]}},t.parseAtom=function(e){var t,n,i=this.parseGroup("atom",!1,null,e);if("text"===this.mode)return i;for(;;){this.consumeSpaces();var o=this.fetch();if("\\limits"===o.text||"\\nolimits"===o.text){var r=Be(i,"op");if(r){var s="\\limits"===o.text;r.limits=s,r.alwaysHandleSupSub=!0}else{if(!(r=Be(i,"operatorname"))||!r.alwaysHandleSupSub)throw new a("Limit controls must follow a math operator",o);var l="\\limits"===o.text;r.limits=l}this.consume()}else if("^"===o.text){if(t)throw new a("Double superscript",o);t=this.handleSupSubscript("superscript")}else if("_"===o.text){if(n)throw new a("Double subscript",o);n=this.handleSupSubscript("subscript")}else{if("'"!==o.text)break;if(t)throw new a("Double superscript",o);var c={type:"textord",mode:this.mode,text:"\\prime"},u=[c];for(this.consume();"'"===this.fetch().text;)u.push(c),this.consume();"^"===this.fetch().text&&u.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:u}}}return t||n?{type:"supsub",mode:this.mode,base:i,sup:t,sub:n}:i},t.parseFunction=function(e,t,n){var i=this.fetch(),o=i.text,r=ai[o];if(!r)return null;if(this.consume(),null!=n&&r.greediness<=n)throw new a("Got function '"+o+"' with no arguments"+(t?" as "+t:""),i);if("text"===this.mode&&!r.allowedInText)throw new a("Can't use function '"+o+"' in text mode",i);if("math"===this.mode&&!1===r.allowedInMath)throw new a("Can't use function '"+o+"' in math mode",i);var s=this.parseArguments(o,r),l=s.args,c=s.optArgs;return this.callFunction(o,l,c,i,e)},t.callFunction=function(e,t,n,i,o){var r={funcName:e,parser:this,token:i,breakOnTokenText:o},s=ai[e];if(s&&s.handler)return s.handler(r,t,n);throw new a("No function handler for "+e)},t.parseArguments=function(e,t){var n=t.numArgs+t.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};for(var i=t.greediness,o=[],r=[],s=0;s<n;s++){var l=t.argTypes&&t.argTypes[s],c=s<t.numOptionalArgs,u=s>0&&!c||0===s&&!c&&"math"===this.mode,d=this.parseGroupOfType("argument to '"+e+"'",l,c,i,u);if(!d){if(c){r.push(null);continue}throw new a("Expected group after '"+e+"'",this.fetch())}(c?r:o).push(d)}return{args:o,optArgs:r}},t.parseGroupOfType=function(e,t,n,i,o){switch(t){case"color":return o&&this.consumeSpaces(),this.parseColorGroup(n);case"size":return o&&this.consumeSpaces(),this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n,o);case"math":case"text":return this.parseGroup(e,n,i,void 0,t,o);case"hbox":var r=this.parseGroup(e,n,i,void 0,"text",o);return r?{type:"styling",mode:r.mode,body:[r],style:"text"}:r;case"raw":if(o&&this.consumeSpaces(),n&&"{"===this.fetch().text)return null;var s=this.parseStringGroup("raw",n,!0);if(s)return{type:"raw",mode:"text",string:s.text};throw new a("Expected raw group",this.fetch());case"original":case null:case void 0:return this.parseGroup(e,n,i,void 0,void 0,o);default:throw new a("Unknown group type as "+e,this.fetch())}},t.consumeSpaces=function(){for(;" "===this.fetch().text;)this.consume()},t.parseStringGroup=function(e,t,n){var i=t?"[":"{",o=t?"]":"}",r=this.fetch();if(r.text!==i){if(t)return null;if(n&&"EOF"!==r.text&&/[^{}[\]]/.test(r.text))return this.consume(),r}var s=this.mode;this.mode="text",this.expect(i);for(var l,c="",u=this.fetch(),d=0,p=u;(l=this.fetch()).text!==o||n&&d>0;){switch(l.text){case"EOF":throw new a("Unexpected end of input in "+e,u.range(p,c));case i:d++;break;case o:d--}c+=(p=l).text,this.consume()}return this.expect(o),this.mode=s,u.range(p,c)},t.parseRegexGroup=function(e,t){var n=this.mode;this.mode="text";for(var i,o=this.fetch(),r=o,s="";"EOF"!==(i=this.fetch()).text&&e.test(s+i.text);)s+=(r=i).text,this.consume();if(""===s)throw new a("Invalid "+t+": '"+o.text+"'",o);return this.mode=n,o.range(r,s)},t.parseColorGroup=function(e){var t=this.parseStringGroup("color",e);if(!t)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new a("Invalid color: '"+t.text+"'",t);var i=n[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}},t.parseSizeGroup=function(e){var t,n=!1;if(!(t=e||"{"===this.fetch().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;e||0!==t.text.length||(t.text="0pt",n=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!i)throw new a("Invalid size: '"+t.text+"'",t);var o={number:+(i[1]+i[2]),unit:i[3]};if(!Se(o))throw new a("Invalid unit: '"+o.unit+"'",t);return{type:"size",mode:this.mode,value:o,isBlank:n}},t.parseUrlGroup=function(e,t){this.gullet.lexer.setCatcode("%",13);var n=this.parseStringGroup("url",e,!0);if(this.gullet.lexer.setCatcode("%",14),!n)return null;var i=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:i}},t.parseGroup=function(t,n,o,r,s,l){var c=this.mode;s&&this.switchMode(s),l&&this.consumeSpaces();var u,d=this.fetch(),p=d.text;if(n?"["===p:"{"===p||"\\begingroup"===p){this.consume();var f=e.endOfGroup[p];this.gullet.beginGroup();var m=this.parseExpression(!1,f),h=this.fetch();this.expect(f),this.gullet.endGroup(),u={type:"ordgroup",mode:this.mode,loc:i.range(d,h),body:m,semisimple:"\\begingroup"===p||void 0}}else if(n)u=null;else if(null==(u=this.parseFunction(r,t,o)||this.parseSymbol())&&"\\"===p[0]&&!wi.hasOwnProperty(p)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+p,d);u=this.formatUnsupportedCmd(p),this.consume()}return s&&this.switchMode(c),u},t.formLigatures=function(e){for(var t=e.length-1,n=0;n<t;++n){var o=e[n],r=o.text;"-"===r&&"-"===e[n+1].text&&(n+1<t&&"-"===e[n+2].text?(e.splice(n,3,{type:"textord",mode:"text",loc:i.range(o,e[n+2]),text:"---"}),t-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:i.range(o,e[n+1]),text:"--"}),t-=1)),"'"!==r&&"`"!==r||e[n+1].text!==r||(e.splice(n,2,{type:"textord",mode:"text",loc:i.range(o,e[n+1]),text:r+r}),t-=1)}},t.parseSymbol=function(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var n=t.slice(5),o="*"===n.charAt(0);if(o&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new a("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:n=n.slice(1,-1),star:o}}Ai.hasOwnProperty(t[0])&&!G[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=Ai[t[0]]+t.substr(1));var r,s=li.exec(t);if(s&&("i"===(t=t.substring(0,s.index))?t="ı":"j"===t&&(t="ȷ")),G[this.mode][t]){this.settings.strict&&"math"===this.mode&&"ÇÐÞçþ".indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var l,c=G[this.mode][t].group,u=i.range(e);if(V.hasOwnProperty(c)){var d=c;l={type:"atom",mode:this.mode,family:d,loc:u,text:t}}else l={type:c,mode:this.mode,loc:u,text:t};r=l}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(A(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),r={type:"textord",mode:"text",loc:i.range(e),text:t}}if(this.consume(),s)for(var p=0;p<s[0].length;p++){var f=s[0][p];if(!ki[f])throw new a("Unknown accent ' "+f+"'",e);var m=ki[f][this.mode];if(!m)throw new a("Accent "+f+" unsupported in "+this.mode+" mode",e);r={type:"accent",mode:this.mode,loc:i.range(e),label:m,isStretchy:!1,isShifty:!0,base:r}}return r},e}();Ci.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Ci.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Ci.SUPSUB_GREEDINESS=1;var Si=function(e,t){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Ci(e,t);delete n.gullet.macros.current["\\df@tag"];var i=n.parse();if(n.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new a("\\tag works only in display equations");n.gullet.feed("\\df@tag"),i=[{type:"tag",mode:"text",body:i,tag:n.parse()}]}return i},Mi=function(e,t,n){t.textContent="";var i=Oi(e,n).toNode();t.appendChild(i)};"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!=typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Mi=function(){throw new a("KaTeX doesn't work in quirks mode.")});var Pi=function(e,t,n){if(n.throwOnError||!(e instanceof a))throw e;var i=Re.makeSpan(["katex-error"],[new q(t)]);return i.setAttribute("title",e.toString()),i.setAttribute("style","color:"+n.errorColor),i},Oi=function(e,t){var n=new p(t);try{var i=Si(e,n);return Pt(i,e,n)}catch(t){return Pi(t,e,n)}},Ti={version:"0.11.1",render:Mi,renderToString:function(e,t){return Oi(e,t).toMarkup()},ParseError:a,__parse:function(e,t){var n=new p(t);return Si(e,n)},__renderToDomTree:Oi,__renderToHTMLTree:function(e,t){var n=new p(t);try{return function(e,t,n){var i=mt(e,St(n)),o=Re.makeSpan(["katex"],[i]);return Mt(o,n)}(Si(e,n),0,n)}catch(t){return Pi(t,e,n)}},__setFontMetrics:function(e,t){z[e]=t},__defineSymbol:K,__defineMacro:mi,__domTree:{Span:E,Anchor:N,SymbolNode:q,SvgNode:L,PathNode:F,LineNode:D}};t.default=Ti}]).default},"object"==typeof n&&"object"==typeof t?t.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof n?n.katex=o():i.katex=o()},{}],77:[function(e,t,n){t.exports=e("./lib/linkify-html").default},{"./lib/linkify-html":78}],78:[function(e,t,n){"use strict";n.__esModule=!0,n.default=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.default.tokenize(e),o=[],a=[];for(n=new l(n),t=0;t<i.length;t++){var v=i[t];if(v.type!==c)if(v.type===d){var _=f(v.chars,n);o.push.apply(o,_)}else o.push(v);else{o.push(v);var b=v.tagName.toUpperCase(),y="A"===b||s.contains(n.ignoreTags,b);if(!y)continue;var w=o.length;m(b,i,++t,o),t+=o.length-w-1}}for(t=0;t<o.length;t++){var x=o[t];switch(x.type){case c:var k="<"+x.tagName;if(x.attributes.length>0){var A=g(x.attributes);k+=" "+A.join(" ")}k+=">",a.push(k);break;case u:a.push("</"+x.tagName+">");break;case d:a.push(h(x.chars));break;case p:a.push("\x3c!--"+h(x.chars)+"--\x3e")}}return a.join("")};var i,o=e("./simple-html-tokenizer"),r=(i=o)&&i.__esModule?i:{default:i},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(e("./linkify"));var s=a.options,l=s.Options,c="StartTag",u="EndTag",d="Chars",p="Comment";function f(e,t){for(var n=a.tokenize(e),i=[],o=0;o<n.length;o++){var r=n[o];if("nl"===r.type&&t.nl2br)i.push({type:c,tagName:"br",attributes:[],selfClosing:!0});else if(r.isLink&&t.check(r)){var s=t.resolve(r),l=s.formatted,p=s.formattedHref,f=s.tagName,m=s.className,h=s.target,g=s.attributes,v=[["href",p]];for(var _ in m&&v.push(["class",m]),h&&v.push(["target",h]),g)v.push([_,g[_]]);i.push({type:c,tagName:f,attributes:v,selfClosing:!1}),i.push({type:d,chars:l}),i.push({type:u,tagName:f})}else i.push({type:d,chars:r.toString()})}return i}function m(e,t,n,i){for(var o=1;n<t.length&&o>0;){var r=t[n];r.type===c&&r.tagName.toUpperCase()===e?o++:r.type===u&&r.tagName.toUpperCase()===e&&o--,i.push(r),n++}return i}function h(e){return e}function g(e){for(var t=[],n=0;n<e.length;n++){var i=e[n],o=i[0],r=i[1];t.push(o+'="'+r.replace(/"/g,""")+'"')}return t}},{"./linkify":79,"./simple-html-tokenizer":88}],79:[function(e,t,n){"use strict";n.__esModule=!0,n.tokenize=n.test=n.scanner=n.parser=n.options=n.inherits=n.find=void 0;var i=e("./linkify/utils/class"),o=s(e("./linkify/utils/options")),r=s(e("./linkify/core/scanner")),a=s(e("./linkify/core/parser"));function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var l=function(e){return a.run(r.run(e))};n.find=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=l(e),i=[],o=0;o<n.length;o++){var r=n[o];!r.isLink||t&&r.type!==t||i.push(r.toObject())}return i},n.inherits=i.inherits,n.options=o,n.parser=a,n.scanner=r,n.test=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=l(e);return 1===n.length&&n[0].isLink&&(!t||n[0].type===t)},n.tokenize=l},{"./linkify/core/parser":80,"./linkify/core/scanner":81,"./linkify/utils/class":86,"./linkify/utils/options":87}],80:[function(e,t,n){"use strict";n.__esModule=!0,n.start=n.run=n.TOKENS=n.State=void 0;var i=e("./state"),o=e("./tokens/multi"),r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(o),a=e("./tokens/text");var s=function(e){return new i.TokenState(e)},l=s(),c=s(),u=s(),d=s(),p=s(),f=s(),m=s(),h=s(o.URL),g=s(),v=s(o.URL),_=s(o.URL),b=s(),y=s(),w=s(),x=s(),k=s(),A=s(o.URL),C=s(o.URL),S=s(o.URL),M=s(o.URL),P=s(),O=s(),T=s(),E=s(),N=s(),$=s(),j=s(o.EMAIL),q=s(),L=s(o.EMAIL),F=s(o.MAILTOEMAIL),D=s(),R=s(),z=s(),B=s(),I=s(o.NL);l.on(a.NL,I).on(a.PROTOCOL,c).on(a.MAILTO,u).on(a.SLASH,d),c.on(a.SLASH,d),d.on(a.SLASH,p),l.on(a.TLD,f).on(a.DOMAIN,f).on(a.LOCALHOST,h).on(a.NUM,f),p.on(a.TLD,_).on(a.DOMAIN,_).on(a.NUM,_).on(a.LOCALHOST,_),f.on(a.DOT,m),N.on(a.DOT,$),m.on(a.TLD,h).on(a.DOMAIN,f).on(a.NUM,f).on(a.LOCALHOST,f),$.on(a.TLD,j).on(a.DOMAIN,N).on(a.NUM,N).on(a.LOCALHOST,N),h.on(a.DOT,m),j.on(a.DOT,$),h.on(a.COLON,g).on(a.SLASH,_),g.on(a.NUM,v),v.on(a.SLASH,_),j.on(a.COLON,q),q.on(a.NUM,L);var H=[a.DOMAIN,a.AT,a.LOCALHOST,a.NUM,a.PLUS,a.POUND,a.PROTOCOL,a.SLASH,a.TLD,a.UNDERSCORE,a.SYM,a.AMPERSAND],U=[a.COLON,a.DOT,a.QUERY,a.PUNCTUATION,a.CLOSEBRACE,a.CLOSEBRACKET,a.CLOSEANGLEBRACKET,a.CLOSEPAREN,a.OPENBRACE,a.OPENBRACKET,a.OPENANGLEBRACKET,a.OPENPAREN];_.on(a.OPENBRACE,y).on(a.OPENBRACKET,w).on(a.OPENANGLEBRACKET,x).on(a.OPENPAREN,k),b.on(a.OPENBRACE,y).on(a.OPENBRACKET,w).on(a.OPENANGLEBRACKET,x).on(a.OPENPAREN,k),y.on(a.CLOSEBRACE,_),w.on(a.CLOSEBRACKET,_),x.on(a.CLOSEANGLEBRACKET,_),k.on(a.CLOSEPAREN,_),A.on(a.CLOSEBRACE,_),C.on(a.CLOSEBRACKET,_),S.on(a.CLOSEANGLEBRACKET,_),M.on(a.CLOSEPAREN,_),P.on(a.CLOSEBRACE,_),O.on(a.CLOSEBRACKET,_),T.on(a.CLOSEANGLEBRACKET,_),E.on(a.CLOSEPAREN,_),y.on(H,A),w.on(H,C),x.on(H,S),k.on(H,M),y.on(U,P),w.on(U,O),x.on(U,T),k.on(U,E),A.on(H,A),C.on(H,C),S.on(H,S),M.on(H,M),A.on(U,A),C.on(U,C),S.on(U,S),M.on(U,M),P.on(H,A),O.on(H,C),T.on(H,S),E.on(H,M),P.on(U,P),O.on(U,O),T.on(U,T),E.on(U,E),_.on(H,_),b.on(H,_),_.on(U,b),b.on(U,b),u.on(a.TLD,F).on(a.DOMAIN,F).on(a.NUM,F).on(a.LOCALHOST,F),F.on(H,F).on(U,D),D.on(H,F).on(U,D);var V=[a.DOMAIN,a.NUM,a.PLUS,a.POUND,a.QUERY,a.UNDERSCORE,a.SYM,a.AMPERSAND,a.TLD];f.on(V,R).on(a.AT,z),h.on(V,R).on(a.AT,z),m.on(V,R),R.on(V,R).on(a.AT,z).on(a.DOT,B),B.on(V,R),z.on(a.TLD,N).on(a.DOMAIN,N).on(a.LOCALHOST,j);n.State=i.TokenState,n.TOKENS=r,n.run=function(e){for(var t=e.length,n=0,i=[],r=[];n<t;){for(var a=l,s=null,c=null,u=0,d=null,p=-1;n<t&&!(s=a.next(e[n]));)r.push(e[n++]);for(;n<t&&(c=s||a.next(e[n]));)s=null,(a=c).accepts()?(p=0,d=a):p>=0&&p++,n++,u++;if(p<0)for(var f=n-u;f<n;f++)r.push(e[f]);else{r.length>0&&(i.push(new o.TEXT(r)),r=[]),n-=p,u-=p;var m=d.emit();i.push(new m(e.slice(n-u,n)))}}return r.length>0&&i.push(new o.TEXT(r)),i},n.start=l},{"./state":82,"./tokens/multi":84,"./tokens/text":85}],81:[function(e,t,n){"use strict";n.__esModule=!0,n.start=n.run=n.TOKENS=n.State=void 0;var i=e("./state"),o=e("./tokens/text"),r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(o);var a="aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"),s="0123456789".split(""),l="0123456789abcdefghijklmnopqrstuvwxyz".split(""),c=[" ","\f","\r","\t","\v"," "," ",""],u=[],d=function(e){return new i.CharacterState(e)},p=d(),f=d(o.NUM),m=d(o.DOMAIN),h=d(),g=d(o.WS);p.on("@",d(o.AT)).on(".",d(o.DOT)).on("+",d(o.PLUS)).on("#",d(o.POUND)).on("?",d(o.QUERY)).on("/",d(o.SLASH)).on("_",d(o.UNDERSCORE)).on(":",d(o.COLON)).on("{",d(o.OPENBRACE)).on("[",d(o.OPENBRACKET)).on("<",d(o.OPENANGLEBRACKET)).on("(",d(o.OPENPAREN)).on("}",d(o.CLOSEBRACE)).on("]",d(o.CLOSEBRACKET)).on(">",d(o.CLOSEANGLEBRACKET)).on(")",d(o.CLOSEPAREN)).on("&",d(o.AMPERSAND)).on([",",";","!",'"',"'"],d(o.PUNCTUATION)),p.on("\n",d(o.NL)).on(c,g),g.on(c,g);for(var v=0;v<a.length;v++){var _=(0,i.stateify)(a[v],p,o.TLD,o.DOMAIN);u.push.apply(u,_)}var b=(0,i.stateify)("file",p,o.DOMAIN,o.DOMAIN),y=(0,i.stateify)("ftp",p,o.DOMAIN,o.DOMAIN),w=(0,i.stateify)("http",p,o.DOMAIN,o.DOMAIN),x=(0,i.stateify)("mailto",p,o.DOMAIN,o.DOMAIN);u.push.apply(u,b),u.push.apply(u,y),u.push.apply(u,w),u.push.apply(u,x);var k=b.pop(),A=y.pop(),C=w.pop(),S=x.pop(),M=d(o.DOMAIN),P=d(o.PROTOCOL),O=d(o.MAILTO);A.on("s",M).on(":",P),C.on("s",M).on(":",P),u.push(M),k.on(":",P),M.on(":",P),S.on(":",O);var T=(0,i.stateify)("localhost",p,o.LOCALHOST,o.DOMAIN);u.push.apply(u,T),p.on(s,f),f.on("-",h).on(s,f).on(l,m),m.on("-",h).on(l,m);for(var E=0;E<u.length;E++)u[E].on("-",h).on(l,m);h.on("-",h).on(s,m).on(l,m),p.defaultTransition=d(o.SYM);var N=p;n.State=i.CharacterState,n.TOKENS=r,n.run=function(e){for(var t=e.replace(/[A-Z]/g,function(e){return e.toLowerCase()}),n=e.length,i=[],o=0;o<n;){for(var r=p,a=null,s=0,l=null,c=-1;o<n&&(a=r.next(t[o]));)(r=a).accepts()?(c=0,l=r):c>=0&&c++,s++,o++;if(!(c<0)){o-=c,s-=c;var u=l.emit();i.push(new u(e.substr(o-s,s)))}}return i},n.start=N},{"./state":82,"./tokens/text":85}],82:[function(e,t,n){"use strict";n.__esModule=!0,n.stateify=n.TokenState=n.CharacterState=void 0;var i=e("../utils/class");var o=function(e){this.j=[],this.T=e||null};o.prototype={defaultTransition:!1,on:function(e,t){if(e instanceof Array){for(var n=0;n<e.length;n++)this.j.push([e[n],t]);return this}return this.j.push([e,t]),this},next:function(e){for(var t=0;t<this.j.length;t++){var n=this.j[t],i=n[0],o=n[1];if(this.test(e,i))return o}return this.defaultTransition},accepts:function(){return!!this.T},test:function(e,t){return e===t},emit:function(){return this.T}};var r=(0,i.inherits)(o,function(e){this.j=[],this.T=e||null},{test:function(e,t){return e===t||t instanceof RegExp&&t.test(e)}}),a=(0,i.inherits)(o,function(e){this.j=[],this.T=e||null},{jump:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new e(""));return n===this.defaultTransition?(n=new this.constructor(t),this.on(e,n)):t&&(n.T=t),n},test:function(e,t){return e instanceof t}});n.CharacterState=r,n.TokenState=a,n.stateify=function(e,t,n,i){for(var o=0,a=e.length,s=t,l=[],c=void 0;o<a&&(c=s.next(e[o]));)s=c,o++;if(o>=a)return[];for(;o<a-1;)c=new r(i),l.push(c),s.on(e[o],c),s=c,o++;return c=new r(n),l.push(c),s.on(e[a-1],c),l}},{"../utils/class":86}],83:[function(e,t,n){"use strict";n.__esModule=!0,n.createTokenClass=function(){return function(e){e&&(this.v=e)}}},{}],84:[function(e,t,n){"use strict";n.__esModule=!0,n.URL=n.TEXT=n.NL=n.EMAIL=n.MAILTOEMAIL=n.Base=void 0;var i=e("./create-token-class"),o=e("../../utils/class"),r=e("./text");var a=(0,i.createTokenClass)();a.prototype={type:"token",isLink:!1,toString:function(){for(var e=[],t=0;t<this.v.length;t++)e.push(this.v[t].toString());return e.join("")},toHref:function(){return this.toString()},toObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(e)}}};var s=(0,o.inherits)(a,(0,i.createTokenClass)(),{type:"email",isLink:!0}),l=(0,o.inherits)(a,(0,i.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),c=(0,o.inherits)(a,(0,i.createTokenClass)(),{type:"text"}),u=(0,o.inherits)(a,(0,i.createTokenClass)(),{type:"nl"}),d=(0,o.inherits)(a,(0,i.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",n=!1,i=!1,o=this.v,a=[],s=0;o[s]instanceof r.PROTOCOL;)n=!0,a.push(o[s].toString().toLowerCase()),s++;for(;o[s]instanceof r.SLASH;)i=!0,a.push(o[s].toString()),s++;for(;(e=o[s])instanceof r.DOMAIN||e instanceof r.TLD;)a.push(o[s].toString().toLowerCase()),s++;for(;s<o.length;s++)a.push(o[s].toString());return a=a.join(""),n||i||(a=t+"://"+a),a},hasProtocol:function(){return this.v[0]instanceof r.PROTOCOL}});n.Base=a,n.MAILTOEMAIL=s,n.EMAIL=l,n.NL=u,n.TEXT=c,n.URL=d},{"../../utils/class":86,"./create-token-class":83,"./text":85}],85:[function(e,t,n){"use strict";n.__esModule=!0,n.AMPERSAND=n.CLOSEPAREN=n.CLOSEANGLEBRACKET=n.CLOSEBRACKET=n.CLOSEBRACE=n.OPENPAREN=n.OPENANGLEBRACKET=n.OPENBRACKET=n.OPENBRACE=n.WS=n.TLD=n.SYM=n.UNDERSCORE=n.SLASH=n.MAILTO=n.PROTOCOL=n.QUERY=n.POUND=n.PLUS=n.NUM=n.NL=n.LOCALHOST=n.PUNCTUATION=n.DOT=n.COLON=n.AT=n.DOMAIN=n.Base=void 0;var i=e("./create-token-class"),o=e("../../utils/class"),r=(0,i.createTokenClass)();function a(e){var t=e?{v:e}:{};return(0,o.inherits)(r,(0,i.createTokenClass)(),t)}r.prototype={toString:function(){return this.v+""}};var s=a(),l=a("@"),c=a(":"),u=a("."),d=a(),p=a(),f=a("\n"),m=a(),h=a("+"),g=a("#"),v=a(),_=a("mailto:"),b=a("?"),y=a("/"),w=a("_"),x=a(),k=a(),A=a(),C=a("{"),S=a("["),M=a("<"),P=a("("),O=a("}"),T=a("]"),E=a(">"),N=a(")"),$=a("&");n.Base=r,n.DOMAIN=s,n.AT=l,n.COLON=c,n.DOT=u,n.PUNCTUATION=d,n.LOCALHOST=p,n.NL=f,n.NUM=m,n.PLUS=h,n.POUND=g,n.QUERY=b,n.PROTOCOL=v,n.MAILTO=_,n.SLASH=y,n.UNDERSCORE=w,n.SYM=x,n.TLD=k,n.WS=A,n.OPENBRACE=C,n.OPENBRACKET=S,n.OPENANGLEBRACKET=M,n.OPENPAREN=P,n.CLOSEBRACE=O,n.CLOSEBRACKET=T,n.CLOSEANGLEBRACKET=E,n.CLOSEPAREN=N,n.AMPERSAND=$},{"../../utils/class":86,"./create-token-class":83}],86:[function(e,t,n){"use strict";n.__esModule=!0,n.inherits=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Object.create(e.prototype);for(var o in n)i[o]=n[o];return i.constructor=t,t.prototype=i,t}},{}],87:[function(e,t,n){"use strict";n.__esModule=!0;var i="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},o={defaultProtocol:"http",events:null,format:a,formatHref:a,nl2br:!1,tagName:"a",target:function(e,t){return"url"===t?"_blank":null},validate:!0,ignoreTags:[],attributes:null,className:"linkified"};function r(e){e=e||{},this.defaultProtocol=e.hasOwnProperty("defaultProtocol")?e.defaultProtocol:o.defaultProtocol,this.events=e.hasOwnProperty("events")?e.events:o.events,this.format=e.hasOwnProperty("format")?e.format:o.format,this.formatHref=e.hasOwnProperty("formatHref")?e.formatHref:o.formatHref,this.nl2br=e.hasOwnProperty("nl2br")?e.nl2br:o.nl2br,this.tagName=e.hasOwnProperty("tagName")?e.tagName:o.tagName,this.target=e.hasOwnProperty("target")?e.target:o.target,this.validate=e.hasOwnProperty("validate")?e.validate:o.validate,this.ignoreTags=[],this.attributes=e.attributes||e.linkAttributes||o.attributes,this.className=e.hasOwnProperty("className")?e.className:e.linkClass||o.className;for(var t=e.hasOwnProperty("ignoreTags")?e.ignoreTags:o.ignoreTags,n=0;n<t.length;n++)this.ignoreTags.push(t[n].toUpperCase())}function a(e){return e}n.defaults=o,n.Options=r,n.contains=function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1},r.prototype={resolve:function(e){var t=e.toHref(this.defaultProtocol);return{formatted:this.get("format",e.toString(),e),formattedHref:this.get("formatHref",t,e),tagName:this.get("tagName",t,e),className:this.get("className",t,e),target:this.get("target",t,e),events:this.getObject("events",t,e),attributes:this.getObject("attributes",t,e)}},check:function(e){return this.get("validate",e.toString(),e)},get:function(e,t,n){var r=void 0,a=this[e];if(!a)return a;switch(void 0===a?"undefined":i(a)){case"function":return a(t,n.type);case"object":return"function"==typeof(r=a.hasOwnProperty(n.type)?a[n.type]:o[e])?r(t,n.type):r}return a},getObject:function(e,t,n){var i=this[e];return"function"==typeof i?i(t,n.type):i}}},{}],88:[function(e,t,n){"use strict";n.__esModule=!0;var i=l(e("./simple-html-tokenizer/html5-named-char-refs")),o=l(e("./simple-html-tokenizer/entity-parser")),r=l(e("./simple-html-tokenizer/evented-tokenizer")),a=l(e("./simple-html-tokenizer/tokenizer")),s=l(e("./simple-html-tokenizer/tokenize"));function l(e){return e&&e.__esModule?e:{default:e}}var c={HTML5NamedCharRefs:i.default,EntityParser:o.default,EventedTokenizer:r.default,Tokenizer:a.default,tokenize:s.default};n.default=c},{"./simple-html-tokenizer/entity-parser":89,"./simple-html-tokenizer/evented-tokenizer":90,"./simple-html-tokenizer/html5-named-char-refs":91,"./simple-html-tokenizer/tokenize":92,"./simple-html-tokenizer/tokenizer":93}],89:[function(e,t,n){"use strict";function i(e){this.named=e}n.__esModule=!0;var o=/^#[xX]([A-Fa-f0-9]+)$/,r=/^#([0-9]+)$/,a=/^([A-Za-z0-9]+)$/;i.prototype.parse=function(e){if(e){var t=e.match(o);return t?"&#x"+t[1]+";":(t=e.match(r))?"&#"+t[1]+";":(t=e.match(a))?this.named[t[1]]||"&"+t[1]+";":void 0}},n.default=i},{}],90:[function(e,t,n){"use strict";n.__esModule=!0;var i=e("./utils");function o(e,t){this.delegate=e,this.entityParser=t,this.state=null,this.input=null,this.index=-1,this.line=-1,this.column=-1,this.tagLine=-1,this.tagColumn=-1,this.reset()}o.prototype={reset:function(){this.state="beforeData",this.input="",this.index=0,this.line=1,this.column=0,this.tagLine=-1,this.tagColumn=-1,this.delegate.reset()},tokenize:function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},tokenizePart:function(e){for(this.input+=(0,i.preprocessInput)(e);this.index<this.input.length;)this.states[this.state].call(this)},tokenizeEOF:function(){this.flushData()},flushData:function(){"data"===this.state&&(this.delegate.finishData(),this.state="beforeData")},peek:function(){return this.input.charAt(this.index)},consume:function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},consumeCharRef:function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),n=this.entityParser.parse(t);if(n){for(var i=t.length;i;)this.consume(),i--;return this.consume(),n}}},markTagStart:function(){this.tagLine=this.line,this.tagColumn=this.column,this.delegate.tagOpen&&this.delegate.tagOpen()},states:{beforeData:function(){"<"===this.peek()?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var e=this.peek();"<"===e?(this.delegate.finishData(),this.state="tagOpen",this.markTagStart(),this.consume()):"&"===e?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e))},tagOpen:function(){var e=this.consume();"!"===e?this.state="markupDeclaration":"/"===e?this.state="endTagOpen":(0,i.isAlpha)(e)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(e.toLowerCase()))},markupDeclaration:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.state="commentStartDash":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(e),this.state="comment")},commentStartDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var e=this.consume();"-"===e?this.state="commentEndDash":this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":(this.delegate.appendToCommentData("-"+e),this.state="comment")},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+e),this.state="comment")},tagName:function(){var e=this.consume();(0,i.isSpace)(e)?this.state="beforeAttributeName":"/"===e?this.state="selfClosingStartTag":">"===e?(this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();(0,i.isSpace)(e)?this.consume():"/"===e?(this.state="selfClosingStartTag",this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeName",this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},attributeName:function(){var e=this.peek();(0,i.isSpace)(e)?(this.state="afterAttributeName",this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.state="beforeAttributeValue",this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();(0,i.isSpace)(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.consume(),this.state="beforeAttributeValue"):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();(0,i.isSpace)(e)?this.consume():'"'===e?(this.state="attributeValueDoubleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.state="attributeValueSingleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeValueUnquoted",this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef('"')||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef("'")||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();(0,i.isSpace)(e)?(this.delegate.finishAttributeValue(),this.consume(),this.state="beforeAttributeName"):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef(">")||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();(0,i.isSpace)(e)?(this.consume(),this.state="beforeAttributeName"):"/"===e?(this.consume(),this.state="selfClosingStartTag"):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var e=this.consume();(0,i.isAlpha)(e)&&(this.state="tagName",this.delegate.beginEndTag(),this.delegate.appendToTagName(e.toLowerCase()))}}},n.default=o},{"./utils":94}],91:[function(e,t,n){"use strict";n.__esModule=!0;n.default={nbsp:" "}},{}],92:[function(e,t,n){"use strict";n.__esModule=!0,n.default=function(e,t){return new i.default(new o.default(r.default),t).tokenize(e)};var i=a(e("./tokenizer")),o=a(e("./entity-parser")),r=a(e("./html5-named-char-refs"));function a(e){return e&&e.__esModule?e:{default:e}}},{"./entity-parser":89,"./html5-named-char-refs":91,"./tokenizer":93}],93:[function(e,t,n){"use strict";n.__esModule=!0;var i,o=e("./evented-tokenizer"),r=(i=o)&&i.__esModule?i:{default:i};function a(e,t){this.token=null,this.startLine=1,this.startColumn=0,this.options=t||{},this.tokenizer=new r.default(this,e)}a.prototype={tokenize:function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},tokenizePart:function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},tokenizeEOF:function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},reset:function(){this.token=null,this.startLine=1,this.startColumn=0},addLocInfo:function(){this.options.loc&&(this.token.loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},beginData:function(){this.token={type:"Chars",chars:""},this.tokens.push(this.token)},appendToData:function(e){this.token.chars+=e},finishData:function(){this.addLocInfo()},beginComment:function(){this.token={type:"Comment",chars:""},this.tokens.push(this.token)},appendToCommentData:function(e){this.token.chars+=e},finishComment:function(){this.addLocInfo()},beginStartTag:function(){this.token={type:"StartTag",tagName:"",attributes:[],selfClosing:!1},this.tokens.push(this.token)},beginEndTag:function(){this.token={type:"EndTag",tagName:""},this.tokens.push(this.token)},finishTag:function(){this.addLocInfo()},markTagAsSelfClosing:function(){this.token.selfClosing=!0},appendToTagName:function(e){this.token.tagName+=e},beginAttribute:function(){this._currentAttribute=["","",null],this.token.attributes.push(this._currentAttribute)},appendToAttributeName:function(e){this._currentAttribute[0]+=e},beginAttributeValue:function(e){this._currentAttribute[2]=e},appendToAttributeValue:function(e){this._currentAttribute[1]=this._currentAttribute[1]||"",this._currentAttribute[1]+=e},finishAttributeValue:function(){}},n.default=a},{"./evented-tokenizer":90}],94:[function(e,t,n){"use strict";n.__esModule=!0,n.isSpace=function(e){return i.test(e)},n.isAlpha=function(e){return o.test(e)},n.preprocessInput=function(e){return e.replace(r,"\n")};var i=/[\t\n\f ]/,o=/[A-Za-z]/,r=/\r\n?/g},{}],95:[function(e,t,n){var i,o;i=this,o=function(e){"use strict";return 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;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})},"object"==typeof n&&void 0!==t&&"function"==typeof e?o(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],o):o(i.moment)},{"../moment":98}],96:[function(e,t,n){var i,o;i=this,o=function(e){"use strict";return 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("_"),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|)/,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}})},"object"==typeof n&&void 0!==t&&"function"==typeof e?o(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],o):o(i.moment)},{"../moment":98}],97:[function(e,t,n){var i,o;i=this,o=function(e){"use strict";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("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],o=/^(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;return e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})},"object"==typeof n&&void 0!==t&&"function"==typeof e?o(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],o):o(i.moment)},{"../moment":98}],98:[function(e,t,n){var i,o;i=this,o=function(){"use strict";var n,i;function o(){return n.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function p(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,i){return Tt(e,t,n,i,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){if(null==e._isValid){var t=m(e),n=i.call(t.parsedDateParts,function(e){return null!=e}),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function g(e){var t=f(NaN);return null!=e?p(m(t),e):m(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};var v=o.momentProperties=[];function _(e,t){var n,i,o;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=m(t)),s(t._locale)||(e._locale=t._locale),v.length>0)for(n=0;n<v.length;n++)s(o=t[i=v[n]])||(e[i]=o);return e}var b=!1;function y(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,o.updateOffset(this),b=!1)}function w(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function x(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=x(t)),n}function A(e,t,n){var i,o=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(i=0;i<o;i++)(n&&e[i]!==t[i]||!n&&k(e[i])!==k(t[i]))&&a++;return a+r}function C(e){!1===o.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return p(function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),n){for(var i,r=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){for(var s in i+="\n["+a+"] ",arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[a];r.push(i)}C(e+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var M,P={};function O(e,t){null!=o.deprecationHandler&&o.deprecationHandler(e,t),P[e]||(C(t),P[e]=!0)}function T(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function E(e,t){var n,i=p({},e);for(n in t)d(t,n)&&(a(e[n])&&a(t[n])?(i[n]={},p(i[n],e[n]),p(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)d(e,n)&&!d(t,n)&&a(e[n])&&(i[n]=p({},i[n]));return i}function N(e){null!=e&&this.set(e)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,M=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var $={};function j(e,t){var n=e.toLowerCase();$[n]=$[n+"s"]=$[t]=e}function q(e){return"string"==typeof e?$[e]||$[e.toLowerCase()]:void 0}function L(e){var t,n,i={};for(n in e)d(e,n)&&(t=q(n))&&(i[t]=e[n]);return i}var F={};function D(e,t){F[e]=t}function R(e,t,n){var i=""+Math.abs(e),o=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+i}var z=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,B=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},H={};function U(e,t,n,i){var o=i;"string"==typeof i&&(o=function(){return this[i]()}),e&&(H[e]=o),t&&(H[t[0]]=function(){return R(o.apply(this,arguments),t[1],t[2])}),n&&(H[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function V(e,t){return e.isValid()?(t=W(t,e.localeData()),I[t]=I[t]||function(e){var t,n,i,o=e.match(z);for(t=0,n=o.length;t<n;t++)H[o[t]]?o[t]=H[o[t]]:o[t]=(i=o[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,r="";for(i=0;i<n;i++)r+=T(o[i])?o[i].call(t,e):o[i];return r}}(t),I[t](e)):e.localeData().invalidDate()}function W(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(B.lastIndex=0;n>=0&&B.test(e);)e=e.replace(B,i),B.lastIndex=0,n-=1;return e}var Y=/\d/,G=/\d\d/,K=/\d{3}/,J=/\d{4}/,X=/[+-]?\d{6}/,Z=/\d\d?/,Q=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,ie=/[+-]?\d{1,6}/,oe=/\d+/,re=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,le=/[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,ce={};function ue(e,t,n){ce[e]=T(t)?t:function(e,i){return e&&n?n:t}}function de(e,t){return d(ce,e)?ce[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,o){return t||n||i||o})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function me(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),l(t)&&(i=function(e,n){n[t]=k(e)}),n=0;n<e.length;n++)fe[e[n]]=i}function he(e,t){me(e,function(e,n,i,o){i._w=i._w||{},t(e,i._w,i,o)})}function ge(e,t,n){null!=t&&d(fe,e)&&fe[e](t,n._a,n,e)}var ve=0,_e=1,be=2,ye=3,we=4,xe=5,ke=6,Ae=7,Ce=8;function Se(e){return Me(e)?366:365}function Me(e){return e%4==0&&e%100!=0||e%400==0}U("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),U(0,["YY",2],0,function(){return this.year()%100}),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),j("year","y"),D("year",1),ue("Y",re),ue("YY",Z,G),ue("YYYY",ne,J),ue("YYYYY",ie,X),ue("YYYYYY",ie,X),me(["YYYYY","YYYYYY"],ve),me("YYYY",function(e,t){t[ve]=2===e.length?o.parseTwoDigitYear(e):k(e)}),me("YY",function(e,t){t[ve]=o.parseTwoDigitYear(e)}),me("Y",function(e,t){t[ve]=parseInt(e,10)}),o.parseTwoDigitYear=function(e){return k(e)+(k(e)>68?1900:2e3)};var Pe,Oe=Te("FullYear",!0);function Te(e,t){return function(n){return null!=n?(Ne(this,e,n),o.updateOffset(this,t),this):Ee(this,e)}}function Ee(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ne(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Me(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),$e(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function $e(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,i=(t%(n=12)+n)%n;return e+=(t-i)/12,1===i?Me(e)?29:28:31-i%7%2}Pe=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},U("M",["MM",2],"Mo",function(){return this.month()+1}),U("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),U("MMMM",0,0,function(e){return this.localeData().months(this,e)}),j("month","M"),D("month",8),ue("M",Z),ue("MM",Z,G),ue("MMM",function(e,t){return t.monthsShortRegex(e)}),ue("MMMM",function(e,t){return t.monthsRegex(e)}),me(["M","MM"],function(e,t){t[_e]=k(e)-1}),me(["MMM","MMMM"],function(e,t,n,i){var o=n._locale.monthsParse(e,i,n._strict);null!=o?t[_e]=o:m(n).invalidMonth=e});var je=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,qe="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Le="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Fe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=k(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),$e(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function De(e){return null!=e?(Fe(this,e),o.updateOffset(this,!0),this):Ee(this,"Month")}var Re=le;var ze=le;function Be(){function e(e,t){return t.length-e.length}var t,n,i=[],o=[],r=[];for(t=0;t<12;t++)n=f([2e3,t]),i.push(this.monthsShort(n,"")),o.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(i.sort(e),o.sort(e),r.sort(e),t=0;t<12;t++)i[t]=pe(i[t]),o[t]=pe(o[t]);for(t=0;t<24;t++)r[t]=pe(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Ie(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function He(e,t,n){var i=7+t-n;return-((7+Ie(e,0,i).getUTCDay()-t)%7)+i-1}function Ue(e,t,n,i,o){var r,a,s=1+7*(t-1)+(7+n-i)%7+He(e,i,o);return s<=0?a=Se(r=e-1)+s:s>Se(e)?(r=e+1,a=s-Se(e)):(r=e,a=s),{year:r,dayOfYear:a}}function Ve(e,t,n){var i,o,r=He(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?i=a+We(o=e.year()-1,t,n):a>We(e.year(),t,n)?(i=a-We(e.year(),t,n),o=e.year()+1):(o=e.year(),i=a),{week:i,year:o}}function We(e,t,n){var i=He(e,t,n),o=He(e+1,t,n);return(Se(e)-i+o)/7}U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),j("week","w"),j("isoWeek","W"),D("week",5),D("isoWeek",5),ue("w",Z),ue("ww",Z,G),ue("W",Z),ue("WW",Z,G),he(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=k(e)});function Ye(e,t){return e.slice(t,7).concat(e.slice(0,t))}U("d",0,"do","day"),U("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),U("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),U("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),j("day","d"),j("weekday","e"),j("isoWeekday","E"),D("day",11),D("weekday",11),D("isoWeekday",11),ue("d",Z),ue("e",Z),ue("E",Z),ue("dd",function(e,t){return t.weekdaysMinRegex(e)}),ue("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ue("dddd",function(e,t){return t.weekdaysRegex(e)}),he(["dd","ddd","dddd"],function(e,t,n,i){var o=n._locale.weekdaysParse(e,i,n._strict);null!=o?t.d=o:m(n).invalidWeekday=e}),he(["d","e","E"],function(e,t,n,i){t[i]=k(e)});var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Je="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Xe=le;var Ze=le;var Qe=le;function et(){function e(e,t){return t.length-e.length}var t,n,i,o,r,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),i=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),r=this.weekdays(n,""),a.push(i),s.push(o),l.push(r),c.push(i),c.push(o),c.push(r);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=pe(s[t]),l[t]=pe(l[t]),c[t]=pe(c[t]);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("^("+a.join("|")+")","i")}function tt(){return this.hours()%12||12}function nt(e,t){U(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function it(e,t){return t._meridiemParse}U("H",["HH",2],0,"hour"),U("h",["hh",2],0,tt),U("k",["kk",2],0,function(){return this.hours()||24}),U("hmm",0,0,function(){return""+tt.apply(this)+R(this.minutes(),2)}),U("hmmss",0,0,function(){return""+tt.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)}),U("Hmm",0,0,function(){return""+this.hours()+R(this.minutes(),2)}),U("Hmmss",0,0,function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)}),nt("a",!0),nt("A",!1),j("hour","h"),D("hour",13),ue("a",it),ue("A",it),ue("H",Z),ue("h",Z),ue("k",Z),ue("HH",Z,G),ue("hh",Z,G),ue("kk",Z,G),ue("hmm",Q),ue("hmmss",ee),ue("Hmm",Q),ue("Hmmss",ee),me(["H","HH"],ye),me(["k","kk"],function(e,t,n){var i=k(e);t[ye]=24===i?0:i}),me(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),me(["h","hh"],function(e,t,n){t[ye]=k(e),m(n).bigHour=!0}),me("hmm",function(e,t,n){var i=e.length-2;t[ye]=k(e.substr(0,i)),t[we]=k(e.substr(i)),m(n).bigHour=!0}),me("hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[ye]=k(e.substr(0,i)),t[we]=k(e.substr(i,2)),t[xe]=k(e.substr(o)),m(n).bigHour=!0}),me("Hmm",function(e,t,n){var i=e.length-2;t[ye]=k(e.substr(0,i)),t[we]=k(e.substr(i))}),me("Hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[ye]=k(e.substr(0,i)),t[we]=k(e.substr(i,2)),t[xe]=k(e.substr(o))});var ot,rt=Te("Hours",!0),at={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,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"},months:qe,monthsShort:Le,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:Je,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},st={},lt={};function ct(e){return e?e.toLowerCase().replace("_","-"):e}function ut(n){var i=null;if(!st[n]&&void 0!==t&&t&&t.exports)try{i=ot._abbr,e("./locale/"+n),dt(i)}catch(e){}return st[n]}function dt(e,t){var n;return e&&((n=s(t)?ft(e):pt(e,t))?ot=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ot._abbr}function pt(e,t){if(null!==t){var n,i=at;if(t.abbr=e,null!=st[e])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=st[e]._config;else if(null!=t.parentLocale)if(null!=st[t.parentLocale])i=st[t.parentLocale]._config;else{if(null==(n=ut(t.parentLocale)))return lt[t.parentLocale]||(lt[t.parentLocale]=[]),lt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return st[e]=new N(E(i,t)),lt[e]&<[e].forEach(function(e){pt(e.name,e.config)}),dt(e),st[e]}return delete st[e],null}function ft(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ot;if(!r(e)){if(t=ut(e))return t;e=[e]}return function(e){for(var t,n,i,o,r=0;r<e.length;){for(t=(o=ct(e[r]).split("-")).length,n=(n=ct(e[r+1]))?n.split("-"):null;t>0;){if(i=ut(o.slice(0,t).join("-")))return i;if(n&&n.length>=t&&A(o,n,!0)>=t-1)break;t--}r++}return ot}(e)}function mt(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[_e]<0||n[_e]>11?_e:n[be]<1||n[be]>$e(n[ve],n[_e])?be:n[ye]<0||n[ye]>24||24===n[ye]&&(0!==n[we]||0!==n[xe]||0!==n[ke])?ye:n[we]<0||n[we]>59?we:n[xe]<0||n[xe]>59?xe:n[ke]<0||n[ke]>999?ke:-1,m(e)._overflowDayOfYear&&(t<ve||t>be)&&(t=be),m(e)._overflowWeeks&&-1===t&&(t=Ae),m(e)._overflowWeekday&&-1===t&&(t=Ce),m(e).overflow=t),e}function ht(e,t,n){return null!=e?e:null!=t?t:n}function gt(e){var t,n,i,r,a,s=[];if(!e._d){for(i=function(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[be]&&null==e._a[_e]&&function(e){var t,n,i,o,r,a,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)r=1,a=4,n=ht(t.GG,e._a[ve],Ve(Et(),1,4).year),i=ht(t.W,1),((o=ht(t.E,1))<1||o>7)&&(l=!0);else{r=e._locale._week.dow,a=e._locale._week.doy;var c=Ve(Et(),r,a);n=ht(t.gg,e._a[ve],c.year),i=ht(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+r,(t.e<0||t.e>6)&&(l=!0)):o=r}i<1||i>We(n,r,a)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(s=Ue(n,i,o,r,a),e._a[ve]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=ht(e._a[ve],i[ve]),(e._dayOfYear>Se(a)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=Ie(a,0,e._dayOfYear),e._a[_e]=n.getUTCMonth(),e._a[be]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ye]&&0===e._a[we]&&0===e._a[xe]&&0===e._a[ke]&&(e._nextDay=!0,e._a[ye]=0),e._d=(e._useUTC?Ie:function(e,t,n,i,o,r,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,i,o,r,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,o,r,a),s}).apply(null,s),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ye]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(m(e).weekdayMismatch=!0)}}var vt=/^\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)?)?$/,_t=/^\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)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["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}/]],wt=[["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/]],xt=/^\/?Date\((\-?\d+)/i;function kt(e){var t,n,i,o,r,a,s=e._i,l=vt.exec(s)||_t.exec(s);if(l){for(m(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[1])){o=yt[t][0],i=!1!==yt[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=wt.length;t<n;t++)if(wt[t][1].exec(l[3])){r=(l[2]||" ")+wt[t][0];break}if(null==r)return void(e._isValid=!1)}if(!i&&null!=r)return void(e._isValid=!1);if(l[4]){if(!bt.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=o+(r||"")+(a||""),Pt(e)}else e._isValid=!1}var At=/^(?:(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}))$/;function Ct(e,t,n,i,o,r){var a=[function(e){var t=parseInt(e,10);if(t<=49)return 2e3+t;if(t<=999)return 1900+t;return t}(e),Le.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(o,10)];return r&&a.push(parseInt(r,10)),a}var St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mt(e){var t=At.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(t){var n=Ct(t[4],t[3],t[2],t[5],t[6],t[7]);if(!function(e,t,n){return!e||Ke.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}(t[1],n,e))return;e._a=n,e._tzm=function(e,t,n){if(e)return St[e];if(t)return 0;var i=parseInt(n,10),o=i%100;return(i-o)/100*60+o}(t[8],t[9],t[10]),e._d=Ie.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function Pt(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],m(e).empty=!0;var t,n,i,r,a,s=""+e._i,l=s.length,c=0;for(i=W(e._f,e._locale).match(z)||[],t=0;t<i.length;t++)r=i[t],(n=(s.match(de(r,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&m(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),c+=n.length),H[r]?(n?m(e).empty=!1:m(e).unusedTokens.push(r),ge(r,n,e)):e._strict&&!n&&m(e).unusedTokens.push(r);m(e).charsLeftOver=l-c,s.length>0&&m(e).unusedInput.push(s),e._a[ye]<=12&&!0===m(e).bigHour&&e._a[ye]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[ye]=function(e,t,n){var i;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[ye],e._meridiem),gt(e),mt(e)}else Mt(e);else kt(e)}function Ot(e){var t=e._i,n=e._f;return e._locale=e._locale||ft(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new y(mt(t)):(c(t)?e._d=t:r(n)?function(e){var t,n,i,o,r;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)r=0,t=_({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Pt(t),h(t)&&(r+=m(t).charsLeftOver,r+=10*m(t).unusedTokens.length,m(t).score=r,(null==i||r<i)&&(i=r,n=t));p(e,n||t)}(e):n?Pt(e):function(e){var t=e._i;s(t)?e._d=new Date(o.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=xt.exec(e._i);null===t?(kt(e),!1===e._isValid&&(delete e._isValid,Mt(e),!1===e._isValid&&(delete e._isValid,o.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):r(t)?(e._a=u(t.slice(0),function(e){return parseInt(e,10)}),gt(e)):a(t)?function(e){if(!e._d){var t=L(e._i);e._a=u([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),gt(e)}}(e):l(t)?e._d=new Date(t):o.createFromInputFallback(e)}(e),h(e)||(e._d=null),e))}function Tt(e,t,n,i,o){var s,l={};return!0!==n&&!1!==n||(i=n,n=void 0),(a(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||r(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=o,l._l=n,l._i=e,l._f=t,l._strict=i,(s=new y(mt(Ot(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Et(e,t,n,i){return Tt(e,t,n,i,!1)}o.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 and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),o.ISO_8601=function(){},o.RFC_2822=function(){};var Nt=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Et.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),$t=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Et.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:g()});function jt(e,t){var n,i;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Et();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var qt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Lt(e){var t=L(e),n=t.year||0,i=t.quarter||0,o=t.month||0,r=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Pe.call(qt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,i=0;i<qt.length;++i)if(e[qt[i]]){if(n)return!1;parseFloat(e[qt[i]])!==k(e[qt[i]])&&(n=!0)}return!0}(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*r,this._months=+o+3*i+12*n,this._data={},this._locale=ft(),this._bubble()}function Ft(e){return e instanceof Lt}function Dt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Rt(e,t){U(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)})}Rt("Z",":"),Rt("ZZ",""),ue("Z",se),ue("ZZ",se),me(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Bt(se,e)});var zt=/([\+\-]|\d\d)/gi;function Bt(e,t){var n=(t||"").match(e);if(null===n)return null;var i=((n[n.length-1]||[])+"").match(zt)||["-",0,0],o=60*i[1]+k(i[2]);return 0===o?0:"+"===i[0]?o:-o}function It(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(w(e)||c(e)?e.valueOf():Et(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),o.updateOffset(n,!1),n):Et(e).local()}function Ht(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ut(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}o.updateOffset=function(){};var Vt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Yt(e,t){var n,i,o,r=e,a=null;return Ft(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:l(e)?(r={},t?r[t]=e:r.milliseconds=e):(a=Vt.exec(e))?(n="-"===a[1]?-1:1,r={y:0,d:k(a[be])*n,h:k(a[ye])*n,m:k(a[we])*n,s:k(a[xe])*n,ms:k(Dt(1e3*a[ke]))*n}):(a=Wt.exec(e))?(n="-"===a[1]?-1:1,r={y:Gt(a[2],n),M:Gt(a[3],n),w:Gt(a[4],n),d:Gt(a[5],n),h:Gt(a[6],n),m:Gt(a[7],n),s:Gt(a[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=It(t,e),e.isBefore(t)?n=Kt(e,t):((n=Kt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Et(r.from),Et(r.to)),(r={}).ms=o.milliseconds,r.M=o.months),i=new Lt(r),Ft(e)&&d(e,"_locale")&&(i._locale=e._locale),i}function Gt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Kt(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 Jt(e,t){return function(n,i){var o;return null===i||isNaN(+i)||(O(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."),o=n,n=i,i=o),Xt(this,Yt(n="string"==typeof n?+n:n,i),e),this}}function Xt(e,t,n,i){var r=t._milliseconds,a=Dt(t._days),s=Dt(t._months);e.isValid()&&(i=null==i||i,s&&Fe(e,Ee(e,"Month")+s*n),a&&Ne(e,"Date",Ee(e,"Date")+a*n),r&&e._d.setTime(e._d.valueOf()+r*n),i&&o.updateOffset(e,a||s))}Yt.fn=Lt.prototype,Yt.invalid=function(){return Yt(NaN)};var Zt=Jt(1,"add"),Qt=Jt(-1,"subtract");function en(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function tn(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ft(e))&&(this._locale=t),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var nn=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 on(){return this._locale}var rn=1e3,an=60*rn,sn=60*an,ln=3506328*sn;function cn(e,t){return(e%t+t)%t}function un(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-ln:new Date(e,t,n).valueOf()}function dn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-ln:Date.UTC(e,t,n)}function pn(e,t){U(0,[e,e.length],0,t)}function fn(e,t,n,i,o){var r;return null==e?Ve(this,i,o).year:(t>(r=We(e,i,o))&&(t=r),function(e,t,n,i,o){var r=Ue(e,t,n,i,o),a=Ie(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,i,o))}U(0,["gg",2],0,function(){return this.weekYear()%100}),U(0,["GG",2],0,function(){return this.isoWeekYear()%100}),pn("gggg","weekYear"),pn("ggggg","weekYear"),pn("GGGG","isoWeekYear"),pn("GGGGG","isoWeekYear"),j("weekYear","gg"),j("isoWeekYear","GG"),D("weekYear",1),D("isoWeekYear",1),ue("G",re),ue("g",re),ue("GG",Z,G),ue("gg",Z,G),ue("GGGG",ne,J),ue("gggg",ne,J),ue("GGGGG",ie,X),ue("ggggg",ie,X),he(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=k(e)}),he(["gg","GG"],function(e,t,n,i){t[i]=o.parseTwoDigitYear(e)}),U("Q",0,"Qo","quarter"),j("quarter","Q"),D("quarter",7),ue("Q",Y),me("Q",function(e,t){t[_e]=3*(k(e)-1)}),U("D",["DD",2],"Do","date"),j("date","D"),D("date",9),ue("D",Z),ue("DD",Z,G),ue("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),me(["D","DD"],be),me("Do",function(e,t){t[be]=k(e.match(Z)[0])});var mn=Te("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),j("dayOfYear","DDD"),D("dayOfYear",4),ue("DDD",te),ue("DDDD",K),me(["DDD","DDDD"],function(e,t,n){n._dayOfYear=k(e)}),U("m",["mm",2],0,"minute"),j("minute","m"),D("minute",14),ue("m",Z),ue("mm",Z,G),me(["m","mm"],we);var hn=Te("Minutes",!1);U("s",["ss",2],0,"second"),j("second","s"),D("second",15),ue("s",Z),ue("ss",Z,G),me(["s","ss"],xe);var gn,vn=Te("Seconds",!1);for(U("S",0,0,function(){return~~(this.millisecond()/100)}),U(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,function(){return 10*this.millisecond()}),U(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),U(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),U(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),U(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),U(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),j("millisecond","ms"),D("millisecond",16),ue("S",te,Y),ue("SS",te,G),ue("SSS",te,K),gn="SSSS";gn.length<=9;gn+="S")ue(gn,oe);function _n(e,t){t[ke]=k(1e3*("0."+e))}for(gn="S";gn.length<=9;gn+="S")me(gn,_n);var bn=Te("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var yn=y.prototype;function wn(e){return e}yn.add=Zt,yn.calendar=function(e,t){var n=e||Et(),i=It(n,this).startOf("day"),r=o.calendarFormat(this,i)||"sameElse",a=t&&(T(t[r])?t[r].call(this,n):t[r]);return this.format(a||this.localeData().calendar(r,this,Et(n)))},yn.clone=function(){return new y(this)},yn.diff=function(e,t,n){var i,o,r;if(!this.isValid())return NaN;if(!(i=It(e,this)).isValid())return NaN;switch(o=6e4*(i.utcOffset()-this.utcOffset()),t=q(t)){case"year":r=en(this,i)/12;break;case"month":r=en(this,i);break;case"quarter":r=en(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-o)/864e5;break;case"week":r=(this-i-o)/6048e5;break;default:r=this-i}return n?r:x(r)},yn.endOf=function(e){var t;if(void 0===(e=q(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?dn:un;switch(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+=sn-cn(t+(this._isUTC?0:this.utcOffset()*an),sn)-1;break;case"minute":t=this._d.valueOf(),t+=an-cn(t,an)-1;break;case"second":t=this._d.valueOf(),t+=rn-cn(t,rn)-1}return this._d.setTime(t),o.updateOffset(this,!0),this},yn.format=function(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=V(this,e);return this.localeData().postformat(t)},yn.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Et(e).isValid())?Yt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},yn.fromNow=function(e){return this.from(Et(),e)},yn.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Et(e).isValid())?Yt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},yn.toNow=function(e){return this.to(Et(),e)},yn.get=function(e){return T(this[e=q(e)])?this[e]():this},yn.invalidAt=function(){return m(this).overflow},yn.isAfter=function(e,t){var n=w(e)?e:Et(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=q(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},yn.isBefore=function(e,t){var n=w(e)?e:Et(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=q(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},yn.isBetween=function(e,t,n,i){var o=w(e)?e:Et(e),r=w(t)?t:Et(t);return!!(this.isValid()&&o.isValid()&&r.isValid())&&("("===(i=i||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===i[1]?this.isBefore(r,n):!this.isAfter(r,n))},yn.isSame=function(e,t){var n,i=w(e)?e:Et(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=q(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},yn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},yn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},yn.isValid=function(){return h(this)},yn.lang=nn,yn.locale=tn,yn.localeData=on,yn.max=$t,yn.min=Nt,yn.parsingFlags=function(){return p({},m(this))},yn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:F[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=L(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(T(this[e=q(e)]))return this[e](t);return this},yn.startOf=function(e){var t;if(void 0===(e=q(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?dn:un;switch(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-=cn(t+(this._isUTC?0:this.utcOffset()*an),sn);break;case"minute":t=this._d.valueOf(),t-=cn(t,an);break;case"second":t=this._d.valueOf(),t-=cn(t,rn)}return this._d.setTime(t),o.updateOffset(this,!0),this},yn.subtract=Qt,yn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},yn.toObject=function(){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()}},yn.toDate=function(){return new Date(this.valueOf())},yn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?V(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(n,"Z")):V(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},yn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=t+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+o)},yn.toJSON=function(){return this.isValid()?this.toISOString():null},yn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},yn.unix=function(){return Math.floor(this.valueOf()/1e3)},yn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},yn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},yn.year=Oe,yn.isLeapYear=function(){return Me(this.year())},yn.weekYear=function(e){return fn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},yn.isoWeekYear=function(e){return fn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},yn.quarter=yn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},yn.month=De,yn.daysInMonth=function(){return $e(this.year(),this.month())},yn.week=yn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},yn.isoWeek=yn.isoWeeks=function(e){var t=Ve(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},yn.weeksInYear=function(){var e=this.localeData()._week;return We(this.year(),e.dow,e.doy)},yn.isoWeeksInYear=function(){return We(this.year(),1,4)},yn.date=mn,yn.day=yn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},yn.weekday=function(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")},yn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},yn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},yn.hour=yn.hours=rt,yn.minute=yn.minutes=hn,yn.second=yn.seconds=vn,yn.millisecond=yn.milliseconds=bn,yn.utcOffset=function(e,t,n){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Bt(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Ht(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?Xt(this,Yt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Ht(this)},yn.utc=function(e){return this.utcOffset(0,e)},yn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},yn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Bt(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},yn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Et(e).utcOffset():0,(this.utcOffset()-e)%60==0)},yn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},yn.isLocal=function(){return!!this.isValid()&&!this._isUTC},yn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},yn.isUtc=Ut,yn.isUTC=Ut,yn.zoneAbbr=function(){return this._isUTC?"UTC":""},yn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},yn.dates=S("dates accessor is deprecated. Use date instead.",mn),yn.months=S("months accessor is deprecated. Use month instead",De),yn.years=S("years accessor is deprecated. Use year instead",Oe),yn.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),yn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(_(e,this),(e=Ot(e))._a){var t=e._isUTC?f(e._a):Et(e._a);this._isDSTShifted=this.isValid()&&A(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var xn=N.prototype;function kn(e,t,n,i){var o=ft(),r=f().set(i,t);return o[n](r,e)}function An(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return kn(e,t,n,"month");var i,o=[];for(i=0;i<12;i++)o[i]=kn(e,i,n,"month");return o}function Cn(e,t,n,i){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var o,r=ft(),a=e?r._week.dow:0;if(null!=n)return kn(t,(n+a)%7,i,"day");var s=[];for(o=0;o<7;o++)s[o]=kn(t,(o+a)%7,i,"day");return s}xn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return T(i)?i.call(t,n):i},xn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},xn.invalidDate=function(){return this._invalidDate},xn.ordinal=function(e){return this._ordinal.replace("%d",e)},xn.preparse=wn,xn.postformat=wn,xn.relativeTime=function(e,t,n,i){var o=this._relativeTime[n];return T(o)?o(e,t,n,i):o.replace(/%d/i,e)},xn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)},xn.set=function(e){var t,n;for(n in e)T(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},xn.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||je).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},xn.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[je.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},xn.monthsParse=function(e,t,n){var i,o,r;if(this._monthsParseExact)return function(e,t,n){var i,o,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=f([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=Pe.call(this._shortMonthsParse,a))?o:null:-1!==(o=Pe.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=Pe.call(this._shortMonthsParse,a))?o:-1!==(o=Pe.call(this._longMonthsParse,a))?o:null:-1!==(o=Pe.call(this._longMonthsParse,a))?o:-1!==(o=Pe.call(this._shortMonthsParse,a))?o:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(o=f([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},xn.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Be.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=ze),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},xn.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Be.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},xn.week=function(e){return Ve(e,this._week.dow,this._week.doy).week},xn.firstDayOfYear=function(){return this._week.doy},xn.firstDayOfWeek=function(){return this._week.dow},xn.weekdays=function(e,t){var n=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ye(n,this._week.dow):e?n[e.day()]:n},xn.weekdaysMin=function(e){return!0===e?Ye(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},xn.weekdaysShort=function(e){return!0===e?Ye(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},xn.weekdaysParse=function(e,t,n){var i,o,r;if(this._weekdaysParseExact)return function(e,t,n){var i,o,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=Pe.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Pe.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=Pe.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=Pe.call(this._weekdaysParse,a))?o:-1!==(o=Pe.call(this._shortWeekdaysParse,a))?o:-1!==(o=Pe.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Pe.call(this._shortWeekdaysParse,a))?o:-1!==(o=Pe.call(this._weekdaysParse,a))?o:-1!==(o=Pe.call(this._minWeekdaysParse,a))?o:null:-1!==(o=Pe.call(this._minWeekdaysParse,a))?o:-1!==(o=Pe.call(this._weekdaysParse,a))?o:-1!==(o=Pe.call(this._shortWeekdaysParse,a))?o:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(o=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},xn.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},xn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ze),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},xn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},xn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},xn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},dt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===k(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),o.lang=S("moment.lang is deprecated. Use moment.locale instead.",dt),o.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ft);var Sn=Math.abs;function Mn(e,t,n,i){var o=Yt(t,n);return e._milliseconds+=i*o._milliseconds,e._days+=i*o._days,e._months+=i*o._months,e._bubble()}function Pn(e){return e<0?Math.floor(e):Math.ceil(e)}function On(e){return 4800*e/146097}function Tn(e){return 146097*e/4800}function En(e){return function(){return this.as(e)}}var Nn=En("ms"),$n=En("s"),jn=En("m"),qn=En("h"),Ln=En("d"),Fn=En("w"),Dn=En("M"),Rn=En("Q"),zn=En("y");function Bn(e){return function(){return this.isValid()?this._data[e]:NaN}}var In=Bn("milliseconds"),Hn=Bn("seconds"),Un=Bn("minutes"),Vn=Bn("hours"),Wn=Bn("days"),Yn=Bn("months"),Gn=Bn("years");var Kn=Math.round,Jn={ss:44,s:45,m:45,h:22,d:26,M:11};var Xn=Math.abs;function Zn(e){return(e>0)-(e<0)||+e}function Qn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Xn(this._milliseconds)/1e3,i=Xn(this._days),o=Xn(this._months);t=x((e=x(n/60))/60),n%=60,e%=60;var r=x(o/12),a=o%=12,s=i,l=t,c=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var p=d<0?"-":"",f=Zn(this._months)!==Zn(d)?"-":"",m=Zn(this._days)!==Zn(d)?"-":"",h=Zn(this._milliseconds)!==Zn(d)?"-":"";return p+"P"+(r?f+r+"Y":"")+(a?f+a+"M":"")+(s?m+s+"D":"")+(l||c||u?"T":"")+(l?h+l+"H":"")+(c?h+c+"M":"")+(u?h+u+"S":"")}var ei=Lt.prototype;return ei.isValid=function(){return this._isValid},ei.abs=function(){var e=this._data;return this._milliseconds=Sn(this._milliseconds),this._days=Sn(this._days),this._months=Sn(this._months),e.milliseconds=Sn(e.milliseconds),e.seconds=Sn(e.seconds),e.minutes=Sn(e.minutes),e.hours=Sn(e.hours),e.months=Sn(e.months),e.years=Sn(e.years),this},ei.add=function(e,t){return Mn(this,e,t,1)},ei.subtract=function(e,t){return Mn(this,e,t,-1)},ei.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=q(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+On(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Tn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},ei.asMilliseconds=Nn,ei.asSeconds=$n,ei.asMinutes=jn,ei.asHours=qn,ei.asDays=Ln,ei.asWeeks=Fn,ei.asMonths=Dn,ei.asQuarters=Rn,ei.asYears=zn,ei.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},ei._bubble=function(){var e,t,n,i,o,r=this._milliseconds,a=this._days,s=this._months,l=this._data;return r>=0&&a>=0&&s>=0||r<=0&&a<=0&&s<=0||(r+=864e5*Pn(Tn(s)+a),a=0,s=0),l.milliseconds=r%1e3,e=x(r/1e3),l.seconds=e%60,t=x(e/60),l.minutes=t%60,n=x(t/60),l.hours=n%24,s+=o=x(On(a+=x(n/24))),a-=Pn(Tn(o)),i=x(s/12),s%=12,l.days=a,l.months=s,l.years=i,this},ei.clone=function(){return Yt(this)},ei.get=function(e){return e=q(e),this.isValid()?this[e+"s"]():NaN},ei.milliseconds=In,ei.seconds=Hn,ei.minutes=Un,ei.hours=Vn,ei.days=Wn,ei.weeks=function(){return x(this.days()/7)},ei.months=Yn,ei.years=Gn,ei.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var i=Yt(e).abs(),o=Kn(i.as("s")),r=Kn(i.as("m")),a=Kn(i.as("h")),s=Kn(i.as("d")),l=Kn(i.as("M")),c=Kn(i.as("y")),u=o<=Jn.ss&&["s",o]||o<Jn.s&&["ss",o]||r<=1&&["m"]||r<Jn.m&&["mm",r]||a<=1&&["h"]||a<Jn.h&&["hh",a]||s<=1&&["d"]||s<Jn.d&&["dd",s]||l<=1&&["M"]||l<Jn.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=t,u[3]=+e>0,u[4]=n,function(e,t,n,i,o){return o.relativeTime(t||1,!!n,e,i)}.apply(null,u)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},ei.toISOString=Qn,ei.toString=Qn,ei.toJSON=Qn,ei.locale=tn,ei.localeData=on,ei.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qn),ei.lang=nn,U("X",0,0,"unix"),U("x",0,0,"valueOf"),ue("x",re),ue("X",/[+-]?\d+(\.\d{1,3})?/),me("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),me("x",function(e,t,n){n._d=new Date(k(e))}),o.version="2.24.0",n=Et,o.fn=yn,o.min=function(){return jt("isBefore",[].slice.call(arguments,0))},o.max=function(){return jt("isAfter",[].slice.call(arguments,0))},o.now=function(){return Date.now?Date.now():+new Date},o.utc=f,o.unix=function(e){return Et(1e3*e)},o.months=function(e,t){return An(e,t,"months")},o.isDate=c,o.locale=dt,o.invalid=g,o.duration=Yt,o.isMoment=w,o.weekdays=function(e,t,n){return Cn(e,t,n,"weekdays")},o.parseZone=function(){return Et.apply(null,arguments).parseZone()},o.localeData=ft,o.isDuration=Ft,o.monthsShort=function(e,t){return An(e,t,"monthsShort")},o.weekdaysMin=function(e,t,n){return Cn(e,t,n,"weekdaysMin")},o.defineLocale=pt,o.updateLocale=function(e,t){if(null!=t){var n,i,o=at;null!=(i=ut(e))&&(o=i._config),(n=new N(t=E(o,t))).parentLocale=st[e],st[e]=n,dt(e)}else null!=st[e]&&(null!=st[e].parentLocale?st[e]=st[e].parentLocale:null!=st[e]&&delete st[e]);return st[e]},o.locales=function(){return M(st)},o.weekdaysShort=function(e,t,n){return Cn(e,t,n,"weekdaysShort")},o.normalizeUnits=q,o.relativeTimeRounding=function(e){return void 0===e?Kn:"function"==typeof e&&(Kn=e,!0)},o.relativeTimeThreshold=function(e,t){return void 0!==Jn[e]&&(void 0===t?Jn[e]:(Jn[e]=t,"s"===e&&(Jn.ss=t-1),!0))},o.calendarFormat=function(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"},o.prototype=yn,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},o},"object"==typeof n&&void 0!==t?t.exports=o():"function"==typeof define&&define.amd?define(o):i.moment=o()},{}],99:[function(e,t,n){var i=1e3,o=60*i,r=60*o,a=24*r,s=365.25*a;function l(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}t.exports=function(e,t){t=t||{};var n,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*s;case"days":case"day":case"d":return n*a;case"hours":case"hour":case"hrs":case"hr":case"h":return n*r;case"minutes":case"minute":case"mins":case"min":case"m":return n*o;case"seconds":case"second":case"secs":case"sec":case"s":return n*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(e);if("number"===c&&!1===isNaN(e))return t.long?l(n=e,a,"day")||l(n,r,"hour")||l(n,o,"minute")||l(n,i,"second")||n+" ms":function(e){if(e>=a)return Math.round(e/a)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=o)return Math.round(e/o)+"m";if(e>=i)return Math.round(e/i)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},{}],100:[function(e,t,n){"use strict";var i=function(e){return e!=e};t.exports=function(e,t){return 0===e&&0===t?1/e==1/t:e===t||!(!i(e)||!i(t))}},{}],101:[function(e,t,n){"use strict";var i;if(!Object.keys){var o=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=e("./isArguments"),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call(function(){},"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();i=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===r.call(e),i=a(e),s=t&&"[object String]"===r.call(e),p=[];if(!t&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var m=c&&n;if(s&&e.length>0&&!o.call(e,0))for(var h=0;h<e.length;++h)p.push(String(h));if(i&&e.length>0)for(var g=0;g<e.length;++g)p.push(String(g));else for(var v in e)m&&"prototype"===v||!o.call(e,v)||p.push(String(v));if(l)for(var _=function(e){if("undefined"==typeof window||!f)return d(e);try{return d(e)}catch(e){return!1}}(e),b=0;b<u.length;++b)_&&"constructor"===u[b]||!o.call(e,u[b])||p.push(u[b]);return p}}t.exports=i},{"./isArguments":103}],102:[function(e,t,n){arguments[4][46][0].apply(n,arguments)},{"./implementation":101,"./isArguments":103,dup:46}],103:[function(e,t,n){arguments[4][47][0].apply(n,arguments)},{dup:47}],104:[function(e,t,n){t.exports=function(e,t,n,i){var o=function(e,n,i,o){t(i,e,n,"left"),t(o,n,e,"right")},r=e.transformX=function(e,t){n(e),n(t);for(var a=[],s=0;s<t.length;s++){for(var l=t[s],c=[],u=0;u<e.length;){var d=[];if(o(e[u],l,c,d),u++,1!==d.length){if(0===d.length){for(var p=u;p<e.length;p++)i(c,e[p]);l=null;break}for(var f=r(e.slice(u),d),m=0;m<f[0].length;m++)i(c,f[0][m]);for(var h=0;h<f[1].length;h++)i(a,f[1][h]);l=null;break}l=d[0]}null!=l&&i(a,l),e=c}return[e,a]};e.transform=function(e,n,i){if("left"!==i&&"right"!==i)throw new Error("type must be 'left' or 'right'");return 0===n.length?e:1===e.length&&1===n.length?t([],e[0],n[0],i):"left"===i?r(e,n)[0]:r(n,e)[1]}}},{}],105:[function(e,t,n){t.exports={type:e("./json0")}},{"./json0":106}],106:[function(e,t,n){var i=function(e){return"[object Array]"==Object.prototype.toString.call(e)},o=function(e){return JSON.parse(JSON.stringify(e))},r={name:"json0",uri:"http://sharejs.org/types/JSONv0"},a={};function s(e){e.t="text0";var t={p:e.p.pop()};null!=e.si&&(t.i=e.si),null!=e.sd&&(t.d=e.sd),e.o=[t]}function l(e){e.p.push(e.o[0].p),null!=e.o[0].i&&(e.si=e.o[0].i),null!=e.o[0].d&&(e.sd=e.o[0].d),delete e.t,delete e.o}r.registerSubtype=function(e){a[e.name]=e},r.create=function(e){return void 0===e?null:o(e)},r.invertComponent=function(e){var t={p:e.p};return e.t&&a[e.t]&&(t.t=e.t,t.o=a[e.t].invert(e.o)),void 0!==e.si&&(t.sd=e.si),void 0!==e.sd&&(t.si=e.sd),void 0!==e.oi&&(t.od=e.oi),void 0!==e.od&&(t.oi=e.od),void 0!==e.li&&(t.ld=e.li),void 0!==e.ld&&(t.li=e.ld),void 0!==e.na&&(t.na=-e.na),void 0!==e.lm&&(t.lm=e.p[e.p.length-1],t.p=e.p.slice(0,e.p.length-1).concat([e.lm])),t},r.invert=function(e){for(var t=e.slice().reverse(),n=[],i=0;i<t.length;i++)n.push(r.invertComponent(t[i]));return n},r.checkValidOp=function(e){for(var t=0;t<e.length;t++)if(!i(e[t].p))throw new Error("Missing path")},r.checkList=function(e){if(!i(e))throw new Error("Referenced element not a list")},r.checkObj=function(e){if(!(t=e)||t.constructor!==Object)throw new Error("Referenced element not an object (it was "+JSON.stringify(e)+")");var t},r.apply=function(e,t){r.checkValidOp(t),t=o(t);for(var n={data:e},i=0;i<t.length;i++){var l=t[i];null==l.si&&null==l.sd||s(l);for(var c=null,u=n,d="data",p=0;p<l.p.length;p++){var f=l.p[p];if(c=u,d,u=u[d],d=f,null==c)throw new Error("Path invalid")}if(l.t&&void 0!==l.o&&a[l.t])u[d]=a[l.t].apply(u[d],l.o);else if(void 0!==l.na){if("number"!=typeof u[d])throw new Error("Referenced element not a number");u[d]+=l.na}else if(void 0!==l.li&&void 0!==l.ld)r.checkList(u),u[d]=l.li;else if(void 0!==l.li)r.checkList(u),u.splice(d,0,l.li);else if(void 0!==l.ld)r.checkList(u),u.splice(d,1);else if(void 0!==l.lm){if(r.checkList(u),l.lm!=d){var m=u[d];u.splice(d,1),u.splice(l.lm,0,m)}}else if(void 0!==l.oi)r.checkObj(u),u[d]=l.oi;else{if(void 0===l.od)throw new Error("invalid / missing instruction in op");r.checkObj(u),delete u[d]}}return n.data},r.shatter=function(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n]]);return t},r.incrementalApply=function(e,t,n){for(var i=0;i<t.length;i++){var o=[t[i]];n(o,e=r.apply(e,o))}return e};var c=r.pathMatches=function(e,t,n){if(e.length!=t.length)return!1;for(var i=0;i<e.length;i++)if(e[i]!==t[i]&&(!n||i!==e.length-1))return!1;return!0};r.append=function(e,t){if(t=o(t),0!==e.length){var n=e[e.length-1];if(null==t.si&&null==t.sd||null==n.si&&null==n.sd||(s(t),s(n)),c(t.p,n.p))if(t.t&&n.t&&t.t===n.t&&a[t.t]){if(n.o=a[t.t].compose(n.o,t.o),null!=t.si||null!=t.sd){for(var i=t.p,r=0;r<n.o.length-1;r++)t.o=[n.o.pop()],t.p=i.slice(),l(t),e.push(t);l(n)}}else null!=n.na&&null!=t.na?e[e.length-1]={p:n.p,na:n.na+t.na}:void 0!==n.li&&void 0===t.li&&t.ld===n.li?void 0!==n.ld?delete n.li:e.pop():void 0!==n.od&&void 0===n.oi&&void 0!==t.oi&&void 0===t.od?n.oi=t.oi:void 0!==n.oi&&void 0!==t.od?void 0!==t.oi?n.oi=t.oi:void 0!==n.od?delete n.oi:e.pop():void 0!==t.lm&&t.p[t.p.length-1]===t.lm||e.push(t);else null==t.si&&null==t.sd||null==n.si&&null==n.sd||(l(t),l(n)),e.push(t)}else e.push(t)},r.compose=function(e,t){r.checkValidOp(e),r.checkValidOp(t);for(var n=o(e),i=0;i<t.length;i++)r.append(n,t[i]);return n},r.normalize=function(e){var t=[];e=i(e)?e:[e];for(var n=0;n<e.length;n++){var o=e[n];null==o.p&&(o.p=[]),r.append(t,o)}return t},r.commonLengthForOps=function(e,t){var n=e.p.length,i=t.p.length;if((null!=e.na||e.t)&&n++,(null!=t.na||t.t)&&i++,0===n)return-1;if(0===i)return null;n--,i--;for(var o=0;o<n;o++){var r=e.p[o];if(o>=i||r!==t.p[o])return null}return n},r.canOpAffectPath=function(e,t){return null!=r.commonLengthForOps({p:t},e)},r.transformComponent=function(e,t,n,c){t=o(t);var u=r.commonLengthForOps(n,t),d=r.commonLengthForOps(t,n),p=t.p.length,f=n.p.length;if((null!=t.na||t.t)&&p++,(null!=n.na||n.t)&&f++,null!=d&&f>p&&t.p[d]==n.p[d])if(void 0!==t.ld)(h=o(n)).p=h.p.slice(p),t.ld=r.apply(o(t.ld),[h]);else if(void 0!==t.od){(h=o(n)).p=h.p.slice(p),t.od=r.apply(o(t.od),[h])}if(null!=u){var m=p==f,h=n;if(null==t.si&&null==t.sd||null==n.si&&null==n.sd||(s(t),s(h=o(n))),h.t&&a[h.t]){if(t.t&&t.t===h.t){var g=a[t.t].transform(t.o,h.o,c);if(null!=t.si||null!=t.sd)for(var v=t.p,_=0;_<g.length;_++)t.o=[g[_]],t.p=v.slice(),l(t),r.append(e,t);else(!i(g)||g.length>0)&&(t.o=g,r.append(e,t));return e}}else if(void 0!==n.na);else if(void 0!==n.li&&void 0!==n.ld){if(n.p[u]===t.p[u]){if(!m)return e;if(void 0!==t.ld){if(void 0===t.li||"left"!==c)return e;t.ld=o(n.li)}}}else if(void 0!==n.li)void 0!==t.li&&void 0===t.ld&&m&&t.p[u]===n.p[u]?"right"===c&&t.p[u]++:n.p[u]<=t.p[u]&&t.p[u]++,void 0!==t.lm&&m&&n.p[u]<=t.lm&&t.lm++;else if(void 0!==n.ld){if(void 0!==t.lm&&m){if(n.p[u]===t.p[u])return e;v=n.p[u];var b=t.p[u];(v<(y=t.lm)||v===y&&b<y)&&t.lm--}if(n.p[u]<t.p[u])t.p[u]--;else if(n.p[u]===t.p[u]){if(f<p)return e;if(void 0!==t.ld){if(void 0===t.li)return e;delete t.ld}}}else if(void 0!==n.lm)if(void 0!==t.lm&&p===f){b=t.p[u];var y=t.lm,w=n.p[u],x=n.lm;if(w!==x)if(b===w){if("left"!==c)return e;t.p[u]=x,b===y&&(t.lm=x)}else b>w&&t.p[u]--,b>x?t.p[u]++:b===x&&w>x&&(t.p[u]++,b===y&&t.lm++),y>w?t.lm--:y===w&&y>b&&t.lm--,y>x?t.lm++:y===x&&(x>w&&y>b||x<w&&y<b?"right"===c&&t.lm++:y>b?t.lm++:y===w&&t.lm--)}else if(void 0!==t.li&&void 0===t.ld&&m){b=n.p[u],y=n.lm;(v=t.p[u])>b&&t.p[u]--,v>y&&t.p[u]++}else{b=n.p[u],y=n.lm;(v=t.p[u])===b?t.p[u]=y:(v>b&&t.p[u]--,v>y?t.p[u]++:v===y&&b>y&&t.p[u]++)}else if(void 0!==n.oi&&void 0!==n.od){if(t.p[u]===n.p[u]){if(void 0===t.oi||!m)return e;if("right"===c)return e;t.od=n.oi}}else if(void 0!==n.oi){if(void 0!==t.oi&&t.p[u]===n.p[u]){if("left"!==c)return e;r.append(e,{p:t.p,od:n.oi})}}else if(void 0!==n.od&&t.p[u]==n.p[u]){if(!m)return e;if(void 0===t.oi)return e;delete t.od}}return r.append(e,t),e},e("./bootstrapTransform")(r,r.transformComponent,r.checkValidOp,r.append);var u=e("./text0");r.registerSubtype(u),t.exports=r},{"./bootstrapTransform":104,"./text0":107}],107:[function(e,t,n){var i=t.exports={name:"text0",uri:"http://sharejs.org/types/textv0",create:function(e){if(null!=e&&"string"!=typeof e)throw new Error("Initial data must be a string");return e||""}},o=function(e,t,n){return e.slice(0,t)+n+e.slice(t)},r=function(e){if("number"!=typeof e.p)throw new Error("component missing position field");if("string"==typeof e.i==("string"==typeof e.d))throw new Error("component needs an i or d field");if(e.p<0)throw new Error("position cannot be negative")},a=function(e){for(var t=0;t<e.length;t++)r(e[t])};i.apply=function(e,t){var n;a(t);for(var i=0;i<t.length;i++){var r=t[i];if(null!=r.i)e=o(e,r.p,r.i);else{if(n=e.slice(r.p,r.p+r.d.length),r.d!==n)throw new Error("Delete component '"+r.d+"' does not match deleted text '"+n+"'");e=e.slice(0,r.p)+e.slice(r.p+r.d.length)}}return e};var s=i._append=function(e,t){if(""!==t.i&&""!==t.d)if(0===e.length)e.push(t);else{var n=e[e.length-1];null!=n.i&&null!=t.i&&n.p<=t.p&&t.p<=n.p+n.i.length?e[e.length-1]={i:o(n.i,t.p-n.p,t.i),p:n.p}:null!=n.d&&null!=t.d&&t.p<=n.p&&n.p<=t.p+t.d.length?e[e.length-1]={d:o(t.d,n.p-t.p,n.d),p:t.p}:e.push(t)}};i.compose=function(e,t){a(e),a(t);for(var n=e.slice(),i=0;i<t.length;i++)s(n,t[i]);return n},i.normalize=function(e){var t=[];null==e.i&&null==e.p||(e=[e]);for(var n=0;n<e.length;n++){var i=e[n];null==i.p&&(i.p=0),s(t,i)}return t};var l=function(e,t,n){return null!=t.i?t.p<e||t.p===e&&n?e+t.i.length:e:e<=t.p?e:e<=t.p+t.d.length?t.p:e-t.d.length};i.transformCursor=function(e,t,n){for(var i="right"===n,o=0;o<t.length;o++)e=l(e,t[o],i);return e};var c=i._tc=function(e,t,n,i){if(r(t),r(n),null!=t.i)s(e,{i:t.i,p:l(t.p,n,"right"===i)});else if(null!=n.i){var o=t.d;t.p<n.p&&(s(e,{d:o.slice(0,n.p-t.p),p:t.p}),o=o.slice(n.p-t.p)),""!==o&&s(e,{d:o,p:t.p+n.i.length})}else if(t.p>=n.p+n.d.length)s(e,{d:t.d,p:t.p-n.d.length});else if(t.p+t.d.length<=n.p)s(e,t);else{var a={d:"",p:t.p};t.p<n.p&&(a.d=t.d.slice(0,n.p-t.p)),t.p+t.d.length>n.p+n.d.length&&(a.d+=t.d.slice(n.p+n.d.length-t.p));var c=Math.max(t.p,n.p),u=Math.min(t.p+t.d.length,n.p+n.d.length);if(t.d.slice(c-t.p,u-t.p)!==n.d.slice(c-n.p,u-n.p))throw new Error("Delete ops delete different text in the same region of the document");""!==a.d&&(a.p=l(a.p,n),s(e,a))}return e};i.invert=function(e){e=e.slice().reverse();for(var t=0;t<e.length;t++)e[t]=null!=(n=e[t]).i?{d:n.i,p:n.p}:{i:n.d,p:n.p};var n;return e},e("./bootstrapTransform")(i,c,a,s)},{"./bootstrapTransform":104}],108:[function(e,t,n){n.encode=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t},n.decode=function(e){for(var t={},n=e.split("&"),i=0,o=n.length;i<o;i++){var r=n[i].split("=");t[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return t}},{}],109:[function(e,t,n){var i=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,o=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];t.exports=function(e){var t=e,n=e.indexOf("["),r=e.indexOf("]");-1!=n&&-1!=r&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));for(var a=i.exec(e||""),s={},l=14;l--;)s[o[l]]=a[l]||"";return-1!=n&&-1!=r&&(s.source=t,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s}},{}],110:[function(e,t,n){(function(e){var i,o;"object"==typeof navigator&&(i=this,o=function(){"use strict";function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),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 r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(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")}()}var s={addCSS:!0,thumbWidth:15,watch:!0},l=function(e){return null!=e?e.constructor:null},c=function(e,t){return Boolean(e&&t&&e instanceof t)},u=function(e){return null==e},d=function(e){return l(e)===Object},p=function(e){return l(e)===String},f=function(e){return Array.isArray(e)},m=function(e){return c(e,NodeList)},h={nullOrUndefined:u,object:d,number:function(e){return l(e)===Number&&!Number.isNaN(e)},string:p,boolean:function(e){return l(e)===Boolean},function:function(e){return l(e)===Function},array:f,nodeList:m,element:function(e){return c(e,Element)},event:function(e){return c(e,Event)},empty:function(e){return u(e)||(p(e)||f(e)||m(e))&&!e.length||d(e)&&!Object.keys(e).length}};var g,v,_,b=function(){function e(n,i){t(this,e),h.element(n)?this.element=n:h.string(n)&&(this.element=document.querySelector(n)),h.element(this.element)&&h.empty(this.element.rangeTouch)&&(this.config=Object.assign({},s,i),this.init())}return i(e,[{key:"init",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){e.enabled&&(this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(e){var t=this,n=e?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach(function(e){t.element[n](e,function(e){return t.set(e)},!1)})}},{key:"get",value:function(t){if(!e.enabled||!h.event(t))return null;var n,i=t.target,o=t.changedTouches[0],r=parseFloat(i.getAttribute("min"))||0,a=parseFloat(i.getAttribute("max"))||100,s=parseFloat(i.getAttribute("step"))||1,l=a-r,c=i.getBoundingClientRect(),u=100/c.width*(this.config.thumbWidth/2)/100;return(n=100/c.width*(o.clientX-c.left))<0?n=0:n>100&&(n=100),n<50?n-=(100-2*n)*u:n>50&&(n+=2*(n-50)*u),r+function(e,t){if(t<1){var n=(i="".concat(t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/))?Math.max(0,(i[1]?i[1].length:0)-(i[2]?+i[2]:0)):0;return parseFloat(e.toFixed(n))}var i;return Math.round(e/t)*t}(l*(n/100),s)}},{key:"set",value:function(t){e.enabled&&h.event(t)&&!t.target.disabled&&(t.preventDefault(),t.target.value=this.get(t),function(e,t){if(e&&t){var n=new Event(t);e.dispatchEvent(n)}}(t.target,"touchend"===t.type?"change":"input"))}}],[{key:"setup",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;if(h.empty(t)||h.string(t)?i=Array.from(document.querySelectorAll(h.string(t)?t:'input[type="range"]')):h.element(t)?i=[t]:h.nodeList(t)?i=Array.from(t):h.array(t)&&(i=t.filter(h.element)),h.empty(i))return null;var o=Object.assign({},s,n);return h.string(t)&&o.watch&&new MutationObserver(function(n){Array.from(n).forEach(function(n){Array.from(n.addedNodes).forEach(function(n){var i;h.element(n)&&function(){return Array.from(document.querySelectorAll(i)).includes(this)}.call(n,i=t)&&new e(n,o)})})}).observe(document.body,{childList:!0,subtree:!0}),i.map(function(t){return new e(t,n)})}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),e}(),y=function(e){return null!=e?e.constructor:null},w=function(e,t){return Boolean(e&&t&&e instanceof t)},x=function(e){return null==e},k=function(e){return y(e)===Object},A=function(e){return y(e)===String},C=function(e){return Array.isArray(e)},S=function(e){return w(e,NodeList)},M=function(e){return x(e)||(A(e)||C(e)||S(e))&&!e.length||k(e)&&!Object.keys(e).length},P={nullOrUndefined:x,object:k,number:function(e){return y(e)===Number&&!Number.isNaN(e)},string:A,boolean:function(e){return y(e)===Boolean},function:function(e){return y(e)===Function},array:C,weakMap:function(e){return w(e,WeakMap)},nodeList:S,element:function(e){return w(e,Element)},textNode:function(e){return y(e)===Text},event:function(e){return w(e,Event)},keyboardEvent:function(e){return w(e,KeyboardEvent)},cue:function(e){return w(e,window.TextTrackCue)||w(e,window.VTTCue)},track:function(e){return w(e,TextTrack)||!x(e)&&A(e.kind)},promise:function(e){return w(e,Promise)},url:function(e){if(w(e,window.URL))return!0;if(!A(e))return!1;var t=e;e.startsWith("http://")&&e.startsWith("https://")||(t="http://".concat(e));try{return!M(new URL(t).hostname)}catch(e){return!1}},empty:M},O=(g=document.createElement("span"),v={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},_=Object.keys(v).find(function(e){return void 0!==g.style[e]}),!!P.string(_)&&v[_]);function T(e,t){setTimeout(function(){try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch(e){}},t)}var E={isIE:!!document.documentMode,isEdge:window.navigator.userAgent.includes("Edge"),isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:/(iPad|iPhone|iPod)/gi.test(navigator.platform)},N=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,null}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}();function $(e,t,n){var i=this,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(e&&"addEventListener"in e&&!P.empty(t)&&P.function(n)){var s=t.split(" "),l=a;N&&(l={passive:r,capture:a}),s.forEach(function(t){i&&i.eventListeners&&o&&i.eventListeners.push({element:e,type:t,callback:n,options:l}),e[o?"addEventListener":"removeEventListener"](t,n,l)})}}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];$.call(this,e,t,n,!0,i,o)}function q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];$.call(this,e,t,n,!1,i,o)}function L(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];$.call(this,e,n,function a(){q(e,n,a,o,r);for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];i.apply(t,l)},!0,o,r)}function F(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(P.element(e)&&!P.empty(t)){var o=new CustomEvent(t,{bubbles:n,detail:Object.assign({},i,{plyr:this})});e.dispatchEvent(o)}}function D(e,t){return t.split(".").reduce(function(e,t){return e&&e[t]},e)}function R(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];if(!n.length)return e;var r=n.shift();return P.object(r)?(Object.keys(r).forEach(function(t){P.object(r[t])?(Object.keys(e).includes(t)||Object.assign(e,o({},t,{})),R(e[t],r[t])):Object.assign(e,o({},t,r[t]))}),R.apply(void 0,[e].concat(n))):e}function z(e,t){var n=e.length?e:[e];Array.from(n).reverse().forEach(function(e,n){var i=n>0?t.cloneNode(!0):t,o=e.parentNode,r=e.nextSibling;i.appendChild(e),r?o.insertBefore(i,r):o.appendChild(i)})}function B(e,t){P.element(e)&&!P.empty(t)&&Object.entries(t).filter(function(e){var t=r(e,2)[1];return!P.nullOrUndefined(t)}).forEach(function(t){var n=r(t,2),i=n[0],o=n[1];return e.setAttribute(i,o)})}function I(e,t,n){var i=document.createElement(e);return P.object(t)&&B(i,t),P.string(n)&&(i.innerText=n),i}function H(e,t,n,i){P.element(t)&&t.appendChild(I(e,n,i))}function U(e){P.nodeList(e)||P.array(e)?Array.from(e).forEach(U):P.element(e)&&P.element(e.parentNode)&&e.parentNode.removeChild(e)}function V(e){if(P.element(e))for(var t=e.childNodes.length;t>0;)e.removeChild(e.lastChild),t-=1}function W(e,t){return P.element(t)&&P.element(t.parentNode)&&P.element(e)?(t.parentNode.replaceChild(e,t),e):null}function Y(e,t){if(!P.string(e)||P.empty(e))return{};var n={},i=R({},t);return e.split(",").forEach(function(e){var t=e.trim(),o=t.replace(".",""),a=t.replace(/[[\]]/g,"").split("="),s=r(a,1)[0],l=a.length>1?a[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":P.string(i.class)?n.class="".concat(i.class," ").concat(o):n.class=o;break;case"#":n.id=t.replace("#","");break;case"[":n[s]=l}}),R(i,n)}function G(e,t){if(P.element(e)){var n=t;P.boolean(n)||(n=!e.hidden),e.hidden=n}}function K(e,t,n){if(P.nodeList(e))return Array.from(e).map(function(e){return K(e,t,n)});if(P.element(e)){var i="toggle";return void 0!==n&&(i=n?"add":"remove"),e.classList[i](t),e.classList.contains(t)}return!1}function J(e,t){return P.element(e)&&e.classList.contains(t)}function X(e,t){return function(){return Array.from(document.querySelectorAll(t)).includes(this)}.call(e,t)}function Z(e){return this.elements.container.querySelectorAll(e)}function Q(e){return this.elements.container.querySelector(e)}function ee(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];P.element(e)&&(e.focus({preventScroll:!0}),t&&K(e,this.config.classNames.tabFocus))}var te,ne={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},ie={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check:function(e,t,n){var i=E.isIPhone&&n&&ie.playsinline,o=ie[e]||"html5"!==t;return{api:o,ui:o&&ie.rangeInput&&("video"!==e||!E.isIPhone||i)}},pip:!(E.isIPhone||!P.function(I("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||I("video").disablePictureInPicture)),airplay:P.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime:function(e){if(P.empty(e))return!1;var t=r(e.split("/"),1)[0],n=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(ne).includes(n)&&(n+='; codecs="'.concat(ne[e],'"'));try{return Boolean(n&&this.media.canPlayType(n).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(te=document.createElement("input"),te.type="range","range"===te.type),touch:"ontouchstart"in document.documentElement,transitions:!1!==O,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches};function oe(e){return!!(P.array(e)||P.string(e)&&e.includes(":"))&&(P.array(e)?e:e.split(":")).map(Number).every(P.number)}function re(e){if(!P.array(e)||!e.every(P.number))return null;var t=r(e,2),n=t[0],i=t[1],o=function e(t,n){return 0===n?t:e(n,t%n)}(n,i);return[n/o,i/o]}function ae(e){var t=function(e){return oe(e)?e.split(":").map(Number):null},n=t(e);if(null===n&&(n=t(this.config.ratio)),null===n&&!P.empty(this.embed)&&P.array(this.embed.ratio)&&(n=this.embed.ratio),null===n&&this.isHTML5){var i=this.media;n=re([i.videoWidth,i.videoHeight])}return n}function se(e){if(!this.isVideo)return{};var t=ae.call(this,e),n=r(P.array(t)?t:[0,0],2),i=100/n[0]*n[1];if(this.elements.wrapper.style.paddingBottom="".concat(i,"%"),this.isVimeo&&this.supported.ui){var o=(240-i)/4.8;this.media.style.transform="translateY(-".concat(o,"%)")}else this.isHTML5&&this.elements.wrapper.classList.toggle(this.config.classNames.videoFixedRatio,null!==t);return{padding:i,ratio:t}}var le={getSources:function(){var e=this;return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter(function(t){var n=t.getAttribute("type");return!!P.empty(n)||ie.mime.call(e,n)}):[]},getQualityOptions:function(){return le.getSources.call(this).map(function(e){return Number(e.getAttribute("size"))}).filter(Boolean)},extend:function(){if(this.isHTML5){var e=this;P.empty(this.config.ratio)||se.call(e),Object.defineProperty(e.media,"quality",{get:function(){var t=le.getSources.call(e).find(function(t){return t.getAttribute("src")===e.source});return t&&Number(t.getAttribute("size"))},set:function(t){var n=le.getSources.call(e).find(function(e){return Number(e.getAttribute("size"))===t});if(n){var i=e.media,o=i.currentTime,r=i.paused,a=i.preload,s=i.readyState;e.media.src=n.getAttribute("src"),("none"!==a||s)&&(e.once("loadedmetadata",function(){e.currentTime=o,r||e.play()}),e.media.load()),F.call(e,e.media,"qualitychange",!1,{quality:t})}}})}},cancelRequests:function(){this.isHTML5&&(U(le.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function ce(e){return P.array(e)?e.filter(function(t,n){return e.indexOf(t)===n}):e}function ue(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return P.empty(e)?e:e.toString().replace(/{(\d+)}/g,function(e,t){return n[t].toString()})}function de(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1"),"g"),n.toString())}function pe(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString().replace(/\w\S*/g,function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})}function fe(e){var t=document.createElement("div");return t.appendChild(e),t.innerHTML}var me={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},he=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(P.empty(e)||P.empty(t))return"";var n=D(t.i18n,e);if(P.empty(n))return Object.keys(me).includes(e)?me[e]:"";var i={"{seektime}":t.seekTime,"{title}":t.title};return Object.entries(i).forEach(function(e){var t=r(e,2),i=t[0],o=t[1];n=de(n,i,o)}),n},ge=function(){function e(n){t(this,e),this.enabled=n.config.storage.enabled,this.key=n.config.storage.key}return i(e,[{key:"get",value:function(t){if(!e.supported||!this.enabled)return null;var n=window.localStorage.getItem(this.key);if(P.empty(n))return null;var i=JSON.parse(n);return P.string(t)&&t.length?i[t]:i}},{key:"set",value:function(t){if(e.supported&&this.enabled&&P.object(t)){var n=this.get();P.empty(n)&&(n={}),R(n,t),window.localStorage.setItem(this.key,JSON.stringify(n))}}}],[{key:"supported",get:function(){try{return"localStorage"in window&&(window.localStorage.setItem("___test","___test"),window.localStorage.removeItem("___test"),!0)}catch(e){return!1}}}]),e}();function ve(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return new Promise(function(n,i){try{var o=new XMLHttpRequest;if(!("withCredentials"in o))return;o.addEventListener("load",function(){if("text"===t)try{n(JSON.parse(o.responseText))}catch(e){n(o.responseText)}else n(o.response)}),o.addEventListener("error",function(){throw new Error(o.status)}),o.open("GET",e,!0),o.responseType=t,o.send()}catch(e){i(e)}})}function _e(e,t){if(P.string(e)){var n=P.string(t),i=function(){return null!==document.getElementById(t)},o=function(e,t){e.innerHTML=t,n&&i()||document.body.insertAdjacentElement("afterbegin",e)};if(!n||!i()){var r=ge.supported,a=document.createElement("div");if(a.setAttribute("hidden",""),n&&a.setAttribute("id",t),r){var s=window.localStorage.getItem("".concat("cache","-").concat(t));if(null!==s){var l=JSON.parse(s);o(a,l.content)}}ve(e).then(function(e){P.empty(e)||(r&&window.localStorage.setItem("".concat("cache","-").concat(t),JSON.stringify({content:e})),o(a,e))}).catch(function(){})}}}var be=function(e){return Math.trunc(e/60/60%60,10)},ye=function(e){return Math.trunc(e/60%60,10)},we=function(e){return Math.trunc(e%60,10)};function xe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!P.number(e))return xe(null,t,n);var i=function(e){return"0".concat(e).slice(-2)},o=be(e),r=ye(e),a=we(e);return o=t||o>0?"".concat(o,":"):"","".concat(n&&e>0?"-":"").concat(o).concat(i(r),":").concat(i(a))}var ke={getIconUrl:function(){var e=new URL(this.config.iconUrl,window.location).host!==window.location.host||E.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:e}},findElements:function(){try{return this.elements.controls=Q.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:Z.call(this,this.config.selectors.buttons.play),pause:Q.call(this,this.config.selectors.buttons.pause),restart:Q.call(this,this.config.selectors.buttons.restart),rewind:Q.call(this,this.config.selectors.buttons.rewind),fastForward:Q.call(this,this.config.selectors.buttons.fastForward),mute:Q.call(this,this.config.selectors.buttons.mute),pip:Q.call(this,this.config.selectors.buttons.pip),airplay:Q.call(this,this.config.selectors.buttons.airplay),settings:Q.call(this,this.config.selectors.buttons.settings),captions:Q.call(this,this.config.selectors.buttons.captions),fullscreen:Q.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=Q.call(this,this.config.selectors.progress),this.elements.inputs={seek:Q.call(this,this.config.selectors.inputs.seek),volume:Q.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:Q.call(this,this.config.selectors.display.buffer),currentTime:Q.call(this,this.config.selectors.display.currentTime),duration:Q.call(this,this.config.selectors.display.duration)},P.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip))),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon:function(e,t){var n=ke.getIconUrl.call(this),i="".concat(n.cors?"":n.url,"#").concat(this.config.iconPrefix),o=document.createElementNS("http://www.w3.org/2000/svg","svg");B(o,R(t,{role:"presentation",focusable:"false"}));var r=document.createElementNS("http://www.w3.org/2000/svg","use"),a="".concat(i,"-").concat(e);return"href"in r&&r.setAttributeNS("http://www.w3.org/1999/xlink","href",a),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a),o.appendChild(r),o},createLabel:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=he(e,this.config);return I("span",Object.assign({},t,{class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")}),n)},createBadge:function(e){if(P.empty(e))return null;var t=I("span",{class:this.config.classNames.menu.value});return t.appendChild(I("span",{class:this.config.classNames.menu.badge},e)),t},createButton:function(e,t){var n=this,i=R({},t),o=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return(e=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return de(e=pe(e=de(e=de(e,"-"," "),"_"," "))," ","")}(e)).charAt(0).toLowerCase()+e.slice(1)}(e),r={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach(function(e){Object.keys(i).includes(e)&&(r[e]=i[e],delete i[e])}),"button"!==r.element||Object.keys(i).includes("type")||(i.type="button"),Object.keys(i).includes("class")?i.class.split(" ").some(function(e){return e===n.config.classNames.control})||R(i,{class:"".concat(i.class," ").concat(this.config.classNames.control)}):i.class=this.config.classNames.control,e){case"play":r.toggle=!0,r.label="play",r.labelPressed="pause",r.icon="play",r.iconPressed="pause";break;case"mute":r.toggle=!0,r.label="mute",r.labelPressed="unmute",r.icon="volume",r.iconPressed="muted";break;case"captions":r.toggle=!0,r.label="enableCaptions",r.labelPressed="disableCaptions",r.icon="captions-off",r.iconPressed="captions-on";break;case"fullscreen":r.toggle=!0,r.label="enterFullscreen",r.labelPressed="exitFullscreen",r.icon="enter-fullscreen",r.iconPressed="exit-fullscreen";break;case"play-large":i.class+=" ".concat(this.config.classNames.control,"--overlaid"),o="play",r.label="play",r.icon="play";break;default:P.empty(r.label)&&(r.label=o),P.empty(r.icon)&&(r.icon=e)}var a=I(r.element);return r.toggle?(a.appendChild(ke.createIcon.call(this,r.iconPressed,{class:"icon--pressed"})),a.appendChild(ke.createIcon.call(this,r.icon,{class:"icon--not-pressed"})),a.appendChild(ke.createLabel.call(this,r.labelPressed,{class:"label--pressed"})),a.appendChild(ke.createLabel.call(this,r.label,{class:"label--not-pressed"}))):(a.appendChild(ke.createIcon.call(this,r.icon)),a.appendChild(ke.createLabel.call(this,r.label))),R(i,Y(this.config.selectors.buttons[o],i)),B(a,i),"play"===o?(P.array(this.elements.buttons[o])||(this.elements.buttons[o]=[]),this.elements.buttons[o].push(a)):this.elements.buttons[o]=a,a},createRange:function(e,t){var n=I("input",R(Y(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":he(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=n,ke.updateRangeFill.call(this,n),b.setup(n),n},createProgress:function(e,t){var n=I("progress",R(Y(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if("volume"!==e){n.appendChild(I("span",null,"0"));var i={played:"played",buffer:"buffered"}[e],o=i?he(i,this.config):"";n.innerText="% ".concat(o.toLowerCase())}return this.elements.display[e]=n,n},createTime:function(e,t){var n=Y(this.config.selectors.display[e],t),i=I("div",R(n,{class:"".concat(n.class?n.class:""," ").concat(this.config.classNames.display.time," ").trim(),"aria-label":he(e,this.config)}),"00:00");return this.elements.display[e]=i,i},bindMenuItemShortcuts:function(e,t){var n=this;j(e,"keydown keyup",function(i){if([32,38,39,40].includes(i.which)&&(i.preventDefault(),i.stopPropagation(),"keydown"!==i.type)){var o,r=X(e,'[role="menuitemradio"]');!r&&[32,39].includes(i.which)?ke.showMenuPanel.call(n,t,!0):32!==i.which&&(40===i.which||r&&39===i.which?(o=e.nextElementSibling,P.element(o)||(o=e.parentNode.firstElementChild)):(o=e.previousElementSibling,P.element(o)||(o=e.parentNode.lastElementChild)),ee.call(n,o,!0))}},!1),j(e,"keyup",function(e){13===e.which&&ke.focusFirstMenuItem.call(n,null,!0)})},createMenuItem:function(e){var t=this,n=e.value,i=e.list,o=e.type,r=e.title,a=e.badge,s=void 0===a?null:a,l=e.checked,c=void 0!==l&&l,u=Y(this.config.selectors.inputs[o]),d=I("button",R(u,{type:"button",role:"menuitemradio",class:"".concat(this.config.classNames.control," ").concat(u.class?u.class:"").trim(),"aria-checked":c,value:n})),p=I("span");p.innerHTML=r,P.element(s)&&p.appendChild(s),d.appendChild(p),Object.defineProperty(d,"checked",{enumerable:!0,get:function(){return"true"===d.getAttribute("aria-checked")},set:function(e){e&&Array.from(d.parentNode.children).filter(function(e){return X(e,'[role="menuitemradio"]')}).forEach(function(e){return e.setAttribute("aria-checked","false")}),d.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(d,"click keyup",function(e){if(!P.keyboardEvent(e)||32===e.which){switch(e.preventDefault(),e.stopPropagation(),d.checked=!0,o){case"language":t.currentTrack=Number(n);break;case"quality":t.quality=n;break;case"speed":t.speed=parseFloat(n)}ke.showMenuPanel.call(t,"home",P.keyboardEvent(e))}},o,!1),ke.bindMenuItemShortcuts.call(this,d,o),i.appendChild(d)},formatTime:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return P.number(e)?xe(e,be(this.duration)>0,t):e},updateTimeDisplay:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];P.element(e)&&P.number(t)&&(e.innerText=ke.formatTime(t,n))},updateVolume:function(){this.supported.ui&&(P.element(this.elements.inputs.volume)&&ke.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),P.element(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;P.element(e)&&(e.value=t,ke.updateRangeFill.call(this,e))},updateProgress:function(e){var t=this;if(this.supported.ui&&P.event(e)){var n,i,o=0;if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":n=this.currentTime,i=this.duration,o=0===n||0===i||Number.isNaN(n)||Number.isNaN(i)?0:(n/i*100).toFixed(2),"timeupdate"===e.type&&ke.setRange.call(this,this.elements.inputs.seek,o);break;case"playing":case"progress":!function(e,n){var i=P.number(n)?n:0,o=P.element(e)?e:t.elements.display.buffer;if(P.element(o)){o.value=i;var r=o.getElementsByTagName("span")[0];P.element(r)&&(r.childNodes[0].nodeValue=i)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(e){var t=P.event(e)?e.target:e;if(P.element(t)&&"range"===t.getAttribute("type")){if(X(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);var n=ke.formatTime(this.currentTime),i=ke.formatTime(this.duration),o=he("seekLabel",this.config);t.setAttribute("aria-valuetext",o.replace("{currentTime}",n).replace("{duration}",i))}else if(X(t,this.config.selectors.inputs.volume)){var r=100*t.value;t.setAttribute("aria-valuenow",r),t.setAttribute("aria-valuetext","".concat(r.toFixed(1),"%"))}else t.setAttribute("aria-valuenow",t.value);E.isWebkit&&t.style.setProperty("--value","".concat(t.value/t.max*100,"%"))}},updateSeekTooltip:function(e){var t=this;if(this.config.tooltips.seek&&P.element(this.elements.inputs.seek)&&P.element(this.elements.display.seekTooltip)&&0!==this.duration){var n="".concat(this.config.classNames.tooltip,"--visible"),i=function(e){return K(t.elements.display.seekTooltip,n,e)};if(this.touch)i(!1);else{var o=0,r=this.elements.progress.getBoundingClientRect();if(P.event(e))o=100/r.width*(e.pageX-r.left);else{if(!J(this.elements.display.seekTooltip,n))return;o=parseFloat(this.elements.display.seekTooltip.style.left,10)}o<0?o=0:o>100&&(o=100),ke.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*o),this.elements.display.seekTooltip.style.left="".concat(o,"%"),P.event(e)&&["mouseenter","mouseleave"].includes(e.type)&&i("mouseenter"===e.type)}}},timeUpdate:function(e){var t=!P.element(this.elements.display.duration)&&this.config.invertTime;ke.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||ke.updateProgress.call(this,e)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return G(this.elements.display.currentTime,!0),void G(this.elements.progress,!0);P.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var e=P.element(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&ke.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&ke.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),ke.updateSeekTooltip.call(this)}},toggleMenuButton:function(e,t){G(this.elements.settings.buttons[e],!t)},updateSetting:function(e,t,n){var i=this.elements.settings.panels[e],o=null,r=t;if("captions"===e)o=this.currentTrack;else{if(o=P.empty(n)?this[e]:n,P.empty(o)&&(o=this.config[e].default),!P.empty(this.options[e])&&!this.options[e].includes(o))return void this.debug.warn("Unsupported value of '".concat(o,"' for ").concat(e));if(!this.config[e].options.includes(o))return void this.debug.warn("Disabled value of '".concat(o,"' for ").concat(e))}if(P.element(r)||(r=i&&i.querySelector('[role="menu"]')),P.element(r)){this.elements.settings.buttons[e].querySelector(".".concat(this.config.classNames.menu.value)).innerHTML=ke.getLabel.call(this,e,o);var a=r&&r.querySelector('[value="'.concat(o,'"]'));P.element(a)&&(a.checked=!0)}},getLabel:function(e,t){switch(e){case"speed":return 1===t?he("normal",this.config):"".concat(t,"×");case"quality":if(P.number(t)){var n=he("qualityLabel.".concat(t),this.config);return n.length?n:"".concat(t,"p")}return pe(t);case"captions":return Se.getLabel.call(this);default:return null}},setQualityMenu:function(e){var t=this;if(P.element(this.elements.settings.panels.quality)){var n=this.elements.settings.panels.quality.querySelector('[role="menu"]');P.array(e)&&(this.options.quality=ce(e).filter(function(e){return t.config.quality.options.includes(e)}));var i=!P.empty(this.options.quality)&&this.options.quality.length>1;if(ke.toggleMenuButton.call(this,"quality",i),V(n),ke.checkMenu.call(this),i){this.options.quality.sort(function(e,n){var i=t.config.quality.options;return i.indexOf(e)>i.indexOf(n)?1:-1}).forEach(function(e){ke.createMenuItem.call(t,{value:e,list:n,type:"quality",title:ke.getLabel.call(t,"quality",e),badge:function(e){var n=he("qualityBadge.".concat(e),t.config);return n.length?ke.createBadge.call(t,n):null}(e)})}),ke.updateSetting.call(this,"quality",n)}}},setCaptionsMenu:function(){var e=this;if(P.element(this.elements.settings.panels.captions)){var t=this.elements.settings.panels.captions.querySelector('[role="menu"]'),n=Se.getTracks.call(this),i=Boolean(n.length);if(ke.toggleMenuButton.call(this,"captions",i),V(t),ke.checkMenu.call(this),i){var o=n.map(function(n,i){return{value:i,checked:e.captions.toggled&&e.currentTrack===i,title:Se.getLabel.call(e,n),badge:n.language&&ke.createBadge.call(e,n.language.toUpperCase()),list:t,type:"language"}});o.unshift({value:-1,checked:!this.captions.toggled,title:he("disabled",this.config),list:t,type:"language"}),o.forEach(ke.createMenuItem.bind(this)),ke.updateSetting.call(this,"captions",t)}}},setSpeedMenu:function(e){var t=this;if(P.element(this.elements.settings.panels.speed)){var n=this.elements.settings.panels.speed.querySelector('[role="menu"]');P.array(e)?this.options.speed=e:(this.isHTML5||this.isVimeo)&&(this.options.speed=[.5,.75,1,1.25,1.5,1.75,2]),this.options.speed=this.options.speed.filter(function(e){return t.config.speed.options.includes(e)});var i=!P.empty(this.options.speed)&&this.options.speed.length>1;ke.toggleMenuButton.call(this,"speed",i),V(n),ke.checkMenu.call(this),i&&(this.options.speed.forEach(function(e){ke.createMenuItem.call(t,{value:e,list:n,type:"speed",title:ke.getLabel.call(t,"speed",e)})}),ke.updateSetting.call(this,"speed",n))}},checkMenu:function(){var e=this.elements.settings.buttons,t=!P.empty(e)&&Object.values(e).some(function(e){return!e.hidden});G(this.elements.settings.menu,!t)},focusFirstMenuItem:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.elements.settings.popup.hidden){var n=e;P.element(n)||(n=Object.values(this.elements.settings.panels).find(function(e){return!e.hidden}));var i=n.querySelector('[role^="menuitem"]');ee.call(this,i,t)}},toggleMenu:function(e){var t=this.elements.settings.popup,n=this.elements.buttons.settings;if(P.element(t)&&P.element(n)){var i=t.hidden,o=i;if(P.boolean(e))o=e;else if(P.keyboardEvent(e)&&27===e.which)o=!1;else if(P.event(e)){var r=P.function(e.composedPath)?e.composedPath()[0]:e.target,a=t.contains(r);if(a||!a&&e.target!==n&&o)return}n.setAttribute("aria-expanded",o),G(t,!o),K(this.elements.container,this.config.classNames.menu.open,o),o&&P.keyboardEvent(e)?ke.focusFirstMenuItem.call(this,null,!0):o||i||ee.call(this,n,P.keyboardEvent(e))}},getMenuSize:function(e){var t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);var n=t.scrollWidth,i=t.scrollHeight;return U(t),{width:n,height:i}},showMenuPanel:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.elements.container.querySelector("#plyr-settings-".concat(this.id,"-").concat(t));if(P.element(i)){var o=i.parentNode,r=Array.from(o.children).find(function(e){return!e.hidden});if(ie.transitions&&!ie.reducedMotion){o.style.width="".concat(r.scrollWidth,"px"),o.style.height="".concat(r.scrollHeight,"px");var a=ke.getMenuSize.call(this,i);j.call(this,o,O,function t(n){n.target===o&&["width","height"].includes(n.propertyName)&&(o.style.width="",o.style.height="",q.call(e,o,O,t))}),o.style.width="".concat(a.width,"px"),o.style.height="".concat(a.height,"px")}G(r,!0),G(i,!1),ke.focusFirstMenuItem.call(this,i,n)}},setDownloadUrl:function(){var e=this.elements.buttons.download;P.element(e)&&e.setAttribute("href",this.download)},create:function(e){var t=this,n=ke.bindMenuItemShortcuts,i=ke.createButton,o=ke.createProgress,r=ke.createRange,a=ke.createTime,s=ke.setQualityMenu,l=ke.setSpeedMenu,c=ke.showMenuPanel;this.elements.controls=null,this.config.controls.includes("play-large")&&this.elements.container.appendChild(i.call(this,"play-large"));var u=I("div",Y(this.config.selectors.controls.wrapper));this.elements.controls=u;var d={class:"plyr__controls__item"};return ce(this.config.controls).forEach(function(s){if("restart"===s&&u.appendChild(i.call(t,"restart",d)),"rewind"===s&&u.appendChild(i.call(t,"rewind",d)),"play"===s&&u.appendChild(i.call(t,"play",d)),"fast-forward"===s&&u.appendChild(i.call(t,"fast-forward",d)),"progress"===s){var l=I("div",{class:"".concat(d.class," plyr__progress__container")}),p=I("div",Y(t.config.selectors.progress));if(p.appendChild(r.call(t,"seek",{id:"plyr-seek-".concat(e.id)})),p.appendChild(o.call(t,"buffer")),t.config.tooltips.seek){var f=I("span",{class:t.config.classNames.tooltip},"00:00");p.appendChild(f),t.elements.display.seekTooltip=f}t.elements.progress=p,l.appendChild(t.elements.progress),u.appendChild(l)}if("current-time"===s&&u.appendChild(a.call(t,"currentTime",d)),"duration"===s&&u.appendChild(a.call(t,"duration",d)),"mute"===s||"volume"===s){var m=t.elements.volume;if(P.element(m)&&u.contains(m)||(m=I("div",R({},d,{class:"".concat(d.class," plyr__volume").trim()})),t.elements.volume=m,u.appendChild(m)),"mute"===s&&m.appendChild(i.call(t,"mute")),"volume"===s){var h={max:1,step:.05,value:t.config.volume};m.appendChild(r.call(t,"volume",R(h,{id:"plyr-volume-".concat(e.id)})))}}if("captions"===s&&u.appendChild(i.call(t,"captions",d)),"settings"===s&&!P.empty(t.config.settings)){var g=I("div",R({},d,{class:"".concat(d.class," plyr__menu").trim(),hidden:""}));g.appendChild(i.call(t,"settings",{"aria-haspopup":!0,"aria-controls":"plyr-settings-".concat(e.id),"aria-expanded":!1}));var v=I("div",{class:"plyr__menu__container",id:"plyr-settings-".concat(e.id),hidden:""}),_=I("div"),b=I("div",{id:"plyr-settings-".concat(e.id,"-home")}),y=I("div",{role:"menu"});b.appendChild(y),_.appendChild(b),t.elements.settings.panels.home=b,t.config.settings.forEach(function(i){var o=I("button",R(Y(t.config.selectors.buttons.settings),{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--forward"),role:"menuitem","aria-haspopup":!0,hidden:""}));n.call(t,o,i),j(o,"click",function(){c.call(t,i,!1)});var r=I("span",null,he(i,t.config)),a=I("span",{class:t.config.classNames.menu.value});a.innerHTML=e[i],r.appendChild(a),o.appendChild(r),y.appendChild(o);var s=I("div",{id:"plyr-settings-".concat(e.id,"-").concat(i),hidden:""}),l=I("button",{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--back")});l.appendChild(I("span",{"aria-hidden":!0},he(i,t.config))),l.appendChild(I("span",{class:t.config.classNames.hidden},he("menuBack",t.config))),j(s,"keydown",function(e){37===e.which&&(e.preventDefault(),e.stopPropagation(),c.call(t,"home",!0))},!1),j(l,"click",function(){c.call(t,"home",!1)}),s.appendChild(l),s.appendChild(I("div",{role:"menu"})),_.appendChild(s),t.elements.settings.buttons[i]=o,t.elements.settings.panels[i]=s}),v.appendChild(_),g.appendChild(v),u.appendChild(g),t.elements.settings.popup=v,t.elements.settings.menu=g}if("pip"===s&&ie.pip&&u.appendChild(i.call(t,"pip",d)),"airplay"===s&&ie.airplay&&u.appendChild(i.call(t,"airplay",d)),"download"===s){var w=R({},d,{element:"a",href:t.download,target:"_blank"}),x=t.config.urls.download;!P.url(x)&&t.isEmbed&&R(w,{icon:"logo-".concat(t.provider),label:t.provider}),u.appendChild(i.call(t,"download",w))}"fullscreen"===s&&u.appendChild(i.call(t,"fullscreen",d))}),this.isHTML5&&s.call(this,le.getQualityOptions.call(this)),l.call(this),u},inject:function(){var e=this;if(this.config.loadSprite){var t=ke.getIconUrl.call(this);t.cors&&_e(t.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());var n=null;this.elements.controls=null;var i={id:this.id,seektime:this.config.seekTime,title:this.config.title},o=!0;P.function(this.config.controls)&&(this.config.controls=this.config.controls.call(this,i)),this.config.controls||(this.config.controls=[]),P.element(this.config.controls)||P.string(this.config.controls)?n=this.config.controls:(n=ke.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:Se.getLabel.call(this)}),o=!1);var a,s=function(e){var t=e;return Object.entries(i).forEach(function(e){var n=r(e,2),i=n[0],o=n[1];t=de(t,"{".concat(i,"}"),o)}),t};if(o&&(P.string(this.config.controls)?n=s(n):P.element(n)&&(n.innerHTML=s(n.innerHTML))),P.string(this.config.selectors.controls.container)&&(a=document.querySelector(this.config.selectors.controls.container)),P.element(a)||(a=this.elements.container),a[P.element(n)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",n),P.element(this.elements.controls)||ke.findElements.call(this),!P.empty(this.elements.buttons)){var l=function(t){var n=e.config.classNames.controlPressed;Object.defineProperty(t,"pressed",{enumerable:!0,get:function(){return J(t,n)},set:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];K(t,n,e)}})};Object.values(this.elements.buttons).filter(Boolean).forEach(function(e){P.array(e)||P.nodeList(e)?Array.from(e).filter(Boolean).forEach(l):l(e)})}if(E.isEdge&&T(a),this.config.tooltips.controls){var c=this.config,u=c.classNames,d=c.selectors,p="".concat(d.controls.wrapper," ").concat(d.labels," .").concat(u.hidden),f=Z.call(this,p);Array.from(f).forEach(function(t){K(t,e.config.classNames.hidden,!1),K(t,e.config.classNames.tooltip,!0)})}}};function Ae(e){var t=e;if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]){var n=document.createElement("a");n.href=t,t=n.href}try{return new URL(t)}catch(e){return null}}function Ce(e){var t=new URLSearchParams;return P.object(e)&&Object.entries(e).forEach(function(e){var n=r(e,2),i=n[0],o=n[1];t.set(i,o)}),t}var Se={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!ie.textTracks)P.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&ke.setCaptionsMenu.call(this);else{if(P.element(this.elements.captions)||(this.elements.captions=I("div",Y(this.config.selectors.captions)),function(e,t){P.element(e)&&P.element(t)&&t.parentNode.insertBefore(e,t.nextSibling)}(this.elements.captions,this.elements.wrapper)),E.isIE&&window.URL){var e=this.media.querySelectorAll("track");Array.from(e).forEach(function(e){var t=e.getAttribute("src"),n=Ae(t);null!==n&&n.hostname!==window.location.href.hostname&&["http:","https:"].includes(n.protocol)&&ve(t,"blob").then(function(t){e.setAttribute("src",window.URL.createObjectURL(t))}).catch(function(){U(e)})})}var t=ce((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map(function(e){return e.split("-")[0]})),n=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===n&&(n=r(t,1)[0]);var i=this.storage.get("captions");if(P.boolean(i)||(i=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:i,language:n,languages:t}),this.isHTML5){var o=this.config.captions.update?"addtrack removetrack":"removetrack";j.call(this,this.media.textTracks,o,Se.update.bind(this))}setTimeout(Se.update.bind(this),0)}},update:function(){var e=this,t=Se.getTracks.call(this,!0),n=this.captions,i=n.active,o=n.language,r=n.meta,a=n.currentTrackNode,s=Boolean(t.find(function(e){return e.language===o}));this.isHTML5&&this.isVideo&&t.filter(function(e){return!r.get(e)}).forEach(function(t){e.debug.log("Track added",t),r.set(t,{default:"showing"===t.mode}),t.mode="hidden",j.call(e,t,"cuechange",function(){return Se.updateCues.call(e)})}),(s&&this.language!==o||!t.includes(a))&&(Se.setLanguage.call(this,o),Se.toggle.call(this,i&&s)),K(this.elements.container,this.config.classNames.captions.enabled,!P.empty(t)),(this.config.controls||[]).includes("settings")&&this.config.settings.includes("captions")&&ke.setCaptionsMenu.call(this)},toggle:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var n=this.captions.toggled,i=this.config.classNames.captions.active,o=P.nullOrUndefined(e)?!n:e;if(o!==n){if(t||(this.captions.active=o,this.storage.set({captions:o})),!this.language&&o&&!t){var r=Se.getTracks.call(this),s=Se.findTrack.call(this,[this.captions.language].concat(a(this.captions.languages)),!0);return this.captions.language=s.language,void Se.set.call(this,r.indexOf(s))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=o),K(this.elements.container,i,o),this.captions.toggled=o,ke.updateSetting.call(this,"captions"),F.call(this,this.media,o?"captionsenabled":"captionsdisabled")}}},set:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Se.getTracks.call(this);if(-1!==e)if(P.number(e))if(e in n){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;var i=n[e],o=(i||{}).language;this.captions.currentTrackNode=i,ke.updateSetting.call(this,"captions"),t||(this.captions.language=o,this.storage.set({language:o})),this.isVimeo&&this.embed.enableTextTrack(o),F.call(this,this.media,"languagechange")}Se.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&Se.updateCues.call(this)}else this.debug.warn("Track not found",e);else this.debug.warn("Invalid caption argument",e);else Se.toggle.call(this,!1,t)},setLanguage:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(P.string(e)){var n=e.toLowerCase();this.captions.language=n;var i=Se.getTracks.call(this),o=Se.findTrack.call(this,[n]);Se.set.call(this,i.indexOf(o),t)}else this.debug.warn("Invalid language argument",e)},getTracks:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Array.from((this.media||{}).textTracks||[]).filter(function(n){return!e.isHTML5||t||e.captions.meta.has(n)}).filter(function(e){return["captions","subtitles"].includes(e.kind)})},findTrack:function(e){var t,n=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=Se.getTracks.call(this),r=function(e){return Number((n.captions.meta.get(e)||{}).default)},a=Array.from(o).sort(function(e,t){return r(t)-r(e)});return e.every(function(e){return!(t=a.find(function(t){return t.language===e}))}),t||(i?a[0]:void 0)},getCurrentTrack:function(){return Se.getTracks.call(this)[this.currentTrack]},getLabel:function(e){var t=e;return!P.track(t)&&ie.textTracks&&this.captions.toggled&&(t=Se.getCurrentTrack.call(this)),P.track(t)?P.empty(t.label)?P.empty(t.language)?he("enabled",this.config):e.language.toUpperCase():t.label:he("disabled",this.config)},updateCues:function(e){if(this.supported.ui)if(P.element(this.elements.captions))if(P.nullOrUndefined(e)||Array.isArray(e)){var t=e;if(!t){var n=Se.getCurrentTrack.call(this);t=Array.from((n||{}).activeCues||[]).map(function(e){return e.getCueAsHTML()}).map(fe)}var i=t.map(function(e){return e.trim()}).join("\n");if(i!==this.elements.captions.innerHTML){V(this.elements.captions);var o=I("span",Y(this.config.selectors.caption));o.innerHTML=i,this.elements.captions.appendChild(o),F.call(this,this.media,"cuechange")}}else this.debug.warn("updateCues: Invalid input",e);else this.debug.warn("No captions element to render to")}},Me={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.5.6/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240]},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/v2/video/{0}.json"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus",previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1},youtube:{noCookie:!1,rel:0,showinfo:0,iv_load_policy:3,modestbranding:1}},Pe="picture-in-picture",Oe={html5:"html5",youtube:"youtube",vimeo:"vimeo"},Te={audio:"audio",video:"video"},Ee=function(){},Ne=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t(this,e),this.enabled=window.console&&n,this.enabled&&this.log("Debugging enabled")}return i(e,[{key:"log",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):Ee}},{key:"warn",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):Ee}},{key:"error",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):Ee}}]),e}();function $e(){if(this.enabled){var e=this.player.elements.buttons.fullscreen;P.element(e)&&(e.pressed=this.active),F.call(this.player,this.target,this.active?"enterfullscreen":"exitfullscreen",!0),E.isIos||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(P.element(e)){var n=Z.call(this,"button:not(:disabled), input:not(:disabled), [tabindex]"),i=n[0],o=n[n.length-1];$.call(this,this.elements.container,"keydown",function(e){if("Tab"===e.key&&9===e.keyCode){var t=document.activeElement;t!==o||e.shiftKey?t===i&&e.shiftKey&&(o.focus(),e.preventDefault()):(i.focus(),e.preventDefault())}},t,!1)}}.call(this.player,this.target,this.active)}}function je(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e?this.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=e?"hidden":"",K(this.target,this.player.config.classNames.fullscreen.fallback,e),E.isIos){var t=document.head.querySelector('meta[name="viewport"]'),n="viewport-fit=cover";t||(t=document.createElement("meta")).setAttribute("name","viewport");var i=P.string(t.content)&&t.content.includes(n);e?(this.cleanupViewport=!i,i||(t.content+=",".concat(n))):this.cleanupViewport&&(t.content=t.content.split(",").filter(function(e){return e.trim()!==n}).join(","))}$e.call(this)}var qe=function(){function e(n){var i=this;t(this,e),this.player=n,this.prefix=e.prefix,this.property=e.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===n.config.fullscreen.fallback,j.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":"".concat(this.prefix,"fullscreenchange"),function(){$e.call(i)}),j.call(this.player,this.player.elements.container,"dblclick",function(e){P.element(i.player.elements.controls)&&i.player.elements.controls.contains(e.target)||i.toggle()}),this.update()}return i(e,[{key:"update",value:function(){var t;this.enabled?(t=this.forceFallback?"Fallback (forced)":e.native?"Native":"Fallback",this.player.debug.log("".concat(t," fullscreen enabled"))):this.player.debug.log("Fullscreen not supported and fallback disabled"),K(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.enabled)}},{key:"enter",value:function(){this.enabled&&(E.isIos&&this.player.config.fullscreen.iosNative?this.target.webkitEnterFullscreen():!e.native||this.forceFallback?je.call(this,!0):this.prefix?P.empty(this.prefix)||this.target["".concat(this.prefix,"Request").concat(this.property)]():this.target.requestFullscreen())}},{key:"exit",value:function(){if(this.enabled)if(E.isIos&&this.player.config.fullscreen.iosNative)this.target.webkitExitFullscreen(),this.player.play();else if(!e.native||this.forceFallback)je.call(this,!1);else if(this.prefix){if(!P.empty(this.prefix)){var t="moz"===this.prefix?"Cancel":"Exit";document["".concat(this.prefix).concat(t).concat(this.property)]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)}},{key:"toggle",value:function(){this.active?this.exit():this.enter()}},{key:"usingNative",get:function(){return e.native&&!this.forceFallback}},{key:"enabled",get:function(){return(e.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:"active",get:function(){return!!this.enabled&&(!e.native||this.forceFallback?J(this.target,this.player.config.classNames.fullscreen.fallback):(this.prefix?document["".concat(this.prefix).concat(this.property,"Element")]:document.fullscreenElement)===this.target)}},{key:"target",get:function(){return E.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.container}}],[{key:"native",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:"prefix",get:function(){if(P.function(document.exitFullscreen))return"";var e="";return["webkit","moz","ms"].some(function(t){return!(!P.function(document["".concat(t,"ExitFullscreen")])&&!P.function(document["".concat(t,"CancelFullScreen")])||(e=t,0))}),e}},{key:"property",get:function(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}}]),e}();function Le(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise(function(n,i){var o=new Image,r=function(){delete o.onload,delete o.onerror,(o.naturalWidth>=t?n:i)(o)};Object.assign(o,{onload:r,onerror:r,src:e})})}var Fe={addStyleHook:function(){K(this.elements.container,this.config.selectors.container.replace(".",""),!0),K(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build:function(){var e=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn("Basic support only for ".concat(this.provider," ").concat(this.type)),void Fe.toggleNativeControls.call(this,!0);P.element(this.elements.controls)||(ke.inject.call(this),this.listeners.controls()),Fe.toggleNativeControls.call(this),this.isHTML5&&Se.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,ke.updateVolume.call(this),ke.timeUpdate.call(this),Fe.checkPlaying.call(this),K(this.elements.container,this.config.classNames.pip.supported,ie.pip&&this.isHTML5&&this.isVideo),K(this.elements.container,this.config.classNames.airplay.supported,ie.airplay&&this.isHTML5),K(this.elements.container,this.config.classNames.isIos,E.isIos),K(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout(function(){F.call(e,e.media,"ready")},0),Fe.setTitle.call(this),this.poster&&Fe.setPoster.call(this,this.poster,!1).catch(function(){}),this.config.duration&&ke.durationUpdate.call(this)},setTitle:function(){var e=he("play",this.config);if(P.string(this.config.title)&&!P.empty(this.config.title)&&(e+=", ".concat(this.config.title)),Array.from(this.elements.buttons.play||[]).forEach(function(t){t.setAttribute("aria-label",e)}),this.isEmbed){var t=Q.call(this,"iframe");if(!P.element(t))return;var n=P.empty(this.config.title)?"video":this.config.title,i=he("frameTitle",this.config);t.setAttribute("title",i.replace("{title}",n))}},togglePoster:function(e){K(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster:function(e){var t=this;return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]||!this.poster?(this.media.setAttribute("poster",e),function(){var e=this;return new Promise(function(t){return e.ready?setTimeout(t,0):j.call(e,e.elements.container,"ready",t)}).then(function(){})}.call(this).then(function(){return Le(e)}).catch(function(n){throw e===t.poster&&Fe.togglePoster.call(t,!1),n}).then(function(){if(e!==t.poster)throw new Error("setPoster cancelled by later call to setPoster")}).then(function(){return Object.assign(t.elements.poster.style,{backgroundImage:"url('".concat(e,"')"),backgroundSize:""}),Fe.togglePoster.call(t,!0),e})):Promise.reject(new Error("Poster already set"))},checkPlaying:function(e){var t=this;K(this.elements.container,this.config.classNames.playing,this.playing),K(this.elements.container,this.config.classNames.paused,this.paused),K(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach(function(e){Object.assign(e,{pressed:t.playing})}),P.event(e)&&"timeupdate"===e.type||Fe.toggleControls.call(this)},checkLoading:function(e){var t=this;this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout(function(){K(t.elements.container,t.config.classNames.loading,t.loading),Fe.toggleControls.call(t)},this.loading?250:0)},toggleControls:function(e){var t=this.elements.controls;if(t&&this.config.hideControls){var n=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||n))}}},De=function(){function e(n){t(this,e),this.player=n,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}return i(e,[{key:"handleKey",value:function(e){var t=this.player,n=t.elements,i=e.keyCode?e.keyCode:e.which,o="keydown"===e.type,r=o&&i===this.lastKey;if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)&&P.number(i))if(o){var a=document.activeElement;if(P.element(a)){var s=t.config.selectors.editable;if(a!==n.inputs.seek&&X(a,s))return;if(32===e.which&&X(a,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(i)&&(e.preventDefault(),e.stopPropagation()),i){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:r||(t.currentTime=t.duration/10*(i-48));break;case 32:case 75:r||t.togglePlay();break;case 38:t.increaseVolume(.1);break;case 40:t.decreaseVolume(.1);break;case 77:r||(t.muted=!t.muted);break;case 39:t.forward();break;case 37:t.rewind();break;case 70:t.fullscreen.toggle();break;case 67:r||t.toggleCaptions();break;case 76:t.loop=!t.loop}27===i&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=i}else this.lastKey=null}},{key:"toggleMenu",value:function(e){ke.toggleMenu.call(this.player,e)}},{key:"firstTouch",value:function(){var e=this.player,t=e.elements;e.touch=!0,K(t.container,e.config.classNames.isTouch,!0)}},{key:"setTabFocus",value:function(e){var t=this.player,n=t.elements;if(clearTimeout(this.focusTimer),"keydown"!==e.type||9===e.which){"keydown"===e.type&&(this.lastKeyDown=e.timeStamp);var i,o=e.timeStamp-this.lastKeyDown<=20;("focus"!==e.type||o)&&(i=t.config.classNames.tabFocus,K(Z.call(t,".".concat(i)),i,!1),this.focusTimer=setTimeout(function(){var e=document.activeElement;n.container.contains(e)&&K(document.activeElement,t.config.classNames.tabFocus,!0)},10))}}},{key:"global",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.player;t.config.keyboard.global&&$.call(t,window,"keydown keyup",this.handleKey,e,!1),$.call(t,document.body,"click",this.toggleMenu,e),L.call(t,document.body,"touchstart",this.firstTouch),$.call(t,document.body,"keydown focus blur",this.setTabFocus,e,!1,!0)}},{key:"container",value:function(){var e=this.player,t=e.config,n=e.elements,i=e.timers;!t.keyboard.global&&t.keyboard.focused&&j.call(e,n.container,"keydown keyup",this.handleKey,!1),j.call(e,n.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",function(t){var o=n.controls;o&&"enterfullscreen"===t.type&&(o.pressed=!1,o.hover=!1);var r=0;["touchstart","touchmove","mousemove"].includes(t.type)&&(Fe.toggleControls.call(e,!0),r=e.touch?3e3:2e3),clearTimeout(i.controls),i.controls=setTimeout(function(){return Fe.toggleControls.call(e,!1)},r)});var o=function(t){if(!t)return se.call(e);var i=n.container.getBoundingClientRect(),o=i.width,r=i.height;return se.call(e,"".concat(o,":").concat(r))},a=function(){clearTimeout(i.resized),i.resized=setTimeout(o,50)};j.call(e,n.container,"enterfullscreen exitfullscreen",function(t){var i=e.fullscreen,s=i.target,l=i.usingNative;if(s===n.container&&(e.isEmbed||!P.empty(e.config.ratio))){var c="enterfullscreen"===t.type,u=o(c);u.padding,!function(t,n,i){if(e.isVimeo){var o=e.elements.wrapper.firstChild,a=r(t,2)[1],s=r(ae.call(e),2),l=s[0],c=s[1];o.style.maxWidth=i?"".concat(a/c*l,"px"):null,o.style.margin=i?"0 auto":null}}(u.ratio,0,c),l||(c?j.call(e,window,"resize",a):q.call(e,window,"resize",a))}})}},{key:"media",value:function(){var e=this,t=this.player,n=t.elements;if(j.call(t,t.media,"timeupdate seeking seeked",function(e){return ke.timeUpdate.call(t,e)}),j.call(t,t.media,"durationchange loadeddata loadedmetadata",function(e){return ke.durationUpdate.call(t,e)}),j.call(t,t.media,"canplay loadeddata",function(){G(n.volume,!t.hasAudio),G(n.buttons.mute,!t.hasAudio)}),j.call(t,t.media,"ended",function(){t.isHTML5&&t.isVideo&&t.config.resetOnEnd&&t.restart()}),j.call(t,t.media,"progress playing seeking seeked",function(e){return ke.updateProgress.call(t,e)}),j.call(t,t.media,"volumechange",function(e){return ke.updateVolume.call(t,e)}),j.call(t,t.media,"playing play pause ended emptied timeupdate",function(e){return Fe.checkPlaying.call(t,e)}),j.call(t,t.media,"waiting canplay seeked playing",function(e){return Fe.checkLoading.call(t,e)}),t.supported.ui&&t.config.clickToPlay&&!t.isAudio){var i=Q.call(t,".".concat(t.config.classNames.video));if(!P.element(i))return;j.call(t,n.container,"click",function(o){([n.container,i].includes(o.target)||i.contains(o.target))&&(t.touch&&t.config.hideControls||(t.ended?(e.proxy(o,t.restart,"restart"),e.proxy(o,t.play,"play")):e.proxy(o,t.togglePlay,"play")))})}t.supported.ui&&t.config.disableContextMenu&&j.call(t,n.wrapper,"contextmenu",function(e){e.preventDefault()},!1),j.call(t,t.media,"volumechange",function(){t.storage.set({volume:t.volume,muted:t.muted})}),j.call(t,t.media,"ratechange",function(){ke.updateSetting.call(t,"speed"),t.storage.set({speed:t.speed})}),j.call(t,t.media,"qualitychange",function(e){ke.updateSetting.call(t,"quality",null,e.detail.quality)}),j.call(t,t.media,"ready qualitychange",function(){ke.setDownloadUrl.call(t)});var o=t.config.events.concat(["keyup","keydown"]).join(" ");j.call(t,t.media,o,function(e){var i=e.detail,o=void 0===i?{}:i;"error"===e.type&&(o=t.media.error),F.call(t,n.container,e.type,!0,o)})}},{key:"proxy",value:function(e,t,n){var i=this.player,o=i.config.listeners[n],r=!0;P.function(o)&&(r=o.call(i,e)),r&&P.function(t)&&t.call(i,e)}},{key:"bind",value:function(e,t,n,i){var o=this,r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=this.player,s=a.config.listeners[i],l=P.function(s);j.call(a,e,t,function(e){return o.proxy(e,n,i)},r&&!l)}},{key:"controls",value:function(){var e=this,t=this.player,n=t.elements,i=E.isIE?"change":"input";if(n.buttons.play&&Array.from(n.buttons.play).forEach(function(n){e.bind(n,"click",t.togglePlay,"play")}),this.bind(n.buttons.restart,"click",t.restart,"restart"),this.bind(n.buttons.rewind,"click",t.rewind,"rewind"),this.bind(n.buttons.fastForward,"click",t.forward,"fastForward"),this.bind(n.buttons.mute,"click",function(){t.muted=!t.muted},"mute"),this.bind(n.buttons.captions,"click",function(){return t.toggleCaptions()}),this.bind(n.buttons.download,"click",function(){F.call(t,t.media,"download")},"download"),this.bind(n.buttons.fullscreen,"click",function(){t.fullscreen.toggle()},"fullscreen"),this.bind(n.buttons.pip,"click",function(){t.pip="toggle"},"pip"),this.bind(n.buttons.airplay,"click",t.airplay,"airplay"),this.bind(n.buttons.settings,"click",function(e){e.stopPropagation(),ke.toggleMenu.call(t,e)}),this.bind(n.buttons.settings,"keyup",function(e){var n=e.which;[13,32].includes(n)&&(13!==n?(e.preventDefault(),e.stopPropagation(),ke.toggleMenu.call(t,e)):ke.focusFirstMenuItem.call(t,null,!0))},null,!1),this.bind(n.settings.menu,"keydown",function(e){27===e.which&&ke.toggleMenu.call(t,e)}),this.bind(n.inputs.seek,"mousedown mousemove",function(e){var t=n.progress.getBoundingClientRect(),i=100/t.width*(e.pageX-t.left);e.currentTarget.setAttribute("seek-value",i)}),this.bind(n.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",function(e){var n=e.currentTarget,i=e.keyCode?e.keyCode:e.which;if(!P.keyboardEvent(e)||39===i||37===i){t.lastSeekTime=Date.now();var o=n.hasAttribute("play-on-seeked"),r=["mouseup","touchend","keyup"].includes(e.type);o&&r?(n.removeAttribute("play-on-seeked"),t.play()):!r&&t.playing&&(n.setAttribute("play-on-seeked",""),t.pause())}}),E.isIos){var o=Z.call(t,'input[type="range"]');Array.from(o).forEach(function(t){return e.bind(t,i,function(e){return T(e.target)})})}this.bind(n.inputs.seek,i,function(e){var n=e.currentTarget,i=n.getAttribute("seek-value");P.empty(i)&&(i=n.value),n.removeAttribute("seek-value"),t.currentTime=i/n.max*t.duration},"seek"),this.bind(n.progress,"mouseenter mouseleave mousemove",function(e){return ke.updateSeekTooltip.call(t,e)}),this.bind(n.progress,"mousemove touchmove",function(e){var n=t.previewThumbnails;n&&n.loaded&&n.startMove(e)}),this.bind(n.progress,"mouseleave click",function(){var e=t.previewThumbnails;e&&e.loaded&&e.endMove(!1,!0)}),this.bind(n.progress,"mousedown touchstart",function(e){var n=t.previewThumbnails;n&&n.loaded&&n.startScrubbing(e)}),this.bind(n.progress,"mouseup touchend",function(e){var n=t.previewThumbnails;n&&n.loaded&&n.endScrubbing(e)}),E.isWebkit&&Array.from(Z.call(t,'input[type="range"]')).forEach(function(n){e.bind(n,"input",function(e){return ke.updateRangeFill.call(t,e.target)})}),t.config.toggleInvert&&!P.element(n.display.duration)&&this.bind(n.display.currentTime,"click",function(){0!==t.currentTime&&(t.config.invertTime=!t.config.invertTime,ke.timeUpdate.call(t))}),this.bind(n.inputs.volume,i,function(e){t.volume=e.target.value},"volume"),this.bind(n.controls,"mouseenter mouseleave",function(e){n.controls.hover=!t.touch&&"mouseenter"===e.type}),this.bind(n.controls,"mousedown mouseup touchstart touchend touchcancel",function(e){n.controls.pressed=["mousedown","touchstart"].includes(e.type)}),this.bind(n.controls,"focusin",function(){var i=t.config,o=t.timers;K(n.controls,i.classNames.noTransition,!0),Fe.toggleControls.call(t,!0),setTimeout(function(){K(n.controls,i.classNames.noTransition,!1)},0);var r=e.touch?3e3:4e3;clearTimeout(o.controls),o.controls=setTimeout(function(){return Fe.toggleControls.call(t,!1)},r)}),this.bind(n.inputs.volume,"wheel",function(e){var n=e.webkitDirectionInvertedFromDevice,i=r([e.deltaX,-e.deltaY].map(function(e){return n?-e:e}),2),o=i[0],a=i[1],s=Math.sign(Math.abs(o)>Math.abs(a)?o:a);t.increaseVolume(s/50);var l=t.media.volume;(1===s&&l<1||-1===s&&l>0)&&e.preventDefault()},"volume",!1)}}]),e}();"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var Re=function(e,t){return function(e,t){e.exports=function(){var e=function(){},t={},n={},i={};function o(e,t){if(e){var o=i[e];if(n[e]=t,o)for(;o.length;)o[0](e,t),o.splice(0,1)}}function r(t,n){t.call&&(t={success:t}),n.length?(t.error||e)(n):(t.success||e)(t)}function a(t,n,i,o){var r,s,l=document,c=i.async,u=(i.numRetries||0)+1,d=i.before||e,p=t.replace(/^(css|img)!/,"");o=o||0,/(^css!|\.css$)/.test(t)?((s=l.createElement("link")).rel="stylesheet",s.href=p,(r="hideFocus"in s)&&s.relList&&(r=0,s.rel="preload",s.as="style")):/(^img!|\.(png|gif|jpg|svg)$)/.test(t)?(s=l.createElement("img")).src=p:((s=l.createElement("script")).src=t,s.async=void 0===c||c),s.onload=s.onerror=s.onbeforeload=function(e){var l=e.type[0];if(r)try{s.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((o+=1)<u)return a(t,n,i,o)}else if("preload"==s.rel&&"style"==s.as)return s.rel="stylesheet";n(t,l,e.defaultPrevented)},!1!==d(t,s)&&l.head.appendChild(s)}function s(e,n,i){var s,l;if(n&&n.trim&&(s=n),l=(s?i:n)||{},s){if(s in t)throw"LoadJS";t[s]=!0}function c(t,n){!function(e,t,n){var i,o,r=(e=e.push?e:[e]).length,s=r,l=[];for(i=function(e,n,i){if("e"==n&&l.push(e),"b"==n){if(!i)return;l.push(e)}--r||t(l)},o=0;o<s;o++)a(e[o],i,n)}(e,function(e){r(l,e),t&&r({success:t,error:n},e),o(s,e)},l)}if(l.returnPromise)return new Promise(c);c()}return s.ready=function(e,t){return function(e,t){e=e.push?e:[e];var o,r,a,s=[],l=e.length,c=l;for(o=function(e,n){n.length&&s.push(e),--c||t(s)};l--;)r=e[l],(a=n[r])?o(r,a):(i[r]=i[r]||[]).push(o)}(e,function(e){r(t,e)}),s},s.done=function(e){o(e,[])},s.reset=function(){t={},n={},i={}},s.isDefined=function(e){return e in t},s}()}(t={exports:{}}),t.exports}();function ze(e){return new Promise(function(t,n){Re(e,{success:t,error:n})})}function Be(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,F.call(this,this.media,e?"play":"pause"))}var Ie={setup:function(){var e=this;K(this.elements.wrapper,this.config.classNames.embed,!0),se.call(this),P.object(window.Vimeo)?Ie.ready.call(this):ze(this.config.urls.vimeo.sdk).then(function(){Ie.ready.call(e)}).catch(function(t){e.debug.warn("Vimeo SDK (player.js) failed to load",t)})},ready:function(){var e=this,t=this,n=t.config.vimeo,i=Ce(R({},{loop:t.config.loop.active,autoplay:t.autoplay,muted:t.muted,gesture:"media",playsinline:!this.config.fullscreen.iosNative},n)),o=t.media.getAttribute("src");P.empty(o)&&(o=t.media.getAttribute(t.config.attributes.embed.id));var a,s=(a=o,P.empty(a)?null:P.number(Number(a))?a:a.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:a),l=I("iframe"),c=ue(t.config.urls.vimeo.iframe,s,i);l.setAttribute("src",c),l.setAttribute("allowfullscreen",""),l.setAttribute("allowtransparency",""),l.setAttribute("allow","autoplay");var u=I("div",{poster:t.poster,class:t.config.classNames.embedContainer});u.appendChild(l),t.media=W(u,t.media),ve(ue(t.config.urls.vimeo.api,s),"json").then(function(e){if(!P.empty(e)){var n=new URL(e[0].thumbnail_large);n.pathname="".concat(n.pathname.split("_")[0],".jpg"),Fe.setPoster.call(t,n.href).catch(function(){})}}),t.embed=new window.Vimeo.Player(l,{autopause:t.config.autopause,muted:t.muted}),t.media.paused=!0,t.media.currentTime=0,t.supported.ui&&t.embed.disableTextTrack(),t.media.play=function(){return Be.call(t,!0),t.embed.play()},t.media.pause=function(){return Be.call(t,!1),t.embed.pause()},t.media.stop=function(){t.pause(),t.currentTime=0};var d=t.media.currentTime;Object.defineProperty(t.media,"currentTime",{get:function(){return d},set:function(e){var n=t.embed,i=t.media,o=t.paused,r=t.volume,a=o&&!n.hasPlayed;i.seeking=!0,F.call(t,i,"seeking"),Promise.resolve(a&&n.setVolume(0)).then(function(){return n.setCurrentTime(e)}).then(function(){return a&&n.pause()}).then(function(){return a&&n.setVolume(r)}).catch(function(){})}});var p=t.config.speed.selected;Object.defineProperty(t.media,"playbackRate",{get:function(){return p},set:function(e){t.embed.setPlaybackRate(e).then(function(){p=e,F.call(t,t.media,"ratechange")}).catch(function(e){"Error"===e.name&&ke.setSpeedMenu.call(t,[])})}});var f=t.config.volume;Object.defineProperty(t.media,"volume",{get:function(){return f},set:function(e){t.embed.setVolume(e).then(function(){f=e,F.call(t,t.media,"volumechange")})}});var m=t.config.muted;Object.defineProperty(t.media,"muted",{get:function(){return m},set:function(e){var n=!!P.boolean(e)&&e;t.embed.setVolume(n?0:t.config.volume).then(function(){m=n,F.call(t,t.media,"volumechange")})}});var h,g=t.config.loop;Object.defineProperty(t.media,"loop",{get:function(){return g},set:function(e){var n=P.boolean(e)?e:t.config.loop.active;t.embed.setLoop(n).then(function(){g=n})}}),t.embed.getVideoUrl().then(function(e){h=e,ke.setDownloadUrl.call(t)}).catch(function(t){e.debug.warn(t)}),Object.defineProperty(t.media,"currentSrc",{get:function(){return h}}),Object.defineProperty(t.media,"ended",{get:function(){return t.currentTime===t.duration}}),Promise.all([t.embed.getVideoWidth(),t.embed.getVideoHeight()]).then(function(n){var i=r(n,2),o=i[0],a=i[1];t.embed.ratio=[o,a],se.call(e)}),t.embed.setAutopause(t.config.autopause).then(function(e){t.config.autopause=e}),t.embed.getVideoTitle().then(function(n){t.config.title=n,Fe.setTitle.call(e)}),t.embed.getCurrentTime().then(function(e){d=e,F.call(t,t.media,"timeupdate")}),t.embed.getDuration().then(function(e){t.media.duration=e,F.call(t,t.media,"durationchange")}),t.embed.getTextTracks().then(function(e){t.media.textTracks=e,Se.setup.call(t)}),t.embed.on("cuechange",function(e){var n=e.cues,i=(void 0===n?[]:n).map(function(e){return function(e){var t=document.createDocumentFragment(),n=document.createElement("div");return t.appendChild(n),n.innerHTML=e,t.firstChild.innerText}(e.text)});Se.updateCues.call(t,i)}),t.embed.on("loaded",function(){t.embed.getPaused().then(function(e){Be.call(t,!e),e||F.call(t,t.media,"playing")}),P.element(t.embed.element)&&t.supported.ui&&t.embed.element.setAttribute("tabindex",-1)}),t.embed.on("play",function(){Be.call(t,!0),F.call(t,t.media,"playing")}),t.embed.on("pause",function(){Be.call(t,!1)}),t.embed.on("timeupdate",function(e){t.media.seeking=!1,d=e.seconds,F.call(t,t.media,"timeupdate")}),t.embed.on("progress",function(e){t.media.buffered=e.percent,F.call(t,t.media,"progress"),1===parseInt(e.percent,10)&&F.call(t,t.media,"canplaythrough"),t.embed.getDuration().then(function(e){e!==t.media.duration&&(t.media.duration=e,F.call(t,t.media,"durationchange"))})}),t.embed.on("seeked",function(){t.media.seeking=!1,F.call(t,t.media,"seeked")}),t.embed.on("ended",function(){t.media.paused=!0,F.call(t,t.media,"ended")}),t.embed.on("error",function(e){t.media.error=e,F.call(t,t.media,"error")}),setTimeout(function(){return Fe.build.call(t)},0)}};function He(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,F.call(this,this.media,e?"play":"pause"))}var Ue,Ve={setup:function(){var e=this;if(K(this.elements.wrapper,this.config.classNames.embed,!0),P.object(window.YT)&&P.function(window.YT.Player))Ve.ready.call(this);else{var t=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){P.function(t)&&t(),Ve.ready.call(e)},ze(this.config.urls.youtube.sdk).catch(function(t){e.debug.warn("YouTube API failed to load",t)})}},getTitle:function(e){var t=this;ve(ue(this.config.urls.youtube.api,e)).then(function(e){if(P.object(e)){var n=e.title,i=e.height,o=e.width;t.config.title=n,Fe.setTitle.call(t),t.embed.ratio=[o,i]}se.call(t)}).catch(function(){se.call(t)})},ready:function(){var e=this,t=e.media&&e.media.getAttribute("id");if(P.empty(t)||!t.startsWith("youtube-")){var n=e.media.getAttribute("src");P.empty(n)&&(n=e.media.getAttribute(this.config.attributes.embed.id));var i,o,r=(i=n,P.empty(i)?null:i.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:i),a=(o=e.provider,"".concat(o,"-").concat(Math.floor(1e4*Math.random()))),s=I("div",{id:a,poster:e.poster});e.media=W(s,e.media);var l=function(e){return"https://i.ytimg.com/vi/".concat(r,"/").concat(e,"default.jpg")};Le(l("maxres"),121).catch(function(){return Le(l("sd"),121)}).catch(function(){return Le(l("hq"))}).then(function(t){return Fe.setPoster.call(e,t.src)}).then(function(t){t.includes("maxres")||(e.elements.poster.style.backgroundSize="cover")}).catch(function(){});var c=e.config.youtube;e.embed=new window.YT.Player(a,{videoId:r,host:function(e){return e.noCookie?"https://www.youtube-nocookie.com":"http:"===window.location.protocol?"http://www.youtube.com":void 0}(c),playerVars:R({},{autoplay:e.config.autoplay?1:0,hl:e.config.hl,controls:e.supported.ui?0:1,disablekb:1,playsinline:e.config.fullscreen.iosNative?0:1,cc_load_policy:e.captions.active?1:0,cc_lang_pref:e.config.captions.language,widget_referrer:window?window.location.href:null},c),events:{onError:function(t){if(!e.media.error){var n=t.data,i={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[n]||"An unknown error occured";e.media.error={code:n,message:i},F.call(e,e.media,"error")}},onPlaybackRateChange:function(t){var n=t.target;e.media.playbackRate=n.getPlaybackRate(),F.call(e,e.media,"ratechange")},onReady:function(t){if(!P.function(e.media.play)){var n=t.target;Ve.getTitle.call(e,r),e.media.play=function(){He.call(e,!0),n.playVideo()},e.media.pause=function(){He.call(e,!1),n.pauseVideo()},e.media.stop=function(){n.stopVideo()},e.media.duration=n.getDuration(),e.media.paused=!0,e.media.currentTime=0,Object.defineProperty(e.media,"currentTime",{get:function(){return Number(n.getCurrentTime())},set:function(t){e.paused&&!e.embed.hasPlayed&&e.embed.mute(),e.media.seeking=!0,F.call(e,e.media,"seeking"),n.seekTo(t)}}),Object.defineProperty(e.media,"playbackRate",{get:function(){return n.getPlaybackRate()},set:function(e){n.setPlaybackRate(e)}});var i=e.config.volume;Object.defineProperty(e.media,"volume",{get:function(){return i},set:function(t){i=t,n.setVolume(100*i),F.call(e,e.media,"volumechange")}});var o=e.config.muted;Object.defineProperty(e.media,"muted",{get:function(){return o},set:function(t){var i=P.boolean(t)?t:o;o=i,n[i?"mute":"unMute"](),F.call(e,e.media,"volumechange")}}),Object.defineProperty(e.media,"currentSrc",{get:function(){return n.getVideoUrl()}}),Object.defineProperty(e.media,"ended",{get:function(){return e.currentTime===e.duration}}),e.options.speed=n.getAvailablePlaybackRates(),e.supported.ui&&e.media.setAttribute("tabindex",-1),F.call(e,e.media,"timeupdate"),F.call(e,e.media,"durationchange"),clearInterval(e.timers.buffering),e.timers.buffering=setInterval(function(){e.media.buffered=n.getVideoLoadedFraction(),(null===e.media.lastBuffered||e.media.lastBuffered<e.media.buffered)&&F.call(e,e.media,"progress"),e.media.lastBuffered=e.media.buffered,1===e.media.buffered&&(clearInterval(e.timers.buffering),F.call(e,e.media,"canplaythrough"))},200),setTimeout(function(){return Fe.build.call(e)},50)}},onStateChange:function(t){var n=t.target;switch(clearInterval(e.timers.playing),e.media.seeking&&[1,2].includes(t.data)&&(e.media.seeking=!1,F.call(e,e.media,"seeked")),t.data){case-1:F.call(e,e.media,"timeupdate"),e.media.buffered=n.getVideoLoadedFraction(),F.call(e,e.media,"progress");break;case 0:He.call(e,!1),e.media.loop?(n.stopVideo(),n.playVideo()):F.call(e,e.media,"ended");break;case 1:e.config.autoplay||!e.media.paused||e.embed.hasPlayed?(He.call(e,!0),F.call(e,e.media,"playing"),e.timers.playing=setInterval(function(){F.call(e,e.media,"timeupdate")},50),e.media.duration!==n.getDuration()&&(e.media.duration=n.getDuration(),F.call(e,e.media,"durationchange"))):e.media.pause();break;case 2:e.muted||e.embed.unMute(),He.call(e,!1)}F.call(e,e.elements.container,"statechange",!1,{code:t.data})}}})}}},We={setup:function(){this.media?(K(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),K(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&K(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=I("div",{class:this.config.classNames.video}),z(this.media,this.elements.wrapper),this.elements.poster=I("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?le.extend.call(this):this.isYouTube?Ve.setup.call(this):this.isVimeo&&Ie.setup.call(this)):this.debug.warn("No media element found!")}},Ye=function(){function e(n){var i=this;t(this,e),this.player=n,this.config=n.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise(function(e,t){i.on("loaded",e),i.on("error",t)}),this.load()}return i(e,[{key:"load",value:function(){var e=this;this.enabled&&(P.object(window.google)&&P.object(window.google.ima)?this.ready():ze(this.player.config.urls.googleIMA.sdk).then(function(){e.ready()}).catch(function(){e.trigger("error",new Error("Google IMA SDK failed to load"))}))}},{key:"ready",value:function(){var e,t=this;this.enabled||((e=this).manager&&e.manager.destroy(),e.elements.displayContainer&&e.elements.displayContainer.destroy(),e.elements.container.remove()),this.startSafetyTimer(12e3,"ready()"),this.managerPromise.then(function(){t.clearSafetyTimer("onAdsManagerLoaded()")}),this.listeners(),this.setupIMA()}},{key:"setupIMA",value:function(){this.elements.container=I("div",{class:this.player.config.classNames.ads}),this.player.elements.container.appendChild(this.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(this.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this.player.config.playsinline),this.elements.displayContainer=new google.ima.AdDisplayContainer(this.elements.container,this.player.media),this.requestAds()}},{key:"requestAds",value:function(){var e=this,t=this.player.elements.container;try{this.loader=new google.ima.AdsLoader(this.elements.displayContainer),this.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,function(t){return e.onAdsManagerLoaded(t)},!1),this.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,function(t){return e.onAdError(t)},!1);var n=new google.ima.AdsRequest;n.adTagUrl=this.tagUrl,n.linearAdSlotWidth=t.offsetWidth,n.linearAdSlotHeight=t.offsetHeight,n.nonLinearAdSlotWidth=t.offsetWidth,n.nonLinearAdSlotHeight=t.offsetHeight,n.forceNonLinearFullSlot=!1,n.setAdWillPlayMuted(!this.player.muted),this.loader.requestAds(n)}catch(e){this.onAdError(e)}}},{key:"pollCountdown",value:function(){var e=this;if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0]))return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval(function(){var t=xe(Math.max(e.manager.getRemainingTime(),0)),n="".concat(he("advertisement",e.player.config)," - ").concat(t);e.elements.container.setAttribute("data-badge-text",n)},100)}},{key:"onAdsManagerLoaded",value:function(e){var t=this;if(this.enabled){var n=new google.ima.AdsRenderingSettings;n.restoreCustomPlaybackStateOnAdBreakComplete=!0,n.enablePreloading=!0,this.manager=e.getAdsManager(this.player,n),this.cuePoints=this.manager.getCuePoints(),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,function(e){return t.onAdError(e)}),Object.keys(google.ima.AdEvent.Type).forEach(function(e){t.manager.addEventListener(google.ima.AdEvent.Type[e],function(e){return t.onAdEvent(e)})}),this.trigger("loaded")}}},{key:"addCuePoints",value:function(){var e=this;P.empty(this.cuePoints)||this.cuePoints.forEach(function(t){if(0!==t&&-1!==t&&t<e.player.duration){var n=e.player.elements.progress;if(P.element(n)){var i=100/e.player.duration*t,o=I("span",{class:e.player.config.classNames.cues});o.style.left="".concat(i.toString(),"%"),n.appendChild(o)}}})}},{key:"onAdEvent",value:function(e){var t=this,n=this.player.elements.container,i=e.getAd(),o=e.getAdData();switch(function(e){F.call(t.player,t.player.media,"ads".concat(e.replace(/_/g,"").toLowerCase()))}(e.type),e.type){case google.ima.AdEvent.Type.LOADED:this.trigger("loaded"),this.pollCountdown(!0),i.isLinear()||(i.width=n.offsetWidth,i.height=n.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:this.manager.setVolume(this.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this.loadAds();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:this.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:this.pollCountdown(),this.resumeContent();break;case google.ima.AdEvent.Type.LOG:o.adError&&this.player.debug.warn("Non-fatal ad error: ".concat(o.adError.getMessage()))}}},{key:"onAdError",value:function(e){this.cancel(),this.player.debug.warn("Ads error",e)}},{key:"listeners",value:function(){var e,t=this,n=this.player.elements.container;this.player.on("canplay",function(){t.addCuePoints()}),this.player.on("ended",function(){t.loader.contentComplete()}),this.player.on("timeupdate",function(){e=t.player.currentTime}),this.player.on("seeked",function(){var n=t.player.currentTime;P.empty(t.cuePoints)||t.cuePoints.forEach(function(i,o){e<i&&i<n&&(t.manager.discardAdBreak(),t.cuePoints.splice(o,1))})}),window.addEventListener("resize",function(){t.manager&&t.manager.resize(n.offsetWidth,n.offsetHeight,google.ima.ViewMode.NORMAL)})}},{key:"play",value:function(){var e=this,t=this.player.elements.container;this.managerPromise||this.resumeContent(),this.managerPromise.then(function(){e.manager.setVolume(e.player.volume),e.elements.displayContainer.initialize();try{e.initialized||(e.manager.init(t.offsetWidth,t.offsetHeight,google.ima.ViewMode.NORMAL),e.manager.start()),e.initialized=!0}catch(t){e.onAdError(t)}}).catch(function(){})}},{key:"resumeContent",value:function(){this.elements.container.style.zIndex="",this.playing=!1,this.player.media.play()}},{key:"pauseContent",value:function(){this.elements.container.style.zIndex=3,this.playing=!0,this.player.media.pause()}},{key:"cancel",value:function(){this.initialized&&this.resumeContent(),this.trigger("error"),this.loadAds()}},{key:"loadAds",value:function(){var e=this;this.managerPromise.then(function(){e.manager&&e.manager.destroy(),e.managerPromise=new Promise(function(t){e.on("loaded",t),e.player.debug.log(e.manager)}),e.requestAds()}).catch(function(){})}},{key:"trigger",value:function(e){for(var t=this,n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];var r=this.events[e];P.array(r)&&r.forEach(function(e){P.function(e)&&e.apply(t,i)})}},{key:"on",value:function(e,t){return P.array(this.events[e])||(this.events[e]=[]),this.events[e].push(t),this}},{key:"startSafetyTimer",value:function(e,t){var n=this;this.player.debug.log("Safety timer invoked from: ".concat(t)),this.safetyTimer=setTimeout(function(){n.cancel(),n.clearSafetyTimer("startSafetyTimer()")},e)}},{key:"clearSafetyTimer",value:function(e){P.nullOrUndefined(this.safetyTimer)||(this.player.debug.log("Safety timer cleared from: ".concat(e)),clearTimeout(this.safetyTimer),this.safetyTimer=null)}},{key:"enabled",get:function(){var e=this.config;return this.player.isHTML5&&this.player.isVideo&&e.enabled&&(!P.empty(e.publisherId)||P.url(e.tagUrl))}},{key:"tagUrl",get:function(){var e=this.config;if(P.url(e.tagUrl))return e.tagUrl;var t={AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:this.publisherId};return"".concat("https://go.aniview.com/api/adserver6/vast/","?").concat(Ce(t))}}]),e}(),Ge=function(){function e(n){t(this,e),this.player=n,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}return i(e,[{key:"load",value:function(){var e=this;this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then(function(){e.enabled&&(e.render(),e.determineContainerAutoSizing(),e.loaded=!0)})}},{key:"getThumbnails",value:function(){var e=this;return new Promise(function(t){var n=e.player.config.previewThumbnails.src;if(P.empty(n))throw new Error("Missing previewThumbnails.src config attribute");var i=(P.string(n)?[n]:n).map(function(t){return e.getThumbnail(t)});Promise.all(i).then(function(){e.thumbnails.sort(function(e,t){return e.height-t.height}),e.player.debug.log("Preview thumbnails",e.thumbnails),t()})})}},{key:"getThumbnail",value:function(e){var t=this;return new Promise(function(n){ve(e).then(function(i){var o,a,s={frames:(o=i,a=[],o.split(/\r\n\r\n|\n\n|\r\r/).forEach(function(e){var t={};e.split(/\r\n|\n|\r/).forEach(function(e){if(P.number(t.startTime)){if(!P.empty(e.trim())&&P.empty(t.text)){var n=e.trim().split("#xywh="),i=r(n,1);if(t.text=i[0],n[1]){var o=r(n[1].split(","),4);t.x=o[0],t.y=o[1],t.w=o[2],t.h=o[3]}}}else{var a=e.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);a&&(t.startTime=60*Number(a[1]||0)*60+60*Number(a[2])+Number(a[3])+Number("0.".concat(a[4])),t.endTime=60*Number(a[6]||0)*60+60*Number(a[7])+Number(a[8])+Number("0.".concat(a[9])))}}),t.text&&a.push(t)}),a),height:null,urlPrefix:""};s.frames[0].text.startsWith("/")||s.frames[0].text.startsWith("http://")||s.frames[0].text.startsWith("https://")||(s.urlPrefix=e.substring(0,e.lastIndexOf("/")+1));var l=new Image;l.onload=function(){s.height=l.naturalHeight,s.width=l.naturalWidth,t.thumbnails.push(s),n()},l.src=s.urlPrefix+s.frames[0].text})})}},{key:"startMove",value:function(e){if(this.loaded&&P.event(e)&&["touchmove","mousemove"].includes(e.type)&&this.player.media.duration){if("touchmove"===e.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var t=this.player.elements.progress.getBoundingClientRect(),n=100/t.width*(e.pageX-t.left);this.seekTime=this.player.media.duration*(n/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=e.pageX,this.elements.thumb.time.innerText=xe(this.seekTime)}this.showImageAtCurrentTime()}}},{key:"endMove",value:function(){this.toggleThumbContainer(!1,!0)}},{key:"startScrubbing",value:function(e){!1!==e.button&&0!==e.button||(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))}},{key:"endScrubbing",value:function(){var e=this;this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):L.call(this.player,this.player.media,"timeupdate",function(){e.mouseDown||e.toggleScrubbingContainer(!1)})}},{key:"listeners",value:function(){var e=this;this.player.on("play",function(){e.toggleThumbContainer(!1,!0)}),this.player.on("seeked",function(){e.toggleThumbContainer(!1)}),this.player.on("timeupdate",function(){e.lastTime=e.player.media.currentTime})}},{key:"render",value:function(){this.elements.thumb.container=I("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=I("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);var e=I("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=I("span",{},"00:00"),e.appendChild(this.elements.thumb.time),this.elements.thumb.container.appendChild(e),P.element(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=I("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)}},{key:"showImageAtCurrentTime",value:function(){var e=this;this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();var t=this.thumbnails[0].frames.findIndex(function(t){return e.seekTime>=t.startTime&&e.seekTime<=t.endTime}),n=t>=0,i=0;this.mouseDown||this.toggleThumbContainer(n),n&&(this.thumbnails.forEach(function(n,o){e.loadedImages.includes(n.frames[t].text)&&(i=o)}),t!==this.showingThumb&&(this.showingThumb=t,this.loadImage(i)))}},{key:"loadImage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=this.showingThumb,i=this.thumbnails[t],o=i.urlPrefix,r=i.frames[n],a=i.frames[n].text,s=o+a;if(this.currentImageElement&&this.currentImageElement.dataset.filename===a)this.showImage(this.currentImageElement,r,t,n,a,!1),this.currentImageElement.dataset.index=n,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);var l=new Image;l.src=s,l.dataset.index=n,l.dataset.filename=a,this.showingThumbFilename=a,this.player.debug.log("Loading image: ".concat(s)),l.onload=function(){return e.showImage(l,r,t,n,a,!0)},this.loadingImage=l,this.removeOldImages(l)}}},{key:"showImage",value:function(e,t,n,i,o){var r=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];this.player.debug.log("Showing thumb: ".concat(o,". num: ").concat(i,". qual: ").concat(n,". newimg: ").concat(r)),this.setImageSizeAndOffset(e,t),r&&(this.currentImageContainer.appendChild(e),this.currentImageElement=e,this.loadedImages.includes(o)||this.loadedImages.push(o)),this.preloadNearby(i,!0).then(this.preloadNearby(i,!1)).then(this.getHigherQuality(n,e,t,o))}},{key:"removeOldImages",value:function(e){var t=this;Array.from(this.currentImageContainer.children).forEach(function(n){if("img"===n.tagName.toLowerCase()){var i=t.usingSprites?500:1e3;if(n.dataset.index!==e.dataset.index&&!n.dataset.deleting){n.dataset.deleting=!0;var o=t.currentImageContainer;setTimeout(function(){o.removeChild(n),t.player.debug.log("Removing thumb: ".concat(n.dataset.filename))},i)}}})}},{key:"preloadNearby",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new Promise(function(i){setTimeout(function(){var o=t.thumbnails[0].frames[e].text;if(t.showingThumbFilename===o){var r;r=n?t.thumbnails[0].frames.slice(e):t.thumbnails[0].frames.slice(0,e).reverse();var a=!1;r.forEach(function(e){var n=e.text;if(n!==o&&!t.loadedImages.includes(n)){a=!0,t.player.debug.log("Preloading thumb filename: ".concat(n));var r=t.thumbnails[0].urlPrefix+n,s=new Image;s.src=r,s.onload=function(){t.player.debug.log("Preloaded thumb filename: ".concat(n)),t.loadedImages.includes(n)||t.loadedImages.push(n),i()}}}),a||i()}},300)})}},{key:"getHigherQuality",value:function(e,t,n,i){var o=this;if(e<this.thumbnails.length-1){var r=t.naturalHeight;this.usingSprites&&(r=n.h),r<this.thumbContainerHeight&&setTimeout(function(){o.showingThumbFilename===i&&(o.player.debug.log("Showing higher quality thumb for: ".concat(i)),o.loadImage(e+1))},300)}}},{key:"toggleThumbContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(n,e),!e&&t&&(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"toggleScrubbingContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(t,e),e||(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"determineContainerAutoSizing",value:function(){this.elements.thumb.imageContainer.clientHeight>20&&(this.sizeSpecifiedInCSS=!0)}},{key:"setThumbContainerSizeAndPos",value:function(){if(!this.sizeSpecifiedInCSS){var e=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);this.elements.thumb.imageContainer.style.height="".concat(this.thumbContainerHeight,"px"),this.elements.thumb.imageContainer.style.width="".concat(e,"px")}this.setThumbContainerPos()}},{key:"setThumbContainerPos",value:function(){var e=this.player.elements.progress.getBoundingClientRect(),t=this.player.elements.container.getBoundingClientRect(),n=this.elements.thumb.container,i=t.left-e.left+10,o=t.right-e.left-n.clientWidth-10,r=this.mousePosX-e.left-n.clientWidth/2;r<i&&(r=i),r>o&&(r=o),n.style.left="".concat(r,"px")}},{key:"setScrubbingContainerSize",value:function(){this.elements.scrubbing.container.style.width="".concat(this.player.media.clientWidth,"px"),this.elements.scrubbing.container.style.height="".concat(this.player.media.clientWidth/this.thumbAspectRatio,"px")}},{key:"setImageSizeAndOffset",value:function(e,t){if(this.usingSprites){var n=this.thumbContainerHeight/t.h;e.style.height="".concat(Math.floor(e.naturalHeight*n),"px"),e.style.width="".concat(Math.floor(e.naturalWidth*n),"px"),e.style.left="-".concat(t.x*n,"px"),e.style.top="-".concat(t.y*n,"px")}}},{key:"enabled",get:function(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}},{key:"currentImageContainer",get:function(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}},{key:"usingSprites",get:function(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}},{key:"thumbAspectRatio",get:function(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}},{key:"thumbContainerHeight",get:function(){return this.mouseDown?Math.floor(this.player.media.clientWidth/this.thumbAspectRatio):Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}},{key:"currentImageElement",get:function(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement},set:function(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}]),e}(),Ke={insertElements:function(e,t){var n=this;P.string(t)?H(e,this.media,{src:t}):P.array(t)&&t.forEach(function(t){H(e,n.media,t)})},change:function(e){var t=this;D(e,"sources.length")?(le.cancelRequests.call(this),this.destroy.call(this,function(){t.options.quality=[],U(t.media),t.media=null,P.element(t.elements.container)&&t.elements.container.removeAttribute("class");var n=e.sources,i=e.type,o=r(n,1)[0],a=o.provider,s=void 0===a?Oe.html5:a,l=o.src,c="html5"===s?i:"div",u="html5"===s?{}:{src:l};Object.assign(t,{provider:s,type:i,supported:ie.check(i,s,t.config.playsinline),media:I(c,u)}),t.elements.container.appendChild(t.media),P.boolean(e.autoplay)&&(t.config.autoplay=e.autoplay),t.isHTML5&&(t.config.crossorigin&&t.media.setAttribute("crossorigin",""),t.config.autoplay&&t.media.setAttribute("autoplay",""),P.empty(e.poster)||(t.poster=e.poster),t.config.loop.active&&t.media.setAttribute("loop",""),t.config.muted&&t.media.setAttribute("muted",""),t.config.playsinline&&t.media.setAttribute("playsinline","")),Fe.addStyleHook.call(t),t.isHTML5&&Ke.insertElements.call(t,"source",n),t.config.title=e.title,We.setup.call(t),t.isHTML5&&Object.keys(e).includes("tracks")&&Ke.insertElements.call(t,"track",e.tracks),(t.isHTML5||t.isEmbed&&!t.supported.ui)&&Fe.build.call(t),t.isHTML5&&t.media.load(),t.previewThumbnails&&t.previewThumbnails.load(),t.fullscreen.update()},!0)):this.debug.warn("Invalid source format")}},Je=function(){function e(n,i){var o=this;if(t(this,e),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=ie.touch,this.media=n,P.string(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||P.nodeList(this.media)||P.array(this.media))&&(this.media=this.media[0]),this.config=R({},Me,e.defaults,i||{},function(){try{return JSON.parse(o.media.getAttribute("data-plyr-config"))}catch(e){return{}}}()),this.elements={container:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new Ne(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",ie),!P.nullOrUndefined(this.media)&&P.element(this.media))if(this.media.plyr)this.debug.warn("Target already setup");else if(this.config.enabled)if(ie.check().api){var r=this.media.cloneNode(!0);r.autoplay=!1,this.elements.original=r;var a=this.media.tagName.toLowerCase(),s=null,l=null;switch(a){case"div":if(s=this.media.querySelector("iframe"),P.element(s)){if(l=Ae(s.getAttribute("src")),this.provider=function(e){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(e)?Oe.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(e)?Oe.vimeo:null}(l.toString()),this.elements.container=this.media,this.media=s,this.elements.container.className="",l.search.length){var c=["1","true"];c.includes(l.searchParams.get("autoplay"))&&(this.config.autoplay=!0),c.includes(l.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=c.includes(l.searchParams.get("playsinline")),this.config.youtube.hl=l.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(P.empty(this.provider)||!Object.keys(Oe).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=Te.video;break;case"video":case"audio":this.type=a,this.provider=Oe.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=ie.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new De(this),this.storage=new ge(this),this.media.plyr=this,P.element(this.elements.container)||(this.elements.container=I("div",{tabindex:0}),z(this.media,this.elements.container)),Fe.addStyleHook.call(this),We.setup.call(this),this.config.debug&&j.call(this,this.elements.container,this.config.events.join(" "),function(e){o.debug.log("event: ".concat(e.type))}),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&Fe.build.call(this),this.listeners.container(),this.listeners.global(),this.fullscreen=new qe(this),this.config.ads.enabled&&(this.ads=new Ye(this)),this.isHTML5&&this.config.autoplay&&setTimeout(function(){return o.play()},10),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new Ge(this))):this.debug.error("Setup failed: no support")}else this.debug.error("Setup failed: no support");else this.debug.error("Setup failed: disabled by config");else this.debug.error("Setup failed: no suitable element passed")}return i(e,[{key:"play",value:function(){var e=this;return P.function(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then(function(){return e.ads.play()}).catch(function(){return e.media.play()}),this.media.play()):null}},{key:"pause",value:function(){this.playing&&P.function(this.media.pause)&&this.media.pause()}},{key:"togglePlay",value:function(e){(P.boolean(e)?e:!this.playing)?this.play():this.pause()}},{key:"stop",value:function(){this.isHTML5?(this.pause(),this.restart()):P.function(this.media.stop)&&this.media.stop()}},{key:"restart",value:function(){this.currentTime=0}},{key:"rewind",value:function(e){this.currentTime=this.currentTime-(P.number(e)?e:this.config.seekTime)}},{key:"forward",value:function(e){this.currentTime=this.currentTime+(P.number(e)?e:this.config.seekTime)}},{key:"increaseVolume",value:function(e){var t=this.media.muted?0:this.volume;this.volume=t+(P.number(e)?e:0)}},{key:"decreaseVolume",value:function(e){this.increaseVolume(-e)}},{key:"toggleCaptions",value:function(e){Se.toggle.call(this,e,!1)}},{key:"airplay",value:function(){ie.airplay&&this.media.webkitShowPlaybackTargetPicker()}},{key:"toggleControls",value:function(e){if(this.supported.ui&&!this.isAudio){var t=J(this.elements.container,this.config.classNames.hideControls),n=void 0===e?void 0:!e,i=K(this.elements.container,this.config.classNames.hideControls,n);if(i&&this.config.controls.includes("settings")&&!P.empty(this.config.settings)&&ke.toggleMenu.call(this,!1),i!==t){var o=i?"controlshidden":"controlsshown";F.call(this,this.media,o)}return!i}return!1}},{key:"on",value:function(e,t){j.call(this,this.elements.container,e,t)}},{key:"once",value:function(e,t){L.call(this,this.elements.container,e,t)}},{key:"off",value:function(e,t){q(this.elements.container,e,t)}},{key:"destroy",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.ready){var i=function(){document.body.style.overflow="",t.embed=null,n?(Object.keys(t.elements).length&&(U(t.elements.buttons.play),U(t.elements.captions),U(t.elements.controls),U(t.elements.wrapper),t.elements.buttons.play=null,t.elements.captions=null,t.elements.controls=null,t.elements.wrapper=null),P.function(e)&&e()):(function(){this&&this.eventListeners&&(this.eventListeners.forEach(function(e){var t=e.element,n=e.type,i=e.callback,o=e.options;t.removeEventListener(n,i,o)}),this.eventListeners=[])}.call(t),W(t.elements.original,t.elements.container),F.call(t,t.elements.original,"destroyed",!0),P.function(e)&&e.call(t.elements.original),t.ready=!1,setTimeout(function(){t.elements=null,t.media=null},200))};this.stop(),clearTimeout(this.timers.loading),clearTimeout(this.timers.controls),clearTimeout(this.timers.resized),this.isHTML5?(Fe.toggleNativeControls.call(this,!0),i()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&P.function(this.embed.destroy)&&this.embed.destroy(),i()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(i),setTimeout(i,200))}}},{key:"supports",value:function(e){return ie.mime.call(this,e)}},{key:"isHTML5",get:function(){return this.provider===Oe.html5}},{key:"isEmbed",get:function(){return this.isYouTube||this.isVimeo}},{key:"isYouTube",get:function(){return this.provider===Oe.youtube}},{key:"isVimeo",get:function(){return this.provider===Oe.vimeo}},{key:"isVideo",get:function(){return this.type===Te.video}},{key:"isAudio",get:function(){return this.type===Te.audio}},{key:"playing",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:"paused",get:function(){return Boolean(this.media.paused)}},{key:"stopped",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:"ended",get:function(){return Boolean(this.media.ended)}},{key:"currentTime",set:function(e){if(this.duration){var t=P.number(e)&&e>0;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log("Seeking to ".concat(this.currentTime," seconds"))}},get:function(){return Number(this.media.currentTime)}},{key:"buffered",get:function(){var e=this.media.buffered;return P.number(e)?e:e&&e.length&&this.duration>0?e.end(0)/this.duration:0}},{key:"seeking",get:function(){return Boolean(this.media.seeking)}},{key:"duration",get:function(){var e=parseFloat(this.config.duration),t=(this.media||{}).duration,n=P.number(t)&&t!==1/0?t:0;return e||n}},{key:"volume",set:function(e){var t=e;P.string(t)&&(t=Number(t)),P.number(t)||(t=this.storage.get("volume")),P.number(t)||(t=this.config.volume),t>1&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!P.empty(e)&&this.muted&&t>0&&(this.muted=!1)},get:function(){return Number(this.media.volume)}},{key:"muted",set:function(e){var t=e;P.boolean(t)||(t=this.storage.get("muted")),P.boolean(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t},get:function(){return Boolean(this.media.muted)}},{key:"hasAudio",get:function(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}},{key:"speed",set:function(e){var t=this,n=null;P.number(e)&&(n=e),P.number(n)||(n=this.storage.get("speed")),P.number(n)||(n=this.config.speed.selected);var i=this.minimumSpeed,o=this.maximumSpeed;n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:255;return Math.min(Math.max(e,t),n)}(n,i,o),this.config.speed.selected=n,setTimeout(function(){t.media.playbackRate=n},0)},get:function(){return Number(this.media.playbackRate)}},{key:"minimumSpeed",get:function(){return this.isYouTube?Math.min.apply(Math,a(this.options.speed)):this.isVimeo?.5:.0625}},{key:"maximumSpeed",get:function(){return this.isYouTube?Math.max.apply(Math,a(this.options.speed)):this.isVimeo?2:16}},{key:"quality",set:function(e){var t=this.config.quality,n=this.options.quality;if(n.length){var i=[!P.empty(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find(P.number),o=!0;if(!n.includes(i)){var r=function(e,t){return P.array(e)&&e.length?e.reduce(function(e,n){return Math.abs(n-t)<Math.abs(e-t)?n:e}):null}(n,i);this.debug.warn("Unsupported quality option: ".concat(i,", using ").concat(r," instead")),i=r,o=!1}t.selected=i,this.media.quality=i,o&&this.storage.set({quality:i})}},get:function(){return this.media.quality}},{key:"loop",set:function(e){var t=P.boolean(e)?e:this.config.loop.active;this.config.loop.active=t,this.media.loop=t},get:function(){return Boolean(this.media.loop)}},{key:"source",set:function(e){Ke.change.call(this,e)},get:function(){return this.media.currentSrc}},{key:"download",get:function(){var e=this.config.urls.download;return P.url(e)?e:this.source},set:function(e){P.url(e)&&(this.config.urls.download=e,ke.setDownloadUrl.call(this))}},{key:"poster",set:function(e){this.isVideo?Fe.setPoster.call(this,e,!1).catch(function(){}):this.debug.warn("Poster can only be set for video")},get:function(){return this.isVideo?this.media.getAttribute("poster"):null}},{key:"ratio",get:function(){if(!this.isVideo)return null;var e=re(ae.call(this));return P.array(e)?e.join(":"):e},set:function(e){this.isVideo?P.string(e)&&oe(e)?(this.config.ratio=e,se.call(this)):this.debug.error("Invalid aspect ratio specified (".concat(e,")")):this.debug.warn("Aspect ratio can only be set for video")}},{key:"autoplay",set:function(e){var t=P.boolean(e)?e:this.config.autoplay;this.config.autoplay=t},get:function(){return Boolean(this.config.autoplay)}},{key:"currentTrack",set:function(e){Se.set.call(this,e,!1)},get:function(){var e=this.captions,t=e.toggled,n=e.currentTrack;return t?n:-1}},{key:"language",set:function(e){Se.setLanguage.call(this,e,!1)},get:function(){return(Se.getCurrentTrack.call(this)||{}).language}},{key:"pip",set:function(e){if(ie.pip){var t=P.boolean(e)?e:!this.pip;P.function(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(t?Pe:"inline"),P.function(this.media.requestPictureInPicture)&&(!this.pip&&t?this.media.requestPictureInPicture():this.pip&&!t&&document.exitPictureInPicture())}},get:function(){return ie.pip?P.empty(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===Pe:null}}],[{key:"supported",value:function(e,t,n){return ie.check(e,t,n)}},{key:"loadSprite",value:function(e,t){return _e(e,t)}},{key:"setup",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;return P.string(t)?i=Array.from(document.querySelectorAll(t)):P.nodeList(t)?i=Array.from(t):P.array(t)&&(i=t.filter(P.element)),P.empty(i)?null:i.map(function(t){return new e(t,n)})}}]),e}();return Je.defaults=(Ue=Me,JSON.parse(JSON.stringify(Ue))),Je},"object"==typeof n&&void 0!==t?t.exports=o():"function"==typeof define&&define.amd?define("Plyr",o):(i=i||self).Plyr=o())}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],111:[function(e,t,n){var i,o;i=this,o=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t="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=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},i=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)};function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.reduce(function(e,n){var i=n.passengers[0];return i="function"==typeof i?i(t):n.passengers,e.concat(i)},[])}var r={},a=new(e.extend({data:function(){return{transports:r}},methods:{open:function(n){var i=n.to,o=n.from,r=n.passengers;if(i&&o&&r){var a;n.passengers=(a=r,Array.isArray(a)||"object"===(void 0===a?"undefined":t(a))?Object.freeze(a):a),-1===Object.keys(this.transports).indexOf(i)&&e.set(this.transports,i,[]);var s,l=this.getTransportIndex(n),c=this.transports[i].slice(0);-1===l?c.push(n):c[l]=n,this.transports[i]=(s=function(e,t){return e.order-t.order},c.map(function(e,t){return[t,e]}).sort(function(e,t){return this(e[1],t[1])||e[0]-t[0]}.bind(s)).map(function(e){return e[1]}))}},close:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.to,i=e.from;if(n&&i&&this.transports[n])if(t)this.transports[n]=[];else{var o=this.getTransportIndex(e);if(o>=0){var r=this.transports[n].slice(0);r.splice(o,1),this.transports[n]=r}}},hasTarget:function(e){return this.transports.hasOwnProperty(e)},hasContentFor:function(e){return!!this.transports[e]&&this.getContentFor(e).length>0},getSourceFor:function(e){return this.transports[e]&&this.transports[e][0].from},getContentFor:function(e){var t=this.transports[e];if(t)return o(t)},getTransportIndex:function(e){var t=e.to,n=e.from;for(var i in this.transports[t])if(this.transports[t][i].from===n)return i;return-1}}}))(r),s=/^(attrs|props|on|nativeOn|class|style|hook)$/,l=function(e){return e.reduce(function(e,t){var n,i,o,r,a;for(o in t)if(n=e[o],i=t[o],n&&s.test(o))if("class"===o&&("string"==typeof n&&(a=n,e[o]=n={},n[a]=!0),"string"==typeof i&&(a=i,t[o]=i={},i[a]=!0)),"on"===o||"nativeOn"===o||"hook"===o)for(r in i)n[r]=c(n[r],i[r]);else if(Array.isArray(n))e[o]=n.concat(i);else if(Array.isArray(i))e[o]=[n].concat(i);else for(r in i)n[r]=i[r];else e[o]=t[o];return e},{})};function c(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}var u={abstract:!1,name:"portalTarget",props:{attributes:{type:Object,default:function(){return{}}},multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[Boolean,String,Object],default:!1},transitionEvents:{type:Object,default:function(){return{}}}},data:function(){return{transports:a.transports,firstRender:!0}},created:function(){this.transports[this.name]||this.$set(this.transports,this.name,[])},mounted:function(){var e=this;this.unwatch=this.$watch("ownTransports",this.emitChange),this.$nextTick(function(){e.transition&&(e.firstRender=!1)}),this.$options.abstract&&(this.$options.abstract=!1)},updated:function(){this.$options.abstract&&(this.$options.abstract=!1)},beforeDestroy:function(){this.unwatch()},computed:{ownTransports:function(){var e=this.transports[this.name]||[];return this.multiple?e:0===e.length?[]:[e[e.length-1]]},passengers:function(){return o(this.ownTransports,this.slotProps)},hasAttributes:function(){return Object.keys(this.attributes).length>0},withTransition:function(){return!!this.transition},transitionData:function(){var e=this.transition,n={};return this.firstRender&&"object"===t(this.transition)&&!this.transition.appear?(n.props={name:"__notranstition__portal-vue__"},n):("string"==typeof e?n.props={name:e}:"object"===(void 0===e?"undefined":t(e))&&(n.props=e),this.renderSlim&&(n.props.tag=this.tag),n.on=this.transitionEvents,n)},transportedClasses:function(){return this.ownTransports.map(function(e){return e.class}).reduce(function(e,t){return e.concat(t)},[])}},methods:{emitChange:function(e,t){if(this.multiple)this.$emit("change",[].concat(i(e)),[].concat(i(t)));else{var o=0===e.length?void 0:e[0],r=0===t.length?void 0:t[0];this.$emit("change",n({},o),n({},r))}},children:function(){return 0!==this.passengers.length?this.passengers:this.$slots.default||[]},noWrapper:function(){var e=!this.hasAttributes&&this.slim;return e&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),e}},render:function(e){this.$options.abstract=!0;var t=this.noWrapper(),n=this.children(),i=t?"transition":"transition-group",o=this.tag;return this.withTransition?e(i,l([this.transitionData,{class:"vue-portal-target"}]),[n]):t?n[0]:e(o,l([{class:"vue-portal-target "+this.transportedClasses.join(" ")},this.attributes]),[n])}},d="undefined"!=typeof window,p=1,f={abstract:!1,name:"portal",props:{disabled:{type:Boolean,default:!1},name:{type:String,default:function(){return String(p++)}},order:{type:Number,default:0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:[String],default:"DIV"},targetEl:{type:d?[String,HTMLElement]:String},targetClass:{type:String},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},mounted:function(){this.targetEl&&this.mountToTarget(),this.disabled||this.sendUpdate(),this.$options.abstract&&(this.$options.abstract=!1)},updated:function(){this.disabled?this.clear():this.sendUpdate(),this.$options.abstract&&(this.$options.abstract=!1)},beforeDestroy:function(){this.clear(),this.mountedComp&&this.mountedComp.$destroy()},watch:{to:function(e,t){t&&t!==e&&this.clear(t),this.sendUpdate()},targetEl:function(e,t){e&&this.mountToTarget()}},methods:{normalizedSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},sendUpdate:function(){var e=this.normalizedSlots();e?a.open({from:this.name,to:this.to,passengers:[].concat(i(e)),class:this.targetClass&&this.targetClass.split(" "),order:this.order}):this.clear()},clear:function(e){a.close({from:this.name,to:e||this.to})},mountToTarget:function(){var t=void 0,i=this.targetEl;if("string"==typeof i)t=document.querySelector(i);else{if(!(i instanceof HTMLElement))return void console.warn("[vue-portal]: value of targetEl must be of type String or HTMLElement");t=i}if(t){var o=new e(n({},u,{parent:this,propsData:{name:this.to,tag:t.tagName,attributes:function(e){for(var t=e.hasAttributes()?e.attributes:[],n={},i=0;i<t.length;i++){var o=t[i];o.value&&(n[o.name]=""===o.value||o.value)}var r=void 0,a=void 0;return n.class&&(r=n.class,delete n.class),n.style&&(a=n.style,delete n.style),{attrs:n,class:r,style:a}}(t)}}));o.$mount(t),this.mountedComp=o}else console.warn("[vue-portal]: The specified targetEl "+i+" was not found")},normalizeChildren:function(e){return"function"==typeof e?e(this.slotProps):e}},render:function(e){var t=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return t.length&&this.disabled?(this.$options.abstract=!0,t.length<=1&&this.slim?t[0]:e(n,[this.normalizeChildren(t)])):e(n,{class:"v-portal",style:"display: none",key:"v-portal-placeholder"})}};function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.component(t.portalName||"Portal",f),e.component(t.portalTargetName||"PortalTarget",u)}return"undefined"!=typeof window&&window.Vue&&window.Vue.use({install:m}),{install:m,Portal:f,PortalTarget:u,Wormhole:a}},"object"==typeof n&&void 0!==t?t.exports=o(e("vue")):"function"==typeof define&&define.amd?define(["vue"],o):i.PortalVue=o(i.Vue)},{vue:180}],112:[function(e,t,n){(function(e){var n=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof o?new o(e.type,i.util.encode(e.content),e.alias):Array.isArray(e)?e.map(i.util.encode):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var o,r,a=i.util.type(t);switch(n=n||{},a){case"Object":if(r=i.util.objId(t),n[r])return n[r];for(var s in o={},n[r]=o,t)t.hasOwnProperty(s)&&(o[s]=e(t[s],n));return o;case"Array":return r=i.util.objId(t),n[r]?n[r]:(o=[],n[r]=o,t.forEach(function(t,i){o[i]=e(t,n)}),o);default:return t}}},languages:{extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var o in t)n[o]=t[o];return n},insertBefore:function(e,t,n,o){var r=(o=o||i.languages)[e],a={};for(var s in r)if(r.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(a[l]=n[l]);n.hasOwnProperty(s)||(a[s]=r[s])}var c=o[e];return o[e]=a,i.languages.DFS(i.languages,function(t,n){n===c&&t!=e&&(this[t]=a)}),a},DFS:function e(t,n,o,r){r=r||{};var a=i.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],o||s);var l=t[s],c=i.util.type(l);"Object"!==c||r[a(l)]?"Array"!==c||r[a(l)]||(r[a(l)]=!0,e(l,n,s,r)):(r[a(l)]=!0,e(l,n,null,r))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var o={callback:n,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",o);for(var r,a=e.querySelectorAll(o.selector),s=0;r=a[s++];)i.highlightElement(r,!0===t,o.callback)},highlightElement:function(n,o,r){for(var a,s="none",l=n;l&&!t.test(l.className);)l=l.parentNode;l&&(s=(l.className.match(t)||[,"none"])[1].toLowerCase(),a=i.languages[s]),n.className=n.className.replace(t,"").replace(/\s+/g," ")+" language-"+s,n.parentNode&&(l=n.parentNode,/pre/i.test(l.nodeName)&&(l.className=l.className.replace(t,"").replace(/\s+/g," ")+" language-"+s));var c={element:n,language:s,grammar:a,code:n.textContent},u=function(e){c.highlightedCode=e,i.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,i.hooks.run("after-highlight",c),i.hooks.run("complete",c),r&&r.call(c.element)};if(i.hooks.run("before-sanity-check",c),c.code)if(i.hooks.run("before-highlight",c),c.grammar)if(o&&e.Worker){var d=new Worker(i.filename);d.onmessage=function(e){u(e.data)},d.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else u(i.highlight(c.code,c.grammar,c.language));else u(i.util.encode(c.code));else i.hooks.run("complete",c)},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};return i.hooks.run("before-tokenize",r),r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),o.stringify(i.util.encode(r.tokens),r.language)},matchGrammar:function(e,t,n,r,a,s,l){for(var c in n)if(n.hasOwnProperty(c)&&n[c]){if(c==l)return;var u=n[c];u="Array"===i.util.type(u)?u:[u];for(var d=0;d<u.length;++d){var p=u[d],f=p.inside,m=!!p.lookbehind,h=!!p.greedy,g=0,v=p.alias;if(h&&!p.pattern.global){var _=p.pattern.toString().match(/[imuy]*$/)[0];p.pattern=RegExp(p.pattern.source,_+"g")}p=p.pattern||p;for(var b=r,y=a;b<t.length;y+=t[b].length,++b){var w=t[b];if(t.length>e.length)return;if(!(w instanceof o)){if(h&&b!=t.length-1){if(p.lastIndex=y,!(M=p.exec(e)))break;for(var x=M.index+(m?M[1].length:0),k=M.index+M[0].length,A=b,C=y,S=t.length;A<S&&(C<k||!t[A].type&&!t[A-1].greedy);++A)x>=(C+=t[A].length)&&(++b,y=C);if(t[b]instanceof o)continue;P=A-b,w=e.slice(y,C),M.index-=y}else{p.lastIndex=0;var M=p.exec(w),P=1}if(M){m&&(g=M[1]?M[1].length:0);k=(x=M.index+g)+(M=M[0].slice(g)).length;var O=w.slice(0,x),T=w.slice(k),E=[b,P];O&&(++b,y+=O.length,E.push(O));var N=new o(c,f?i.tokenize(M,f):M,v,M,h);if(E.push(N),T&&E.push(T),Array.prototype.splice.apply(t,E),1!=P&&i.matchGrammar(e,t,n,b,y,!0,c),s)break}else if(s)break}}}}},tokenize:function(e,t){var n=[e],o=t.rest;if(o){for(var r in o)t[r]=o[r];delete t.rest}return i.matchGrammar(e,n,t,0,0,!1),n},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var o,r=0;o=n[r++];)o(t)}},Token:o};function o(e,t,n,i,o){this.type=e,this.content=t,this.alias=n,this.length=0|(i||"").length,this.greedy=!!o}if(e.Prism=i,o.stringify=function(e,t){if("string"==typeof e)return e;if(Array.isArray(e))return e.map(function(e){return o.stringify(e,t)}).join("");var n={type:e.type,content:o.stringify(e.content,t),tag:"span",classes:["token",e.type],attributes:{},language:t};if(e.alias){var r=Array.isArray(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(n.classes,r)}i.hooks.run("wrap",n);var a=Object.keys(n.attributes).map(function(e){return e+'="'+(n.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+n.tag+' class="'+n.classes.join(" ")+'"'+(a?" "+a:"")+">"+n.content+"</"+n.tag+">"},!e.document)return e.addEventListener?(i.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),o=n.language,r=n.code,a=n.immediateClose;e.postMessage(i.highlight(r,i.languages[o],o)),a&&e.close()},!1),i):i;var r=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return r&&(i.filename=r.src,i.manual||r.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(i.highlightAll):window.setTimeout(i.highlightAll,16):document.addEventListener("DOMContentLoaded",i.highlightAll))),i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});void 0!==t&&t.exports&&(t.exports=n),void 0!==e&&(e.Prism=n),n.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:/<!DOCTYPE[\s\S]+?>/i,cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(e,t){var i={};i["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[t]},i.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}};o["language-"+t]={pattern:/[\s\S]+/,inside:n.languages[t]};var r={};r[e]={pattern:RegExp(/(<__[\s\S]*?>)(?:<!\[CDATA\[[\s\S]*?\]\]>\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:o},n.languages.insertBefore("markup","cdata",r)}}),n.languages.xml=n.languages.extend("markup",{}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/@[\w-]+/}},url:{pattern:RegExp("url\\((?:"+t.source+"|[^\n\r()]*)\\)","i"),inside:{function:/^url/i,punctuation:/^\(|\)$/}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+t.source+")*?(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:e.languages.css}},alias:"language-css"}},n.tag))}(n),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.])\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/-[-=]?|\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}}}),n.languages.markup&&n.languages.markup.tag.addInlined("script","javascript"),n.languages.js=n.languages.javascript,"undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(e){e=e||document;var t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"};Array.prototype.slice.call(e.querySelectorAll("pre[data-src]")).forEach(function(e){if(!e.hasAttribute("data-src-loaded")){for(var i,o=e.getAttribute("data-src"),r=e,a=/\blang(?:uage)?-([\w-]+)\b/i;r&&!a.test(r.className);)r=r.parentNode;if(r&&(i=(e.className.match(a)||[,""])[1]),!i){var s=(o.match(/\.(\w+)$/)||[,""])[1];i=t[s]||s}var l=document.createElement("code");l.className="language-"+i,e.textContent="",l.textContent="Loading…",e.appendChild(l);var c=new XMLHttpRequest;c.open("GET",o,!0),c.onreadystatechange=function(){4==c.readyState&&(c.status<400&&c.responseText?(l.textContent=c.responseText,n.highlightElement(l),e.setAttribute("data-src-loaded","")):c.status>=400?l.textContent="✖ Error "+c.status+" while fetching file: "+c.statusText:l.textContent="✖ Error: File does not exist or is empty")},c.send(null)}}),n.plugins.toolbar&&n.plugins.toolbar.registerButton("download-file",function(e){var t=e.element.parentNode;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-src")&&t.hasAttribute("data-download-link")){var n=t.getAttribute("data-src"),i=document.createElement("a");return i.textContent=t.getAttribute("data-download-link-label")||"Download",i.setAttribute("download",""),i.href=n,i}})},document.addEventListener("DOMContentLoaded",function(){self.Prism.fileHighlight()}))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],113:[function(e,t,n){var i,o,r=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(i===setTimeout)return setTimeout(e,0);if((i===a||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:a}catch(e){i=a}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(e){o=s}}();var c,u=[],d=!1,p=-1;function f(){d&&c&&(d=!1,c.length?u=c.concat(u):p=-1,u.length&&m())}function m(){if(!d){var e=l(f);d=!0;for(var t=u.length;t;){for(c=u,u=[];++p<t;)c&&c[p].run();p=-1,t=u.length}c=null,d=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||d||l(m)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},{}],114:[function(e,t,n){var i,o;i=window,o=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},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=4)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(6),o=function(){function e(e,t,n){this.id=e,this.name=t,this.color=n}return e.prototype.build=function(t){var n=document.createElement(e.CONTAINER_ELEMENT_TAG);n.classList.add(e.CURSOR_CLASS),n.id="ql-cursor-"+this.id,n.innerHTML=t.template;var i=n.getElementsByClassName(e.SELECTION_CLASS)[0],o=n.getElementsByClassName(e.CARET_CONTAINER_CLASS)[0],r=o.getElementsByClassName(e.CARET_CLASS)[0],a=n.getElementsByClassName(e.FLAG_CLASS)[0];return a.style.backgroundColor=this.color,r.style.backgroundColor=this.color,n.getElementsByClassName(e.NAME_CLASS)[0].textContent=this.name,this._hideDelay=t.hideDelayMs+"ms",this._hideSpeedMs=t.hideSpeedMs,this._positionFlag=t.positionFlag,a.style.transitionDelay=this._hideDelay,a.style.transitionDuration=this._hideSpeedMs+"ms",this._el=n,this._selectionEl=i,this._caretEl=o,this._flagEl=a,this._el},e.prototype.show=function(){this._el.classList.remove(e.HIDDEN_CLASS)},e.prototype.hide=function(){this._el.classList.add(e.HIDDEN_CLASS)},e.prototype.remove=function(){this._el.parentNode.removeChild(this._el)},e.prototype.toggleFlag=function(t){var n=this;this._flagEl.classList.toggle(e.SHOW_FLAG_CLASS,t)||(this._flagEl.classList.add(e.NO_DELAY_CLASS),setTimeout(function(){return n._flagEl.classList.remove(e.NO_DELAY_CLASS)},this._hideSpeedMs))},e.prototype.updateCaret=function(e,t){this._caretEl.style.top=e.top+"px",this._caretEl.style.left=e.left+"px",this._caretEl.style.height=e.height+"px",this._positionFlag?this._positionFlag(this._flagEl,e,t):this._updateCaretFlag(e,t)},e.prototype.updateSelection=function(e,t){var n=this;this._clearSelection(),e=e||[],e=Array.from(e),e=this._sanitize(e),(e=this._sortByDomPosition(e)).forEach(function(e){return n._addSelection(e,t)})},e.prototype._updateCaretFlag=function(t,n){this._flagEl.style.width="";var i=this._flagEl.getBoundingClientRect();this._flagEl.classList.remove(e.FLAG_FLIPPED_CLASS),t.left>n.width-i.width&&this._flagEl.classList.add(e.FLAG_FLIPPED_CLASS),this._flagEl.style.left=t.left+"px",this._flagEl.style.top=t.top+"px",this._flagEl.style.width=Math.ceil(i.width)+"px"},e.prototype._clearSelection=function(){this._selectionEl.innerHTML=""},e.prototype._addSelection=function(e,t){var n=this._selectionBlock(e,t);this._selectionEl.appendChild(n)},e.prototype._selectionBlock=function(t,n){var o=document.createElement(e.SELECTION_ELEMENT_TAG);return o.classList.add(e.SELECTION_BLOCK_CLASS),o.style.top=t.top-n.top+"px",o.style.left=t.left-n.left+"px",o.style.width=t.width+"px",o.style.height=t.height+"px",o.style.backgroundColor=i(this.color).setAlpha(.3).toString(),o},e.prototype._sortByDomPosition=function(e){return e.sort(function(e,t){return e.top===t.top?e.left-t.left:e.top-t.top})},e.prototype._sanitize=function(e){var t=this,n=new Set;return e.filter(function(e){if(!e.width||!e.height)return!1;var i=t._serialize(e);return!n.has(i)&&(n.add(i),!0)})},e.prototype._serialize=function(e){return["top:"+e.top,"right:"+e.right,"bottom:"+e.bottom,"left:"+e.left].join(";")},e.CONTAINER_ELEMENT_TAG="SPAN",e.SELECTION_ELEMENT_TAG="SPAN",e.CURSOR_CLASS="ql-cursor",e.SELECTION_CLASS="ql-cursor-selections",e.SELECTION_BLOCK_CLASS="ql-cursor-selection-block",e.CARET_CLASS="ql-cursor-caret",e.CARET_CONTAINER_CLASS="ql-cursor-caret-container",e.FLAG_CLASS="ql-cursor-flag",e.SHOW_FLAG_CLASS="show-flag",e.FLAG_FLIPPED_CLASS="flag-flipped",e.NAME_CLASS="ql-cursor-name",e.HIDDEN_CLASS="hidden",e.NO_DELAY_CLASS="no-delay",e}();t.default=o},function(e,t,n){var i=Array.prototype.slice,o=n(12),r=n(13),a=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:function(e,t,n){var c,u;if(s(e)||s(t))return!1;if(e.prototype!==t.prototype)return!1;if(r(e))return!!r(t)&&(e=i.call(e),t=i.call(t),a(e,t,n));if(l(e)){if(!l(t))return!1;if(e.length!==t.length)return!1;for(c=0;c<e.length;c++)if(e[c]!==t[c])return!1;return!0}try{var d=o(e),p=o(t)}catch(e){return!1}if(d.length!=p.length)return!1;for(d.sort(),p.sort(),c=d.length-1;c>=0;c--)if(d[c]!=p[c])return!1;for(c=d.length-1;c>=0;c--)if(u=d[c],!a(e[u],t[u],n))return!1;return typeof e==typeof t}(e,t,n))};function s(e){return null==e}function l(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length||"function"!=typeof e.copy||"function"!=typeof e.slice||e.length>0&&"number"!=typeof e[0])}},function(e,t,n){"use strict";var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===o.call(e)},l=function(e){if(!e||"[object Object]"!==o.call(e))return!1;var t,n=i.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&i.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||i.call(e,t)},c=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,t){if("__proto__"===t){if(!i.call(e,t))return;if(a)return a(e,t).value}return e[t]};e.exports=function e(){var t,n,i,o,r,a,d=arguments[0],p=1,f=arguments.length,m=!1;for("boolean"==typeof d&&(m=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(n in t)i=u(d,n),d!==(o=u(t,n))&&(m&&o&&(l(o)||(r=s(o)))?(r?(r=!1,a=i&&s(i)?i:[]):a=i&&l(i)?i:{},c(d,{name:n,newValue:e(m,a,o)})):void 0!==o&&c(d,{name:n,newValue:o}));return d}},function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o,r=i(n(16));!function(e){e.iterator=function(e){return new r.default(e)},e.length=function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}}(o||(o={})),t.default=o},function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(5));t.default=o.default;var r=i(n(0));t.Cursor=r.default,n(17)},function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(0)),a=o(n(7)),s=i(n(8)),l=i(n(9)),c=n(11),u=function(){function e(e,t){void 0===t&&(t={}),this._cursors={},this._quill=e,this._options=this._setDefaults(t),this._container=this._quill.addContainer(this._options.containerClass),this._boundsContainer=this._options.boundsContainer||this._quill.container,this._currentSelection=this._quill.getSelection(),this._registerSelectionChangeListeners(),this._registerTextChangeListener(),this._registerDomListeners()}return e.prototype.createCursor=function(e,t,n){var i=this._cursors[e];if(!i){i=new r.default(e,t,n),this._cursors[e]=i;var o=i.build(this._options);this._container.appendChild(o)}return i},e.prototype.moveCursor=function(e,t){var n=this._cursors[e];n&&(n.range=t,this._updateCursor(n))},e.prototype.removeCursor=function(e){var t=this._cursors[e];t&&(t.remove(),delete this._cursors[e])},e.prototype.update=function(){var e=this;this.cursors().forEach(function(t){return e._updateCursor(t)})},e.prototype.clearCursors=function(){var e=this;this.cursors().forEach(function(t){return e.removeCursor(t.id)})},e.prototype.toggleFlag=function(e,t){var n=this._cursors[e];n&&n.toggleFlag(t)},e.prototype.cursors=function(){var e=this;return Object.keys(this._cursors).map(function(t){return e._cursors[t]})},e.prototype._registerSelectionChangeListeners=function(){var e=this;this._quill.on(this._quill.constructor.events.SELECTION_CHANGE,function(t){e._currentSelection=t})},e.prototype._registerTextChangeListener=function(){var e=this;this._quill.on(this._quill.constructor.events.TEXT_CHANGE,function(t){return e._handleTextChange(t)})},e.prototype._registerDomListeners=function(){var e=this,t=this._quill.container.getElementsByClassName("ql-editor")[0];t.addEventListener("scroll",function(){return e.update()}),new l.default(function(){return e.update()}).observe(t)},e.prototype._updateCursor=function(e){if(!e.range)return e.hide();var t=this._indexWithinQuillBounds(e.range.index),n=this._indexWithinQuillBounds(e.range.index+e.range.length),i=this._quill.getLeaf(t),o=this._quill.getLeaf(n);if(!this._leafIsValid(i)||!this._leafIsValid(o))return e.hide();e.show();var r=this._boundsContainer.getBoundingClientRect(),s=this._quill.getBounds(n);e.updateCaret(s,r);var l=this._lineRanges(e,i,o).reduce(function(e,t){return e.concat(Array.from(a.getClientRects(t)))},[]);e.updateSelection(l,r)},e.prototype._indexWithinQuillBounds=function(e){var t=this._quill.getLength(),n=t?t-1:0;return e=Math.max(e,0),Math.min(e,n)},e.prototype._leafIsValid=function(e){return e&&e[0]&&e[0].domNode&&e[1]>=0},e.prototype._handleTextChange=function(e){var t=this;window.setTimeout(function(){t._options.transformOnTextChange&&t._transformCursors(e),t._options.selectionChangeSource&&(t._emitSelection(),t.update())})},e.prototype._emitSelection=function(){this._quill.emitter.emit(this._quill.constructor.events.SELECTION_CHANGE,this._quill.getSelection(),this._currentSelection,this._options.selectionChangeSource)},e.prototype._setDefaults=function(e){return(e=Object.assign({},e)).template=e.template||s.default,e.containerClass=e.containerClass||"ql-cursors",null!==e.selectionChangeSource&&(e.selectionChangeSource=e.selectionChangeSource||this._quill.constructor.sources.API),e.hideDelayMs=Number.isInteger(e.hideDelayMs)?e.hideDelayMs:3e3,e.hideSpeedMs=Number.isInteger(e.hideSpeedMs)?e.hideSpeedMs:400,e.transformOnTextChange=!!e.transformOnTextChange,e},e.prototype._lineRanges=function(e,t,n){var i=this._quill.getLines(e.range);return i.reduce(function(e,o,r){if(!o.children){var a=document.createRange();return a.selectNode(o.domNode),e.concat(a)}var s=0===r?t:o.path(0).pop(),l=s[0],c=s[1],u=r===i.length-1?n:o.path(o.length()-1).pop(),d=u[0],p=u[1],f=document.createRange();return l.domNode.nodeType===Node.TEXT_NODE?f.setStart(l.domNode,c):f.setStartBefore(l.domNode),d.domNode.nodeType===Node.TEXT_NODE?f.setEnd(d.domNode,p):f.setEndAfter(d.domNode),e.concat(f)},[])},e.prototype._transformCursors=function(e){var t=this;e=new c(e),this.cursors().filter(function(e){return e.range}).forEach(function(n){n.range.index=e.transformPosition(n.range.index),t._updateCursor(n)})},e}();t.default=u},function(e,t,n){var i;!function(o){var r=/^\s+/,a=/\s+$/,s=0,l=o.round,c=o.min,u=o.max,d=o.random;function p(e,t){if(t=t||{},(e=e||"")instanceof p)return e;if(!(this instanceof p))return new p(e,t);var n=function(e){var t,n,i,s={r:0,g:0,b:0},l=1,d=null,p=null,f=null,m=!1,h=!1;return"string"==typeof e&&(e=function(e){e=e.replace(r,"").replace(a,"").toLowerCase();var t,n=!1;if(T[e])e=T[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=H.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=H.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=H.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=H.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=H.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=H.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=H.hex8.exec(e))?{r:q(t[1]),g:q(t[2]),b:q(t[3]),a:R(t[4]),format:n?"name":"hex8"}:(t=H.hex6.exec(e))?{r:q(t[1]),g:q(t[2]),b:q(t[3]),format:n?"name":"hex"}:(t=H.hex4.exec(e))?{r:q(t[1]+""+t[1]),g:q(t[2]+""+t[2]),b:q(t[3]+""+t[3]),a:R(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=H.hex3.exec(e))&&{r:q(t[1]+""+t[1]),g:q(t[2]+""+t[2]),b:q(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==typeof e&&(U(e.r)&&U(e.g)&&U(e.b)?(t=e.r,n=e.g,i=e.b,s={r:255*$(t,255),g:255*$(n,255),b:255*$(i,255)},m=!0,h="%"===String(e.r).substr(-1)?"prgb":"rgb"):U(e.h)&&U(e.s)&&U(e.v)?(d=F(e.s),p=F(e.v),s=function(e,t,n){e=6*$(e,360),t=$(t,100),n=$(n,100);var i=o.floor(e),r=e-i,a=n*(1-t),s=n*(1-r*t),l=n*(1-(1-r)*t),c=i%6;return{r:255*[n,s,a,a,l,n][c],g:255*[l,n,n,s,a,a][c],b:255*[a,a,l,n,n,s][c]}}(e.h,d,p),m=!0,h="hsv"):U(e.h)&&U(e.s)&&U(e.l)&&(d=F(e.s),f=F(e.l),s=function(e,t,n){var i,o,r;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=$(e,360),t=$(t,100),n=$(n,100),0===t)i=o=r=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=a(l,s,e+1/3),o=a(l,s,e),r=a(l,s,e-1/3)}return{r:255*i,g:255*o,b:255*r}}(e.h,d,f),m=!0,h="hsl"),e.hasOwnProperty("a")&&(l=e.a)),l=N(l),{ok:m,format:e.format||h,r:c(255,u(s.r,0)),g:c(255,u(s.g,0)),b:c(255,u(s.b,0)),a:l}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=s++}function f(e,t,n){e=$(e,255),t=$(t,255),n=$(n,255);var i,o,r=u(e,t,n),a=c(e,t,n),s=(r+a)/2;if(r==a)i=o=0;else{var l=r-a;switch(o=s>.5?l/(2-r-a):l/(r+a),r){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4}i/=6}return{h:i,s:o,l:s}}function m(e,t,n){e=$(e,255),t=$(t,255),n=$(n,255);var i,o,r=u(e,t,n),a=c(e,t,n),s=r,l=r-a;if(o=0===r?0:l/r,r==a)i=0;else{switch(r){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4}i/=6}return{h:i,s:o,v:s}}function h(e,t,n,i){var o=[L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function g(e,t,n,i){return[L(D(i)),L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16))].join("")}function v(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.s-=t/100,n.s=j(n.s),p(n)}function _(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.s+=t/100,n.s=j(n.s),p(n)}function b(e){return p(e).desaturate(100)}function y(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.l+=t/100,n.l=j(n.l),p(n)}function w(e,t){t=0===t?0:t||10;var n=p(e).toRgb();return n.r=u(0,c(255,n.r-l(-t/100*255))),n.g=u(0,c(255,n.g-l(-t/100*255))),n.b=u(0,c(255,n.b-l(-t/100*255))),p(n)}function x(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.l-=t/100,n.l=j(n.l),p(n)}function k(e,t){var n=p(e).toHsl(),i=(n.h+t)%360;return n.h=i<0?360+i:i,p(n)}function A(e){var t=p(e).toHsl();return t.h=(t.h+180)%360,p(t)}function C(e){var t=p(e).toHsl(),n=t.h;return[p(e),p({h:(n+120)%360,s:t.s,l:t.l}),p({h:(n+240)%360,s:t.s,l:t.l})]}function S(e){var t=p(e).toHsl(),n=t.h;return[p(e),p({h:(n+90)%360,s:t.s,l:t.l}),p({h:(n+180)%360,s:t.s,l:t.l}),p({h:(n+270)%360,s:t.s,l:t.l})]}function M(e){var t=p(e).toHsl(),n=t.h;return[p(e),p({h:(n+72)%360,s:t.s,l:t.l}),p({h:(n+216)%360,s:t.s,l:t.l})]}function P(e,t,n){t=t||6,n=n||30;var i=p(e).toHsl(),o=360/n,r=[p(e)];for(i.h=(i.h-(o*t>>1)+720)%360;--t;)i.h=(i.h+o)%360,r.push(p(i));return r}function O(e,t){t=t||6;for(var n=p(e).toHsv(),i=n.h,o=n.s,r=n.v,a=[],s=1/t;t--;)a.push(p({h:i,s:o,v:r})),r=(r+s)%1;return a}p.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,i=this.toRgb();return e=i.r/255,t=i.g/255,n=i.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=N(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=m(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),i=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+i+"%)":"hsva("+t+", "+n+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),i=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+i+"%)":"hsla("+t+", "+n+"%, "+i+"%, "+this._roundA+")"},toHex:function(e){return h(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,i,o){var r=[L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16)),L(D(i))];return o&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)&&r[3].charAt(0)==r[3].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0)+r[3].charAt(0):r.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*$(this._r,255))+"%",g:l(100*$(this._g,255))+"%",b:l(100*$(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*$(this._r,255))+"%, "+l(100*$(this._g,255))+"%, "+l(100*$(this._b,255))+"%)":"rgba("+l(100*$(this._r,255))+"%, "+l(100*$(this._g,255))+"%, "+l(100*$(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(E[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,i=this._gradientType?"GradientType = 1, ":"";if(e){var o=p(e);n="#"+g(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,i=this._a<1&&this._a>=0;return t||!i||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return p(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(y,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(_,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification(k,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(P,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(M,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},p.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]="a"===i?e[i]:F(e[i]));e=n}return p(e,t)},p.equals=function(e,t){return!(!e||!t)&&p(e).toRgbString()==p(t).toRgbString()},p.random=function(){return p.fromRatio({r:d(),g:d(),b:d()})},p.mix=function(e,t,n){n=0===n?0:n||50;var i=p(e).toRgb(),o=p(t).toRgb(),r=n/100;return p({r:(o.r-i.r)*r+i.r,g:(o.g-i.g)*r+i.g,b:(o.b-i.b)*r+i.b,a:(o.a-i.a)*r+i.a})},p.readability=function(e,t){var n=p(e),i=p(t);return(o.max(n.getLuminance(),i.getLuminance())+.05)/(o.min(n.getLuminance(),i.getLuminance())+.05)},p.isReadable=function(e,t,n){var i,o,r=p.readability(e,t);switch(o=!1,(i=function(e){var t,n;return"AA"!==(t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==t&&(t="AA"),"small"!==(n=(e.size||"small").toLowerCase())&&"large"!==n&&(n="small"),{level:t,size:n}}(n)).level+i.size){case"AAsmall":case"AAAlarge":o=r>=4.5;break;case"AAlarge":o=r>=3;break;case"AAAsmall":o=r>=7}return o},p.mostReadable=function(e,t,n){var i,o,r,a,s=null,l=0;o=(n=n||{}).includeFallbackColors,r=n.level,a=n.size;for(var c=0;c<t.length;c++)(i=p.readability(e,t[c]))>l&&(l=i,s=p(t[c]));return p.isReadable(e,s,{level:r,size:a})||!o?s:(n.includeFallbackColors=!1,p.mostReadable(e,["#fff","#000"],n))};var T=p.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},E=p.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(T);function N(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function $(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function j(e){return c(1,u(0,e))}function q(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function F(e){return e<=1&&(e=100*e+"%"),e}function D(e){return o.round(255*parseFloat(e)).toString(16)}function R(e){return q(e)/255}var z,B,I,H=(B="[\\s|\\(]+("+(z="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",I="[\\s|\\(]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",{CSS_UNIT:new RegExp(z),rgb:new RegExp("rgb"+B),rgba:new RegExp("rgba"+I),hsl:new RegExp("hsl"+B),hsla:new RegExp("hsla"+I),hsv:new RegExp("hsv"+B),hsva:new RegExp("hsva"+I),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function U(e){return!!H.CSS_UNIT.exec(e)}e.exports?e.exports=p:void 0===(i=function(){return p}.call(t,n,t,e))||(e.exports=i)}(Math)},function(e,t,n){var i,o;void 0===(o="function"==typeof(i=function(){var e,t={};function n(e){var t;return e?screen.deviceXDPI===screen.logicalXDPI?e:"length"in e?Array.prototype.map.call(e,n):(t=screen.deviceXDPI/screen.logicalXDPI,{top:e.top/t,bottom:e.bottom/t,left:e.left/t,right:e.right/t,width:e.width/t,height:e.height/t}):e}function i(e,t){var n,i=0;if(1024>=t.length)return Array.prototype.push.apply(e,t);for(;i<t.length;)n=Array.prototype.push.apply(e,Array.prototype.slice.call(t,i,i+1024)),i+=1024;return n}return t.isBroken=function(){var t,n,i,o,r,a,s,l;return void 0===e&&(n=document.createElement("p"),i=document.createElement("span"),o=document.createTextNode("aa"),r=document.createTextNode("aa"),(a=document.createElement("img")).setAttribute("src","data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="),s=document.createRange(),e={},n.appendChild(o),n.appendChild(i),i.appendChild(a),i.appendChild(r),document.body.appendChild(n),s.setStart(o,1),s.setEnd(i,0),e.getClientRects=e.getBoundingClientRect=s.getClientRects().length>1,e.getClientRects||(s.setEnd(r,1),e.getClientRects=e.getBoundingClientRect=2===s.getClientRects().length),e.getBoundingClientRect||(s.setEnd(s.startContainer,s.startOffset),t=s.getBoundingClientRect(),e.getBoundingClientRect=0===t.top&&0===t.left),document.body.removeChild(n),l=window.ActiveXObject&&new Function("/*@cc_on return @_jscript_version; @*/")(),e.ieZoom=!!l&&l<=10),e},t.getClientRects=function(e){var t,o,r,a,s,l=this.isBroken();if(l.ieZoom)return n(e.getClientRects());if(!l.getClientRects)return e.getClientRects();for(t=[],r=[],o=e.endContainer,a=e.endOffset,s=document.createRange();o!==e.commonAncestorContainer;)s.setStart(o,0),s.setEnd(o,a),i(r,s.getClientRects()),a=Array.prototype.indexOf.call(o.parentNode.childNodes,o),o=o.parentNode;return(s=e.cloneRange()).setEnd(o,a),i(t,s.getClientRects()),i(t,r),t},t.getBoundingClientRect=function(e){var t,i,o,r,a,s,l=this.getClientRects(e);if(0===l.length)return null;if(a=e.getBoundingClientRect(),(s=this.isBroken()).ieZoom)return n(a);if(!s.getBoundingClientRect)return a;if(0===a.width&&0===a.height)return l[0];for(t=0,i=l.length;t<i;t++)r=l[t],o?(o.left=Math.min(o.left,r.left),o.top=Math.min(o.top,r.top),o.right=Math.max(o.right,r.right),o.bottom=Math.max(o.bottom,r.bottom)):o={left:r.left,top:r.top,right:r.right,bottom:r.bottom};return o&&(o.width=o.right-o.left,o.height=o.bottom-o.top),o},t})?i.call(t,n,t,e):i)||(e.exports=o)},function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(0)),r='\n <span class="'+o.default.SELECTION_CLASS+'"></span>\n <span class="'+o.default.CARET_CONTAINER_CLASS+'">\n <span class="'+o.default.CARET_CLASS+'"></span>\n </span>\n <div class="'+o.default.FLAG_CLASS+'">\n <small class="'+o.default.NAME_CLASS+'"></small>\n </div>\n';t.default=r},function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,i){return e[0]===t&&(n=i,!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),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(t,n){var i=e(this.__entries__,t);~i?this.__entries__[i][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,i=e(n,t);~i&&n.splice(i,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,i=this.__entries__;n<i.length;n++){var o=i[n];e.call(t,o[1],o[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),r="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},a=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,i=!1,o=0;function a(){n&&(n=!1,e()),i&&l()}function s(){r(a)}function l(){var e=Date.now();if(n){if(e-o<2)return;i=!0}else n=!0,i=!1,setTimeout(s,t);o=e}return l}(this.refresh.bind(this),20)}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(){this.updateObservers_()&&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(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(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(){i&&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;a.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),c=function(e,t){for(var n=0,i=Object.keys(t);n<i.length;n++){var o=i[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=g(0,0,0,0);function p(e){return parseFloat(e)||0}function f(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+p(e["border-"+n+"-width"])},0)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function h(e){return i?m(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var i=u(e).getComputedStyle(e),o=function(e){for(var t={},n=0,i=["top","right","bottom","left"];n<i.length;n++){var o=i[n],r=e["padding-"+o];t[o]=p(r)}return t}(i),r=o.left+o.right,a=o.top+o.bottom,s=p(i.width),l=p(i.height);if("border-box"===i.boxSizing&&(Math.round(s+r)!==t&&(s-=f(i,"left","right")+r),Math.round(l+a)!==n&&(l-=f(i,"top","bottom")+a)),!function(e){return e===u(e).document.documentElement}(e)){var c=Math.round(s+r)-t,m=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(m)&&(l-=m)}return g(o.left,o.top,s,l)}(e):d}function g(e,t,n,i){return{x:e,y:t,width:n,height:i}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=h(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}(),_=function(){function e(e,t,i){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_=i}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 u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(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 u(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 function(e,t){var n,i,o,r,a,s,l,u=(i=(n=t).x,o=n.y,r=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),c(l,{x:i,y:o,width:r,height:a,top:o,right:i+r,bottom:a+o,left:i}),l);c(this,{target:e,contentRect:u})}(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}(),b="undefined"!=typeof WeakMap?new WeakMap:new n,y=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=l.getInstance(),i=new _(t,n,this);b.set(this,i)};["observe","unobserve","disconnect"].forEach(function(e){y.prototype[e]=function(){var t;return(t=b.get(this))[e].apply(t,arguments)}});var w=void 0!==o.ResizeObserver?o.ResizeObserver:y;t.default=w}.call(this,n(10))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=i(n(1)),r=i(n(2)),a=i(n(14)),s=i(n(15)),l=i(n(3)),c=String.fromCharCode(0),u=function(){function e(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]}return e.prototype.insert=function(e,t){var n={};return"string"==typeof e&&0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},e.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},e.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},e.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=r.default(!0,{},e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(o.default(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},e.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},e.prototype.filter=function(e){return this.ops.filter(e)},e.prototype.forEach=function(e){this.ops.forEach(e)},e.prototype.map=function(e){return this.ops.map(e)},e.prototype.partition=function(e){var t=[],n=[];return this.forEach(function(i){(e(i)?t:n).push(i)}),[t,n]},e.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},e.prototype.changeLength=function(){return this.reduce(function(e,t){return t.insert?e+l.default.length(t):t.delete?e-t.delete:e},0)},e.prototype.length=function(){return this.reduce(function(e,t){return e+l.default.length(t)},0)},e.prototype.slice=function(t,n){void 0===t&&(t=0),void 0===n&&(n=1/0);for(var i=[],o=l.default.iterator(this.ops),r=0;r<n&&o.hasNext();){var a=void 0;r<t?a=o.next(t-r):(a=o.next(n-r),i.push(a)),r+=l.default.length(a)}return new e(i)},e.prototype.compose=function(t){var n=l.default.iterator(this.ops),i=l.default.iterator(t.ops),r=[],a=i.peek();if(null!=a&&"number"==typeof a.retain&&null==a.attributes){for(var c=a.retain;"insert"===n.peekType()&&n.peekLength()<=c;)c-=n.peekLength(),r.push(n.next());a.retain-c>0&&i.next(a.retain-c)}for(var u=new e(r);n.hasNext()||i.hasNext();)if("insert"===i.peekType())u.push(i.next());else if("delete"===n.peekType())u.push(n.next());else{var d=Math.min(n.peekLength(),i.peekLength()),p=n.next(d),f=i.next(d);if("number"==typeof f.retain){var m={};"number"==typeof p.retain?m.retain=d:m.insert=p.insert;var h=s.default.compose(p.attributes,f.attributes,"number"==typeof p.retain);if(h&&(m.attributes=h),u.push(m),!i.hasNext()&&o.default(u.ops[u.ops.length-1],m)){var g=new e(n.rest());return u.concat(g).chop()}}else"number"==typeof f.delete&&"number"==typeof p.retain&&u.push(f)}return u.chop()},e.prototype.concat=function(t){var n=new e(this.ops.slice());return t.ops.length>0&&(n.push(t.ops[0]),n.ops=n.ops.concat(t.ops.slice(1))),n},e.prototype.diff=function(t,n){if(this.ops===t.ops)return new e;var i=[this,t].map(function(e){return e.map(function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:c;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")}).join("")}),r=new e,u=a.default(i[0],i[1],n),d=l.default.iterator(this.ops),p=l.default.iterator(t.ops);return u.forEach(function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case a.default.INSERT:n=Math.min(p.peekLength(),t),r.push(p.next(n));break;case a.default.DELETE:n=Math.min(t,d.peekLength()),d.next(n),r.delete(n);break;case a.default.EQUAL:n=Math.min(d.peekLength(),p.peekLength(),t);var i=d.next(n),l=p.next(n);o.default(i.insert,l.insert)?r.retain(n,s.default.diff(i.attributes,l.attributes)):r.push(l).delete(n)}t-=n}}),r.chop()},e.prototype.eachLine=function(t,n){void 0===n&&(n="\n");for(var i=l.default.iterator(this.ops),o=new e,r=0;i.hasNext();){if("insert"!==i.peekType())return;var a=i.peek(),s=l.default.length(a)-i.peekLength(),c="string"==typeof a.insert?a.insert.indexOf(n,s)-s:-1;if(c<0)o.push(i.next());else if(c>0)o.push(i.next(c));else{if(!1===t(o,i.next(1).attributes||{},r))return;r+=1,o=new e}}o.length()>0&&t(o,{},r)},e.prototype.invert=function(t){var n=new e;return this.reduce(function(e,i){if(i.insert)n.delete(l.default.length(i));else{if(i.retain&&null==i.attributes)return n.retain(i.retain),e+i.retain;if(i.delete||i.retain&&i.attributes){var o=i.delete||i.retain;return t.slice(e,e+o).forEach(function(e){i.delete?n.push(e):i.retain&&i.attributes&&n.retain(l.default.length(e),s.default.invert(i.attributes,e.attributes))}),e+o}}return e},0),n.chop()},e.prototype.transform=function(t,n){if(void 0===n&&(n=!1),n=!!n,"number"==typeof t)return this.transformPosition(t,n);for(var i=t,o=l.default.iterator(this.ops),r=l.default.iterator(i.ops),a=new e;o.hasNext()||r.hasNext();)if("insert"!==o.peekType()||!n&&"insert"===r.peekType())if("insert"===r.peekType())a.push(r.next());else{var c=Math.min(o.peekLength(),r.peekLength()),u=o.next(c),d=r.next(c);if(u.delete)continue;d.delete?a.push(d):a.retain(c,s.default.transform(u.attributes,d.attributes,n))}else a.retain(l.default.length(o.next()));return a.chop()},e.prototype.transformPosition=function(e,t){void 0===t&&(t=!1),t=!!t;for(var n=l.default.iterator(this.ops),i=0;n.hasNext()&&i<=e;){var o=n.peekLength(),r=n.peekType();n.next(),"delete"!==r?("insert"===r&&(i<e||!t)&&(e+=o),i+=o):e-=Math.min(o,e-i)}return e},e.Op=l.default,e.AttributeMap=s.default,e}();e.exports=u},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}(e.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(e,t){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function i(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function o(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}(t=e.exports=n?i:o).supported=i,t.unsupported=o},function(e,t){function n(e,t,a,s){if(e===t)return e?[[0,e]]:[];if(null!=a){var d=function(e,t,n){var i="number"==typeof n?{index:n,length:0}:n.oldRange,o="number"==typeof n?null:n.newRange,r=e.length,a=t.length;if(0===i.length&&(null===o||0===o.length)){var s=i.index,l=e.slice(0,s),c=e.slice(s),d=o?o.index:null,p=s+a-r;if((null===d||d===p)&&!(p<0||p>a)){var f=t.slice(0,p);if((y=t.slice(p))===c){var m=Math.min(s,p),h=l.slice(0,m),g=f.slice(0,m);if(h===g){var v=l.slice(m),_=f.slice(m);return u(h,v,_,c)}}}if(null===d||d===s){var b=s,y=(f=t.slice(0,b),t.slice(b));if(f===l){var w=Math.min(r-b,a-b),x=c.slice(c.length-w),k=y.slice(y.length-w);if(x===k)return u(l,v=c.slice(0,c.length-w),_=y.slice(0,y.length-w),x)}}}return i.length>0&&o&&0===o.length&&(h=e.slice(0,i.index),x=e.slice(i.index+i.length),!(a<(m=h.length)+(w=x.length))&&(g=t.slice(0,m),k=t.slice(a-w),h===g&&x===k))?u(h,v=e.slice(m,r-w),_=t.slice(m,a-w),x):null}(e,t,a);if(d)return d}var p=o(e,t),f=e.substring(0,p);p=r(e=e.substring(p),t=t.substring(p));var m=e.substring(e.length-p),h=function(e,t){var a;if(!e)return[[1,t]];if(!t)return[[-1,e]];var s=e.length>t.length?e:t,l=e.length>t.length?t:e,c=s.indexOf(l);if(-1!==c)return a=[[1,s.substring(0,c)],[0,l],[1,s.substring(c+l.length)]],e.length>t.length&&(a[0][0]=a[2][0]=-1),a;if(1===l.length)return[[-1,e],[1,t]];var u=function(e,t){var n=e.length>t.length?e:t,i=e.length>t.length?t:e;if(n.length<4||2*i.length<n.length)return null;function a(e,t,n){for(var i,a,s,l,c=e.substring(n,n+Math.floor(e.length/4)),u=-1,d="";-1!==(u=t.indexOf(c,u+1));){var p=o(e.substring(n),t.substring(u)),f=r(e.substring(0,n),t.substring(0,u));d.length<f+p&&(d=t.substring(u-f,u)+t.substring(u,u+p),i=e.substring(0,n-f),a=e.substring(n+p),s=t.substring(0,u-f),l=t.substring(u+p))}return 2*d.length>=e.length?[i,a,s,l,d]:null}var s,l,c,u,d,p=a(n,i,Math.ceil(n.length/4)),f=a(n,i,Math.ceil(n.length/2));return p||f?(s=f?p&&p[4].length>f[4].length?p:f:p,e.length>t.length?(l=s[0],c=s[1],u=s[2],d=s[3]):(u=s[0],d=s[1],l=s[2],c=s[3]),[l,c,u,d,s[4]]):null}(e,t);if(u){var d=u[0],p=u[1],f=u[2],m=u[3],h=u[4],g=n(d,f),v=n(p,m);return g.concat([[0,h]],v)}return function(e,t){for(var n=e.length,o=t.length,r=Math.ceil((n+o)/2),a=r,s=2*r,l=new Array(s),c=new Array(s),u=0;u<s;u++)l[u]=-1,c[u]=-1;l[a+1]=0,c[a+1]=0;for(var d=n-o,p=d%2!=0,f=0,m=0,h=0,g=0,v=0;v<r;v++){for(var _=-v+f;_<=v-m;_+=2){for(var b=a+_,y=(C=_===-v||_!==v&&l[b-1]<l[b+1]?l[b+1]:l[b-1]+1)-_;C<n&&y<o&&e.charAt(C)===t.charAt(y);)C++,y++;if(l[b]=C,C>n)m+=2;else if(y>o)f+=2;else if(p&&(k=a+d-_)>=0&&k<s&&-1!==c[k]){var w=n-c[k];if(C>=w)return i(e,t,C,y)}}for(var x=-v+h;x<=v-g;x+=2){for(var k=a+x,A=(w=x===-v||x!==v&&c[k-1]<c[k+1]?c[k+1]:c[k-1]+1)-x;w<n&&A<o&&e.charAt(n-w-1)===t.charAt(o-A-1);)w++,A++;if(c[k]=w,w>n)g+=2;else if(A>o)h+=2;else if(!p&&(b=a+d-x)>=0&&b<s&&-1!==l[b]){var C=l[b];if(y=a+C-b,C>=(w=n-w))return i(e,t,C,y)}}}return[[-1,e],[1,t]]}(e,t)}(e=e.substring(0,e.length-p),t=t.substring(0,t.length-p));return f&&h.unshift([0,f]),m&&h.push([0,m]),function e(t,n){t.push([0,""]);for(var i,a=0,s=0,u=0,d="",p="";a<t.length;)if(a<t.length-1&&!t[a][1])t.splice(a,1);else switch(t[a][0]){case 1:u++,p+=t[a][1],a++;break;case-1:s++,d+=t[a][1],a++;break;case 0:var f=a-u-s-1;if(n){if(f>=0&&c(t[f][1])){var m=t[f][1].slice(-1);if(t[f][1]=t[f][1].slice(0,-1),d=m+d,p=m+p,!t[f][1]){t.splice(f,1),a--;var h=f-1;t[h]&&1===t[h][0]&&(u++,p=t[h][1]+p,h--),t[h]&&-1===t[h][0]&&(s++,d=t[h][1]+d,h--),f=h}}l(t[a][1])&&(m=t[a][1].charAt(0),t[a][1]=t[a][1].slice(1),d+=m,p+=m)}if(a<t.length-1&&!t[a][1]){t.splice(a,1);break}if(d.length>0||p.length>0){d.length>0&&p.length>0&&(0!==(i=o(p,d))&&(f>=0?t[f][1]+=p.substring(0,i):(t.splice(0,0,[0,p.substring(0,i)]),a++),p=p.substring(i),d=d.substring(i)),0!==(i=r(p,d))&&(t[a][1]=p.substring(p.length-i)+t[a][1],p=p.substring(0,p.length-i),d=d.substring(0,d.length-i)));var g=u+s;0===d.length&&0===p.length?(t.splice(a-g,g),a-=g):0===d.length?(t.splice(a-g,g,[1,p]),a=a-g+1):0===p.length?(t.splice(a-g,g,[-1,d]),a=a-g+1):(t.splice(a-g,g,[-1,d],[1,p]),a=a-g+2)}0!==a&&0===t[a-1][0]?(t[a-1][1]+=t[a][1],t.splice(a,1)):a++,u=0,s=0,d="",p=""}""===t[t.length-1][1]&&t.pop();var v=!1;for(a=1;a<t.length-1;)0===t[a-1][0]&&0===t[a+1][0]&&(t[a][1].substring(t[a][1].length-t[a-1][1].length)===t[a-1][1]?(t[a][1]=t[a-1][1]+t[a][1].substring(0,t[a][1].length-t[a-1][1].length),t[a+1][1]=t[a-1][1]+t[a+1][1],t.splice(a-1,1),v=!0):t[a][1].substring(0,t[a+1][1].length)==t[a+1][1]&&(t[a-1][1]+=t[a+1][1],t[a][1]=t[a][1].substring(t[a+1][1].length)+t[a+1][1],t.splice(a+1,1),v=!0)),a++;v&&e(t,n)}(h,s),h}function i(e,t,i,o){var r=e.substring(0,i),a=t.substring(0,o),s=e.substring(i),l=t.substring(o),c=n(r,a),u=n(s,l);return c.concat(u)}function o(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;for(var n=0,i=Math.min(e.length,t.length),o=i,r=0;n<o;)e.substring(r,o)==t.substring(r,o)?r=n=o:i=o,o=Math.floor((i-n)/2+n);return a(e.charCodeAt(o-1))&&o--,o}function r(e,t){if(!e||!t||e.slice(-1)!==t.slice(-1))return 0;for(var n=0,i=Math.min(e.length,t.length),o=i,r=0;n<o;)e.substring(e.length-o,e.length-r)==t.substring(t.length-o,t.length-r)?r=n=o:i=o,o=Math.floor((i-n)/2+n);return s(e.charCodeAt(e.length-o))&&o--,o}function a(e){return e>=55296&&e<=56319}function s(e){return e>=56320&&e<=57343}function l(e){return s(e.charCodeAt(0))}function c(e){return a(e.charCodeAt(e.length-1))}function u(e,t,n,i){return c(e)||l(i)?null:function(e){for(var t=[],n=0;n<e.length;n++)e[n][1].length>0&&t.push(e[n]);return t}([[0,e],[-1,t],[1,n],[0,i]])}function d(e,t,i){return n(e,t,i,!0)}d.INSERT=1,d.DELETE=-1,d.EQUAL=0,e.exports=d},function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o,r=i(n(1)),a=i(n(2));!function(e){e.compose=function(e,t,n){void 0===e&&(e={}),void 0===t&&(t={}),"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var i=a.default(!0,{},t);for(var o in n||(i=Object.keys(i).reduce(function(e,t){return null!=i[t]&&(e[t]=i[t]),e},{})),e)void 0!==e[o]&&void 0===t[o]&&(i[o]=e[o]);return Object.keys(i).length>0?i:void 0},e.diff=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce(function(n,i){return r.default(e[i],t[i])||(n[i]=void 0===t[i]?null:t[i]),n},{});return Object.keys(n).length>0?n:void 0},e.invert=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),e=e||{};var n=Object.keys(t).reduce(function(n,i){return t[i]!==e[i]&&void 0!==e[i]&&(n[i]=t[i]),n},{});return Object.keys(e).reduce(function(n,i){return e[i]!==t[i]&&void 0===t[i]&&(n[i]=null),n},n)},e.transform=function(e,t,n){if(void 0===n&&(n=!1),"object"!=typeof e)return t;if("object"==typeof t){if(!n)return t;var i=Object.keys(t).reduce(function(n,i){return void 0===e[i]&&(n[i]=t[i]),n},{});return Object.keys(i).length>0?i:void 0}}}(o||(o={})),t.default=o},function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(3)),r=function(){function e(e){this.ops=e,this.index=0,this.offset=0}return e.prototype.hasNext=function(){return this.peekLength()<1/0},e.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,i=o.default.length(t);if(e>=i-n?(e=i-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var r={};return t.attributes&&(r.attributes=t.attributes),"number"==typeof t.retain?r.retain=e:"string"==typeof t.insert?r.insert=t.insert.substr(n,e):r.insert=t.insert,r}return{retain:1/0}},e.prototype.peek=function(){return this.ops[this.index]},e.prototype.peekLength=function(){return this.ops[this.index]?o.default.length(this.ops[this.index])-this.offset:1/0},e.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},e.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),i=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(i)}return[]},e}();t.default=r},function(e,t,n){var i=n(18),o=n(19);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r=(i(e.i,o,{insert:"head",singleton:!1}),o.locals?o.locals:{});e.exports=r},function(e,t,n){"use strict";var i,o=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]}}(),r={};function a(e,t,n){for(var i=0;i<t.length;i++){var o={css:t[i][1],media:t[i][2],sourceMap:t[i][3]};r[e][i]?r[e][i](o):r[e].push(f(o,n))}}function s(e){var t=document.createElement("style"),i=e.attributes||{};if(void 0===i.nonce){var r=n.nc;r&&(i.nonce=r)}if(Object.keys(i).forEach(function(e){t.setAttribute(e,i[e])}),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var l,c=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function u(e,t,n,i){var o=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=c(t,o);else{var r=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(r,a[t]):e.appendChild(r)}}var d=null,p=0;function f(e,t){var n,i,o;if(t.singleton){var r=p++;n=d||(d=s(t)),i=u.bind(null,n,r,!1),o=u.bind(null,n,r,!0)}else n=s(t),i=function(e,t,n){var i=n.css,o=n.media,r=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),r&&btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else o()}}e.exports=function(e,t,n){return(n=n||{}).singleton||"boolean"==typeof n.singleton||(n.singleton=(void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i)),e=n.base?e+n.base:e,t=t||[],r[e]||(r[e]=[]),a(e,t,n),function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){r[e]||(r[e]=[]),a(e,t,n);for(var i=t.length;i<r[e].length;i++)r[e][i]();r[e].length=t.length,0===r[e].length&&delete r[e]}}}},function(e,t,n){(t=n(20)(!1)).push([e.i,".ql-container{position:relative;overflow:hidden}.ql-cursor.hidden{display:none}.ql-cursor .ql-cursor-caret-container,.ql-cursor .ql-cursor-flag{position:absolute}.ql-cursor .ql-cursor-flag{z-index:1;transform:translate3d(-1px, -100%, 0);opacity:0;visibility:hidden;color:white;padding-bottom:2px;border-radius:0 3px 3px 0}.ql-cursor .ql-cursor-flag.flag-flipped{border-radius:3px 0 0 3px;transform:translate3d(calc(-100% + 1px), -100%, 0)}@media screen{.ql-cursor .ql-cursor-flag{transition:opacity 0ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms,visibility 0ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms}}.ql-cursor .ql-cursor-flag .ql-cursor-name{margin-left:5px;margin-right:5px;display:inline-block;margin-top:-2px;white-space:nowrap}.ql-cursor .ql-cursor-flag:hover,.ql-cursor .ql-cursor-flag.show-flag,.ql-cursor .ql-cursor-caret-container:hover+.ql-cursor-flag{opacity:1;visibility:visible;transition:none}.ql-cursor .ql-cursor-flag.no-delay[style]{transition-delay:unset !important}.ql-cursor .ql-cursor-caret-container{margin-left:-9px;padding:0 9px;z-index:1}.ql-cursor .ql-cursor-caret-container .ql-cursor-caret{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background-color:attr(data-color)}.ql-cursor .ql-cursor-selection-block{position:absolute;pointer-events:none}\n",""]),e.exports=t},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,i,o,r=e[1]||"",a=e[3];if(!a)return r;if(t&&"function"==typeof btoa){var s=(n=a,i=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),"/*# ".concat(o," */")),l=a.sources.map(function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")});return[r].concat(l).concat([s]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n}).join("")},t.i=function(e,n,i){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(i)for(var r=0;r<this.length;r++){var a=this[r][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);i&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}}]).default},"object"==typeof n&&"object"==typeof t?t.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof n?n.QuillCursors=o():i.QuillCursors=o()},{}],115:[function(e,t,n){(function(e){var i,o;i="undefined"!=typeof self?self:this,o=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},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=109)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(17),o=n(18),r=n(19),a=n(45),s=n(46),l=n(47),c=n(48),u=n(49),d=n(12),p=n(32),f=n(33),m=n(31),h=n(1),g={Scope:h.Scope,create:h.create,find:h.find,query:h.query,register:h.register,Container:i.default,Format:o.default,Leaf:r.default,Embed:c.default,Scroll:a.default,Block:l.default,Inline:s.default,Text:u.default,Attributor:{Attribute:d.default,Class:p.default,Style:f.default,Store:m.default}};t.default=g},function(e,t,n){"use strict";var i,o=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(t){var n=this;return t="[Parchment] "+t,(n=e.call(this,t)||this).message=t,n.name=n.constructor.name,n}return o(t,e),t}(Error);t.ParchmentError=r;var a,s={},l={},c={},u={};function d(e,t){var n;if(void 0===t&&(t=a.ANY),"string"==typeof e)n=u[e]||s[e];else if(e instanceof Text||e.nodeType===Node.TEXT_NODE)n=u.text;else if("number"==typeof e)e&a.LEVEL&a.BLOCK?n=u.block:e&a.LEVEL&a.INLINE&&(n=u.inline);else if(e instanceof HTMLElement){var i=(e.getAttribute("class")||"").split(/\s+/);for(var o in i)if(n=l[i[o]])break;n=n||c[e.tagName]}return null==n?null:t&a.LEVEL&n.scope&&t&a.TYPE&n.scope?n:null}t.DATA_KEY="__blot",function(e){e[e.TYPE=3]="TYPE",e[e.LEVEL=12]="LEVEL",e[e.ATTRIBUTE=13]="ATTRIBUTE",e[e.BLOT=14]="BLOT",e[e.INLINE=7]="INLINE",e[e.BLOCK=11]="BLOCK",e[e.BLOCK_BLOT=10]="BLOCK_BLOT",e[e.INLINE_BLOT=6]="INLINE_BLOT",e[e.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",e[e.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",e[e.ANY=15]="ANY"}(a=t.Scope||(t.Scope={})),t.create=function(e,t){var n=d(e);if(null==n)throw new r("Unable to create "+e+" blot");var i=n;return new i(e instanceof Node||e.nodeType===Node.TEXT_NODE?e:i.create(t),t)},t.find=function e(n,i){return void 0===i&&(i=!1),null==n?null:null!=n[t.DATA_KEY]?n[t.DATA_KEY].blot:i?e(n.parentNode,i):null},t.query=d,t.register=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(t.length>1)return t.map(function(t){return e(t)});var i=t[0];if("string"!=typeof i.blotName&&"string"!=typeof i.attrName)throw new r("Invalid definition");if("abstract"===i.blotName)throw new r("Cannot register abstract class");u[i.blotName||i.attrName]=i,"string"==typeof i.keyName?s[i.keyName]=i:(null!=i.className&&(l[i.className]=i),null!=i.tagName&&(Array.isArray(i.tagName)?i.tagName=i.tagName.map(function(e){return e.toUpperCase()}):i.tagName=i.tagName.toUpperCase(),(Array.isArray(i.tagName)?i.tagName:[i.tagName]).forEach(function(e){null!=c[e]&&null!=i.className||(c[e]=i)})));return i}},function(e,t,n){var i=n(51),o=n(11),r=n(3),a=n(20),s=String.fromCharCode(0),l=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};l.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},l.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},l.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},l.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=r(!0,{},e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(o(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},l.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},l.prototype.filter=function(e){return this.ops.filter(e)},l.prototype.forEach=function(e){this.ops.forEach(e)},l.prototype.map=function(e){return this.ops.map(e)},l.prototype.partition=function(e){var t=[],n=[];return this.forEach(function(i){(e(i)?t:n).push(i)}),[t,n]},l.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},l.prototype.changeLength=function(){return this.reduce(function(e,t){return t.insert?e+a.length(t):t.delete?e-t.delete:e},0)},l.prototype.length=function(){return this.reduce(function(e,t){return e+a.length(t)},0)},l.prototype.slice=function(e,t){e=e||0,"number"!=typeof t&&(t=1/0);for(var n=[],i=a.iterator(this.ops),o=0;o<t&&i.hasNext();){var r;o<e?r=i.next(e-o):(r=i.next(t-o),n.push(r)),o+=a.length(r)}return new l(n)},l.prototype.compose=function(e){var t=a.iterator(this.ops),n=a.iterator(e.ops),i=[],r=n.peek();if(null!=r&&"number"==typeof r.retain&&null==r.attributes){for(var s=r.retain;"insert"===t.peekType()&&t.peekLength()<=s;)s-=t.peekLength(),i.push(t.next());r.retain-s>0&&n.next(r.retain-s)}for(var c=new l(i);t.hasNext()||n.hasNext();)if("insert"===n.peekType())c.push(n.next());else if("delete"===t.peekType())c.push(t.next());else{var u=Math.min(t.peekLength(),n.peekLength()),d=t.next(u),p=n.next(u);if("number"==typeof p.retain){var f={};"number"==typeof d.retain?f.retain=u:f.insert=d.insert;var m=a.attributes.compose(d.attributes,p.attributes,"number"==typeof d.retain);if(m&&(f.attributes=m),c.push(f),!n.hasNext()&&o(c.ops[c.ops.length-1],f)){var h=new l(t.rest());return c.concat(h).chop()}}else"number"==typeof p.delete&&"number"==typeof d.retain&&c.push(p)}return c.chop()},l.prototype.concat=function(e){var t=new l(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},l.prototype.diff=function(e,t){if(this.ops===e.ops)return new l;var n=[this,e].map(function(t){return t.map(function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:s;throw new Error("diff() called "+(t===e?"on":"with")+" non-document")}).join("")}),r=new l,c=i(n[0],n[1],t),u=a.iterator(this.ops),d=a.iterator(e.ops);return c.forEach(function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case i.INSERT:n=Math.min(d.peekLength(),t),r.push(d.next(n));break;case i.DELETE:n=Math.min(t,u.peekLength()),u.next(n),r.delete(n);break;case i.EQUAL:n=Math.min(u.peekLength(),d.peekLength(),t);var s=u.next(n),l=d.next(n);o(s.insert,l.insert)?r.retain(n,a.attributes.diff(s.attributes,l.attributes)):r.push(l).delete(n)}t-=n}}),r.chop()},l.prototype.eachLine=function(e,t){t=t||"\n";for(var n=a.iterator(this.ops),i=new l,o=0;n.hasNext();){if("insert"!==n.peekType())return;var r=n.peek(),s=a.length(r)-n.peekLength(),c="string"==typeof r.insert?r.insert.indexOf(t,s)-s:-1;if(c<0)i.push(n.next());else if(c>0)i.push(n.next(c));else{if(!1===e(i,n.next(1).attributes||{},o))return;o+=1,i=new l}}i.length()>0&&e(i,{},o)},l.prototype.transform=function(e,t){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);for(var n=a.iterator(this.ops),i=a.iterator(e.ops),o=new l;n.hasNext()||i.hasNext();)if("insert"!==n.peekType()||!t&&"insert"===i.peekType())if("insert"===i.peekType())o.push(i.next());else{var r=Math.min(n.peekLength(),i.peekLength()),s=n.next(r),c=i.next(r);if(s.delete)continue;c.delete?o.push(c):o.retain(r,a.attributes.transform(s.attributes,c.attributes,t))}else o.retain(a.length(n.next()));return o.chop()},l.prototype.transformPosition=function(e,t){t=!!t;for(var n=a.iterator(this.ops),i=0;n.hasNext()&&i<=e;){var o=n.peekLength(),r=n.peekType();n.next(),"delete"!==r?("insert"===r&&(i<e||!t)&&(e+=o),i+=o):e-=Math.min(o,e-i)}return e},e.exports=l},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},s=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t,o=n.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!r)return!1;for(t in e);return void 0===t||n.call(e,t)},l=function(e,t){o&&"__proto__"===t.name?o(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(r)return r(e,t).value}return e[t]};e.exports=function e(){var t,n,i,o,r,u,d=arguments[0],p=1,f=arguments.length,m=!1;for("boolean"==typeof d&&(m=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(n in t)i=c(d,n),d!==(o=c(t,n))&&(m&&o&&(s(o)||(r=a(o)))?(r?(r=!1,u=i&&a(i)?i:[]):u=i&&s(i)?i:{},l(d,{name:n,newValue:e(m,u,o)})):void 0!==o&&l(d,{name:n,newValue:o}));return d}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockEmbed=t.bubbleFormats=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0},r=d(n(3)),a=d(n(2)),s=d(n(0)),l=d(n(16)),c=d(n(6)),u=d(n(7));function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=function(e){function t(){return p(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return m(t,s.default.Embed),i(t,[{key:"attach",value:function(){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"attach",this).call(this),this.attributes=new s.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new a.default).insert(this.value(),(0,r.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(e,t){var n=s.default.query(e,s.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}},{key:"formatAt",value:function(e,t,n,i){this.format(n,i)}},{key:"insertAt",value:function(e,n,i){if("string"==typeof n&&n.endsWith("\n")){var r=s.default.create(g.blotName);this.parent.insertBefore(r,0===e?this:this.next),r.insertAt(0,n.slice(0,-1))}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,i)}}]),t}();h.scope=s.default.Scope.BLOCK_BLOT;var g=function(e){function t(e){p(this,t);var n=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.cache={},n}return m(t,s.default.Block),i(t,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(s.default.Leaf).reduce(function(e,t){return 0===t.length()?e:e.insert(t.value(),v(t))},new a.default).insert("\n",v(this))),this.cache.delta}},{key:"deleteAt",value:function(e,n){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),this.cache={}}},{key:"formatAt",value:function(e,n,i,r){n<=0||(s.default.query(i,s.default.Scope.BLOCK)?e+n===this.length()&&this.format(i,r):o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,Math.min(n,this.length()-e-1),i,r),this.cache={})}},{key:"insertAt",value:function(e,n,i){if(null!=i)return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,i);if(0!==n.length){var r=n.split("\n"),a=r.shift();a.length>0&&(e<this.length()-1||null==this.children.tail?o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,Math.min(e,this.length()-1),a):this.children.tail.insertAt(this.children.tail.length(),a),this.cache={});var s=this;r.reduce(function(e,t){return(s=s.split(e,!0)).insertAt(0,t),t.length},e+a.length)}}},{key:"insertBefore",value:function(e,n){var i=this.children.head;o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n),i instanceof l.default&&i.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(e,n){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"moveChildren",this).call(this,e,n),this.cache={}}},{key:"optimize",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.cache={}}},{key:"path",value:function(e){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e,!0)}},{key:"removeChild",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeChild",this).call(this,e),this.cache={}}},{key:"split",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-1)){var i=this.clone();return 0===e?(this.parent.insertBefore(i,this),this):(this.parent.insertBefore(i,this.next),i)}var r=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},r}}]),t}();function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"==typeof e.formats&&(t=(0,r.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:v(e.parent,t))}g.blotName="block",g.tagName="P",g.defaultChild="break",g.allowedChildren=[c.default,s.default.Embed,u.default],t.bubbleFormats=v,t.BlockEmbed=h,t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var i="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},o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n(50);var a=g(n(2)),s=g(n(14)),l=g(n(8)),c=g(n(9)),u=g(n(0)),d=n(15),p=g(d),f=g(n(3)),m=g(n(10)),h=g(n(34));function g(e){return e&&e.__esModule?e:{default:e}}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=(0,m.default)("quill"),b=function(){function e(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=y(t,i),this.container=this.options.container,null==this.container)return _.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new l.default,this.scroll=u.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new p.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(l.default.events.EDITOR_CHANGE,function(e){e===l.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())}),this.emitter.on(l.default.events.SCROLL_UPDATE,function(e,t){var i=n.selection.lastRange,o=i&&0===i.length?i.index:void 0;w.call(n,function(){return n.editor.update(null,t,o)},e)});var r=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+o+"<p><br></p></div>");this.setContents(r),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return r(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),m.default.level(e)}},{key:"find",value:function(e){return e.__quill||u.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&_.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof e){var o=e.attrName||e.blotName;"string"==typeof o?this.register("formats/"+o,e,t):Object.keys(e).forEach(function(i){n.register(i,e[i],t)})}else null==this.imports[e]||i||_.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?u.default.register(t):e.startsWith("modules")&&"function"==typeof t.register&&t.register()}}]),r(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e){var n=e;(e=document.createElement("div")).classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var i=this,r=x(e,t,n),a=o(r,4);return e=a[0],t=a[1],n=a[3],w.call(this,function(){return i.editor.deleteText(e,t)},n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;return w.call(this,function(){var i=n.getSelection(!0),o=new a.default;if(null==i)return o;if(u.default.query(e,u.default.Scope.BLOCK))o=n.editor.formatLine(i.index,i.length,v({},e,t));else{if(0===i.length)return n.selection.format(e,t),o;o=n.editor.formatText(i.index,i.length,v({},e,t))}return n.setSelection(i,l.default.sources.SILENT),o},i)}},{key:"formatLine",value:function(e,t,n,i,r){var a,s=this,l=x(e,t,n,i,r),c=o(l,4);return e=c[0],t=c[1],a=c[2],r=c[3],w.call(this,function(){return s.editor.formatLine(e,t,a)},r,e,0)}},{key:"formatText",value:function(e,t,n,i,r){var a,s=this,l=x(e,t,n,i,r),c=o(l,4);return e=c[0],t=c[1],a=c[2],r=c[3],w.call(this,function(){return s.editor.formatText(e,t,a)},r,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var i=this.container.getBoundingClientRect();return{bottom:n.bottom-i.top,height:n.height,left:n.left-i.left,right:n.right-i.left,top:n.top-i.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=x(e,t),i=o(n,2);return e=i[0],t=i[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=x(e,t),i=o(n,2);return e=i[0],t=i[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,i){var o=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return w.call(this,function(){return o.editor.insertEmbed(t,n,i)},r,t)}},{key:"insertText",value:function(e,t,n,i,r){var a,s=this,l=x(e,0,n,i,r),c=o(l,4);return e=c[0],a=c[2],r=c[3],w.call(this,function(){return s.editor.insertText(e,t,a)},r,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var i=this,r=x(e,t,n),a=o(r,4);return e=a[0],t=a[1],n=a[3],w.call(this,function(){return i.editor.removeFormat(e,t)},n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return w.call(this,function(){e=new a.default(e);var n=t.getLength(),i=t.editor.deleteText(0,n),o=t.editor.applyDelta(e),r=o.ops[o.ops.length-1];return null!=r&&"string"==typeof r.insert&&"\n"===r.insert[r.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),o.delete(1)),i.compose(o)},n)}},{key:"setSelection",value:function(t,n,i){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var r=x(t,n,i),a=o(r,4);t=a[0],n=a[1],i=a[3],this.selection.setRange(new d.Range(t,n),i),i!==l.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API,n=(new a.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return w.call(this,function(){return e=new a.default(e),t.editor.applyDelta(e,n)},n,!0)}}]),e}();function y(e,t){if((t=(0,f.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t)).theme&&t.theme!==b.DEFAULTS.theme){if(t.theme=b.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=h.default;var n=(0,f.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach(function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach(function(t){!0===e.modules[t]&&(e.modules[t]={})})});var i=Object.keys(n.modules).concat(Object.keys(t.modules)).reduce(function(e,t){var n=b.import("modules/"+t);return null==n?_.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e},{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,f.default)(!0,{},b.DEFAULTS,{modules:i},n,t),["bounds","container","scrollingContainer"].forEach(function(e){"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))}),t.modules=Object.keys(t.modules).reduce(function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e},{}),t}function w(e,t,n,i){if(this.options.strict&&!this.isEnabled()&&t===l.default.sources.USER)return new a.default;var o=null==n?null:this.getSelection(),r=this.editor.delta,s=e();if(null!=o&&(!0===n&&(n=o.index),null==i?o=k(o,s,t):0!==i&&(o=k(o,n,i,t)),this.setSelection(o,l.default.sources.SILENT)),s.length()>0){var c,u,d=[l.default.events.TEXT_CHANGE,s,r,t];if((c=this.emitter).emit.apply(c,[l.default.events.EDITOR_CHANGE].concat(d)),t!==l.default.sources.SILENT)(u=this.emitter).emit.apply(u,d)}return s}function x(e,t,n,o,r){var a={};return"number"==typeof e.index&&"number"==typeof e.length?"number"!=typeof t?(r=o,o=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!=typeof t&&(r=o,o=n,n=t,t=0),"object"===(void 0===n?"undefined":i(n))?(a=n,r=o):"string"==typeof n&&(null!=o?a[n]=o:r=n),[e,t,a,r=r||l.default.sources.API]}function k(e,t,n,i){if(null==e)return null;var r=void 0,s=void 0;if(t instanceof a.default){var c=[e.index,e.index+e.length].map(function(e){return t.transformPosition(e,i!==l.default.sources.USER)}),u=o(c,2);r=u[0],s=u[1]}else{var p=[e.index,e.index+e.length].map(function(e){return e<t||e===t&&i===l.default.sources.USER?e:n>=0?e+n:Math.max(t,e+n)}),f=o(p,2);r=f[0],s=f[1]}return new d.Range(r,s-r)}b.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},b.events=l.default.events,b.sources=l.default.sources,b.version="1.3.7",b.imports={delta:a.default,parchment:u.default,"core/module":c.default,"core/theme":h.default},t.expandConfig=y,t.overload=x,t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0},r=s(n(7)),a=s(n(0));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Inline),i(t,[{key:"formatAt",value:function(e,n,i,r){if(t.compare(this.statics.blotName,i)<0&&a.default.query(i,a.default.Scope.BLOT)){var s=this.isolate(e,n);r&&s.wrap(i,r)}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,i,r)}},{key:"optimize",value:function(e){if(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.parent instanceof t&&t.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var i=t.order.indexOf(e),o=t.order.indexOf(n);return i>=0||o>=0?i-o:e===n?0:e<n?-1:1}}]),t}();l.allowedChildren=[l,a.default.Embed,r.default],l.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(0),r=(i=o)&&i.__esModule?i:{default:i};var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default.Text),t}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=r(n(54));function r(e){return e&&e.__esModule?e:{default:e}}var a=(0,r(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach(function(e){document.addEventListener(e,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(e){var n;e.__quill&&e.__quill.emitter&&(n=e.__quill.emitter).handleDOM.apply(n,t)})})});var s=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.listeners={},e.on("error",a.error),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),i(t,[{key:"emit",value:function(){a.log.apply(a,arguments),function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];(this.listeners[e.type]||[]).forEach(function(t){var i=t.node,o=t.handler;(e.target===i||i.contains(e.target))&&o.apply(void 0,[e].concat(n))})}},{key:"listenDOM",value:function(e,t,n){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({node:t,handler:n})}}]),t}();s.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},s.sources={API:"api",SILENT:"silent",USER:"user"},t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.options=n};i.DEFAULTS={},t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=["error","warn","log","info"],o="warn";function r(e){if(i.indexOf(e)<=i.indexOf(o)){for(var t,n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];(t=console)[e].apply(t,r)}}function a(e){return i.reduce(function(t,n){return t[n]=r.bind(console,n,e),t},{})}r.level=a.level=function(e){o=e},t.default=a},function(e,t,n){var i=Array.prototype.slice,o=n(52),r=n(53),a=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:function(e,t,n){var c,u;if(s(e)||s(t))return!1;if(e.prototype!==t.prototype)return!1;if(r(e))return!!r(t)&&(e=i.call(e),t=i.call(t),a(e,t,n));if(l(e)){if(!l(t))return!1;if(e.length!==t.length)return!1;for(c=0;c<e.length;c++)if(e[c]!==t[c])return!1;return!0}try{var d=o(e),p=o(t)}catch(e){return!1}if(d.length!=p.length)return!1;for(d.sort(),p.sort(),c=d.length-1;c>=0;c--)if(d[c]!=p[c])return!1;for(c=d.length-1;c>=0;c--)if(u=d[c],!a(e[u],t[u],n))return!1;return typeof e==typeof t}(e,t,n))};function s(e){return null==e}function l(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(e.length>0&&"number"!=typeof e[0]))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var o=i.Scope.TYPE&i.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&i.Scope.LEVEL|o:this.scope=i.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,function(e){return e.name})},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){return null!=i.query(e,i.Scope.BLOT&(this.scope|i.Scope.TYPE))&&(null==this.whitelist||("string"==typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0},a=d(n(2)),s=d(n(0)),l=d(n(4)),c=d(n(6)),u=d(n(7));function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=function(e){function t(){return p(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return m(t,c.default),t}();h.blotName="code",h.tagName="CODE";var g=function(e){function t(){return p(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return m(t,l.default),o(t,[{key:"delta",value:function(){var e=this,t=this.domNode.textContent;return t.endsWith("\n")&&(t=t.slice(0,-1)),t.split("\n").reduce(function(t,n){return t.insert(n).insert("\n",e.formats())},new a.default)}},{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n){var o=this.descendant(u.default,this.length()-1),a=i(o,1)[0];null!=a&&a.deleteAt(a.length()-1,1),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}},{key:"formatAt",value:function(e,n,i,o){if(0!==n&&null!=s.default.query(i,s.default.Scope.BLOCK)&&(i!==this.statics.blotName||o!==this.statics.formats(this.domNode))){var r=this.newlineIndex(e);if(!(r<0||r>=e+n)){var a=this.newlineIndex(e,!0)+1,l=r-a+1,c=this.isolate(a,l),u=c.next;c.format(i,o),u instanceof t&&u.formatAt(0,e-a+n-l,i,o)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var o=this.descendant(u.default,e),r=i(o,2),a=r[0],s=r[1];a.insertAt(s,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var t=this.domNode.textContent.slice(e).indexOf("\n");return t>-1?e+t:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(e){var t=s.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof s.default.Embed?t.remove():t.unwrap()})}}],[{key:"create",value:function(e){var n=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}();g.blotName="code-block",g.tagName="PRE",g.TAB=" ",t.Code=h,t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="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},o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=v(n(2)),s=v(n(20)),l=v(n(0)),c=v(n(13)),u=v(n(24)),d=n(4),p=v(d),f=v(n(16)),m=v(n(21)),h=v(n(11)),g=v(n(3));function v(e){return e&&e.__esModule?e:{default:e}}var _=/^[ -~]*$/,b=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scroll=t,this.delta=this.getDelta()}return r(e,[{key:"applyDelta",value:function(e){var t=this,n=!1;this.scroll.update();var r=this.scroll.length();return this.scroll.batchStart(),(e=function(e){return e.reduce(function(e,t){if(1===t.insert){var n=(0,m.default)(t.attributes);return delete n.image,e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||((t=(0,m.default)(t)).attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"==typeof t.insert){var i=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(i,t.attributes)}return e.push(t)},new a.default)}(e)).reduce(function(e,a){var c=a.retain||a.delete||a.insert.length||1,u=a.attributes||{};if(null!=a.insert){if("string"==typeof a.insert){var f=a.insert;f.endsWith("\n")&&n&&(n=!1,f=f.slice(0,-1)),e>=r&&!f.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,f);var m=t.scroll.line(e),h=o(m,2),v=h[0],_=h[1],b=(0,g.default)({},(0,d.bubbleFormats)(v));if(v instanceof p.default){var y=v.descendant(l.default.Leaf,_),w=o(y,1)[0];b=(0,g.default)(b,(0,d.bubbleFormats)(w))}u=s.default.attributes.diff(b,u)||{}}else if("object"===i(a.insert)){var x=Object.keys(a.insert)[0];if(null==x)return e;t.scroll.insertAt(e,x,a.insert[x])}r+=c}return Object.keys(u).forEach(function(n){t.scroll.formatAt(e,c,n,u[n])}),e+c},0),e.reduce(function(e,n){return"number"==typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)},0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new a.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(i).forEach(function(o){if(null==n.scroll.whitelist||n.scroll.whitelist[o]){var r=n.scroll.lines(e,Math.max(t,1)),a=t;r.forEach(function(t){var r=t.length();if(t instanceof c.default){var s=e-t.offset(n.scroll),l=t.newlineIndex(s+a)-s+1;t.formatAt(s,l,o,i[o])}else t.format(o,i[o]);a-=r})}}),this.scroll.optimize(),this.update((new a.default).retain(e).retain(t,(0,m.default)(i)))}},{key:"formatText",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(i).forEach(function(o){n.scroll.formatAt(e,t,o,i[o])}),this.update((new a.default).retain(e).retain(t,(0,m.default)(i)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(e,t){return e.concat(t.delta())},new a.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],i=[];0===t?this.scroll.path(e).forEach(function(e){var t=o(e,1)[0];t instanceof p.default?n.push(t):t instanceof l.default.Leaf&&i.push(t)}):(n=this.scroll.lines(e,t),i=this.scroll.descendants(l.default.Leaf,e,t));var r=[n,i].map(function(e){if(0===e.length)return{};for(var t=(0,d.bubbleFormats)(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null==n)return t;t=y((0,d.bubbleFormats)(n),t)}return t});return g.default.apply(g.default,r)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter(function(e){return"string"==typeof e.insert}).map(function(e){return e.insert}).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new a.default).retain(e).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(i).forEach(function(o){n.scroll.formatAt(e,t.length,o,i[o])}),this.update((new a.default).retain(e).insert(t,(0,m.default)(i)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===p.default.blotName&&(!(e.children.length>1)&&e.children.head instanceof f.default)}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),i=this.scroll.line(e+t),r=o(i,2),s=r[0],l=r[1],u=0,d=new a.default;null!=s&&(u=s instanceof c.default?s.newlineIndex(l)-l+1:s.length()-l,d=s.delta().slice(l,l+u-1).insert("\n"));var p=this.getContents(e,t+u).diff((new a.default).insert(n).concat(d)),f=(new a.default).retain(e).concat(p);return this.applyDelta(f)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(_)&&l.default.find(t[0].target)){var o=l.default.find(t[0].target),r=(0,d.bubbleFormats)(o),s=o.offset(this.scroll),c=t[0].oldValue.replace(u.default.CONTENTS,""),p=(new a.default).insert(c),f=(new a.default).insert(o.value());e=(new a.default).retain(s).concat(p.diff(f,n)).reduce(function(e,t){return t.insert?e.insert(t.insert,r):e.push(t)},new a.default),this.delta=i.compose(e)}else this.delta=this.getDelta(),e&&(0,h.default)(i.compose(e),this.delta)||(e=i.diff(this.delta,n));return e}}]),e}();function y(e,t){return Object.keys(t).reduce(function(n,i){return null==e[i]?n:(t[i]===e[i]?n[i]=t[i]:Array.isArray(t[i])?t[i].indexOf(e[i])<0&&(n[i]=t[i].concat([e[i]])):n[i]=[t[i],e[i]],n)},{})}t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=c(n(0)),a=c(n(21)),s=c(n(11)),l=c(n(8));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var p=(0,c(n(10)).default)("quill:selection"),f=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;d(this,e),this.index=t,this.length=n},m=function(){function e(t,n){var i=this;d(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=r.default.create("cursor",this),this.lastRange=this.savedRange=new f(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){i.mouseDown||setTimeout(i.update.bind(i,l.default.sources.USER),1)}),this.emitter.on(l.default.events.EDITOR_CHANGE,function(e,t){e===l.default.events.TEXT_CHANGE&&t.length()>0&&i.update(l.default.sources.SILENT)}),this.emitter.on(l.default.events.SCROLL_BEFORE_UPDATE,function(){if(i.hasFocus()){var e=i.getNativeRange();null!=e&&e.start.node!==i.cursor.textNode&&i.emitter.once(l.default.events.SCROLL_UPDATE,function(){try{i.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(e){}})}}),this.emitter.on(l.default.events.SCROLL_OPTIMIZE,function(e,t){if(t.range){var n=t.range,o=n.startNode,r=n.startOffset,a=n.endNode,s=n.endOffset;i.setNativeRange(o,r,a,s)}}),this.update(l.default.sources.SILENT)}return o(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",function(){e.composing=!0}),this.root.addEventListener("compositionend",function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout(function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)},1)}})}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,function(){e.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){e.mouseDown=!1,e.update(l.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!r.default.query(e,r.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var i=r.default.find(n.start.node,!1);if(null==i)return;if(i instanceof r.default.Leaf){var o=i.split(n.start.offset);i.parent.insertBefore(this.cursor,o)}else i.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var o=void 0,r=this.scroll.leaf(e),a=i(r,2),s=a[0],l=a[1];if(null==s)return null;var c=s.position(l,!0),u=i(c,2);o=u[0],l=u[1];var d=document.createRange();if(t>0){d.setStart(o,l);var p=this.scroll.leaf(e+t),f=i(p,2);if(s=f[0],l=f[1],null==s)return null;var m=s.position(l,!0),h=i(m,2);return o=h[0],l=h[1],d.setEnd(o,l),d.getBoundingClientRect()}var g="left",v=void 0;return o instanceof Text?(l<o.data.length?(d.setStart(o,l),d.setEnd(o,l+1)):(d.setStart(o,l-1),d.setEnd(o,l),g="right"),v=d.getBoundingClientRect()):(v=s.domNode.getBoundingClientRect(),l>0&&(g="right")),{bottom:v.top+v.height,height:v.height,left:v[g],right:v[g],top:v.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return p.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var o=n.map(function(e){var n=i(e,2),o=n[0],a=n[1],s=r.default.find(o,!0),l=s.offset(t.scroll);return 0===a?l:s instanceof r.default.Container?l+s.length():l+s.index(o,a)}),a=Math.min(Math.max.apply(Math,u(o)),this.scroll.length()-1),s=Math.min.apply(Math,[a].concat(u(o)));return new f(s,a-s)}},{key:"normalizeNative",value:function(e){if(!h(this.root,e.startContainer)||!e.collapsed&&!h(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach(function(e){for(var t=e.node,n=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;n=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n}),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],o=[],r=this.scroll.length();return n.forEach(function(e,n){e=Math.min(r-1,e);var a,s=t.scroll.leaf(e),l=i(s,2),c=l[0],u=l[1],d=c.position(u,0!==n),p=i(d,2);a=p[0],u=p[1],o.push(a,u)}),o.length<2&&(o=o.concat(o)),o}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var o=this.scroll.length()-1,r=this.scroll.line(Math.min(t.index,o)),a=i(r,1)[0],s=a;if(t.length>0){var l=this.scroll.line(Math.min(t.index+t.length,o));s=i(l,1)[0]}if(null!=a&&null!=s){var c=e.getBoundingClientRect();n.top<c.top?e.scrollTop-=c.top-n.top:n.bottom>c.bottom&&(e.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(p.info("setNativeRange",e,t,n,i),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var r=document.getSelection();if(null!=r)if(null!=e){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||o||e!==a.startContainer||t!==a.startOffset||n!==a.endContainer||i!==a.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(i=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(e,t),s.setEnd(n,i),r.removeAllRanges(),r.addRange(s)}}else r.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;if("string"==typeof t&&(n=t,t=!1),p.info("setRange",e),null!=e){var i=this.rangeToNative(e);this.setNativeRange.apply(this,u(i).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,t=this.lastRange,n=this.getRange(),o=i(n,2),r=o[0],c=o[1];if(this.lastRange=r,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,s.default)(t,this.lastRange)){var u;!this.composing&&null!=c&&c.native.collapsed&&c.start.node!==this.cursor.textNode&&this.cursor.restore();var d,p=[l.default.events.SELECTION_CHANGE,(0,a.default)(this.lastRange),(0,a.default)(t),e];if((u=this.emitter).emit.apply(u,[l.default.events.EDITOR_CHANGE].concat(p)),e!==l.default.sources.SILENT)(d=this.emitter).emit.apply(d,p)}}}]),e}();function h(e,t){try{t.parentNode}catch(e){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=f,t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),a=(i=r)&&i.__esModule?i:{default:i};var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Embed),o(t,[{key:"insertInto",value:function(e,n){0===e.children.length?function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertInto",this).call(this,e,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),t}();s.blotName="break",s.tagName="BR",t.default=s},function(e,t,n){"use strict";var i,o=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var r=n(44),a=n(30),s=n(1),l=function(e){function t(t){var n=e.call(this,t)||this;return n.build(),n}return o(t,e),t.prototype.appendChild=function(e){this.insertBefore(e)},t.prototype.attach=function(){e.prototype.attach.call(this),this.children.forEach(function(e){e.attach()})},t.prototype.build=function(){var e=this;this.children=new r.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(t){try{var n=c(t);e.insertBefore(n,e.children.head||void 0)}catch(e){if(e instanceof s.ParchmentError)return;throw e}})},t.prototype.deleteAt=function(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,function(e,t,n){e.deleteAt(t,n)})},t.prototype.descendant=function(e,n){var i=this.children.find(n),o=i[0],r=i[1];return null==e.blotName&&e(o)||null!=e.blotName&&o instanceof e?[o,r]:o instanceof t?o.descendant(e,r):[null,-1]},t.prototype.descendants=function(e,n,i){void 0===n&&(n=0),void 0===i&&(i=Number.MAX_VALUE);var o=[],r=i;return this.children.forEachAt(n,i,function(n,i,a){(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&o.push(n),n instanceof t&&(o=o.concat(n.descendants(e,i,r))),r-=a}),o},t.prototype.detach=function(){this.children.forEach(function(e){e.detach()}),e.prototype.detach.call(this)},t.prototype.formatAt=function(e,t,n,i){this.children.forEachAt(e,t,function(e,t,o){e.formatAt(t,o,n,i)})},t.prototype.insertAt=function(e,t,n){var i=this.children.find(e),o=i[0],r=i[1];if(o)o.insertAt(r,t,n);else{var a=null==n?s.create("text",t):s.create(t,n);this.appendChild(a)}},t.prototype.insertBefore=function(e,t){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(t){return e instanceof t}))throw new s.ParchmentError("Cannot insert "+e.statics.blotName+" into "+this.statics.blotName);e.insertInto(this,t)},t.prototype.length=function(){return this.children.reduce(function(e,t){return e+t.length()},0)},t.prototype.moveChildren=function(e,t){this.children.forEach(function(n){e.insertBefore(n,t)})},t.prototype.optimize=function(t){if(e.prototype.optimize.call(this,t),0===this.children.length)if(null!=this.statics.defaultChild){var n=s.create(this.statics.defaultChild);this.appendChild(n),n.optimize(t)}else this.remove()},t.prototype.path=function(e,n){void 0===n&&(n=!1);var i=this.children.find(e,n),o=i[0],r=i[1],a=[[this,e]];return o instanceof t?a.concat(o.path(r,n)):(null!=o&&a.push([o,r]),a)},t.prototype.removeChild=function(e){this.children.remove(e)},t.prototype.replace=function(n){n instanceof t&&n.moveChildren(this),e.prototype.replace.call(this,n)},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(e,this.length(),function(e,i,o){e=e.split(i,t),n.appendChild(e)}),n},t.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},t.prototype.update=function(e,t){var n=this,i=[],o=[];e.forEach(function(e){e.target===n.domNode&&"childList"===e.type&&(i.push.apply(i,e.addedNodes),o.push.apply(o,e.removedNodes))}),o.forEach(function(e){if(!(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var t=s.find(e);null!=t&&(null!=t.domNode.parentNode&&t.domNode.parentNode!==n.domNode||t.detach())}}),i.filter(function(e){return e.parentNode==n.domNode}).sort(function(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(e){var t=null;null!=e.nextSibling&&(t=s.find(e.nextSibling));var i=c(e);i.next==t&&null!=i.next||(null!=i.parent&&i.parent.removeChild(n),n.insertBefore(i,t||void 0))})},t}(a.default);function c(e){var t=s.find(e);if(null==t)try{t=s.create(e)}catch(n){t=s.create(s.Scope.INLINE),[].slice.call(e.childNodes).forEach(function(e){t.domNode.appendChild(e)}),e.parentNode&&e.parentNode.replaceChild(t.domNode,e),t.attach()}return t}t.default=l},function(e,t,n){"use strict";var i,o=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),a=n(31),s=n(17),l=n(1),c=function(e){function t(t){var n=e.call(this,t)||this;return n.attributes=new a.default(n.domNode),n}return o(t,e),t.formats=function(e){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?e.tagName.toLowerCase():void 0)},t.prototype.format=function(e,t){var n=l.query(e);n instanceof r.default?this.attributes.attribute(n,t):t&&(null==n||e===this.statics.blotName&&this.formats()[e]===t||this.replaceWith(e,t))},t.prototype.formats=function(){var e=this.attributes.values(),t=this.statics.formats(this.domNode);return null!=t&&(e[this.statics.blotName]=t),e},t.prototype.replaceWith=function(t,n){var i=e.prototype.replaceWith.call(this,t,n);return this.attributes.copy(i),i},t.prototype.update=function(t,n){var i=this;e.prototype.update.call(this,t,n),t.some(function(e){return e.target===i.domNode&&"attributes"===e.type})&&this.attributes.build()},t.prototype.wrap=function(n,i){var o=e.prototype.wrap.call(this,n,i);return o instanceof t&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},t}(s.default);t.default=c},function(e,t,n){"use strict";var i,o=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var r=n(30),a=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.value=function(e){return!0},t.prototype.index=function(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1},t.prototype.position=function(e,t){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=a.Scope.INLINE_BLOT,t}(r.default);t.default=s},function(e,t,n){var i=n(11),o=n(3),r={attributes:{compose:function(e,t,n){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var i=o(!0,{},t);for(var r in n||(i=Object.keys(i).reduce(function(e,t){return null!=i[t]&&(e[t]=i[t]),e},{})),e)void 0!==e[r]&&void 0===t[r]&&(i[r]=e[r]);return Object.keys(i).length>0?i:void 0},diff:function(e,t){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce(function(n,o){return i(e[o],t[o])||(n[o]=void 0===t[o]?null:t[o]),n},{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!=typeof e)return t;if("object"==typeof t){if(!n)return t;var i=Object.keys(t).reduce(function(n,i){return void 0===e[i]&&(n[i]=t[i]),n},{});return Object.keys(i).length>0?i:void 0}}},iterator:function(e){return new a(e)},length:function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}};function a(e){this.ops=e,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,i=r.length(t);if(e>=i-n?(e=i-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var o={};return t.attributes&&(o.attributes=t.attributes),"number"==typeof t.retain?o.retain=e:"string"==typeof t.insert?o.insert=t.insert.substr(n,e):o.insert=t.insert,o}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?r.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),i=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(i)}return[]},e.exports=r},function(t,n){var i=function(){"use strict";function t(e,t){return null!=t&&e instanceof t}var n,i,o;try{n=Map}catch(e){n=function(){}}try{i=Set}catch(e){i=function(){}}try{o=Promise}catch(e){o=function(){}}function r(a,l,c,u,d){"object"==typeof l&&(c=l.depth,u=l.prototype,d=l.includeNonEnumerable,l=l.circular);var p=[],f=[],m=void 0!==e;return void 0===l&&(l=!0),void 0===c&&(c=1/0),function a(c,h){if(null===c)return null;if(0===h)return c;var g,v;if("object"!=typeof c)return c;if(t(c,n))g=new n;else if(t(c,i))g=new i;else if(t(c,o))g=new o(function(e,t){c.then(function(t){e(a(t,h-1))},function(e){t(a(e,h-1))})});else if(r.__isArray(c))g=[];else if(r.__isRegExp(c))g=new RegExp(c.source,s(c)),c.lastIndex&&(g.lastIndex=c.lastIndex);else if(r.__isDate(c))g=new Date(c.getTime());else{if(m&&e.isBuffer(c))return g=e.allocUnsafe?e.allocUnsafe(c.length):new e(c.length),c.copy(g),g;t(c,Error)?g=Object.create(c):void 0===u?(v=Object.getPrototypeOf(c),g=Object.create(v)):(g=Object.create(u),v=u)}if(l){var _=p.indexOf(c);if(-1!=_)return f[_];p.push(c),f.push(g)}for(var b in t(c,n)&&c.forEach(function(e,t){var n=a(t,h-1),i=a(e,h-1);g.set(n,i)}),t(c,i)&&c.forEach(function(e){var t=a(e,h-1);g.add(t)}),c){var y;v&&(y=Object.getOwnPropertyDescriptor(v,b)),y&&null==y.set||(g[b]=a(c[b],h-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(c);for(b=0;b<w.length;b++){var x=w[b];(!(A=Object.getOwnPropertyDescriptor(c,x))||A.enumerable||d)&&(g[x]=a(c[x],h-1),A.enumerable||Object.defineProperty(g,x,{enumerable:!1}))}}if(d){var k=Object.getOwnPropertyNames(c);for(b=0;b<k.length;b++){var A,C=k[b];(A=Object.getOwnPropertyDescriptor(c,C))&&A.enumerable||(g[C]=a(c[C],h-1),Object.defineProperty(g,C,{enumerable:!1}))}}return g}(a,c)}function a(e){return Object.prototype.toString.call(e)}function s(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return r.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},r.__objToStr=a,r.__isDate=function(e){return"object"==typeof e&&"[object Date]"===a(e)},r.__isArray=function(e){return"object"==typeof e&&"[object Array]"===a(e)},r.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===a(e)},r.__getRegExpFlags=s,r}();"object"==typeof t&&t.exports&&(t.exports=i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0},a=f(n(0)),s=f(n(8)),l=n(4),c=f(l),u=f(n(16)),d=f(n(13)),p=f(n(25));function f(e){return e&&e.__esModule?e:{default:e}}function m(e){return e instanceof c.default||e instanceof l.BlockEmbed}var h=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.emitter=n.emitter,Array.isArray(n.whitelist)&&(i.whitelist=n.whitelist.reduce(function(e,t){return e[t]=!0,e},{})),i.domNode.addEventListener("DOMNodeInserted",function(){}),i.optimize(),i.enable(),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Scroll),o(t,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(e,n){var o=this.line(e),a=i(o,2),s=a[0],c=a[1],p=this.line(e+n),f=i(p,1)[0];if(r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),null!=f&&s!==f&&c>0){if(s instanceof l.BlockEmbed||f instanceof l.BlockEmbed)return void this.optimize();if(s instanceof d.default){var m=s.newlineIndex(s.length(),!0);if(m>-1&&(s=s.split(m+1))===f)return void this.optimize()}else if(f instanceof d.default){var h=f.newlineIndex(0);h>-1&&f.split(h+1)}var g=f.children.head instanceof u.default?null:f.children.head;s.moveChildren(f,g),s.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,i,o){(null==this.whitelist||this.whitelist[i])&&(r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,i,o),this.optimize())}},{key:"insertAt",value:function(e,n,i){if(null==i||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==i||null==a.default.query(n,a.default.Scope.BLOCK)){var o=a.default.create(this.statics.defaultChild);this.appendChild(o),null==i&&n.endsWith("\n")&&(n=n.slice(0,-1)),o.insertAt(0,n,i)}else{var s=a.default.create(n,i);this.appendChild(s)}else r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,i);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===a.default.Scope.INLINE_BLOT){var i=a.default.create(this.statics.defaultChild);i.appendChild(e),e=i}r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(m,e)}},{key:"lines",value:function(){return function e(t,n,i){var o=[],r=i;return t.children.forEachAt(n,i,function(t,n,i){m(t)?o.push(t):t instanceof a.default.Container&&(o=o.concat(e(t,n,r))),r-=i}),o}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=s.default.sources.USER;"string"==typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,n,e),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(s.default.events.SCROLL_UPDATE,n,e)}}}]),t}();h.blotName="scroll",h.className="ql-editor",h.tagName="DIV",h.defaultChild="block",h.allowedChildren=[c.default,l.BlockEmbed,p.default],t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var i="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},o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=h(n(21)),s=h(n(11)),l=h(n(3)),c=h(n(2)),u=h(n(20)),d=h(n(0)),p=h(n(5)),f=h(n(10)),m=h(n(9));function h(e){return e&&e.__esModule?e:{default: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}var v=(0,f.default)("quill:keyboard"),_=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",b=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.bindings={},Object.keys(i.options.bindings).forEach(function(t){("list autofill"!==t||null==e.scroll.whitelist||e.scroll.whitelist.list)&&i.options.bindings[t]&&i.addBinding(i.options.bindings[t])}),i.addBinding({key:t.keys.ENTER,shiftKey:null},A),i.addBinding({key:t.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(i.addBinding({key:t.keys.BACKSPACE},{collapsed:!0},w),i.addBinding({key:t.keys.DELETE},{collapsed:!0},x)):(i.addBinding({key:t.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},w),i.addBinding({key:t.keys.DELETE},{collapsed:!0,suffix:/^.?$/},x)),i.addBinding({key:t.keys.BACKSPACE},{collapsed:!1},k),i.addBinding({key:t.keys.DELETE},{collapsed:!1},k),i.addBinding({key:t.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},w),i.listen(),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,m.default),r(t,null,[{key:"match",value:function(e,t){return t=M(t),!["altKey","ctrlKey","metaKey","shiftKey"].some(function(n){return!!t[n]!==e[n]&&null!==t[n]})&&t.key===(e.which||e.keyCode)}}]),r(t,[{key:"addBinding",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=M(e);if(null==i||null==i.key)return v.warn("Attempted to add invalid keyboard binding",i);"function"==typeof t&&(t={handler:t}),"function"==typeof n&&(n={handler:n}),i=(0,l.default)(i,t,n),this.bindings[i.key]=this.bindings[i.key]||[],this.bindings[i.key].push(i)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",function(n){if(!n.defaultPrevented){var r=n.which||n.keyCode,a=(e.bindings[r]||[]).filter(function(e){return t.match(n,e)});if(0!==a.length){var l=e.quill.getSelection();if(null!=l&&e.quill.hasFocus()){var c=e.quill.getLine(l.index),u=o(c,2),p=u[0],f=u[1],m=e.quill.getLeaf(l.index),h=o(m,2),g=h[0],v=h[1],_=0===l.length?[g,v]:e.quill.getLeaf(l.index+l.length),b=o(_,2),y=b[0],w=b[1],x=g instanceof d.default.Text?g.value().slice(0,v):"",k=y instanceof d.default.Text?y.value().slice(w):"",A={collapsed:0===l.length,empty:0===l.length&&p.length()<=1,format:e.quill.getFormat(l),offset:f,prefix:x,suffix:k};a.some(function(t){if(null!=t.collapsed&&t.collapsed!==A.collapsed)return!1;if(null!=t.empty&&t.empty!==A.empty)return!1;if(null!=t.offset&&t.offset!==A.offset)return!1;if(Array.isArray(t.format)){if(t.format.every(function(e){return null==A.format[e]}))return!1}else if("object"===i(t.format)&&!Object.keys(t.format).every(function(e){return!0===t.format[e]?null!=A.format[e]:!1===t.format[e]?null==A.format[e]:(0,s.default)(t.format[e],A.format[e])}))return!1;return!(null!=t.prefix&&!t.prefix.test(A.prefix))&&(!(null!=t.suffix&&!t.suffix.test(A.suffix))&&!0!==t.handler.call(e,l,A))})&&n.preventDefault()}}}})}}]),t}();function y(e,t){var n,i=e===b.keys.LEFT?"prefix":"suffix";return g(n={key:e,shiftKey:t,altKey:null},i,/^$/),g(n,"handler",function(n){var i=n.index;e===b.keys.RIGHT&&(i+=n.length+1);var r=this.quill.getLeaf(i);return!(o(r,1)[0]instanceof d.default.Embed)||(e===b.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,p.default.sources.USER):this.quill.setSelection(n.index-1,p.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,p.default.sources.USER):this.quill.setSelection(n.index+n.length+1,p.default.sources.USER),!1)}),n}function w(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),i=o(n,1)[0],r={};if(0===t.offset){var a=this.quill.getLine(e.index-1),s=o(a,1)[0];if(null!=s&&s.length()>1){var l=i.formats(),c=this.quill.getFormat(e.index-1,1);r=u.default.attributes.diff(l,c)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-d,d,p.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index-d,d,r,p.default.sources.USER),this.quill.focus()}}function x(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var i={},r=0,a=this.quill.getLine(e.index),s=o(a,1)[0];if(t.offset>=s.length()-1){var l=this.quill.getLine(e.index+1),c=o(l,1)[0];if(c){var d=s.formats(),f=this.quill.getFormat(e.index,1);i=u.default.attributes.diff(d,f)||{},r=c.length()}}this.quill.deleteText(e.index,n,p.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(e.index+r-1,n,i,p.default.sources.USER)}}function k(e){var t=this.quill.getLines(e),n={};if(t.length>1){var i=t[0].formats(),o=t[t.length-1].formats();n=u.default.attributes.diff(o,i)||{}}this.quill.deleteText(e,p.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,p.default.sources.USER),this.quill.setSelection(e.index,p.default.sources.SILENT),this.quill.focus()}function A(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var i=Object.keys(t.format).reduce(function(e,n){return d.default.query(n,d.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e},{});this.quill.insertText(e.index,"\n",i,p.default.sources.USER),this.quill.setSelection(e.index+1,p.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach(function(e){null==i[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],p.default.sources.USER))})}function C(e){return{key:b.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=d.default.query("code-block"),i=t.index,r=t.length,a=this.quill.scroll.descendant(n,i),s=o(a,2),l=s[0],c=s[1];if(null!=l){var u=this.quill.getIndex(l),f=l.newlineIndex(c,!0)+1,m=l.newlineIndex(u+c+r),h=l.domNode.textContent.slice(f,m).split("\n");c=0,h.forEach(function(t,o){e?(l.insertAt(f+c,n.TAB),c+=n.TAB.length,0===o?i+=n.TAB.length:r+=n.TAB.length):t.startsWith(n.TAB)&&(l.deleteAt(f+c,n.TAB.length),c-=n.TAB.length,0===o?i-=n.TAB.length:r-=n.TAB.length),c+=t.length+1}),this.quill.update(p.default.sources.USER),this.quill.setSelection(i,r,p.default.sources.SILENT)}}}}function S(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],p.default.sources.USER)}}}function M(e){if("string"==typeof e||"number"==typeof e)return M({key:e});if("object"===(void 0===e?"undefined":i(e))&&(e=(0,a.default)(e,!1)),"string"==typeof e.key)if(null!=b.keys[e.key.toUpperCase()])e.key=b.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[_]=e.shortKey,delete e.shortKey),e}b.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},b.DEFAULTS={bindings:{bold:S("bold"),italic:S("italic"),underline:S("underline"),indent:{key:b.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",p.default.sources.USER)}},outdent:{key:b.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",p.default.sources.USER)}},"outdent backspace":{key:b.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",p.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,p.default.sources.USER)}},"indent code-block":C(!0),"outdent code-block":C(!1),"remove tab":{key:b.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,p.default.sources.USER)}},tab:{key:b.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new c.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,p.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,p.default.sources.SILENT)}},"list empty enter":{key:b.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,p.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,p.default.sources.USER)}},"checklist enter":{key:b.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=o(t,2),i=n[0],r=n[1],a=(0,l.default)({},i.formats(),{list:"checked"}),s=(new c.default).retain(e.index).insert("\n",a).retain(i.length()-r-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,p.default.sources.USER),this.quill.setSelection(e.index+1,p.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:b.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),i=o(n,2),r=i[0],a=i[1],s=(new c.default).retain(e.index).insert("\n",t.format).retain(r.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,p.default.sources.USER),this.quill.setSelection(e.index+1,p.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,i=this.quill.getLine(e.index),r=o(i,2),a=r[0],s=r[1];if(s>n)return!0;var l=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(e.index," ",p.default.sources.USER),this.quill.history.cutoff();var u=(new c.default).retain(e.index-s).delete(n+1).retain(a.length()-2-s).retain(1,{list:l});this.quill.updateContents(u,p.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,p.default.sources.SILENT)}},"code exit":{key:b.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=o(t,2),i=n[0],r=n[1],a=(new c.default).retain(e.index+i.length()-r-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,p.default.sources.USER)}},"embed left":y(b.keys.LEFT,!1),"embed left shift":y(b.keys.LEFT,!0),"embed right":y(b.keys.RIGHT,!1),"embed right shift":y(b.keys.RIGHT,!0)}},t.default=b,t.SHORTKEY=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=l(n(0)),s=l(n(7));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.selection=n,i.textNode=document.createTextNode(t.CONTENTS),i.domNode.appendChild(i.textNode),i._length=0,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Embed),r(t,null,[{key:"value",value:function(){}}]),r(t,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(e,n){if(0!==this._length)return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);for(var i=this,r=0;null!=i&&i.statics.scope!==a.default.Scope.BLOCK_BLOT;)r+=i.offset(i.parent),i=i.parent;null!=i&&(this._length=t.CONTENTS.length,i.optimize(),i.formatAt(r,t.CONTENTS.length,e,n),this._length=0)}},{key:"index",value:function(e,n){return e===this.textNode?0:o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var e=this.textNode,n=this.selection.getNativeRange(),o=void 0,r=void 0,l=void 0;if(null!=n&&n.start.node===e&&n.end.node===e){var c=[e,n.start.offset,n.end.offset];o=c[0],r=c[1],l=c[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==t.CONTENTS){var u=this.textNode.data.split(t.CONTENTS).join("");this.next instanceof s.default?(o=this.next.domNode,this.next.insertAt(0,u),this.textNode.data=t.CONTENTS):(this.textNode.data=u,this.parent.insertBefore(a.default.create(this.textNode),this),this.textNode=document.createTextNode(t.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=r){var d=[r,l].map(function(e){return Math.max(0,Math.min(o.data.length,e-1))}),p=i(d,2);return r=p[0],l=p[1],{startNode:o,startOffset:r,endNode:o,endOffset:l}}}}},{key:"update",value:function(e,t){var n=this;if(e.some(function(e){return"characterData"===e.type&&e.target===n.textNode})){var i=this.restore();i&&(t.range=i)}}},{key:"value",value:function(){return""}}]),t}();c.blotName="cursor",c.className="ql-cursor",c.tagName="span",c.CONTENTS="\ufeff",t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(0)),o=n(4),r=a(o);function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.default.Container),t}();s.allowedChildren=[r.default,o.BlockEmbed,s],t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorStyle=t.ColorClass=t.ColorAttributor=void 0;var i,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),a=(i=r)&&i.__esModule?i:{default:i};var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Attributor.Style),o(t,[{key:"value",value:function(e){var n=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map(function(e){return("00"+parseInt(e).toString(16)).slice(-2)}).join("")):n}}]),t}(),l=new a.default.Attributor.Class("color","ql-color",{scope:a.default.Scope.INLINE}),c=new s("color","color",{scope:a.default.Scope.INLINE});t.ColorAttributor=s,t.ColorClass=l,t.ColorStyle=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitize=t.default=void 0;var i,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0},a=n(6),s=(i=a)&&i.__esModule?i:{default:i};var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default),o(t,[{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n)return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(e){var n=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return e=this.sanitize(e),n.setAttribute("href",e),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(e){return e.getAttribute("href")}},{key:"sanitize",value:function(e){return c(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}}]),t}();function c(e,t){var n=document.createElement("a");n.href=e;var i=n.href.slice(0,n.href.indexOf(":"));return t.indexOf(i)>-1}l.blotName="link",l.tagName="A",l.SANITIZED_URL="about:blank",l.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=l,t.sanitize=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="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},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=s(n(23)),a=s(n(107));function s(e){return e&&e.__esModule?e:{default:e}}var l=0;function c(e,t){e.setAttribute(t,!("true"===e.getAttribute(t)))}var u=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.select=t,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",function(){n.togglePicker()}),this.label.addEventListener("keydown",function(e){switch(e.keyCode){case r.default.keys.ENTER:n.togglePicker();break;case r.default.keys.ESCAPE:n.escape(),e.preventDefault()}}),this.select.addEventListener("change",this.update.bind(this))}return o(e,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),c(this.label,"aria-expanded"),c(this.options,"aria-hidden")}},{key:"buildItem",value:function(e){var t=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),e.hasAttribute("value")&&n.setAttribute("data-value",e.getAttribute("value")),e.textContent&&n.setAttribute("data-label",e.textContent),n.addEventListener("click",function(){t.selectItem(n,!0)}),n.addEventListener("keydown",function(e){switch(e.keyCode){case r.default.keys.ENTER:t.selectItem(n,!0),e.preventDefault();break;case r.default.keys.ESCAPE:t.escape(),e.preventDefault()}}),n}},{key:"buildLabel",value:function(){var e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=a.default,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}},{key:"buildOptions",value:function(){var e=this,t=document.createElement("span");t.classList.add("ql-picker-options"),t.setAttribute("aria-hidden","true"),t.tabIndex="-1",t.id="ql-picker-options-"+l,l+=1,this.label.setAttribute("aria-controls",t.id),this.options=t,[].slice.call(this.select.options).forEach(function(n){var i=e.buildItem(n);t.appendChild(i),!0===n.selected&&e.selectItem(i)}),this.container.appendChild(t)}},{key:"buildPicker",value:function(){var e=this;[].slice.call(this.select.attributes).forEach(function(t){e.container.setAttribute(t.name,t.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var e=this;this.close(),setTimeout(function(){return e.label.focus()},1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":i(Event))){var o=document.createEvent("Event");o.initEvent("change",!0,!0),this.select.dispatchEvent(o)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=v(n(0)),o=v(n(5)),r=n(4),a=v(r),s=v(n(16)),l=v(n(25)),c=v(n(24)),u=v(n(35)),d=v(n(6)),p=v(n(22)),f=v(n(7)),m=v(n(55)),h=v(n(42)),g=v(n(23));function v(e){return e&&e.__esModule?e:{default:e}}o.default.register({"blots/block":a.default,"blots/block/embed":r.BlockEmbed,"blots/break":s.default,"blots/container":l.default,"blots/cursor":c.default,"blots/embed":u.default,"blots/inline":d.default,"blots/scroll":p.default,"blots/text":f.default,"modules/clipboard":m.default,"modules/history":h.default,"modules/keyboard":g.default}),i.default.register(a.default,s.default,c.default,d.default,p.default,f.default),t.default=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=function(){function e(e){this.domNode=e,this.domNode[i.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new i.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"==typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"==typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return i.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[i.DATA_KEY]},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,n,o){var r=this.isolate(e,t);if(null!=i.query(n,i.Scope.BLOT)&&o)r.wrap(n,o);else if(null!=i.query(n,i.Scope.ATTRIBUTE)){var a=i.create(this.statics.scope);r.wrap(a),a.format(n,o)}},e.prototype.insertAt=function(e,t,n){var o=null==n?i.create("text",t):i.create(t,n),r=this.split(e);this.parent.insertBefore(o,r)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[i.DATA_KEY]&&delete this.domNode[i.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"==typeof e?i.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"==typeof e?i.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),o=n(32),r=n(33),a=n(1),s=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=i.default.keys(this.domNode),n=o.default.keys(this.domNode),s=r.default.keys(this.domNode);t.concat(n).concat(s).forEach(function(t){var n=a.query(t,a.Scope.ATTRIBUTE);n instanceof i.default&&(e.attributes[n.attrName]=n)})},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach(function(n){var i=t.attributes[n].value(t.domNode);e.format(n,i)})},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach(function(e){t.attributes[e].remove(t.domNode)}),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce(function(t,n){return t[n]=e.attributes[n].value(e.domNode),t},{})},e}();t.default=s},function(e,t,n){"use strict";var i,o=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function r(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter(function(e){return 0===e.indexOf(t+"-")})}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map(function(e){return e.split("-").slice(0,-1).join("-")})},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){r(e,this.keyName).forEach(function(t){e.classList.remove(t)}),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(r(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=a},function(e,t,n){"use strict";var i,o=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function r(e){var t=e.split("-"),n=t.slice(1).map(function(e){return e[0].toUpperCase()+e.slice(1)}).join("");return t[0]+n}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map(function(e){return e.split(":")[0].trim()})},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[r(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[r(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[r(this.keyName)];return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.options=n,this.modules={}}return i(e,[{key:"init",value:function(){var e=this;Object.keys(this.options.modules).forEach(function(t){null==e.modules[t]&&e.addModule(t)})}},{key:"addModule",value:function(e){var t=this.quill.constructor.import("modules/"+e);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}}]),e}();o.DEFAULTS={modules:{}},o.themes={default:o},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=a(n(0)),r=a(n(7));function a(e){return e&&e.__esModule?e:{default:e}}var s="\ufeff",l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach(function(e){n.contentNode.appendChild(e)}),n.leftGuard=document.createTextNode(s),n.rightGuard=document.createTextNode(s),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Embed),i(t,[{key:"index",value:function(e,n){return e===this.leftGuard?0:e===this.rightGuard?1:function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"restore",value:function(e){var t=void 0,n=void 0,i=e.data.split(s).join("");if(e===this.leftGuard)if(this.prev instanceof r.default){var a=this.prev.length();this.prev.insertAt(a,i),t={startNode:this.prev.domNode,startOffset:a+i.length}}else n=document.createTextNode(i),this.parent.insertBefore(o.default.create(n),this),t={startNode:n,startOffset:i.length};else e===this.rightGuard&&(this.next instanceof r.default?(this.next.insertAt(0,i),t={startNode:this.next.domNode,startOffset:i.length}):(n=document.createTextNode(i),this.parent.insertBefore(o.default.create(n),this.next),t={startNode:n,startOffset:i.length}));return e.data=s,t}},{key:"update",value:function(e,t){var n=this;e.forEach(function(e){if("characterData"===e.type&&(e.target===n.leftGuard||e.target===n.rightGuard)){var i=n.restore(e.target);i&&(t.range=i)}})}}]),t}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlignStyle=t.AlignClass=t.AlignAttribute=void 0;var i,o=n(0),r=(i=o)&&i.__esModule?i:{default:i};var a={scope:r.default.Scope.BLOCK,whitelist:["right","center","justify"]},s=new r.default.Attributor.Attribute("align","align",a),l=new r.default.Attributor.Class("align","ql-align",a),c=new r.default.Attributor.Style("align","text-align",a);t.AlignAttribute=s,t.AlignClass=l,t.AlignStyle=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundStyle=t.BackgroundClass=void 0;var i,o=n(0),r=(i=o)&&i.__esModule?i:{default:i},a=n(26);var s=new r.default.Attributor.Class("background","ql-bg",{scope:r.default.Scope.INLINE}),l=new a.ColorAttributor("background","background-color",{scope:r.default.Scope.INLINE});t.BackgroundClass=s,t.BackgroundStyle=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionStyle=t.DirectionClass=t.DirectionAttribute=void 0;var i,o=n(0),r=(i=o)&&i.__esModule?i:{default:i};var a={scope:r.default.Scope.BLOCK,whitelist:["rtl"]},s=new r.default.Attributor.Attribute("direction","dir",a),l=new r.default.Attributor.Class("direction","ql-direction",a),c=new r.default.Attributor.Style("direction","direction",a);t.DirectionAttribute=s,t.DirectionClass=l,t.DirectionStyle=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontClass=t.FontStyle=void 0;var i,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),a=(i=r)&&i.__esModule?i:{default:i};var s={scope:a.default.Scope.INLINE,whitelist:["serif","monospace"]},l=new a.default.Attributor.Class("font","ql-font",s),c=new(function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Attributor.Style),o(t,[{key:"value",value:function(e){return function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e).replace(/["']/g,"")}}]),t}())("font","font-family",s);t.FontStyle=c,t.FontClass=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SizeStyle=t.SizeClass=void 0;var i,o=n(0),r=(i=o)&&i.__esModule?i:{default:i};var a=new r.default.Attributor.Class("size","ql-size",{scope:r.default.Scope.INLINE,whitelist:["small","large","huge"]}),s=new r.default.Attributor.Style("size","font-size",{scope:r.default.Scope.INLINE,whitelist:["10px","18px","32px"]});t.SizeClass=a,t.SizeStyle=s},function(e,t,n){"use strict";e.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLastChangeIndex=t.default=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=s(n(0)),r=s(n(5)),a=s(n(9));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.lastRecorded=0,i.ignoreChange=!1,i.clear(),i.quill.on(r.default.events.EDITOR_CHANGE,function(e,t,n,o){e!==r.default.events.TEXT_CHANGE||i.ignoreChange||(i.options.userOnly&&o!==r.default.sources.USER?i.transform(t):i.record(t,n))}),i.quill.keyboard.addBinding({key:"Z",shortKey:!0},i.undo.bind(i)),i.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},i.redo.bind(i)),/Win/i.test(navigator.platform)&&i.quill.keyboard.addBinding({key:"Y",shortKey:!0},i.redo.bind(i)),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default),i(t,[{key:"change",value:function(e,t){if(0!==this.stack[e].length){var n=this.stack[e].pop();this.stack[t].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[e],r.default.sources.USER),this.ignoreChange=!1;var i=c(n[e]);this.quill.setSelection(i)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(e,t){if(0!==e.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(t),i=Date.now();if(this.lastRecorded+this.options.delay>i&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo),e=o.redo.compose(e)}else this.lastRecorded=i;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach(function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}),this.stack.redo.forEach(function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}();function c(e){var t=e.reduce(function(e,t){return e+=t.delete||0},0),n=e.length()-t;return function(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"==typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some(function(e){return null!=o.default.query(e,o.default.Scope.BLOCK)}))}(e)&&(n-=1),n}l.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=l,t.getLastChangeIndex=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=f(n(3)),r=f(n(2)),a=f(n(8)),s=f(n(23)),l=f(n(34)),c=f(n(59)),u=f(n(60)),d=f(n(28)),p=f(n(61));function f(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=[!1,"center","right","justify"],_=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],b=[!1,"serif","monospace"],y=["1","2","3",!1],w=["small",!1,"large","huge"],x=function(e){function t(e,n){m(this,t);var i=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return e.emitter.listenDOM("click",document.body,function t(n){if(!document.body.contains(e.root))return document.body.removeEventListener("click",t);null==i.tooltip||i.tooltip.root.contains(n.target)||document.activeElement===i.tooltip.textbox||i.quill.hasFocus()||i.tooltip.hide(),null!=i.pickers&&i.pickers.forEach(function(e){e.container.contains(n.target)||e.close()})}),i}return g(t,l.default),i(t,[{key:"addModule",value:function(e){var n=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addModule",this).call(this,e);return"toolbar"===e&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(e,t){e.forEach(function(e){(e.getAttribute("class")||"").split(/\s+/).forEach(function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=t[n]))if("direction"===n)e.innerHTML=t[n][""]+t[n].rtl;else if("string"==typeof t[n])e.innerHTML=t[n];else{var i=e.value||"";null!=i&&t[n][i]&&(e.innerHTML=t[n][i])}})})}},{key:"buildPickers",value:function(e,t){var n=this;this.pickers=e.map(function(e){if(e.classList.contains("ql-align"))return null==e.querySelector("option")&&A(e,v),new u.default(e,t.align);if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){var n=e.classList.contains("ql-background")?"background":"color";return null==e.querySelector("option")&&A(e,_,"background"===n?"#ffffff":"#000000"),new c.default(e,t[n])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?A(e,b):e.classList.contains("ql-header")?A(e,y):e.classList.contains("ql-size")&&A(e,w)),new d.default(e)});this.quill.on(a.default.events.EDITOR_CHANGE,function(){n.pickers.forEach(function(e){e.update()})})}}]),t}();x.DEFAULTS=(0,o.default)(!0,{},l.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var e=this,t=this.container.querySelector("input.ql-image[type=file]");null==t&&((t=document.createElement("input")).setAttribute("type","file"),t.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),t.classList.add("ql-image"),t.addEventListener("change",function(){if(null!=t.files&&null!=t.files[0]){var n=new FileReader;n.onload=function(n){var i=e.quill.getSelection(!0);e.quill.updateContents((new r.default).retain(i.index).delete(i.length).insert({image:n.target.result}),a.default.sources.USER),e.quill.setSelection(i.index+1,a.default.sources.SILENT),t.value=""},n.readAsDataURL(t.files[0])}}),this.container.appendChild(t)),t.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var k=function(e){function t(e,n){m(this,t);var i=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.textbox=i.root.querySelector('input[type="text"]'),i.listen(),i}return g(t,p.default),i(t,[{key:"listen",value:function(){var e=this;this.textbox.addEventListener("keydown",function(t){s.default.match(t,"enter")?(e.save(),t.preventDefault()):s.default.match(t,"escape")&&(e.cancel(),t.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,a.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,a.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=function(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);if(t)return(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0";if(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))return(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/";return e}(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var i=n.index+n.length;this.quill.insertEmbed(i,this.root.getAttribute("data-mode"),e,a.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(i+1," ",a.default.sources.USER),this.quill.setSelection(i+2,a.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}();function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach(function(t){var i=document.createElement("option");t===n?i.setAttribute("selected","selected"):i.setAttribute("value",t),e.appendChild(i)})}t.BaseTooltip=k,t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.insertBefore(e[0],null),e.length>1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){for(var t,n=this.iterator();t=n();)if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){for(var t=0,n=this.head;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);for(var n,i=this.iterator();n=i();){var o=n.length();if(e<o||t&&e===o&&(null==n.next||0!==n.next.length()))return[n,e];e-=o}return[null,0]},e.prototype.forEach=function(e){for(var t,n=this.iterator();t=n();)e(t)},e.prototype.forEachAt=function(e,t,n){if(!(t<=0))for(var i,o=this.find(e),r=o[0],a=e-o[1],s=this.iterator(r);(i=s())&&a<e+t;){var l=i.length();e>a?n(i,e-a,Math.min(t,a+l-e)):n(i,0,Math.min(l,e+t-a)),a+=l}},e.prototype.map=function(e){return this.reduce(function(t,n){return t.push(e(n)),t},[])},e.prototype.reduce=function(e,t){for(var n,i=this.iterator();n=i();)t=e(t,n);return t},e}();t.default=i},function(e,t,n){"use strict";var i,o=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),a=n(1),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},l=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver(function(e){n.update(e)}),n.observer.observe(n.domNode,s),n.attach(),n}return o(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach(function(e){e.remove()}):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,i,o){this.update(),e.prototype.formatAt.call(this,t,n,i,o)},t.prototype.insertAt=function(t,n,i){this.update(),e.prototype.insertAt.call(this,t,n,i)},t.prototype.optimize=function(t,n){var i=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);for(var o=[].slice.call(this.observer.takeRecords());o.length>0;)t.push(o.pop());for(var s=function(e,t){void 0===t&&(t=!0),null!=e&&e!==i&&null!=e.domNode.parentNode&&(null==e.domNode[a.DATA_KEY].mutations&&(e.domNode[a.DATA_KEY].mutations=[]),t&&s(e.parent))},l=function(e){null!=e.domNode[a.DATA_KEY]&&null!=e.domNode[a.DATA_KEY].mutations&&(e instanceof r.default&&e.children.forEach(l),e.optimize(n))},c=t,u=0;c.length>0;u+=1){if(u>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach(function(e){var t=a.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(s(a.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,function(e){var t=a.find(e,!1);s(t,!1),t instanceof r.default&&t.children.forEach(function(e){s(e,!1)})})):"attributes"===e.type&&s(t.prev)),s(t))}),this.children.forEach(l),o=(c=[].slice.call(this.observer.takeRecords())).slice();o.length>0;)t.push(o.pop())}},t.prototype.update=function(t,n){var i=this;void 0===n&&(n={}),(t=t||this.observer.takeRecords()).map(function(e){var t=a.find(e.target,!0);return null==t?null:null==t.domNode[a.DATA_KEY].mutations?(t.domNode[a.DATA_KEY].mutations=[e],t):(t.domNode[a.DATA_KEY].mutations.push(e),null)}).forEach(function(e){null!=e&&e!==i&&null!=e.domNode[a.DATA_KEY]&&e.update(e.domNode[a.DATA_KEY].mutations||[],n)}),null!=this.domNode[a.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[a.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="DIV",t}(r.default);t.default=l},function(e,t,n){"use strict";var i,o=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),a=n(1);var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,i){var o=this;n!==this.statics.blotName||i?e.prototype.format.call(this,n,i):(this.children.forEach(function(e){e instanceof r.default||(e=e.wrap(t.blotName,!0)),o.attributes.copy(e)}),this.unwrap())},t.prototype.formatAt=function(t,n,i,o){null!=this.formats()[i]||a.query(i,a.Scope.ATTRIBUTE)?this.isolate(t,n).format(i,o):e.prototype.formatAt.call(this,t,n,i,o)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var i=this.formats();if(0===Object.keys(i).length)return this.unwrap();var o=this.next;o instanceof t&&o.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(i,o.formats())&&(o.moveChildren(this),o.remove())},t.blotName="inline",t.scope=a.Scope.INLINE_BLOT,t.tagName="SPAN",t}(r.default);t.default=s},function(e,t,n){"use strict";var i,o=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),a=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(n){var i=a.query(t.blotName).tagName;if(n.tagName!==i)return e.formats.call(this,n)},t.prototype.format=function(n,i){null!=a.query(n,a.Scope.BLOCK)&&(n!==this.statics.blotName||i?e.prototype.format.call(this,n,i):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,i,o){null!=a.query(i,a.Scope.BLOCK)?this.format(i,o):e.prototype.formatAt.call(this,t,n,i,o)},t.prototype.insertAt=function(t,n,i){if(null==i||null!=a.query(n,a.Scope.INLINE))e.prototype.insertAt.call(this,t,n,i);else{var o=this.split(t),r=a.create(n,i);o.parent.insertBefore(r,o)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="P",t}(r.default);t.default=s},function(e,t,n){"use strict";var i,o=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,i,o){0===t&&n===this.length()?this.format(i,o):e.prototype.formatAt.call(this,t,n,i,o)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(n(19).default);t.default=r},function(e,t,n){"use strict";var i,o=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),a=n(1),s=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return o(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t.normalize&&(t=t.normalize()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,i){null==i?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,i)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=a.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some(function(e){return"characterData"===e.type&&e.target===n.domNode})&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=a.Scope.INLINE_BLOT,t}(r.default);t.default=s},function(e,t,n){"use strict";var i=document.createElement("div");if(i.classList.toggle("test-class",!1),i.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)==!t?t:o.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var i=n.indexOf(e,t);return-1!==i&&i===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),i=n.length>>>0,o=arguments[1],r=0;r<i;r++)if(t=n[r],e.call(o,t,r,n))return t}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(e,t){var n=-1,i=1,o=0;function r(e,t,c){if(e==t)return e?[[o,e]]:[];(c<0||e.length<c)&&(c=null);var d=s(e,t),p=e.substring(0,d);d=l(e=e.substring(d),t=t.substring(d));var f=e.substring(e.length-d),m=function(e,t){var c;if(!e)return[[i,t]];if(!t)return[[n,e]];var u=e.length>t.length?e:t,d=e.length>t.length?t:e,p=u.indexOf(d);if(-1!=p)return c=[[i,u.substring(0,p)],[o,d],[i,u.substring(p+d.length)]],e.length>t.length&&(c[0][0]=c[2][0]=n),c;if(1==d.length)return[[n,e],[i,t]];var f=function(e,t){var n=e.length>t.length?e:t,i=e.length>t.length?t:e;if(n.length<4||2*i.length<n.length)return null;function o(e,t,n){for(var i,o,r,a,c=e.substring(n,n+Math.floor(e.length/4)),u=-1,d="";-1!=(u=t.indexOf(c,u+1));){var p=s(e.substring(n),t.substring(u)),f=l(e.substring(0,n),t.substring(0,u));d.length<f+p&&(d=t.substring(u-f,u)+t.substring(u,u+p),i=e.substring(0,n-f),o=e.substring(n+p),r=t.substring(0,u-f),a=t.substring(u+p))}return 2*d.length>=e.length?[i,o,r,a,d]:null}var r,a,c,u,d,p=o(n,i,Math.ceil(n.length/4)),f=o(n,i,Math.ceil(n.length/2));if(!p&&!f)return null;r=f?p&&p[4].length>f[4].length?p:f:p;e.length>t.length?(a=r[0],c=r[1],u=r[2],d=r[3]):(u=r[0],d=r[1],a=r[2],c=r[3]);var m=r[4];return[a,c,u,d,m]}(e,t);if(f){var m=f[0],h=f[1],g=f[2],v=f[3],_=f[4],b=r(m,g),y=r(h,v);return b.concat([[o,_]],y)}return function(e,t){for(var o=e.length,r=t.length,s=Math.ceil((o+r)/2),l=s,c=2*s,u=new Array(c),d=new Array(c),p=0;p<c;p++)u[p]=-1,d[p]=-1;u[l+1]=0,d[l+1]=0;for(var f=o-r,m=f%2!=0,h=0,g=0,v=0,_=0,b=0;b<s;b++){for(var y=-b+h;y<=b-g;y+=2){for(var w=l+y,x=(M=y==-b||y!=b&&u[w-1]<u[w+1]?u[w+1]:u[w-1]+1)-y;M<o&&x<r&&e.charAt(M)==t.charAt(x);)M++,x++;if(u[w]=M,M>o)g+=2;else if(x>r)h+=2;else if(m){var k=l+f-y;if(k>=0&&k<c&&-1!=d[k]){var A=o-d[k];if(M>=A)return a(e,t,M,x)}}}for(var C=-b+v;C<=b-_;C+=2){for(var k=l+C,S=(A=C==-b||C!=b&&d[k-1]<d[k+1]?d[k+1]:d[k-1]+1)-C;A<o&&S<r&&e.charAt(o-A-1)==t.charAt(r-S-1);)A++,S++;if(d[k]=A,A>o)_+=2;else if(S>r)v+=2;else if(!m){var w=l+f-C;if(w>=0&&w<c&&-1!=u[w]){var M=u[w],x=l+M-w;if(M>=(A=o-A))return a(e,t,M,x)}}}}return[[n,e],[i,t]]}(e,t)}(e=e.substring(0,e.length-d),t=t.substring(0,t.length-d));return p&&m.unshift([o,p]),f&&m.push([o,f]),function e(t){t.push([o,""]);var r=0;var a=0;var c=0;var u="";var d="";var p;for(;r<t.length;)switch(t[r][0]){case i:c++,d+=t[r][1],r++;break;case n:a++,u+=t[r][1],r++;break;case o:a+c>1?(0!==a&&0!==c&&(0!==(p=s(d,u))&&(r-a-c>0&&t[r-a-c-1][0]==o?t[r-a-c-1][1]+=d.substring(0,p):(t.splice(0,0,[o,d.substring(0,p)]),r++),d=d.substring(p),u=u.substring(p)),0!==(p=l(d,u))&&(t[r][1]=d.substring(d.length-p)+t[r][1],d=d.substring(0,d.length-p),u=u.substring(0,u.length-p))),0===a?t.splice(r-c,a+c,[i,d]):0===c?t.splice(r-a,a+c,[n,u]):t.splice(r-a-c,a+c,[n,u],[i,d]),r=r-a-c+(a?1:0)+(c?1:0)+1):0!==r&&t[r-1][0]==o?(t[r-1][1]+=t[r][1],t.splice(r,1)):r++,c=0,a=0,u="",d=""}""===t[t.length-1][1]&&t.pop();var f=!1;r=1;for(;r<t.length-1;)t[r-1][0]==o&&t[r+1][0]==o&&(t[r][1].substring(t[r][1].length-t[r-1][1].length)==t[r-1][1]?(t[r][1]=t[r-1][1]+t[r][1].substring(0,t[r][1].length-t[r-1][1].length),t[r+1][1]=t[r-1][1]+t[r+1][1],t.splice(r-1,1),f=!0):t[r][1].substring(0,t[r+1][1].length)==t[r+1][1]&&(t[r-1][1]+=t[r+1][1],t[r][1]=t[r][1].substring(t[r+1][1].length)+t[r+1][1],t.splice(r+1,1),f=!0)),r++;f&&e(t)}(m),null!=c&&(m=function(e,t){var i=function(e,t){if(0===t)return[o,e];for(var i=0,r=0;r<e.length;r++){var a=e[r];if(a[0]===n||a[0]===o){var s=i+a[1].length;if(t===s)return[r+1,e];if(t<s){e=e.slice();var l=t-i,c=[a[0],a[1].slice(0,l)],u=[a[0],a[1].slice(l)];return e.splice(r,1,c,u),[r+1,e]}i=s}}throw new Error("cursor_pos is out of bounds!")}(e,t),r=i[1],a=i[0],s=r[a],l=r[a+1];if(null==s)return e;if(s[0]!==o)return e;if(null!=l&&s[1]+l[1]===l[1]+s[1])return r.splice(a,2,l,s),u(r,a,2);if(null!=l&&0===l[1].indexOf(s[1])){r.splice(a,2,[l[0],s[1]],[0,s[1]]);var c=l[1].slice(s[1].length);return c.length>0&&r.splice(a+2,0,[l[0],c]),u(r,a,3)}return e}(m,c)),m=function(e){for(var t=!1,r=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},a=2;a<e.length;a+=1)e[a-2][0]===o&&((s=e[a-2][1]).charCodeAt(s.length-1)>=55296&&s.charCodeAt(s.length-1)<=56319)&&e[a-1][0]===n&&r(e[a-1][1])&&e[a][0]===i&&r(e[a][1])&&(t=!0,e[a-1][1]=e[a-2][1].slice(-1)+e[a-1][1],e[a][1]=e[a-2][1].slice(-1)+e[a][1],e[a-2][1]=e[a-2][1].slice(0,-1));var s;if(!t)return e;for(var l=[],a=0;a<e.length;a+=1)e[a][1].length>0&&l.push(e[a]);return l}(m)}function a(e,t,n,i){var o=e.substring(0,n),a=t.substring(0,i),s=e.substring(n),l=t.substring(i),c=r(o,a),u=r(s,l);return c.concat(u)}function s(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,i=Math.min(e.length,t.length),o=i,r=0;n<o;)e.substring(r,o)==t.substring(r,o)?r=n=o:i=o,o=Math.floor((i-n)/2+n);return o}function l(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var n=0,i=Math.min(e.length,t.length),o=i,r=0;n<o;)e.substring(e.length-o,e.length-r)==t.substring(t.length-o,t.length-r)?r=n=o:i=o,o=Math.floor((i-n)/2+n);return o}var c=r;function u(e,t,n){for(var i=t+n-1;i>=0&&i>=t-1;i--)if(i+1<e.length){var o=e[i],r=e[i+1];o[0]===r[1]&&e.splice(i,2,[o[0],o[1]+r[1]])}return e}c.INSERT=i,c.DELETE=n,c.EQUAL=o,e.exports=c},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}(e.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(e,t){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function i(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function o(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}(t=e.exports=n?i:o).supported=i,t.unsupported=o},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function r(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),a.prototype.eventNames=function(){var e,t,o=[];if(0===this._eventsCount)return o;for(t in e=this._events)n.call(e,t)&&o.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},a.prototype.listeners=function(e,t){var n=i?i+e:e,o=this._events[n];if(t)return!!o;if(!o)return[];if(o.fn)return[o.fn];for(var r=0,a=o.length,s=new Array(a);r<a;r++)s[r]=o[r].fn;return s},a.prototype.emit=function(e,t,n,o,r,a){var s=i?i+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,o),!0;case 5:return u.fn.call(u.context,t,n,o,r),!0;case 6:return u.fn.call(u.context,t,n,o,r,a),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var p,f=u.length;for(c=0;c<f;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,n);break;case 4:u[c].fn.call(u[c].context,t,n,o);break;default:if(!l)for(p=1,l=new Array(d-1);p<d;p++)l[p-1]=arguments[p];u[c].fn.apply(u[c].context,l)}}return!0},a.prototype.on=function(e,t,n){var o=new r(t,n||this),a=i?i+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.once=function(e,t,n){var o=new r(t,n||this,!0),a=i?i+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.removeListener=function(e,t,n,r){var a=i?i+e:e;if(!this._events[a])return this;if(!t)return 0==--this._eventsCount?this._events=new o:delete this._events[a],this;var s=this._events[a];if(s.fn)s.fn!==t||r&&!s.once||n&&s.context!==n||(0==--this._eventsCount?this._events=new o:delete this._events[a]);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||r&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[a]=1===c.length?c[0]:c:0==--this._eventsCount?this._events=new o:delete this._events[a]}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=i?i+e:e,this._events[t]&&(0==--this._eventsCount?this._events=new o:delete this._events[t])):(this._events=new o,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prototype.setMaxListeners=function(){return this},a.prefixed=i,a.EventEmitter=a,void 0!==e&&(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchText=t.matchSpacing=t.matchNewline=t.matchBlot=t.matchAttributor=t.default=void 0;var i="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},o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=b(n(3)),s=b(n(2)),l=b(n(0)),c=b(n(5)),u=b(n(10)),d=b(n(9)),p=n(36),f=n(37),m=b(n(13)),h=n(26),g=n(38),v=n(39),_=n(40);function b(e){return e&&e.__esModule?e:{default:e}}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=(0,u.default)("quill:clipboard"),x="__ql-matcher",k=[[Node.TEXT_NODE,L],[Node.TEXT_NODE,j],["br",function(e,t){O(t,"\n")||t.insert("\n");return t}],[Node.ELEMENT_NODE,j],[Node.ELEMENT_NODE,$],[Node.ELEMENT_NODE,q],[Node.ELEMENT_NODE,N],[Node.ELEMENT_NODE,function(e,t){var n={},i=e.style||{};i.fontStyle&&"italic"===P(e).fontStyle&&(n.italic=!0);i.fontWeight&&(P(e).fontWeight.startsWith("bold")||parseInt(P(e).fontWeight)>=700)&&(n.bold=!0);Object.keys(n).length>0&&(t=M(t,n));parseFloat(i.textIndent||0)>0&&(t=(new s.default).insert("\t").concat(t));return t}],["li",function(e,t){var n=l.default.query(e);if(null==n||"list-item"!==n.blotName||!O(t,"\n"))return t;var i=-1,o=e.parentNode;for(;!o.classList.contains("ql-clipboard");)"list"===(l.default.query(o)||{}).blotName&&(i+=1),o=o.parentNode;return i<=0?t:t.compose((new s.default).retain(t.length()-1).retain(1,{indent:i}))}],["b",E.bind(E,"bold")],["i",E.bind(E,"italic")],["style",function(){return new s.default}]],A=[p.AlignAttribute,g.DirectionAttribute].reduce(function(e,t){return e[t.keyName]=t,e},{}),C=[p.AlignStyle,f.BackgroundStyle,h.ColorStyle,g.DirectionStyle,v.FontStyle,_.SizeStyle].reduce(function(e,t){return e[t.keyName]=t,e},{}),S=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.quill.root.addEventListener("paste",i.onPaste.bind(i)),i.container=i.quill.addContainer("ql-clipboard"),i.container.setAttribute("contenteditable",!0),i.container.setAttribute("tabindex",-1),i.matchers=[],k.concat(i.options.matchers).forEach(function(e){var t=o(e,2),r=t[0],a=t[1];(n.matchVisual||a!==q)&&i.addMatcher(r,a)}),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,d.default),r(t,[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"convert",value:function(e){if("string"==typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\</g,"><"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[m.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(n,y({},m.default.blotName,t[m.default.blotName]))}var i=this.prepareMatching(),r=o(i,2),a=r[0],l=r[1],c=function e(t,n,i){return t.nodeType===t.TEXT_NODE?i.reduce(function(e,n){return n(t,e)},new s.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],function(o,r){var a=e(r,n,i);return r.nodeType===t.ELEMENT_NODE&&(a=n.reduce(function(e,t){return t(r,e)},a),a=(r[x]||[]).reduce(function(e,t){return t(r,e)},a)),o.concat(a)},new s.default):new s.default}(this.container,a,l);return O(c,"\n")&&null==c.ops[c.ops.length-1].attributes&&(c=c.compose((new s.default).retain(c.length()-1).delete(1))),w.log("convert",this.container.innerHTML,c),this.container.innerHTML="",c}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;if("string"==typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,c.default.sources.SILENT);else{var i=this.convert(t);this.quill.updateContents((new s.default).retain(e).concat(i),n),this.quill.setSelection(e+i.length(),c.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),i=(new s.default).retain(n.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(c.default.sources.SILENT),setTimeout(function(){i=i.concat(t.convert()).delete(n.length),t.quill.updateContents(i,c.default.sources.USER),t.quill.setSelection(i.length()-n.length,c.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=o,t.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach(function(i){var r=o(i,2),a=r[0],s=r[1];switch(a){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:t.push(s);break;default:[].forEach.call(e.container.querySelectorAll(a),function(e){e[x]=e[x]||[],e[x].push(s)})}}),[t,n]}}]),t}();function M(e,t,n){return"object"===(void 0===t?"undefined":i(t))?Object.keys(t).reduce(function(e,n){return M(e,n,t[n])},e):e.reduce(function(e,i){return i.attributes&&i.attributes[t]?e.push(i):e.insert(i.insert,(0,a.default)({},y({},t,n),i.attributes))},new s.default)}function P(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};return e["__ql-computed-style"]||(e["__ql-computed-style"]=window.getComputedStyle(e))}function O(e,t){for(var n="",i=e.ops.length-1;i>=0&&n.length<t.length;--i){var o=e.ops[i];if("string"!=typeof o.insert)break;n=o.insert+n}return n.slice(-1*t.length)===t}function T(e){if(0===e.childNodes.length)return!1;var t=P(e);return["block","list-item"].indexOf(t.display)>-1}function E(e,t,n){return M(n,e,!0)}function N(e,t){var n=l.default.Attributor.Attribute.keys(e),i=l.default.Attributor.Class.keys(e),o=l.default.Attributor.Style.keys(e),r={};return n.concat(i).concat(o).forEach(function(t){var n=l.default.query(t,l.default.Scope.ATTRIBUTE);null!=n&&(r[n.attrName]=n.value(e),r[n.attrName])||(null==(n=A[t])||n.attrName!==t&&n.keyName!==t||(r[n.attrName]=n.value(e)||void 0),null==(n=C[t])||n.attrName!==t&&n.keyName!==t||(n=C[t],r[n.attrName]=n.value(e)||void 0))}),Object.keys(r).length>0&&(t=M(t,r)),t}function $(e,t){var n=l.default.query(e);if(null==n)return t;if(n.prototype instanceof l.default.Embed){var i={},o=n.value(e);null!=o&&(i[n.blotName]=o,t=(new s.default).insert(i,n.formats(e)))}else"function"==typeof n.formats&&(t=M(t,n.blotName,n.formats(e)));return t}function j(e,t){return O(t,"\n")||(T(e)||t.length()>0&&e.nextSibling&&T(e.nextSibling))&&t.insert("\n"),t}function q(e,t){if(T(e)&&null!=e.nextElementSibling&&!O(t,"\n\n")){var n=e.offsetHeight+parseFloat(P(e).marginTop)+parseFloat(P(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function L(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!P(e.parentNode).whiteSpace.startsWith("pre")){var i=function(e,t){return(t=t.replace(/[^\u00a0]/g,"")).length<1&&e?" ":t};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,i.bind(i,!0)),(null==e.previousSibling&&T(e.parentNode)||null!=e.previousSibling&&T(e.previousSibling))&&(n=n.replace(/^\s+/,i.bind(i,!1))),(null==e.nextSibling&&T(e.parentNode)||null!=e.nextSibling&&T(e.nextSibling))&&(n=n.replace(/\s+$/,i.bind(i,!1)))}return t.insert(n)}S.DEFAULTS={matchers:[],matchVisual:!0},t.default=S,t.matchAttributor=N,t.matchBlot=$,t.matchNewline=j,t.matchSpacing=q,t.matchText=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0},a=n(6),s=(i=a)&&i.__esModule?i:{default:i};var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default),o(t,[{key:"optimize",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),t}();l.blotName="bold",l.tagName=["STRONG","B"],t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addControls=t.default=void 0;var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(2)),a=u(n(0)),s=u(n(5)),l=u(n(10)),c=u(n(9));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=(0,l.default)("quill:toolbar"),f=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o,r=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(Array.isArray(r.options.container)){var a=document.createElement("div");h(a,r.options.container),e.container.parentNode.insertBefore(a,e.container),r.container=a}else"string"==typeof r.options.container?r.container=document.querySelector(r.options.container):r.container=r.options.container;return r.container instanceof HTMLElement?(r.container.classList.add("ql-toolbar"),r.controls=[],r.handlers={},Object.keys(r.options.handlers).forEach(function(e){r.addHandler(e,r.options.handlers[e])}),[].forEach.call(r.container.querySelectorAll("button, select"),function(e){r.attach(e)}),r.quill.on(s.default.events.EDITOR_CHANGE,function(e,t){e===s.default.events.SELECTION_CHANGE&&r.update(t)}),r.quill.on(s.default.events.SCROLL_OPTIMIZE,function(){var e=r.quill.selection.getRange(),t=i(e,1)[0];r.update(t)}),r):(o=p.error("Container required for toolbar",r.options),d(r,o))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,c.default),o(t,[{key:"addHandler",value:function(e,t){this.handlers[e]=t}},{key:"attach",value:function(e){var t=this,n=[].find.call(e.classList,function(e){return 0===e.indexOf("ql-")});if(n){if(n=n.slice("ql-".length),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void p.warn("ignoring attaching to disabled format",n,e);if(null==a.default.query(n))return void p.warn("ignoring attaching to nonexistent format",n,e)}var o="SELECT"===e.tagName?"change":"click";e.addEventListener(o,function(o){var l=void 0;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;var c=e.options[e.selectedIndex];l=!c.hasAttribute("selected")&&(c.value||!1)}else l=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),o.preventDefault();t.quill.focus();var u=t.quill.selection.getRange(),d=i(u,1)[0];if(null!=t.handlers[n])t.handlers[n].call(t,l);else if(a.default.query(n).prototype instanceof a.default.Embed){if(!(l=prompt("Enter "+n)))return;t.quill.updateContents((new r.default).retain(d.index).delete(d.length).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,l)),s.default.sources.USER)}else t.quill.format(n,l,s.default.sources.USER);t.update(d)}),this.controls.push([n,e])}}},{key:"update",value:function(e){var t=null==e?{}:this.quill.getFormat(e);this.controls.forEach(function(n){var o=i(n,2),r=o[0],a=o[1];if("SELECT"===a.tagName){var s=void 0;if(null==e)s=null;else if(null==t[r])s=a.querySelector("option[selected]");else if(!Array.isArray(t[r])){var l=t[r];"string"==typeof l&&(l=l.replace(/\"/g,'\\"')),s=a.querySelector('option[value="'+l+'"]')}null==s?(a.value="",a.selectedIndex=-1):s.selected=!0}else if(null==e)a.classList.remove("ql-active");else if(a.hasAttribute("value")){var c=t[r]===a.getAttribute("value")||null!=t[r]&&t[r].toString()===a.getAttribute("value")||null==t[r]&&!a.getAttribute("value");a.classList.toggle("ql-active",c)}else a.classList.toggle("ql-active",null!=t[r])})}}]),t}();function m(e,t,n){var i=document.createElement("button");i.setAttribute("type","button"),i.classList.add("ql-"+t),null!=n&&(i.value=n),e.appendChild(i)}function h(e,t){Array.isArray(t[0])||(t=[t]),t.forEach(function(t){var n=document.createElement("span");n.classList.add("ql-formats"),t.forEach(function(e){if("string"==typeof e)m(n,e);else{var t=Object.keys(e)[0],i=e[t];Array.isArray(i)?function(e,t,n){var i=document.createElement("select");i.classList.add("ql-"+t),n.forEach(function(e){var t=document.createElement("option");!1!==e?t.setAttribute("value",e):t.setAttribute("selected","selected"),i.appendChild(t)}),e.appendChild(i)}(n,t,i):m(n,t,i)}}),e.appendChild(n)})}f.DEFAULTS={},f.DEFAULTS={container:null,handlers:{clean:function(){var e=this,t=this.quill.getSelection();if(null!=t)if(0==t.length){var n=this.quill.getFormat();Object.keys(n).forEach(function(t){null!=a.default.query(t,a.default.Scope.INLINE)&&e.quill.format(t,!1)})}else this.quill.removeFormat(t,s.default.sources.USER)},direction:function(e){var t=this.quill.getFormat().align;"rtl"===e&&null==t?this.quill.format("align","right",s.default.sources.USER):e||"right"!==t||this.quill.format("align",!1,s.default.sources.USER),this.quill.format("direction",e,s.default.sources.USER)},indent:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t),i=parseInt(n.indent||0);if("+1"===e||"-1"===e){var o="+1"===e?1:-1;"rtl"===n.direction&&(o*=-1),this.quill.format("indent",i+o,s.default.sources.USER)}},link:function(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,s.default.sources.USER)},list:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t);"check"===e?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,s.default.sources.USER):this.quill.format("list","unchecked",s.default.sources.USER):this.quill.format("list",e,s.default.sources.USER)}}},t.default=f,t.addControls=h},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0},a=n(28),s=(i=a)&&i.__esModule?i:{default:i};var l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.label.innerHTML=n,i.container.classList.add("ql-color-picker"),[].slice.call(i.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(e){e.classList.add("ql-primary")}),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default),o(t,[{key:"buildItem",value:function(e){var n=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"buildItem",this).call(this,e);return n.style.backgroundColor=e.getAttribute("value")||"",n}},{key:"selectItem",value:function(e,n){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n);var i=this.label.querySelector(".ql-color-label"),o=e&&e.getAttribute("data-value")||"";i&&("line"===i.tagName?i.style.stroke=o:i.style.fill=o)}}]),t}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(28),a=(i=r)&&i.__esModule?i:{default:i};var s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.container.classList.add("ql-icon-picker"),[].forEach.call(i.container.querySelectorAll(".ql-picker-item"),function(e){e.innerHTML=n[e.getAttribute("data-value")||""]}),i.defaultItem=i.container.querySelector(".ql-selected"),i.selectItem(i.defaultItem),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default),o(t,[{key:"selectItem",value:function(e,n){(function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0})(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n),e=e||this.defaultItem,this.label.innerHTML=e.innerHTML}}]),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var o=function(){function e(t,n){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.boundsContainer=n||document.body,this.root=t.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){i.root.style.marginTop=-1*i.quill.root.scrollTop+"px"}),this.hide()}return i(e,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(e){var t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=t+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var i=this.boundsContainer.getBoundingClientRect(),o=this.root.getBoundingClientRect(),r=0;if(o.right>i.right&&(r=i.right-o.right,this.root.style.left=t+r+"px"),o.left<i.left&&(r=i.left-o.left,this.root.style.left=t+r+"px"),o.bottom>i.bottom){var a=o.bottom-o.top,s=e.bottom-e.top+a;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return r}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=f(n(3)),s=f(n(8)),l=n(43),c=f(l),u=f(n(27)),d=n(15),p=f(n(41));function f(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],_=function(e){function t(e,n){m(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var i=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.quill.container.classList.add("ql-snow"),i}return g(t,c.default),r(t,[{key:"extendToolbar",value:function(e){e.container.classList.add("ql-snow"),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),p.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),p.default),this.tooltip=new b(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(t,n){e.handlers.link.call(e,!n.format.link)})}}]),t}();_.DEFAULTS=(0,a.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){if(e){var t=this.quill.getSelection();if(null==t||0==t.length)return;var n=this.quill.getText(t);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var b=function(e){function t(e,n){m(this,t);var i=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.preview=i.root.querySelector("a.ql-preview"),i}return g(t,l.BaseTooltip),r(t,[{key:"listen",value:function(){var e=this;o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(t){e.root.classList.contains("ql-editing")?e.save():e.edit("link",e.preview.textContent),t.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(t){if(null!=e.linkRange){var n=e.linkRange;e.restoreFocus(),e.quill.formatText(n,"link",!1,s.default.sources.USER),delete e.linkRange}t.preventDefault(),e.hide()}),this.quill.on(s.default.events.SELECTION_CHANGE,function(t,n,o){if(null!=t){if(0===t.length&&o===s.default.sources.USER){var r=e.quill.scroll.descendant(u.default,t.index),a=i(r,2),l=a[0],c=a[1];if(null!=l){e.linkRange=new d.Range(t.index-c,l.length());var p=u.default.formats(l.domNode);return e.preview.textContent=p,e.preview.setAttribute("href",p),e.show(),void e.position(e.quill.getBounds(e.linkRange))}}else delete e.linkRange;e.hide()}})}},{key:"show",value:function(){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),t}();b.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=q(n(29)),o=n(36),r=n(38),a=n(64),s=q(n(65)),l=q(n(66)),c=n(67),u=q(c),d=n(37),p=n(26),f=n(39),m=n(40),h=q(n(56)),g=q(n(68)),v=q(n(27)),_=q(n(69)),b=q(n(70)),y=q(n(71)),w=q(n(72)),x=q(n(73)),k=n(13),A=q(k),C=q(n(74)),S=q(n(75)),M=q(n(57)),P=q(n(41)),O=q(n(28)),T=q(n(59)),E=q(n(60)),N=q(n(61)),$=q(n(108)),j=q(n(62));function q(e){return e&&e.__esModule?e:{default:e}}i.default.register({"attributors/attribute/direction":r.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":d.BackgroundClass,"attributors/class/color":p.ColorClass,"attributors/class/direction":r.DirectionClass,"attributors/class/font":f.FontClass,"attributors/class/size":m.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":d.BackgroundStyle,"attributors/style/color":p.ColorStyle,"attributors/style/direction":r.DirectionStyle,"attributors/style/font":f.FontStyle,"attributors/style/size":m.SizeStyle},!0),i.default.register({"formats/align":o.AlignClass,"formats/direction":r.DirectionClass,"formats/indent":a.IndentClass,"formats/background":d.BackgroundStyle,"formats/color":p.ColorStyle,"formats/font":f.FontClass,"formats/size":m.SizeClass,"formats/blockquote":s.default,"formats/code-block":A.default,"formats/header":l.default,"formats/list":u.default,"formats/bold":h.default,"formats/code":k.Code,"formats/italic":g.default,"formats/link":v.default,"formats/script":_.default,"formats/strike":b.default,"formats/underline":y.default,"formats/image":w.default,"formats/video":x.default,"formats/list/item":c.ListItem,"modules/formula":C.default,"modules/syntax":S.default,"modules/toolbar":M.default,"themes/bubble":$.default,"themes/snow":j.default,"ui/icons":P.default,"ui/picker":O.default,"ui/icon-picker":E.default,"ui/color-picker":T.default,"ui/tooltip":N.default},!0),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var i,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0},a=n(0),s=(i=a)&&i.__esModule?i:{default:i};var l=new(function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default.Attributor.Class),o(t,[{key:"add",value:function(e,n){if("+1"===n||"-1"===n){var i=this.value(e)||0;n="+1"===n?i+1:i-1}return 0===n?(this.remove(e),!0):r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"add",this).call(this,e,n)}},{key:"canAdd",value:function(e,n){return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,n)||r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,parseInt(n))}},{key:"value",value:function(e){return parseInt(r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e))||void 0}}]),t}())("indent","ql-indent",{scope:s.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});t.IndentClass=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(4),r=(i=o)&&i.__esModule?i:{default:i};var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),t}();a.blotName="blockquote",a.tagName="blockquote",t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(4),a=(i=r)&&i.__esModule?i:{default:i};var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default),o(t,null,[{key:"formats",value:function(e){return this.tagName.indexOf(e.tagName)+1}}]),t}();s.blotName="header",s.tagName=["H1","H2","H3","H4","H5","H6"],t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ListItem=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0},r=l(n(0)),a=l(n(4)),s=l(n(25));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,a.default),i(t,[{key:"format",value:function(e,n){e!==f.blotName||n?o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n):this.replaceWith(r.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(e,n){return this.parent.isolate(this.offset(this.parent),this.length()),e===this.parent.statics.blotName?(this.parent.replaceWith(e,n),this):(this.parent.unwrap(),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e,n))}}],[{key:"formats",value:function(e){return e.tagName===this.tagName?void 0:o(t.__proto__||Object.getPrototypeOf(t),"formats",this).call(this,e)}}]),t}();p.blotName="list-item",p.tagName="LI";var f=function(e){function t(e){c(this,t);var n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),i=function(t){if(t.target.parentNode===e){var i=n.statics.formats(e),o=r.default.find(t.target);"checked"===i?o.format("list","unchecked"):"unchecked"===i&&o.format("list","checked")}};return e.addEventListener("touchstart",i),e.addEventListener("mousedown",i),n}return d(t,s.default),i(t,null,[{key:"create",value:function(e){var n="ordered"===e?"OL":"UL",i=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,n);return"checked"!==e&&"unchecked"!==e||i.setAttribute("data-checked","checked"===e),i}},{key:"formats",value:function(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),i(t,[{key:"format",value:function(e,t){this.children.length>0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return e={},t=this.statics.blotName,n=this.statics.formats(this.domNode),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"insertBefore",value:function(e,n){if(e instanceof p)o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var i=null==n?this.length():n.offset(this),r=this.split(i);r.parent.insertBefore(e,r)}}},{key:"optimize",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=r.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}();f.blotName="list",f.scope=r.default.Scope.BLOCK_BLOT,f.tagName=["OL","UL"],f.defaultChild="list-item",f.allowedChildren=[p],t.ListItem=p,t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(56),r=(i=o)&&i.__esModule?i:{default:i};var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),t}();a.blotName="italic",a.tagName=["EM","I"],t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(6),a=(i=r)&&i.__esModule?i:{default:i};var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default),o(t,null,[{key:"create",value:function(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0}(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e)}},{key:"formats",value:function(e){return"SUB"===e.tagName?"sub":"SUP"===e.tagName?"super":void 0}}]),t}();s.blotName="script",s.tagName=["SUB","SUP"],t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(6),r=(i=o)&&i.__esModule?i:{default:i};var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),t}();a.blotName="strike",a.tagName="S",t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(6),r=(i=o)&&i.__esModule?i:{default:i};var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),t}();a.blotName="underline",a.tagName="U",t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0},a=n(0),s=(i=a)&&i.__esModule?i:{default:i},l=n(27);var c=["alt","height","width"],u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default.Embed),o(t,[{key:"format",value:function(e,n){c.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return c.reduce(function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t},{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,l.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}();u.blotName="image",u.tagName="IMG",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0},a=n(4),s=n(27),l=(i=s)&&i.__esModule?i:{default:i};var c=["height","width"],u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.BlockEmbed),o(t,[{key:"format",value:function(e,n){c.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return c.reduce(function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t},{})}},{key:"sanitize",value:function(e){return l.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}();u.blotName="video",u.className="ql-video",u.tagName="IFRAME",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=s(n(35)),r=s(n(5)),a=s(n(9));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return u(t,o.default),i(t,null,[{key:"create",value:function(e){var n=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0}(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&(window.katex.render(e,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",e)),n}},{key:"value",value:function(e){return e.getAttribute("data-value")}}]),t}();d.blotName="formula",d.className="ql-formula",d.tagName="SPAN";var p=function(e){function t(){l(this,t);var e=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return e}return u(t,a.default),i(t,null,[{key:"register",value:function(){r.default.register(d,!0)}}]),t}();t.FormulaBlot=d,t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CodeToken=t.CodeBlock=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=l(n(0)),r=l(n(5)),a=l(n(9)),s=l(n(13));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,s.default),i(t,[{key:"replaceWith",value:function(e){this.domNode.textContent=this.domNode.textContent,this.attach(),function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e)}},{key:"highlight",value:function(e){var t=this.domNode.textContent;this.cachedText!==t&&((t.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}();p.className="ql-syntax";var f=new o.default.Attributor.Class("token","hljs",{scope:o.default.Scope.INLINE}),m=function(e){function t(e,n){c(this,t);var i=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!=typeof i.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var o=null;return i.quill.on(r.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(o),o=setTimeout(function(){i.highlight(),o=null},i.options.interval)}),i.highlight(),i}return d(t,a.default),i(t,null,[{key:"register",value:function(){r.default.register(f,!0),r.default.register(p,!0)}}]),i(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(r.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(p).forEach(function(t){t.highlight(e.options.highlight)}),this.quill.update(r.default.sources.SILENT),null!=t&&this.quill.setSelection(t,r.default.sources.SILENT)}}}]),t}();m.DEFAULTS={highlight:null==window.hljs?null:function(e){return window.hljs.highlightAuto(e).value},interval:1e3},t.CodeBlock=p,t.CodeToken=f,t.default=m},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var i=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,i)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(i):void 0},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=d(n(3)),a=d(n(8)),s=n(43),l=d(s),c=n(15),u=d(n(41));function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],g=function(e){function t(e,n){p(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=h);var i=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.quill.container.classList.add("ql-bubble"),i}return m(t,l.default),o(t,[{key:"extendToolbar",value:function(e){this.tooltip=new v(this.quill,this.options.bounds),this.tooltip.root.appendChild(e.container),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),u.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),u.default)}}]),t}();g.DEFAULTS=(0,r.default)(!0,{},l.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var v=function(e){function t(e,n){p(this,t);var i=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.quill.on(a.default.events.EDITOR_CHANGE,function(e,t,n,o){if(e===a.default.events.SELECTION_CHANGE)if(null!=t&&t.length>0&&o===a.default.sources.USER){i.show(),i.root.style.left="0px",i.root.style.width="",i.root.style.width=i.root.offsetWidth+"px";var r=i.quill.getLines(t.index,t.length);if(1===r.length)i.position(i.quill.getBounds(t));else{var s=r[r.length-1],l=i.quill.getIndex(s),u=Math.min(s.length()-1,t.index+t.length-l),d=i.quill.getBounds(new c.Range(l,u));i.position(d)}}else document.activeElement!==i.textbox&&i.quill.hasFocus()&&i.hide()}),i}return m(t,s.BaseTooltip),o(t,[{key:"listen",value:function(){var e=this;i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){e.root.classList.remove("ql-editing")}),this.quill.on(a.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),o=this.root.querySelector(".ql-tooltip-arrow");if(o.style.marginLeft="",0===n)return n;o.style.marginLeft=-1*n-o.offsetWidth/2+"px"}}]),t}();v.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),t.BubbleTooltip=v,t.default=g},function(e,t,n){e.exports=n(63)}]).default},"object"==typeof n&&"object"==typeof t?t.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof n?n.Quill=o():i.Quill=o()}).call(this,e("buffer").Buffer)},{buffer:36}],116:[function(e,t,n){var i,o;i=this,o=function(){if("WebSocket"in window)return e.prototype.onopen=function(e){},e.prototype.onclose=function(e){},e.prototype.onconnecting=function(e){},e.prototype.onmessage=function(e){},e.prototype.onerror=function(e){},e.debugAll=!1,e.CONNECTING=WebSocket.CONNECTING,e.OPEN=WebSocket.OPEN,e.CLOSING=WebSocket.CLOSING,e.CLOSED=WebSocket.CLOSED,e;function e(t,n,i){var o={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};for(var r in i||(i={}),o)void 0!==i[r]?this[r]=i[r]:this[r]=o[r];this.url=t,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var a,s=this,l=!1,c=!1,u=document.createElement("div");function d(e,t){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!1,!1,t),n}u.addEventListener("open",function(e){s.onopen(e)}),u.addEventListener("close",function(e){s.onclose(e)}),u.addEventListener("connecting",function(e){s.onconnecting(e)}),u.addEventListener("message",function(e){s.onmessage(e)}),u.addEventListener("error",function(e){s.onerror(e)}),this.addEventListener=u.addEventListener.bind(u),this.removeEventListener=u.removeEventListener.bind(u),this.dispatchEvent=u.dispatchEvent.bind(u),this.open=function(t){if(a=new WebSocket(s.url,n||[]),t){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else u.dispatchEvent(d("connecting")),this.reconnectAttempts=0;(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",s.url);var i=a,o=setTimeout(function(){(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",s.url),c=!0,i.close(),c=!1},s.timeoutInterval);a.onopen=function(n){clearTimeout(o),(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onopen",s.url),s.protocol=a.protocol,s.readyState=WebSocket.OPEN,s.reconnectAttempts=0;var i=d("open");i.isReconnect=t,t=!1,u.dispatchEvent(i)},a.onclose=function(n){if(clearTimeout(o),a=null,l)s.readyState=WebSocket.CLOSED,u.dispatchEvent(d("close"));else{s.readyState=WebSocket.CONNECTING;var i=d("connecting");i.code=n.code,i.reason=n.reason,i.wasClean=n.wasClean,u.dispatchEvent(i),t||c||((s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onclose",s.url),u.dispatchEvent(d("close")));var o=s.reconnectInterval*Math.pow(s.reconnectDecay,s.reconnectAttempts);setTimeout(function(){s.reconnectAttempts++,s.open(!0)},o>s.maxReconnectInterval?s.maxReconnectInterval:o)}},a.onmessage=function(t){(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",s.url,t.data);var n=d("message");n.data=t.data,u.dispatchEvent(n)},a.onerror=function(t){(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onerror",s.url,t),u.dispatchEvent(d("error"))}},1==this.automaticOpen&&this.open(!1),this.send=function(t){if(a)return(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","send",s.url,t),a.send(t);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(e,t){void 0===e&&(e=1e3),l=!0,a&&a.close(e,t)},this.refresh=function(){a&&a.close()}}},"function"==typeof define&&define.amd?define([],o):void 0!==t&&t.exports?t.exports=o():i.ReconnectingWebSocket=o()},{}],117:[function(e,t,n){(function(e,n){"use strict";function i(e,t){if(!e)throw"First parameter is required.";t=new o(e,t=t||{type:"video"});var n=this;function r(n){n&&(t.initCallback=function(){n(),n=t.initCallback=null});var i=new function(e,t){var n;(h||p||f)&&(n=S);"undefined"!=typeof MediaRecorder&&"requestData"in MediaRecorder.prototype&&!h&&(n=C);"video"===t.type&&(h||f)&&(n=P,"undefined"!=typeof ReadableStream&&(n=j));"gif"===t.type&&(n=E);"canvas"===t.type&&(n=M);A()&&n!==M&&n!==E&&"undefined"!=typeof MediaRecorder&&"requestData"in MediaRecorder.prototype&&(w(e,"video").length||w(e,"audio").length)&&("audio"===t.type?"function"==typeof MediaRecorder.isTypeSupported&&MediaRecorder.isTypeSupported("audio/webm")&&(n=C):"function"==typeof MediaRecorder.isTypeSupported&&MediaRecorder.isTypeSupported("video/webm")&&(n=C));e instanceof Array&&e.length&&(n=$);t.recorderType&&(n=t.recorderType);!t.disableLogs&&n&&n.name&&console.log("Using recorderType:",n.name||n.constructor.name);!n&&g&&(n=C);return n}(e,t);(m=new i(e,t)).record(),u("recording"),t.disableLogs||console.log("Initialized recorderType:",m.constructor.name,"for output-type:",t.type)}function a(e){if(e=e||function(){},m){if("paused"===n.state)return n.resumeRecording(),void setTimeout(function(){a(e)},1);"recording"===n.state||t.disableLogs||console.warn('Recording state should be: "recording", however current state is: ',n.state),t.disableLogs||console.log("Stopped recording "+t.type+" stream."),"gif"!==t.type?m.stop(i):(m.stop(),i()),u("stopped")}else y();function i(i){if(m){Object.keys(m).forEach(function(e){"function"!=typeof m[e]&&(n[e]=m[e])});var o=m.blob;if(!o){if(!i)throw"Recording failed.";m.blob=o=i}if(o&&!t.disableLogs&&console.log(o.type,"->",_(o.size)),e){var r;try{r=d.createObjectURL(o)}catch(e){}"function"==typeof e.call?e.call(n,r):e(r)}t.autoWriteToDisk&&l(function(e){var n={};n[t.type+"Blob"]=e,T.Store(n)})}else"function"==typeof e.call?e.call(n,""):e("")}}function s(e){postMessage((new FileReaderSync).readAsDataURL(e))}function l(e,n){if(!e)throw"Pass a callback function over getDataURL.";var i=n?n.blob:(m||{}).blob;if(!i)return t.disableLogs||console.warn("Blob encoder did not finish its job yet."),void setTimeout(function(){l(e,n)},1e3);if("undefined"==typeof Worker||navigator.mozGetUserMedia){var o=new FileReader;o.readAsDataURL(i),o.onload=function(t){e(t.target.result)}}else{var r=function(e){try{var t=d.createObjectURL(new Blob([e.toString(),"this.onmessage = function (eee) {"+e.name+"(eee.data);}"],{type:"application/javascript"})),n=new Worker(t);return d.revokeObjectURL(t),n}catch(e){}}(s);r.onmessage=function(t){e(t.data)},r.postMessage(i)}}function c(e){e=e||0,"paused"!==n.state?"stopped"!==n.state&&(e>=n.recordingDuration?a(n.onRecordingStopped):(e+=1e3,setTimeout(function(){c(e)},1e3))):setTimeout(function(){c(e)},1e3)}function u(e){n&&(n.state=e,"function"==typeof n.onStateChanged.call?n.onStateChanged.call(n,e):n.onStateChanged(e))}var m,v='It seems that recorder is destroyed or "startRecording" is not invoked for '+t.type+" recorder.";function y(){!0!==t.disableLogs&&console.warn(v)}var x={startRecording:function(i){return t.disableLogs||console.log("RecordRTC version: ",n.version),i&&(t=new o(e,i)),t.disableLogs||console.log("started recording "+t.type+" stream."),m?(m.clearRecordedData(),m.record(),u("recording"),n.recordingDuration&&c(),n):(r(function(){n.recordingDuration&&c()}),n)},stopRecording:a,pauseRecording:function(){m?"recording"===n.state?(u("paused"),m.pause(),t.disableLogs||console.log("Paused recording.")):t.disableLogs||console.warn("Unable to pause the recording. Recording state: ",n.state):y()},resumeRecording:function(){m?"paused"===n.state?(u("recording"),m.resume(),t.disableLogs||console.log("Resumed recording.")):t.disableLogs||console.warn("Unable to resume the recording. Recording state: ",n.state):y()},initRecorder:r,setRecordingDuration:function(e,t){if(void 0===e)throw"recordingDuration is required.";if("number"!=typeof e)throw"recordingDuration must be a number.";return n.recordingDuration=e,n.onRecordingStopped=t||function(){},{onRecordingStopped:function(e){n.onRecordingStopped=e}}},clearRecordedData:function(){m?(m.clearRecordedData(),t.disableLogs||console.log("Cleared old recorded data.")):y()},getBlob:function(){if(m)return m.blob;y()},getDataURL:l,toURL:function(){if(m)return d.createObjectURL(m.blob);y()},getInternalRecorder:function(){return m},save:function(e){m?b(m.blob,e):y()},getFromDisk:function(e){m?i.getFromDisk(t.type,e):y()},setAdvertisementArray:function(e){t.advertisement=[];for(var n=e.length,i=0;i<n;i++)t.advertisement.push({duration:i,image:e[i]})},blob:null,bufferSize:0,sampleRate:0,buffer:null,reset:function(){"recording"!==n.state||t.disableLogs||console.warn("Stop an active recorder."),m&&"function"==typeof m.clearRecordedData&&m.clearRecordedData(),m=null,u("inactive"),n.blob=null},onStateChanged:function(e){t.disableLogs||console.log("Recorder state changed:",e)},state:"inactive",getState:function(){return n.state},destroy:function(){var e=t.disableLogs;t={disableLogs:!0},n.reset(),u("destroyed"),x=n=null,k.AudioContextConstructor&&(k.AudioContextConstructor.close(),k.AudioContextConstructor=null),t.disableLogs=e,t.disableLogs||console.log("RecordRTC is destroyed.")},version:"5.5.9"};if(!this)return n=x,x;for(var O in x)this[O]=x[O];return n=this,x}function o(e,t){return t.recorderType||t.type||(t.audio&&t.video?t.type="video":t.audio&&!t.video&&(t.type="audio")),t.recorderType&&!t.type&&(t.recorderType===P||t.recorderType===M||t.recorderType===j?t.type="video":t.recorderType===E?t.type="gif":t.recorderType===S?t.type="audio":t.recorderType===C&&(w(e,"audio").length&&w(e,"video").length?t.type="video":!w(e,"audio").length&&w(e,"video").length?t.type="video":w(e,"audio").length&&!w(e,"video").length&&(t.type="audio"))),"undefined"!=typeof MediaRecorder&&"requestData"in MediaRecorder.prototype&&(t.mimeType||(t.mimeType="video/webm"),t.type||(t.type=t.mimeType.split("/")[0]),t.bitsPerSecond),t.type||(t.mimeType&&(t.type=t.mimeType.split("/")[0]),t.type||(t.type="audio")),t}function r(e){this.addStream=function(t){t&&(e=t)},this.mediaType={audio:!0,video:!0},this.startRecording=function(){var t,n=this.mediaType,o=this.mimeType||{audio:null,video:null,gif:null};if("function"!=typeof n.audio&&A()&&!w(e,"audio").length&&(n.audio=!1),"function"!=typeof n.video&&A()&&!w(e,"video").length&&(n.video=!1),"function"!=typeof n.gif&&A()&&!w(e,"video").length&&(n.gif=!1),!n.audio&&!n.video&&!n.gif)throw"MediaStream must have either audio or video tracks.";if(n.audio&&(t=null,"function"==typeof n.audio&&(t=n.audio),this.audioRecorder=new i(e,{type:"audio",bufferSize:this.bufferSize,sampleRate:this.sampleRate,numberOfAudioChannels:this.numberOfAudioChannels||2,disableLogs:this.disableLogs,recorderType:t,mimeType:o.audio,timeSlice:this.timeSlice,onTimeStamp:this.onTimeStamp}),n.video||this.audioRecorder.startRecording()),n.video){t=null,"function"==typeof n.video&&(t=n.video);var r=e;if(A()&&n.audio&&"function"==typeof n.audio){var a=w(e,"video")[0];m?((r=new v).addTrack(a),t&&t===P&&(t=C)):(r=new v).addTrack(a)}this.videoRecorder=new i(r,{type:"video",video:this.video,canvas:this.canvas,frameInterval:this.frameInterval||10,disableLogs:this.disableLogs,recorderType:t,mimeType:o.video,timeSlice:this.timeSlice,onTimeStamp:this.onTimeStamp,workerPath:this.workerPath,webAssemblyPath:this.webAssemblyPath,frameRate:this.frameRate,bitrate:this.bitrate}),n.audio||this.videoRecorder.startRecording()}if(n.audio&&n.video){var s=this,l=!0===A();n.audio instanceof S&&n.video?l=!1:!0!==n.audio&&!0!==n.video&&n.audio!==n.video&&(l=!1),!0===l?(s.audioRecorder=null,s.videoRecorder.startRecording()):s.videoRecorder.initRecorder(function(){s.audioRecorder.initRecorder(function(){s.videoRecorder.startRecording(),s.audioRecorder.startRecording()})})}n.gif&&(t=null,"function"==typeof n.gif&&(t=n.gif),this.gifRecorder=new i(e,{type:"gif",frameRate:this.frameRate||200,quality:this.quality||10,disableLogs:this.disableLogs,recorderType:t,mimeType:o.gif}),this.gifRecorder.startRecording())},this.stopRecording=function(e){e=e||function(){},this.audioRecorder&&this.audioRecorder.stopRecording(function(t){e(t,"audio")}),this.videoRecorder&&this.videoRecorder.stopRecording(function(t){e(t,"video")}),this.gifRecorder&&this.gifRecorder.stopRecording(function(t){e(t,"gif")})},this.pauseRecording=function(){this.audioRecorder&&this.audioRecorder.pauseRecording(),this.videoRecorder&&this.videoRecorder.pauseRecording(),this.gifRecorder&&this.gifRecorder.pauseRecording()},this.resumeRecording=function(){this.audioRecorder&&this.audioRecorder.resumeRecording(),this.videoRecorder&&this.videoRecorder.resumeRecording(),this.gifRecorder&&this.gifRecorder.resumeRecording()},this.getBlob=function(e){var t={};return this.audioRecorder&&(t.audio=this.audioRecorder.getBlob()),this.videoRecorder&&(t.video=this.videoRecorder.getBlob()),this.gifRecorder&&(t.gif=this.gifRecorder.getBlob()),e&&e(t),t},this.destroy=function(){this.audioRecorder&&(this.audioRecorder.destroy(),this.audioRecorder=null),this.videoRecorder&&(this.videoRecorder.destroy(),this.videoRecorder=null),this.gifRecorder&&(this.gifRecorder.destroy(),this.gifRecorder=null)},this.getDataURL=function(e){function t(e,t){if("undefined"!=typeof Worker){var n=function(e){var t,n=d.createObjectURL(new Blob([e.toString(),"this.onmessage = function (eee) {"+e.name+"(eee.data);}"],{type:"application/javascript"})),i=new Worker(n);if(void 0!==d)t=d;else{if("undefined"==typeof webkitURL)throw"Neither URL nor webkitURL detected.";t=webkitURL}return t.revokeObjectURL(n),i}(function(e){postMessage((new FileReaderSync).readAsDataURL(e))});n.onmessage=function(e){t(e.data)},n.postMessage(e)}else{var i=new FileReader;i.readAsDataURL(e),i.onload=function(e){t(e.target.result)}}}this.getBlob(function(n){n.audio&&n.video?t(n.audio,function(i){t(n.video,function(t){e({audio:i,video:t})})}):n.audio?t(n.audio,function(t){e({audio:t})}):n.video&&t(n.video,function(t){e({video:t})})})},this.writeToDisk=function(){i.writeToDisk({audio:this.audioRecorder,video:this.videoRecorder,gif:this.gifRecorder})},this.save=function(e){(e=e||{audio:!0,video:!0,gif:!0}).audio&&this.audioRecorder&&this.audioRecorder.save("string"==typeof e.audio?e.audio:""),e.video&&this.videoRecorder&&this.videoRecorder.save("string"==typeof e.video?e.video:""),e.gif&&this.gifRecorder&&this.gifRecorder.save("string"==typeof e.gif?e.gif:"")}}i.version="5.5.9",void 0!==t&&(t.exports=i),"function"==typeof define&&define.amd&&define("RecordRTC",[],function(){return i}),i.getFromDisk=function(e,t){if(!t)throw"callback is mandatory.";console.log("Getting recorded "+("all"===e?"blobs":e+" blob ")+" from disk!"),T.Fetch(function(n,i){"all"!==e&&i===e+"Blob"&&t&&t(n),"all"===e&&t&&t(n,i.replace("Blob",""))})},i.writeToDisk=function(e){console.log("Writing recorded blob(s) to disk!"),(e=e||{}).audio&&e.video&&e.gif?e.audio.getDataURL(function(t){e.video.getDataURL(function(n){e.gif.getDataURL(function(e){T.Store({audioBlob:t,videoBlob:n,gifBlob:e})})})}):e.audio&&e.video?e.audio.getDataURL(function(t){e.video.getDataURL(function(e){T.Store({audioBlob:t,videoBlob:e})})}):e.audio&&e.gif?e.audio.getDataURL(function(t){e.gif.getDataURL(function(e){T.Store({audioBlob:t,gifBlob:e})})}):e.video&&e.gif?e.video.getDataURL(function(t){e.gif.getDataURL(function(e){T.Store({videoBlob:t,gifBlob:e})})}):e.audio?e.audio.getDataURL(function(e){T.Store({audioBlob:e})}):e.video?e.video.getDataURL(function(e){T.Store({videoBlob:e})}):e.gif&&e.gif.getDataURL(function(e){T.Store({gifBlob:e})})},r.getFromDisk=i.getFromDisk,r.writeToDisk=i.writeToDisk,i.MRecordRTC=r;var a;(a=void 0!==n?n:null)&&"undefined"==typeof window&&void 0!==n&&(n.navigator={userAgent:"Fake/5.0 (FakeOS) AppleWebKit/123 (KHTML, like Gecko) Fake/12.3.4567.89 Fake/123.45",getUserMedia:function(){}},n.console||(n.console={}),void 0!==n.console.log&&void 0!==n.console.error||(n.console.error=n.console.log=n.console.log||function(){console.log(arguments)}),"undefined"==typeof document&&(a.document={documentElement:{appendChild:function(){return""}}},document.createElement=document.captureStream=document.mozCaptureStream=function(){var e={getContext:function(){return e},play:function(){},pause:function(){},drawImage:function(){},toDataURL:function(){return""},style:{}};return e},a.HTMLVideoElement=function(){}),"undefined"==typeof location&&(a.location={protocol:"file:",href:"",hash:""}),"undefined"==typeof screen&&(a.screen={width:0,height:0}),void 0===d&&(a.URL={createObjectURL:function(){return""},revokeObjectURL:function(){return""}}),a.window=n);var s=window.requestAnimationFrame;if(void 0===s)if("undefined"!=typeof webkitRequestAnimationFrame)s=webkitRequestAnimationFrame;else if("undefined"!=typeof mozRequestAnimationFrame)s=mozRequestAnimationFrame;else if("undefined"!=typeof msRequestAnimationFrame)s=msRequestAnimationFrame;else if(void 0===s){var l=0;s=function(e,t){var n=(new Date).getTime(),i=Math.max(0,16-(n-l)),o=setTimeout(function(){e(n+i)},i);return l=n+i,o}}var c=window.cancelAnimationFrame;void 0===c&&("undefined"!=typeof webkitCancelAnimationFrame?c=webkitCancelAnimationFrame:"undefined"!=typeof mozCancelAnimationFrame?c=mozCancelAnimationFrame:"undefined"!=typeof msCancelAnimationFrame?c=msCancelAnimationFrame:void 0===c&&(c=function(e){clearTimeout(e)}));var u=window.AudioContext;void 0===u&&("undefined"!=typeof webkitAudioContext&&(u=webkitAudioContext),"undefined"!=typeof mozAudioContext&&(u=mozAudioContext));var d=window.URL;void 0===d&&"undefined"!=typeof webkitURL&&(d=webkitURL),"undefined"!=typeof navigator&&void 0===navigator.getUserMedia&&(void 0!==navigator.webkitGetUserMedia&&(navigator.getUserMedia=navigator.webkitGetUserMedia),void 0!==navigator.mozGetUserMedia&&(navigator.getUserMedia=navigator.mozGetUserMedia));var p=!(-1===navigator.userAgent.indexOf("Edge")||!navigator.msSaveBlob&&!navigator.msSaveOrOpenBlob),f=!!window.opera||-1!==navigator.userAgent.indexOf("OPR/"),m=navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&"netscape"in window&&/ rv:/.test(navigator.userAgent),h=!f&&!p&&!!navigator.webkitGetUserMedia||y()||-1!==navigator.userAgent.toLowerCase().indexOf("chrome/"),g=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);g&&!h&&-1!==navigator.userAgent.indexOf("CriOS")&&(g=!1,h=!0);var v=window.MediaStream;function _(e){if(0===e)return"0 Bytes";var t=parseInt(Math.floor(Math.log(e)/Math.log(1e3)),10);return(e/Math.pow(1e3,t)).toPrecision(3)+" "+["Bytes","KB","MB","GB","TB"][t]}function b(e,t){if(!e)throw"Blob object is required.";if(!e.type)try{e.type="video/webm"}catch(e){}var n=(e.type||"video/webm").split("/")[1];if(t&&-1!==t.indexOf(".")){var i=t.split(".");t=i[0],n=i[1]}var o=(t||Math.round(9999999999*Math.random())+888888888)+"."+n;if(void 0!==navigator.msSaveOrOpenBlob)return navigator.msSaveOrOpenBlob(e,o);if(void 0!==navigator.msSaveBlob)return navigator.msSaveBlob(e,o);var r=document.createElement("a");r.href=d.createObjectURL(e),r.download=o,r.style="display:none;opacity:0;color:transparent;",(document.body||document.documentElement).appendChild(r),"function"==typeof r.click?r.click():(r.target="_blank",r.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))),d.revokeObjectURL(r.href)}function y(){return"undefined"!=typeof window&&"object"==typeof window.process&&"renderer"===window.process.type||(!(void 0===e||"object"!=typeof e.versions||!e.versions.electron)||"object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron")>=0)}function w(e,t){return e&&e.getTracks?e.getTracks().filter(function(e){return e.kind===(t||"audio")}):[]}function x(e,t){"srcObject"in t?t.srcObject=e:"mozSrcObject"in t?t.mozSrcObject=e:t.srcObject=e}void 0===v&&"undefined"!=typeof webkitMediaStream&&(v=webkitMediaStream),void 0!==v&&void 0===v.prototype.stop&&(v.prototype.stop=function(){this.getTracks().forEach(function(e){e.stop()})}),i.invokeSaveAsDialog=b,i.getTracks=w,i.getSeekableBlob=function(e,t){if("undefined"==typeof EBML)throw new Error("Please link: https://www.webrtc-experiment.com/EBML.js");var n=new EBML.Reader,i=new EBML.Decoder,o=EBML.tools,r=new FileReader;r.onload=function(e){i.decode(this.result).forEach(function(e){n.read(e)}),n.stop();var r=o.makeMetadataSeekable(n.metadatas,n.duration,n.cues),a=this.result.slice(n.metadataSize),s=new Blob([r,a],{type:"video/webm"});t(s)},r.readAsArrayBuffer(e)},i.bytesToSize=_,i.isElectron=y;var k={};function A(){if(m||g||p)return!0;navigator.appVersion;var e,t,n=navigator.userAgent,i=""+parseFloat(navigator.appVersion),o=parseInt(navigator.appVersion,10);return(h||f)&&(e=n.indexOf("Chrome"),i=n.substring(e+7)),-1!==(t=i.indexOf(";"))&&(i=i.substring(0,t)),-1!==(t=i.indexOf(" "))&&(i=i.substring(0,t)),o=parseInt(""+i,10),isNaN(o)&&(i=""+parseFloat(navigator.appVersion),o=parseInt(navigator.appVersion,10)),o>=49}function C(e,t){var n=this;if(void 0===e)throw'First argument "MediaStream" is required.';if("undefined"==typeof MediaRecorder)throw"Your browser does not support the Media Recorder API. Please try other modules e.g. WhammyRecorder or StereoAudioRecorder.";if("audio"===(t=t||{mimeType:"video/webm"}).type){var i;if(w(e,"video").length&&w(e,"audio").length)navigator.mozGetUserMedia?(i=new v).addTrack(w(e,"audio")[0]):i=new v(w(e,"audio")),e=i;t.mimeType&&-1!==t.mimeType.toString().toLowerCase().indexOf("audio")||(t.mimeType=h?"audio/webm":"audio/ogg"),t.mimeType&&"audio/ogg"!==t.mimeType.toString().toLowerCase()&&navigator.mozGetUserMedia&&(t.mimeType="audio/ogg")}var o,r=[];function a(){n.timestamps.push((new Date).getTime()),"function"==typeof t.onTimeStamp&&t.onTimeStamp(n.timestamps[n.timestamps.length-1],n.timestamps)}function s(e){return o&&o.mimeType?o.mimeType:e.mimeType||"video/webm"}function l(){r=[],o=null,n.timestamps=[]}this.getArrayOfBlobs=function(){return r},this.record=function(){n.blob=null,n.clearRecordedData(),n.timestamps=[],c=[],r=[];var i=t;t.disableLogs||console.log("Passing following config over MediaRecorder API.",i),o&&(o=null),h&&!A()&&(i="video/vp8"),"function"==typeof MediaRecorder.isTypeSupported&&i.mimeType&&(MediaRecorder.isTypeSupported(i.mimeType)||(t.disableLogs||console.warn("MediaRecorder API seems unable to record mimeType:",i.mimeType),i.mimeType="audio"===t.type?"audio/webm":"video/webm"));try{o=new MediaRecorder(e,i),t.mimeType=i.mimeType}catch(t){o=new MediaRecorder(e)}i.mimeType&&!MediaRecorder.isTypeSupported&&"canRecordMimeType"in o&&!1===o.canRecordMimeType(i.mimeType)&&(t.disableLogs||console.warn("MediaRecorder API seems unable to record mimeType:",i.mimeType)),o.ondataavailable=function(e){if(e.data&&c.push("ondataavailable: "+_(e.data.size)),"number"!=typeof t.timeSlice)!e.data||!e.data.size||e.data.size<100||n.blob?n.recordingCallback&&(n.recordingCallback(new Blob([],{type:s(i)})),n.recordingCallback=null):(n.blob=t.getNativeBlob?e.data:new Blob([e.data],{type:s(i)}),n.recordingCallback&&(n.recordingCallback(n.blob),n.recordingCallback=null));else if(e.data&&e.data.size&&e.data.size>100&&(r.push(e.data),a(),"function"==typeof t.ondataavailable)){var o=t.getNativeBlob?e.data:new Blob([e.data],{type:s(i)});t.ondataavailable(o)}},o.onstart=function(){c.push("started")},o.onpause=function(){c.push("paused")},o.onresume=function(){c.push("resumed")},o.onstop=function(){c.push("stopped")},o.onerror=function(e){e&&(e.name||(e.name="UnknownError"),c.push("error: "+e),t.disableLogs||(-1!==e.name.toString().toLowerCase().indexOf("invalidstate")?console.error("The MediaRecorder is not in a state in which the proposed operation is allowed to be executed.",e):-1!==e.name.toString().toLowerCase().indexOf("notsupported")?console.error("MIME type (",i.mimeType,") is not supported.",e):-1!==e.name.toString().toLowerCase().indexOf("security")?console.error("MediaRecorder security error",e):"OutOfMemory"===e.name?console.error("The UA has exhaused the available memory. User agents SHOULD provide as much additional information as possible in the message attribute.",e):"IllegalStreamModification"===e.name?console.error("A modification to the stream has occurred that makes it impossible to continue recording. An example would be the addition of a Track while recording is occurring. User agents SHOULD provide as much additional information as possible in the message attribute.",e):"OtherRecordingError"===e.name?console.error("Used for an fatal error other than those listed above. User agents SHOULD provide as much additional information as possible in the message attribute.",e):"GenericError"===e.name?console.error("The UA cannot provide the codec or recording option that has been requested.",e):console.error("MediaRecorder Error",e)),function(e){if(!n.manuallyStopped&&o&&"inactive"===o.state)return delete t.timeslice,void o.start(6e5);setTimeout(void 0,1e3)}(),"inactive"!==o.state&&"stopped"!==o.state&&o.stop())},"number"==typeof t.timeSlice?(a(),o.start(t.timeSlice)):o.start(36e5),t.initCallback&&t.initCallback()},this.timestamps=[],this.stop=function(e){e=e||function(){},n.manuallyStopped=!0,o&&(this.recordingCallback=e,"recording"===o.state&&o.stop(),"number"==typeof t.timeSlice&&setTimeout(function(){n.blob=new Blob(r,{type:s(t)}),n.recordingCallback(n.blob)},100))},this.pause=function(){o&&"recording"===o.state&&o.pause()},this.resume=function(){o&&"paused"===o.state&&o.resume()},this.clearRecordedData=function(){o&&"recording"===o.state&&n.stop(l),l()},this.getInternalRecorder=function(){return o},this.blob=null,this.getState=function(){return o&&o.state||"inactive"};var c=[];this.getAllStates=function(){return c},void 0===t.checkForInactiveTracks&&(t.checkForInactiveTracks=!1);n=this;!function i(){if(o&&!1!==t.checkForInactiveTracks)return!1===function(){if("active"in e){if(!e.active)return!1}else if("ended"in e&&e.ended)return!1;return!0}()?(t.disableLogs||console.log("MediaStream seems stopped."),void n.stop()):void setTimeout(i,1e3)}(),this.name="MediaStreamRecorder",this.toString=function(){return this.name}}function S(e,t){if(!w(e,"audio").length)throw"Your stream has no audio tracks.";var n,o=this,r=[],a=[],s=!1,l=0,c=2,u=(t=t||{}).desiredSampRate;function p(){if(!1===t.checkForInactiveTracks)return!0;if("active"in e){if(!e.active)return!1}else if("ended"in e&&e.ended)return!1;return!0}function f(e,t){function n(e,t){var n,i=e.numberOfAudioChannels,o=e.leftBuffers.slice(0),r=e.rightBuffers.slice(0),a=e.sampleRate,s=e.internalInterleavedLength,l=e.desiredSampRate;function c(e,t,n){var i=Math.round(e.length*(t/n)),o=[],r=Number((e.length-1)/(i-1));o[0]=e[0];for(var a=1;a<i-1;a++){var s=a*r,l=Number(Math.floor(s)).toFixed(),c=Number(Math.ceil(s)).toFixed(),d=s-l;o[a]=u(e[l],e[c],d)}return o[i-1]=e[e.length-1],o}function u(e,t,n){return e+(t-e)*n}function d(e,t){for(var n=new Float64Array(t),i=0,o=e.length,r=0;r<o;r++){var a=e[r];n.set(a,i),i+=a.length}return n}function p(e,t,n){for(var i=n.length,o=0;o<i;o++)e.setUint8(t+o,n.charCodeAt(o))}2===i&&(o=d(o,s),r=d(r,s),l&&(o=c(o,l,a),r=c(r,l,a))),1===i&&(o=d(o,s),l&&(o=c(o,l,a))),l&&(a=l),2===i&&(n=function(e,t){for(var n=e.length+t.length,i=new Float64Array(n),o=0,r=0;r<n;)i[r++]=e[o],i[r++]=t[o],o++;return i}(o,r)),1===i&&(n=o);var f=n.length,m=new ArrayBuffer(44+2*f),h=new DataView(m);p(h,0,"RIFF"),h.setUint32(4,36+2*f,!0),p(h,8,"WAVE"),p(h,12,"fmt "),h.setUint32(16,16,!0),h.setUint16(20,1,!0),h.setUint16(22,i,!0),h.setUint32(24,a,!0),h.setUint32(28,2*a,!0),h.setUint16(32,2*i,!0),h.setUint16(34,16,!0),p(h,36,"data"),h.setUint32(40,2*f,!0);for(var g=f,v=44,_=0;_<g;_++)h.setInt16(v,32767*n[_],!0),v+=2;if(t)return t({buffer:m,view:h});postMessage({buffer:m,view:h})}if(e.noWorker)n(e,function(e){t(e.buffer,e.view)});else{var i,o,r,a=(i=n,o=d.createObjectURL(new Blob([i.toString(),";this.onmessage = function (eee) {"+i.name+"(eee.data);}"],{type:"application/javascript"})),(r=new Worker(o)).workerURL=o,r);a.onmessage=function(e){t(e.data.buffer,e.data.view),d.revokeObjectURL(a.workerURL),a.terminate()},a.postMessage(e)}}!0===t.leftChannel&&(c=1),1===t.numberOfAudioChannels&&(c=1),(!c||c<1)&&(c=2),t.disableLogs||console.log("StereoAudioRecorder is set to record number of channels: "+c),void 0===t.checkForInactiveTracks&&(t.checkForInactiveTracks=!0),this.record=function(){if(!1===p())throw"Please make sure MediaStream is active.";y(),k=b=!1,s=!0,void 0!==t.timeSlice&&C()},this.stop=function(e){e=e||function(){},s=!1,f({desiredSampRate:u,sampleRate:_,numberOfAudioChannels:c,internalInterleavedLength:l,leftBuffers:r,rightBuffers:1===c?[]:a,noWorker:t.noWorker},function(t,n){o.blob=new Blob([n],{type:"audio/wav"}),o.buffer=new ArrayBuffer(n.buffer.byteLength),o.view=n,o.sampleRate=u||_,o.bufferSize=v,o.length=l,k=!1,e&&e(o.blob)})},void 0===i.Storage&&(i.Storage={AudioContextConstructor:null,AudioContext:window.AudioContext||window.webkitAudioContext}),i.Storage.AudioContextConstructor&&"closed"!==i.Storage.AudioContextConstructor.state||(i.Storage.AudioContextConstructor=new i.Storage.AudioContext);var m=i.Storage.AudioContextConstructor,h=m.createMediaStreamSource(e),g=[0,256,512,1024,2048,4096,8192,16384],v=void 0===t.bufferSize?4096:t.bufferSize;if(-1===g.indexOf(v)&&(t.disableLogs||console.log("Legal values for buffer-size are "+JSON.stringify(g,null,"\t"))),m.createJavaScriptNode)n=m.createJavaScriptNode(v,c,c);else{if(!m.createScriptProcessor)throw"WebAudio API has no support on this browser.";n=m.createScriptProcessor(v,c,c)}h.connect(n),t.bufferSize||(v=n.bufferSize);var _=void 0!==t.sampleRate?t.sampleRate:m.sampleRate||44100;(_<22050||_>96e3)&&(t.disableLogs||console.log("sample-rate must be under range 22050 and 96000.")),t.disableLogs||t.desiredSampRate&&console.log("Desired sample-rate: "+t.desiredSampRate);var b=!1;function y(){r=[],a=[],l=0,k=!1,s=!1,b=!1,m=null,o.leftchannel=r,o.rightchannel=a,o.numberOfAudioChannels=c,o.desiredSampRate=u,o.sampleRate=_,o.recordingLength=l,A={left:[],right:[],recordingLength:0}}function x(){n&&(n.onaudioprocess=null,n.disconnect(),n=null),h&&(h.disconnect(),h=null),y()}this.pause=function(){b=!0},this.resume=function(){if(!1===p())throw"Please make sure MediaStream is active.";if(!s)return t.disableLogs||console.log("Seems recording has been restarted."),void this.record();b=!1},this.clearRecordedData=function(){t.checkForInactiveTracks=!1,s&&this.stop(x),x()},this.name="StereoAudioRecorder",this.toString=function(){return this.name};var k=!1;n.onaudioprocess=function(e){if(!b)if(!1===p()&&(t.disableLogs||console.log("MediaStream seems stopped."),n.disconnect(),s=!1),s){k||(k=!0,t.onAudioProcessStarted&&t.onAudioProcessStarted(),t.initCallback&&t.initCallback());var i=e.inputBuffer.getChannelData(0),u=new Float32Array(i);if(r.push(u),2===c){var d=e.inputBuffer.getChannelData(1),f=new Float32Array(d);a.push(f)}l+=v,o.recordingLength=l,void 0!==t.timeSlice&&(A.recordingLength+=v,A.left.push(u),2===c&&A.right.push(f))}else h&&(h.disconnect(),h=null)},m.createMediaStreamDestination?n.connect(m.createMediaStreamDestination()):n.connect(m.destination),this.leftchannel=r,this.rightchannel=a,this.numberOfAudioChannels=c,this.desiredSampRate=u,this.sampleRate=_,o.recordingLength=l;var A={left:[],right:[],recordingLength:0};function C(){s&&"function"==typeof t.ondataavailable&&void 0!==t.timeSlice&&(A.left.length?(f({desiredSampRate:u,sampleRate:_,numberOfAudioChannels:c,internalInterleavedLength:A.recordingLength,leftBuffers:A.left,rightBuffers:1===c?[]:A.right},function(e,n){var i=new Blob([n],{type:"audio/wav"});t.ondataavailable(i),setTimeout(C,t.timeSlice)}),A={left:[],right:[],recordingLength:0}):setTimeout(C,t.timeSlice))}}function M(e,t){if("undefined"==typeof html2canvas)throw"Please link: https://www.webrtc-experiment.com/screenshot.js";(t=t||{}).frameInterval||(t.frameInterval=10);var n=!1;["captureStream","mozCaptureStream","webkitCaptureStream"].forEach(function(e){e in document.createElement("canvas")&&(n=!0)});var i,o,r,a=!(!window.webkitRTCPeerConnection&&!window.webkitGetUserMedia||!window.chrome),s=50,l=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(a&&l&&l[2]&&(s=parseInt(l[2],10)),a&&s<52&&(n=!1),t.useWhammyRecorder&&(n=!1),n)if(t.disableLogs||console.log("Your browser supports both MediRecorder API and canvas.captureStream!"),e instanceof HTMLCanvasElement)i=e;else{if(!(e instanceof CanvasRenderingContext2D))throw"Please pass either HTMLCanvasElement or CanvasRenderingContext2D.";i=e.canvas}else navigator.mozGetUserMedia&&(t.disableLogs||console.error("Canvas recording is NOT supported in Firefox."));this.record=function(){if(r=!0,n&&!t.useWhammyRecorder){var e;"captureStream"in i?e=i.captureStream(25):"mozCaptureStream"in i?e=i.mozCaptureStream(25):"webkitCaptureStream"in i&&(e=i.webkitCaptureStream(25));try{var a=new v;a.addTrack(w(e,"video")[0]),e=a}catch(e){}if(!e)throw"captureStream API are NOT available.";(o=new C(e,{mimeType:t.mimeType||"video/webm"})).record()}else f.frames=[],p=(new Date).getTime(),d();t.initCallback&&t.initCallback()},this.getWebPImages=function(n){if("canvas"===e.nodeName.toLowerCase()){var i=f.frames.length;f.frames.forEach(function(e,n){var o=i-n;t.disableLogs||console.log(o+"/"+i+" frames remaining"),t.onEncodingCallback&&t.onEncodingCallback(o,i);var r=e.image.toDataURL("image/webp",1);f.frames[n].image=r}),t.disableLogs||console.log("Generating WebM"),n()}else n()},this.stop=function(e){r=!1;var i=this;n&&o?o.stop(e):this.getWebPImages(function(){f.compile(function(n){t.disableLogs||console.log("Recording finished!"),i.blob=n,i.blob.forEach&&(i.blob=new Blob([],{type:"video/webm"})),e&&e(i.blob),f.frames=[]})})};var c=!1;function u(){f.frames=[],r=!1,c=!1}function d(){if(c)return p=(new Date).getTime(),setTimeout(d,500);if("canvas"===e.nodeName.toLowerCase()){var n=(new Date).getTime()-p;return p=(new Date).getTime(),f.frames.push({image:(i=document.createElement("canvas"),o=i.getContext("2d"),i.width=e.width,i.height=e.height,o.drawImage(e,0,0),i),duration:n}),void(r&&setTimeout(d,t.frameInterval))}var i,o;html2canvas(e,{grabMouse:void 0===t.showMousePointer||t.showMousePointer,onrendered:function(e){var n=(new Date).getTime()-p;if(!n)return setTimeout(d,t.frameInterval);p=(new Date).getTime(),f.frames.push({image:e.toDataURL("image/webp",1),duration:n}),r&&setTimeout(d,t.frameInterval)}})}this.pause=function(){c=!0,o instanceof C&&o.pause()},this.resume=function(){c=!1,o instanceof C?o.resume():r||this.record()},this.clearRecordedData=function(){r&&this.stop(u),u()},this.name="CanvasRecorder",this.toString=function(){return this.name};var p=(new Date).getTime(),f=new O.Video(100)}function P(e,t){function n(e){e=void 0!==e?e:10;var t=(new Date).getTime()-l;return t?r?(l=(new Date).getTime(),setTimeout(n,100)):(l=(new Date).getTime(),s.paused&&s.play(),d.drawImage(s,0,0,u.width,u.height),c.frames.push({duration:t,image:u.toDataURL("image/webp")}),void(o||setTimeout(n,e,e))):setTimeout(n,e,e)}function i(e,t,n,i,o){var r=document.createElement("canvas");r.width=u.width,r.height=u.height;var a,s,l,c=r.getContext("2d"),d=[],p=-1===t,f=t&&t>0&&t<=e.length?t:e.length,m=0,h=0,g=0,v=Math.sqrt(Math.pow(255,2)+Math.pow(255,2)+Math.pow(255,2)),_=n&&n>=0&&n<=1?n:0,b=i&&i>=0&&i<=1?i:0,y=!1;s=-1,l=(a={length:f,functionToLoop:function(t,n){var i,o,r,a=function(){!y&&r-i<=r*b||(p&&(y=!0),d.push(e[n])),t()};if(y)a();else{var s=new Image;s.onload=function(){c.drawImage(s,0,0,u.width,u.height);var e=c.getImageData(0,0,u.width,u.height);i=0,o=e.data.length,r=e.data.length/4;for(var t=0;t<o;t+=4){var n={r:e.data[t],g:e.data[t+1],b:e.data[t+2]};Math.sqrt(Math.pow(n.r-m,2)+Math.pow(n.g-h,2)+Math.pow(n.b-g,2))<=v*_&&i++}a()},s.src=e[n].image}},callback:function(){(d=d.concat(e.slice(f))).length<=0&&d.push(e[e.length-1]),o(d)}}).length,function e(){++s!==l?setTimeout(function(){a.functionToLoop(e,s)},1):a.callback()}()}(t=t||{}).frameInterval||(t.frameInterval=10),t.disableLogs||console.log("Using frames-interval:",t.frameInterval),this.record=function(){t.width||(t.width=320),t.height||(t.height=240),t.video||(t.video={width:t.width,height:t.height}),t.canvas||(t.canvas={width:t.width,height:t.height}),u.width=t.canvas.width||320,u.height=t.canvas.height||240,d=u.getContext("2d"),t.video&&t.video instanceof HTMLVideoElement?(s=t.video.cloneNode(),t.initCallback&&t.initCallback()):(s=document.createElement("video"),x(e,s),s.onloadedmetadata=function(){t.initCallback&&t.initCallback()},s.width=t.video.width,s.height=t.video.height),s.muted=!0,s.play(),l=(new Date).getTime(),c=new O.Video,t.disableLogs||(console.log("canvas resolutions",u.width,"*",u.height),console.log("video width/height",s.width||u.width,"*",s.height||u.height)),n(t.frameInterval)};var o=!1;this.stop=function(e){e=e||function(){},o=!0;var n=this;setTimeout(function(){i(c.frames,-1,null,null,function(i){c.frames=i,t.advertisement&&t.advertisement.length&&(c.frames=t.advertisement.concat(c.frames)),c.compile(function(t){n.blob=t,n.blob.forEach&&(n.blob=new Blob([],{type:"video/webm"})),e&&e(n.blob)})})},10)};var r=!1;function a(){c.frames=[],o=!0,r=!1}this.pause=function(){r=!0},this.resume=function(){r=!1,o&&this.record()},this.clearRecordedData=function(){o||this.stop(a),a()},this.name="WhammyRecorder",this.toString=function(){return this.name};var s,l,c,u=document.createElement("canvas"),d=u.getContext("2d")}void 0!==u?k.AudioContext=u:"undefined"!=typeof webkitAudioContext&&(k.AudioContext=webkitAudioContext),i.Storage=k,i.MediaStreamRecorder=C,i.StereoAudioRecorder=S,i.CanvasRecorder=M,i.WhammyRecorder=P;var O=function(){function e(e){this.frames=[],this.duration=e||1,this.quality=.8}function t(e){function t(e,t,n){return[{data:e,id:231}].concat(n.map(function(e){var n=function(e){var t=0;e.keyframe&&(t|=128);e.invisible&&(t|=8);e.lacing&&(t|=e.lacing<<1);e.discardable&&(t|=1);if(e.trackNum>127)throw"TrackNumber > 127 not supported";return[128|e.trackNum,e.timecode>>8,255&e.timecode,t].map(function(e){return String.fromCharCode(e)}).join("")+e.frame}({discardable:0,frame:e.data.slice(4),invisible:0,keyframe:1,lacing:0,trackNum:1,timecode:Math.round(t)});return t+=e.duration,{data:n,id:163}}))}function n(e){for(var t=[];e>0;)t.push(255&e),e>>=8;return new Uint8Array(t.reverse())}function i(e){var t=[];e=(e.length%8?new Array(9-e.length%8).join("0"):"")+e;for(var n=0;n<e.length;n+=8)t.push(parseInt(e.substr(n,8),2));return new Uint8Array(t)}function o(e,t){return parseInt(e.substr(t+4,4).split("").map(function(e){var t=e.charCodeAt(0).toString(2);return new Array(8-t.length+1).join("0")+t}).join(""),2)}var r=new function(e){var o=function(e){if(e[0]){for(var t=e[0].width,n=e[0].height,i=e[0].duration,o=1;o<e.length;o++)i+=e[o].duration;return{duration:i,width:t,height:n}}postMessage({error:"Something went wrong. Maybe WebP format is not supported in the current browser."})}(e);if(!o)return[];for(var r,a=[{id:440786851,data:[{data:1,id:17030},{data:1,id:17143},{data:4,id:17138},{data:8,id:17139},{data:"webm",id:17026},{data:2,id:17031},{data:2,id:17029}]},{id:408125543,data:[{id:357149030,data:[{data:1e6,id:2807729},{data:"whammy",id:19840},{data:"whammy",id:22337},{data:(r=o.duration,[].slice.call(new Uint8Array(new Float64Array([r]).buffer),0).map(function(e){return String.fromCharCode(e)}).reverse().join("")),id:17545}]},{id:374648427,data:[{id:174,data:[{data:1,id:215},{data:1,id:29637},{data:0,id:156},{data:"und",id:2274716},{data:"V_VP8",id:134},{data:"VP8",id:2459272},{data:1,id:131},{id:224,data:[{data:o.width,id:176},{data:o.height,id:186}]}]}]}]}],s=0,l=0;s<e.length;){var c=[],u=0;do{c.push(e[s]),u+=e[s].duration,s++}while(s<e.length&&u<3e4);var d={id:524531317,data:t(l,0,c)};a[1].data.push(d),l+=u}return function e(t){for(var o=[],r=0;r<t.length;r++){var a=t[r].data;"object"==typeof a&&(a=e(a)),"number"==typeof a&&(a=i(a.toString(2))),"string"==typeof a&&(a=new Uint8Array(a.split("").map(function(e){return e.charCodeAt(0)})));var s=a.size||a.byteLength||a.length,l=Math.ceil(Math.ceil(Math.log(s)/Math.log(2))/8),c=s.toString(2),u=new Array(7*l+7+1-c.length).join("0")+c,d=new Array(l).join("0")+"1"+u;o.push(n(t[r].id)),o.push(i(d)),o.push(a)}return new Blob(o,{type:"video/webm"})}(a)}(e.map(function(e){var t=function(e){for(var t=e.RIFF[0].WEBP[0],n=t.indexOf("*"),i=0,o=[];i<4;i++)o[i]=t.charCodeAt(n+3+i);return{width:16383&(o[1]<<8|o[0]),height:16383&(o[3]<<8|o[2]),data:t,riff:e}}(function e(t){for(var n=0,i={};n<t.length;){var r=t.substr(n,4),a=o(t,n),s=t.substr(n+4+4,a);n+=8+a,i[r]=i[r]||[],"RIFF"===r||"LIST"===r?i[r].push(e(s)):i[r].push(s)}return i}(atob(e.image.slice(23))));return t.duration=e.duration,t}));postMessage(r)}return e.prototype.add=function(e,t){if("canvas"in e&&(e=e.canvas),"toDataURL"in e&&(e=e.toDataURL("image/webp",this.quality)),!/^data:image\/webp;base64,/gi.test(e))throw"Input must be formatted properly as a base64 encoded DataURI of type image/webp";this.frames.push({image:e,duration:t||this.duration})},e.prototype.compile=function(e){var n,i,o,r=(n=t,i=d.createObjectURL(new Blob([n.toString(),"this.onmessage = function (eee) {"+n.name+"(eee.data);}"],{type:"application/javascript"})),o=new Worker(i),d.revokeObjectURL(i),o);r.onmessage=function(t){t.data.error?console.error(t.data.error):e(t.data)},r.postMessage(this.frames)},{Video:e}}();i.Whammy=O;var T={init:function(){var e=this;if("undefined"!=typeof indexedDB&&void 0!==indexedDB.open){var t,n=this.dbName||location.href.replace(/\/|:|#|%|\.|\[|\]/g,""),i=indexedDB.open(n,1);i.onerror=e.onError,i.onsuccess=function(){((t=i.result).onerror=e.onError,t.setVersion)?1!==t.version?t.setVersion(1).onsuccess=function(){o(t),r()}:r():r()},i.onupgradeneeded=function(e){o(e.target.result)}}else console.error("IndexedDB API are not available in this browser.");function o(t){t.createObjectStore(e.dataStoreName)}function r(){var n=t.transaction([e.dataStoreName],"readwrite");function i(t){n.objectStore(e.dataStoreName).get(t).onsuccess=function(n){e.callback&&e.callback(n.target.result,t)}}e.videoBlob&&n.objectStore(e.dataStoreName).put(e.videoBlob,"videoBlob"),e.gifBlob&&n.objectStore(e.dataStoreName).put(e.gifBlob,"gifBlob"),e.audioBlob&&n.objectStore(e.dataStoreName).put(e.audioBlob,"audioBlob"),i("audioBlob"),i("videoBlob"),i("gifBlob")}},Fetch:function(e){return this.callback=e,this.init(),this},Store:function(e){return this.audioBlob=e.audioBlob,this.videoBlob=e.videoBlob,this.gifBlob=e.gifBlob,this.init(),this},onError:function(e){console.error(JSON.stringify(e,null,"\t"))},dataStoreName:"recordRTC",dbName:null};function E(e,t){if("undefined"==typeof GIFEncoder){var n=document.createElement("script");n.src="https://www.webrtc-experiment.com/gif-recorder.js",(document.body||document.documentElement).appendChild(n)}t=t||{};var i=e instanceof CanvasRenderingContext2D||e instanceof HTMLCanvasElement;this.record=function(){"undefined"!=typeof GIFEncoder&&l?(i||(t.width||(t.width=u.offsetWidth||320),t.height||(t.height=u.offsetHeight||240),t.video||(t.video={width:t.width,height:t.height}),t.canvas||(t.canvas={width:t.width,height:t.height}),r.width=t.canvas.width||320,r.height=t.canvas.height||240,u.width=t.video.width||320,u.height=t.video.height||240),(p=new GIFEncoder).setRepeat(0),p.setDelay(t.frameRate||200),p.setQuality(t.quality||10),p.start(),"function"==typeof t.onGifRecordingStarted&&t.onGifRecordingStarted(),Date.now(),f=s(function e(n){if(!0!==m.clearedRecordedData){if(o)return setTimeout(function(){e(n)},100);f=s(e),void 0===typeof d&&(d=n),n-d<90||(!i&&u.paused&&u.play(),i||a.drawImage(u,0,0,r.width,r.height),t.onGifPreview&&t.onGifPreview(r.toDataURL("image/png")),p.addFrame(a),d=n)}}),t.initCallback&&t.initCallback()):setTimeout(m.record,1e3)},this.stop=function(e){e=e||function(){},f&&c(f),Date.now(),this.blob=new Blob([new Uint8Array(p.stream().bin)],{type:"image/gif"}),e(this.blob),p.stream().bin=[]};var o=!1;this.pause=function(){o=!0},this.resume=function(){o=!1},this.clearRecordedData=function(){m.clearedRecordedData=!0,p&&(p.stream().bin=[])},this.name="GifRecorder",this.toString=function(){return this.name};var r=document.createElement("canvas"),a=r.getContext("2d");i&&(e instanceof CanvasRenderingContext2D?r=(a=e).canvas:e instanceof HTMLCanvasElement&&(a=e.getContext("2d"),r=e));var l=!0;if(!i){var u=document.createElement("video");u.muted=!0,u.autoplay=!0,u.playsInline=!0,l=!1,u.onloadedmetadata=function(){l=!0},x(e,u),u.play()}var d,p,f=null,m=this}function N(e,t){t=t||"multi-streams-mixer";var n=[],i=!1,o=document.createElement("canvas"),r=o.getContext("2d");o.style.opacity=0,o.style.position="absolute",o.style.zIndex=-1,o.style.top="-1000em",o.style.left="-1000em",o.className=t,(document.body||document.documentElement).appendChild(o),this.disableLogs=!1,this.frameInterval=10,this.width=360,this.height=240,this.useGainNode=!0;var a=this,s=window.AudioContext;void 0===s&&("undefined"!=typeof webkitAudioContext&&(s=webkitAudioContext),"undefined"!=typeof mozAudioContext&&(s=mozAudioContext));var l=window.URL;void 0===l&&"undefined"!=typeof webkitURL&&(l=webkitURL),"undefined"!=typeof navigator&&void 0===navigator.getUserMedia&&(void 0!==navigator.webkitGetUserMedia&&(navigator.getUserMedia=navigator.webkitGetUserMedia),void 0!==navigator.mozGetUserMedia&&(navigator.getUserMedia=navigator.mozGetUserMedia));var c=window.MediaStream;void 0===c&&"undefined"!=typeof webkitMediaStream&&(c=webkitMediaStream),void 0!==c&&void 0===c.prototype.stop&&(c.prototype.stop=function(){this.getTracks().forEach(function(e){e.stop()})});var u={};function d(){if(!i){var e=n.length,t=!1,r=[];if(n.forEach(function(e){e.stream||(e.stream={}),e.stream.fullcanvas?t=e:r.push(e)}),t)o.width=t.stream.width,o.height=t.stream.height;else if(r.length){o.width=e>1?2*r[0].width:r[0].width;var s=1;3!==e&&4!==e||(s=2),5!==e&&6!==e||(s=3),7!==e&&8!==e||(s=4),9!==e&&10!==e||(s=5),o.height=r[0].height*s}else o.width=a.width||360,o.height=a.height||240;t&&t instanceof HTMLVideoElement&&p(t),r.forEach(function(e,t){p(e,t)}),setTimeout(d,a.frameInterval)}}function p(e,t){if(!i){var n=0,o=0,a=e.width,s=e.height;1===t&&(n=e.width),2===t&&(o=e.height),3===t&&(n=e.width,o=e.height),4===t&&(o=2*e.height),5===t&&(n=e.width,o=2*e.height),6===t&&(o=3*e.height),7===t&&(n=e.width,o=3*e.height),void 0!==e.stream.left&&(n=e.stream.left),void 0!==e.stream.top&&(o=e.stream.top),void 0!==e.stream.width&&(a=e.stream.width),void 0!==e.stream.height&&(s=e.stream.height),r.drawImage(e,n,o,a,s),"function"==typeof e.stream.onRender&&e.stream.onRender(r,n,o,a,s,t)}}function f(e){var n=document.createElement("video");return function(e,t){"srcObject"in t?t.srcObject=e:"mozSrcObject"in t?t.mozSrcObject=e:t.srcObject=e}(e,n),n.className=t,n.muted=!0,n.volume=0,n.width=e.width||a.width||360,n.height=e.height||a.height||240,n.play(),n}function m(t){n=[],(t=t||e).forEach(function(e){if(e.getTracks().filter(function(e){return"video"===e.kind}).length){var t=f(e);t.stream=e,n.push(t)}})}void 0!==s?u.AudioContext=s:"undefined"!=typeof webkitAudioContext&&(u.AudioContext=webkitAudioContext),this.startDrawingFrames=function(){d()},this.appendStreams=function(t){if(!t)throw"First parameter is required.";t instanceof Array||(t=[t]),t.forEach(function(t){var i=new c;if(t.getTracks().filter(function(e){return"video"===e.kind}).length){var o=f(t);o.stream=t,n.push(o),i.addTrack(t.getTracks().filter(function(e){return"video"===e.kind})[0])}if(t.getTracks().filter(function(e){return"audio"===e.kind}).length){var r=a.audioContext.createMediaStreamSource(t);a.audioDestination=a.audioContext.createMediaStreamDestination(),r.connect(a.audioDestination),i.addTrack(a.audioDestination.stream.getTracks().filter(function(e){return"audio"===e.kind})[0])}e.push(i)})},this.releaseStreams=function(){n=[],i=!0,a.gainNode&&(a.gainNode.disconnect(),a.gainNode=null),a.audioSources.length&&(a.audioSources.forEach(function(e){e.disconnect()}),a.audioSources=[]),a.audioDestination&&(a.audioDestination.disconnect(),a.audioDestination=null),a.audioContext&&a.audioContext.close(),a.audioContext=null,r.clearRect(0,0,o.width,o.height),o.stream&&(o.stream.stop(),o.stream=null)},this.resetVideoStreams=function(e){!e||e instanceof Array||(e=[e]),m(e)},this.name="MultiStreamsMixer",this.toString=function(){return this.name},this.getMixedStream=function(){i=!1;var t=function(){var e;m(),"captureStream"in o?e=o.captureStream():"mozCaptureStream"in o?e=o.mozCaptureStream():a.disableLogs||console.error("Upgrade to latest Chrome or otherwise enable this flag: chrome://flags/#enable-experimental-web-platform-features");var t=new c;return e.getTracks().filter(function(e){return"video"===e.kind}).forEach(function(e){t.addTrack(e)}),o.stream=t,t}(),n=function(){u.AudioContextConstructor||(u.AudioContextConstructor=new u.AudioContext),a.audioContext=u.AudioContextConstructor,a.audioSources=[],!0===a.useGainNode&&(a.gainNode=a.audioContext.createGain(),a.gainNode.connect(a.audioContext.destination),a.gainNode.gain.value=0);var t=0;if(e.forEach(function(e){if(e.getTracks().filter(function(e){return"audio"===e.kind}).length){t++;var n=a.audioContext.createMediaStreamSource(e);!0===a.useGainNode&&n.connect(a.gainNode),a.audioSources.push(n)}}),t)return a.audioDestination=a.audioContext.createMediaStreamDestination(),a.audioSources.forEach(function(e){e.connect(a.audioDestination)}),a.audioDestination.stream}();return n&&n.getTracks().filter(function(e){return"audio"===e.kind}).forEach(function(e){t.addTrack(e)}),e.forEach(function(e){e.fullcanvas}),t}}function $(e,t){e=e||[];var n,i,o=this;(t=t||{elementClass:"multi-streams-mixer",mimeType:"video/webm",video:{width:360,height:240}}).frameInterval||(t.frameInterval=10),t.video||(t.video={}),t.video.width||(t.video.width=360),t.video.height||(t.video.height=240),this.record=function(){var o;n=new N(e,t.elementClass||"multi-streams-mixer"),(o=[],e.forEach(function(e){w(e,"video").forEach(function(e){o.push(e)})}),o).length&&(n.frameInterval=t.frameInterval||10,n.width=t.video.width||360,n.height=t.video.height||240,n.startDrawingFrames()),t.previewStream&&"function"==typeof t.previewStream&&t.previewStream(n.getMixedStream()),(i=new C(n.getMixedStream(),t)).record()},this.stop=function(e){i&&i.stop(function(t){o.blob=t,e(t),o.clearRecordedData()})},this.pause=function(){i&&i.pause()},this.resume=function(){i&&i.resume()},this.clearRecordedData=function(){i&&(i.clearRecordedData(),i=null),n&&(n.releaseStreams(),n=null)},this.addStreams=function(o){if(!o)throw"First parameter is required.";o instanceof Array||(o=[o]),e.concat(o),i&&n&&(n.appendStreams(o),t.previewStream&&"function"==typeof t.previewStream&&t.previewStream(n.getMixedStream()))},this.resetVideoStreams=function(e){n&&(!e||e instanceof Array||(e=[e]),n.resetVideoStreams(e))},this.getMixer=function(){return n},this.name="MultiStreamRecorder",this.toString=function(){return this.name}}function j(e,t){function n(){return new ReadableStream({start:function(n){var i=document.createElement("canvas"),o=document.createElement("video");o.srcObject=e,o.onplaying=function(){i.width=t.width,i.height=t.height;var e=i.getContext("2d"),r=1e3/t.frameRate;setTimeout(function i(){e.drawImage(o,0,0),n.enqueue(e.getImageData(0,0,t.width,t.height)),setTimeout(i,r)},r)},o.play()}})}var i,o;"undefined"!=typeof ReadableStream&&"undefined"!=typeof WritableStream||console.error("Following polyfill is strongly recommended: https://unpkg.com/@mattiasbuelens/web-streams-polyfill/dist/polyfill.min.js"),(t=t||{}).width=t.width||640,t.height=t.height||480,t.frameRate=t.frameRate||30,t.bitrate=t.bitrate||1200,this.record=function(){r=[],o=!1,this.blob=null,function e(a,s){if(t.workerPath||s){if(!t.workerPath&&s instanceof ArrayBuffer){var l=new Blob([s],{type:"text/javascript"});t.workerPath=d.createObjectURL(l)}t.workerPath||console.error("workerPath parameter is missing."),(i=new Worker(t.workerPath)).postMessage(t.webAssemblyPath||"https://unpkg.com/webm-wasm@latest/dist/webm-wasm.wasm"),i.addEventListener("message",function(e){"READY"===e.data?(i.postMessage({width:t.width,height:t.height,bitrate:t.bitrate||1200,timebaseDen:t.frameRate||30,realtime:!0}),n().pipeTo(new WritableStream({write:function(e){i&&i.postMessage(e.data.buffer,[e.data.buffer])}}))):e.data&&(o||r.push(e.data))})}else fetch("https://unpkg.com/webm-wasm@latest/dist/webm-worker.js").then(function(t){t.arrayBuffer().then(function(t){e(a,t)})})}(e),"function"==typeof t.initCallback&&t.initCallback()},this.pause=function(){o=!0},this.resume=function(){o=!1};var r=[];this.stop=function(e){i&&(i.postMessage(null),i.terminate(),i=null),this.blob=new Blob(r,{type:"video/webm"}),e(this.blob)},this.name="WebAssemblyRecorder",this.toString=function(){return this.name},this.clearRecordedData=function(){r=[],o=!1,this.blob=null},this.blob=null}i.DiskStorage=T,i.GifRecorder=E,i.MultiStreamRecorder=$,i.RecordRTCPromisesHandler=function(e,t){if(!this)throw'Use "new RecordRTCPromisesHandler()"';if(void 0===e)throw'First argument "MediaStream" is required.';var n=this;n.recordRTC=new i(e,t),this.startRecording=function(){return new Promise(function(e,t){try{n.recordRTC.startRecording(),e()}catch(e){t(e)}})},this.stopRecording=function(){return new Promise(function(e,t){try{n.recordRTC.stopRecording(function(i){n.blob=n.recordRTC.getBlob(),n.blob&&n.blob.size?e(i):t("Empty blob.",n.blob)})}catch(e){t(e)}})},this.pauseRecording=function(){return new Promise(function(e,t){try{n.recordRTC.pauseRecording(),e()}catch(e){t(e)}})},this.resumeRecording=function(){return new Promise(function(e,t){try{n.recordRTC.resumeRecording(),e()}catch(e){t(e)}})},this.getDataURL=function(e){return new Promise(function(e,t){try{n.recordRTC.getDataURL(function(t){e(t)})}catch(e){t(e)}})},this.getBlob=function(){return new Promise(function(e,t){try{e(n.recordRTC.getBlob())}catch(e){t(e)}})},this.getInternalRecorder=function(){return new Promise(function(e,t){try{e(n.recordRTC.getInternalRecorder())}catch(e){t(e)}})},this.reset=function(){return new Promise(function(e,t){try{e(n.recordRTC.reset())}catch(e){t(e)}})},this.destroy=function(){return new Promise(function(e,t){try{e(n.recordRTC.destroy())}catch(e){t(e)}})},this.getState=function(){return new Promise(function(e,t){try{e(n.recordRTC.getState())}catch(e){t(e)}})},this.blob=null,this.version="5.5.9"},i.WebAssemblyRecorder=j}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:113}],118:[function(e,t,n){"use strict";var i=Object,o=TypeError;t.exports=function(){if(null!=this&&this!==i(this))throw new o("RegExp.prototype.flags getter called on non-object");var e="";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e}},{}],119:[function(e,t,n){"use strict";var i=e("define-properties"),o=e("./implementation"),r=e("./polyfill"),a=e("./shim"),s=Function.call.bind(o);i(s,{getPolyfill:r,implementation:o,shim:a}),t.exports=s},{"./implementation":118,"./polyfill":120,"./shim":121,"define-properties":48}],120:[function(e,t,n){"use strict";var i=e("./implementation"),o=e("define-properties").supportsDescriptors,r=Object.getOwnPropertyDescriptor,a=TypeError;t.exports=function(){if(!o)throw new a("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");if("gim"===/a/gim.flags){var e=r(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof/a/.dotAll)return e.get}return i}},{"./implementation":118,"define-properties":48}],121:[function(e,t,n){"use strict";var i=e("define-properties").supportsDescriptors,o=e("./polyfill"),r=Object.getOwnPropertyDescriptor,a=Object.defineProperty,s=TypeError,l=Object.getPrototypeOf,c=/a/;t.exports=function(){if(!i||!l)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),t=l(c),n=r(t,"flags");return n&&n.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},{"./polyfill":120,"define-properties":48}],122:[function(e,t,n){t.exports=e("./lib/type")},{"./lib/type":123}],123:[function(e,t,n){var i=e("quill-delta");t.exports={Delta:i,type:{name:"rich-text",uri:"http://sharejs.org/types/rich-text/v1",create:function(e){return new i(e)},apply:function(e,t){return e=new i(e),t=new i(t),e.compose(t)},compose:function(e,t){return e=new i(e),t=new i(t),e.compose(t)},diff:function(e,t){return e=new i(e),t=new i(t),e.diff(t)},transform:function(e,t,n){return e=new i(e),(t=new i(t)).transform(e,"left"===n)},transformCursor:function(e,t,n){return t.transformPosition(e,!n)},normalize:function(e){return e},serialize:function(e){return e.ops},deserialize:function(e){return new i(e)}}}},{"quill-delta":126}],124:[function(e,t,n){var i=-1,o=1,r=0;function a(e,t,n,u){if(e===t)return e?[[r,e]]:[];if(null!=n){var d=function(e,t,n){var i="number"==typeof n?{index:n,length:0}:n.oldRange,o="number"==typeof n?null:n.newRange,r=e.length,a=t.length;if(0===i.length&&(null===o||0===o.length)){var s=i.index,l=e.slice(0,s),c=e.slice(s),u=o?o.index:null,d=s+a-r;if((null===u||u===d)&&!(d<0||d>a)){var p=t.slice(0,d),f=t.slice(d);if(f===c){var h=Math.min(s,d),g=l.slice(0,h),v=p.slice(0,h);if(g===v){var _=l.slice(h),b=p.slice(h);return m(g,_,b,c)}}}if(null===u||u===s){var y=s,p=t.slice(0,y),f=t.slice(y);if(p===l){var w=Math.min(r-y,a-y),x=c.slice(c.length-w),k=f.slice(f.length-w);if(x===k){var _=c.slice(0,c.length-w),b=f.slice(0,f.length-w);return m(l,_,b,x)}}}}if(i.length>0&&o&&0===o.length){var g=e.slice(0,i.index),x=e.slice(i.index+i.length),h=g.length,w=x.length;if(!(a<h+w)){var v=t.slice(0,h),k=t.slice(a-w);if(g===v&&x===k){var _=e.slice(h,r-w),b=t.slice(h,a-w);return m(g,_,b,x)}}}return null}(e,t,n);if(d)return d}var h=l(e,t),g=e.substring(0,h);h=c(e=e.substring(h),t=t.substring(h));var v=e.substring(e.length-h),_=function(e,t){var n;if(!e)return[[o,t]];if(!t)return[[i,e]];var u=e.length>t.length?e:t,d=e.length>t.length?t:e,p=u.indexOf(d);if(-1!==p)return n=[[o,u.substring(0,p)],[r,d],[o,u.substring(p+d.length)]],e.length>t.length&&(n[0][0]=n[2][0]=i),n;if(1===d.length)return[[i,e],[o,t]];var f=function(e,t){var n=e.length>t.length?e:t,i=e.length>t.length?t:e;if(n.length<4||2*i.length<n.length)return null;function o(e,t,n){for(var i,o,r,a,s=e.substring(n,n+Math.floor(e.length/4)),u=-1,d="";-1!==(u=t.indexOf(s,u+1));){var p=l(e.substring(n),t.substring(u)),f=c(e.substring(0,n),t.substring(0,u));d.length<f+p&&(d=t.substring(u-f,u)+t.substring(u,u+p),i=e.substring(0,n-f),o=e.substring(n+p),r=t.substring(0,u-f),a=t.substring(u+p))}return 2*d.length>=e.length?[i,o,r,a,d]:null}var r,a,s,u,d,p=o(n,i,Math.ceil(n.length/4)),f=o(n,i,Math.ceil(n.length/2));if(!p&&!f)return null;r=f?p&&p[4].length>f[4].length?p:f:p;e.length>t.length?(a=r[0],s=r[1],u=r[2],d=r[3]):(u=r[0],d=r[1],a=r[2],s=r[3]);var m=r[4];return[a,s,u,d,m]}(e,t);if(f){var m=f[0],h=f[1],g=f[2],v=f[3],_=f[4],b=a(m,g),y=a(h,v);return b.concat([[r,_]],y)}return function(e,t){for(var n=e.length,r=t.length,a=Math.ceil((n+r)/2),l=a,c=2*a,u=new Array(c),d=new Array(c),p=0;p<c;p++)u[p]=-1,d[p]=-1;u[l+1]=0,d[l+1]=0;for(var f=n-r,m=f%2!=0,h=0,g=0,v=0,_=0,b=0;b<a;b++){for(var y=-b+h;y<=b-g;y+=2){for(var w=l+y,x=(M=y===-b||y!==b&&u[w-1]<u[w+1]?u[w+1]:u[w-1]+1)-y;M<n&&x<r&&e.charAt(M)===t.charAt(x);)M++,x++;if(u[w]=M,M>n)g+=2;else if(x>r)h+=2;else if(m){var k=l+f-y;if(k>=0&&k<c&&-1!==d[k]){var A=n-d[k];if(M>=A)return s(e,t,M,x)}}}for(var C=-b+v;C<=b-_;C+=2){for(var k=l+C,S=(A=C===-b||C!==b&&d[k-1]<d[k+1]?d[k+1]:d[k-1]+1)-C;A<n&&S<r&&e.charAt(n-A-1)===t.charAt(r-S-1);)A++,S++;if(d[k]=A,A>n)_+=2;else if(S>r)v+=2;else if(!m){var w=l+f-C;if(w>=0&&w<c&&-1!==u[w]){var M=u[w],x=l+M-w;if(M>=(A=n-A))return s(e,t,M,x)}}}}return[[i,e],[o,t]]}(e,t)}(e=e.substring(0,e.length-h),t=t.substring(0,t.length-h));return g&&_.unshift([r,g]),v&&_.push([r,v]),function e(t,n){t.push([r,""]);var a=0;var s=0;var u=0;var d="";var m="";var h;for(;a<t.length;)if(a<t.length-1&&!t[a][1])t.splice(a,1);else switch(t[a][0]){case o:u++,m+=t[a][1],a++;break;case i:s++,d+=t[a][1],a++;break;case r:var g=a-u-s-1;if(n){if(g>=0&&f(t[g][1])){var v=t[g][1].slice(-1);if(t[g][1]=t[g][1].slice(0,-1),d=v+d,m=v+m,!t[g][1]){t.splice(g,1),a--;var _=g-1;t[_]&&t[_][0]===o&&(u++,m=t[_][1]+m,_--),t[_]&&t[_][0]===i&&(s++,d=t[_][1]+d,_--),g=_}}if(p(t[a][1])){var v=t[a][1].charAt(0);t[a][1]=t[a][1].slice(1),d+=v,m+=v}}if(a<t.length-1&&!t[a][1]){t.splice(a,1);break}if(d.length>0||m.length>0){d.length>0&&m.length>0&&(0!==(h=l(m,d))&&(g>=0?t[g][1]+=m.substring(0,h):(t.splice(0,0,[r,m.substring(0,h)]),a++),m=m.substring(h),d=d.substring(h)),0!==(h=c(m,d))&&(t[a][1]=m.substring(m.length-h)+t[a][1],m=m.substring(0,m.length-h),d=d.substring(0,d.length-h)));var b=u+s;0===d.length&&0===m.length?(t.splice(a-b,b),a-=b):0===d.length?(t.splice(a-b,b,[o,m]),a=a-b+1):0===m.length?(t.splice(a-b,b,[i,d]),a=a-b+1):(t.splice(a-b,b,[i,d],[o,m]),a=a-b+2)}0!==a&&t[a-1][0]===r?(t[a-1][1]+=t[a][1],t.splice(a,1)):a++,u=0,s=0,d="",m=""}""===t[t.length-1][1]&&t.pop();var y=!1;a=1;for(;a<t.length-1;)t[a-1][0]===r&&t[a+1][0]===r&&(t[a][1].substring(t[a][1].length-t[a-1][1].length)===t[a-1][1]?(t[a][1]=t[a-1][1]+t[a][1].substring(0,t[a][1].length-t[a-1][1].length),t[a+1][1]=t[a-1][1]+t[a+1][1],t.splice(a-1,1),y=!0):t[a][1].substring(0,t[a+1][1].length)==t[a+1][1]&&(t[a-1][1]+=t[a+1][1],t[a][1]=t[a][1].substring(t[a+1][1].length)+t[a+1][1],t.splice(a+1,1),y=!0)),a++;y&&e(t,n)}(_,u),_}function s(e,t,n,i){var o=e.substring(0,n),r=t.substring(0,i),s=e.substring(n),l=t.substring(i),c=a(o,r),u=a(s,l);return c.concat(u)}function l(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;for(var n=0,i=Math.min(e.length,t.length),o=i,r=0;n<o;)e.substring(r,o)==t.substring(r,o)?r=n=o:i=o,o=Math.floor((i-n)/2+n);return u(e.charCodeAt(o-1))&&o--,o}function c(e,t){if(!e||!t||e.slice(-1)!==t.slice(-1))return 0;for(var n=0,i=Math.min(e.length,t.length),o=i,r=0;n<o;)e.substring(e.length-o,e.length-r)==t.substring(t.length-o,t.length-r)?r=n=o:i=o,o=Math.floor((i-n)/2+n);return d(e.charCodeAt(e.length-o))&&o--,o}function u(e){return e>=55296&&e<=56319}function d(e){return e>=56320&&e<=57343}function p(e){return d(e.charCodeAt(0))}function f(e){return u(e.charCodeAt(e.length-1))}function m(e,t,n,a){return f(e)||p(a)?null:function(e){for(var t=[],n=0;n<e.length;n++)e[n][1].length>0&&t.push(e[n]);return t}([[r,e],[i,t],[o,n],[r,a]])}function h(e,t,n){return a(e,t,n,!0)}h.INSERT=o,h.DELETE=i,h.EQUAL=r,t.exports=h},{}],125:[function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0});var o,r=i(e("deep-equal")),a=i(e("extend"));!function(e){e.compose=function(e,t,n){void 0===e&&(e={}),void 0===t&&(t={}),"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var i=a.default(!0,{},t);for(var o in n||(i=Object.keys(i).reduce(function(e,t){return null!=i[t]&&(e[t]=i[t]),e},{})),e)void 0!==e[o]&&void 0===t[o]&&(i[o]=e[o]);return Object.keys(i).length>0?i:void 0},e.diff=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce(function(n,i){return r.default(e[i],t[i])||(n[i]=void 0===t[i]?null:t[i]),n},{});return Object.keys(n).length>0?n:void 0},e.invert=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),e=e||{};var n=Object.keys(t).reduce(function(n,i){return t[i]!==e[i]&&void 0!==e[i]&&(n[i]=t[i]),n},{});return Object.keys(e).reduce(function(n,i){return e[i]!==t[i]&&void 0===t[i]&&(n[i]=null),n},n)},e.transform=function(e,t,n){if(void 0===n&&(n=!1),"object"!=typeof e)return t;if("object"==typeof t){if(!n)return t;var i=Object.keys(t).reduce(function(n,i){return void 0===e[i]&&(n[i]=t[i]),n},{});return Object.keys(i).length>0?i:void 0}}}(o||(o={})),n.default=o},{"deep-equal":44,extend:62}],126:[function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=i(e("deep-equal")),r=i(e("extend")),a=i(e("fast-diff")),s=i(e("./AttributeMap")),l=i(e("./Op")),c=String.fromCharCode(0),u=function(){function e(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]}return e.prototype.insert=function(e,t){var n={};return"string"==typeof e&&0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},e.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},e.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},e.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=r.default(!0,{},e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(o.default(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},e.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},e.prototype.filter=function(e){return this.ops.filter(e)},e.prototype.forEach=function(e){this.ops.forEach(e)},e.prototype.map=function(e){return this.ops.map(e)},e.prototype.partition=function(e){var t=[],n=[];return this.forEach(function(i){(e(i)?t:n).push(i)}),[t,n]},e.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},e.prototype.changeLength=function(){return this.reduce(function(e,t){return t.insert?e+l.default.length(t):t.delete?e-t.delete:e},0)},e.prototype.length=function(){return this.reduce(function(e,t){return e+l.default.length(t)},0)},e.prototype.slice=function(t,n){void 0===t&&(t=0),void 0===n&&(n=1/0);for(var i=[],o=l.default.iterator(this.ops),r=0;r<n&&o.hasNext();){var a=void 0;r<t?a=o.next(t-r):(a=o.next(n-r),i.push(a)),r+=l.default.length(a)}return new e(i)},e.prototype.compose=function(t){var n=l.default.iterator(this.ops),i=l.default.iterator(t.ops),r=[],a=i.peek();if(null!=a&&"number"==typeof a.retain&&null==a.attributes){for(var c=a.retain;"insert"===n.peekType()&&n.peekLength()<=c;)c-=n.peekLength(),r.push(n.next());a.retain-c>0&&i.next(a.retain-c)}for(var u=new e(r);n.hasNext()||i.hasNext();)if("insert"===i.peekType())u.push(i.next());else if("delete"===n.peekType())u.push(n.next());else{var d=Math.min(n.peekLength(),i.peekLength()),p=n.next(d),f=i.next(d);if("number"==typeof f.retain){var m={};"number"==typeof p.retain?m.retain=d:m.insert=p.insert;var h=s.default.compose(p.attributes,f.attributes,"number"==typeof p.retain);if(h&&(m.attributes=h),u.push(m),!i.hasNext()&&o.default(u.ops[u.ops.length-1],m)){var g=new e(n.rest());return u.concat(g).chop()}}else"number"==typeof f.delete&&"number"==typeof p.retain&&u.push(f)}return u.chop()},e.prototype.concat=function(t){var n=new e(this.ops.slice());return t.ops.length>0&&(n.push(t.ops[0]),n.ops=n.ops.concat(t.ops.slice(1))),n},e.prototype.diff=function(t,n){if(this.ops===t.ops)return new e;var i=[this,t].map(function(e){return e.map(function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:c;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")}).join("")}),r=new e,u=a.default(i[0],i[1],n),d=l.default.iterator(this.ops),p=l.default.iterator(t.ops);return u.forEach(function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case a.default.INSERT:n=Math.min(p.peekLength(),t),r.push(p.next(n));break;case a.default.DELETE:n=Math.min(t,d.peekLength()),d.next(n),r.delete(n);break;case a.default.EQUAL:n=Math.min(d.peekLength(),p.peekLength(),t);var i=d.next(n),l=p.next(n);o.default(i.insert,l.insert)?r.retain(n,s.default.diff(i.attributes,l.attributes)):r.push(l).delete(n)}t-=n}}),r.chop()},e.prototype.eachLine=function(t,n){void 0===n&&(n="\n");for(var i=l.default.iterator(this.ops),o=new e,r=0;i.hasNext();){if("insert"!==i.peekType())return;var a=i.peek(),s=l.default.length(a)-i.peekLength(),c="string"==typeof a.insert?a.insert.indexOf(n,s)-s:-1;if(c<0)o.push(i.next());else if(c>0)o.push(i.next(c));else{if(!1===t(o,i.next(1).attributes||{},r))return;r+=1,o=new e}}o.length()>0&&t(o,{},r)},e.prototype.invert=function(t){var n=new e;return this.reduce(function(e,i){if(i.insert)n.delete(l.default.length(i));else{if(i.retain&&null==i.attributes)return n.retain(i.retain),e+i.retain;if(i.delete||i.retain&&i.attributes){var o=i.delete||i.retain;return t.slice(e,e+o).forEach(function(e){i.delete?n.push(e):i.retain&&i.attributes&&n.retain(l.default.length(e),s.default.invert(i.attributes,e.attributes))}),e+o}}return e},0),n.chop()},e.prototype.transform=function(t,n){if(void 0===n&&(n=!1),n=!!n,"number"==typeof t)return this.transformPosition(t,n);for(var i=t,o=l.default.iterator(this.ops),r=l.default.iterator(i.ops),a=new e;o.hasNext()||r.hasNext();)if("insert"!==o.peekType()||!n&&"insert"===r.peekType())if("insert"===r.peekType())a.push(r.next());else{var c=Math.min(o.peekLength(),r.peekLength()),u=o.next(c),d=r.next(c);if(u.delete)continue;d.delete?a.push(d):a.retain(c,s.default.transform(u.attributes,d.attributes,n))}else a.retain(l.default.length(o.next()));return a.chop()},e.prototype.transformPosition=function(e,t){void 0===t&&(t=!1),t=!!t;for(var n=l.default.iterator(this.ops),i=0;n.hasNext()&&i<=e;){var o=n.peekLength(),r=n.peekType();n.next(),"delete"!==r?("insert"===r&&(i<e||!t)&&(e+=o),i+=o):e-=Math.min(o,e-i)}return e},e.Op=l.default,e.AttributeMap=s.default,e}();t.exports=u},{"./AttributeMap":125,"./Op":128,"deep-equal":44,extend:62,"fast-diff":124}],127:[function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0});var o=i(e("./Op")),r=function(){function e(e){this.ops=e,this.index=0,this.offset=0}return e.prototype.hasNext=function(){return this.peekLength()<1/0},e.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,i=o.default.length(t);if(e>=i-n?(e=i-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var r={};return t.attributes&&(r.attributes=t.attributes),"number"==typeof t.retain?r.retain=e:"string"==typeof t.insert?r.insert=t.insert.substr(n,e):r.insert=t.insert,r}return{retain:1/0}},e.prototype.peek=function(){return this.ops[this.index]},e.prototype.peekLength=function(){return this.ops[this.index]?o.default.length(this.ops[this.index])-this.offset:1/0},e.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},e.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),i=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(i)}return[]},e}();n.default=r},{"./Op":128}],128:[function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0});var o,r=i(e("./Iterator"));!function(e){e.iterator=function(e){return new r.default(e)},e.length=function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}}(o||(o={})),n.default=o},{"./Iterator":127}],129:[function(e,t,n){(function(e,n){"use strict";var i=function(i,o){var r;function a(e,t){function n(e){return!e.audio&&!e.video&&!e.screen&&e.data}var i="";i+="?userid="+e.userid,i+="&sessionid="+e.sessionid,i+="&msgEvent="+e.socketMessageEvent,i+="&socketCustomEvent="+e.socketCustomEvent,i+="&autoCloseEntireSession="+!!e.autoCloseEntireSession,!0===e.session.broadcast&&(i+="&oneToMany=true"),i+="&maxParticipantsAllowed="+e.maxParticipantsAllowed,e.enableScalableBroadcast&&(i+="&enableScalableBroadcast=true",i+="&maxRelayLimitPerUser="+(e.maxRelayLimitPerUser||2)),i+="&extra="+JSON.stringify(e.extra||{}),e.socketCustomParameters&&(i+=e.socketCustomParameters);try{io.sockets={}}catch(e){}if(e.socketURL||(e.socketURL="/"),"/"!=e.socketURL.substr(e.socketURL.length-1,1))throw'"socketURL" MUST end with a slash.';e.enableLogs&&("/"==e.socketURL?console.info("socket.io url is: ",location.origin+"/"):console.info("socket.io url is: ",e.socketURL));try{e.socket=io(e.socketURL+i)}catch(t){e.socket=io.connect(e.socketURL+i,e.socketOptions)}var o=e.multiPeersHandler;function r(t,n){e.peersBackup[t]||(e.peersBackup[t]={userid:t,extra:{}}),e.peersBackup[t].extra=n}e.socket.on("extra-data-updated",function(t,n){e.peers[t]&&(e.peers[t].extra=n,e.onExtraDataUpdated({userid:t,extra:n}),r(t,n))}),e.socket.on(e.socketMessageEvent,function t(i){if(i.remoteUserId==e.userid)if(e.peers[i.sender]&&e.peers[i.sender].extra!=i.message.extra&&(e.peers[i.sender].extra=i.extra,e.onExtraDataUpdated({userid:i.sender,extra:i.extra}),r(i.sender,i.extra)),i.message.streamSyncNeeded&&e.peers[i.sender]){var a=e.streamEvents[i.message.streamid];if(!a||!a.stream)return;var s=i.message.action;if("ended"===s||"inactive"===s||"stream-removed"===s)return e.peersBackup[a.userid]&&(a.extra=e.peersBackup[a.userid].extra),void e.onstreamended(a);var l="both"!=i.message.type?i.message.type:null;"function"==typeof a.stream[s]&&a.stream[s](l)}else if("dropPeerConnection"!==i.message){if(i.message.allParticipants)return-1===i.message.allParticipants.indexOf(i.sender)&&i.message.allParticipants.push(i.sender),void i.message.allParticipants.forEach(function(t){o[e.peers[t]?"renegotiatePeer":"createNewPeer"](t,{localPeerSdpConstraints:{OfferToReceiveAudio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.sdpConstraints.mandatory.OfferToReceiveVideo},remotePeerSdpConstraints:{OfferToReceiveAudio:e.session.oneway?!!e.session.audio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.session.oneway?!!e.session.video||!!e.session.screen:e.sdpConstraints.mandatory.OfferToReceiveVideo},isOneWay:!!e.session.oneway||"one-way"===e.direction,isDataOnly:n(e.session)})});if(i.message.newParticipant){if(i.message.newParticipant==e.userid)return;if(e.peers[i.message.newParticipant])return;o.createNewPeer(i.message.newParticipant,i.message.userPreferences||{localPeerSdpConstraints:{OfferToReceiveAudio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.sdpConstraints.mandatory.OfferToReceiveVideo},remotePeerSdpConstraints:{OfferToReceiveAudio:e.session.oneway?!!e.session.audio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.session.oneway?!!e.session.video||!!e.session.screen:e.sdpConstraints.mandatory.OfferToReceiveVideo},isOneWay:!!e.session.oneway||"one-way"===e.direction,isDataOnly:n(e.session)})}else if(i.message.readyForOffer&&(e.attachStreams.length&&(e.waitingForLocalMedia=!1),e.waitingForLocalMedia))setTimeout(function(){t(i)},1);else if(i.message.newParticipationRequest&&i.sender!==e.userid){e.peers[i.sender]&&e.deletePeer(i.sender);var c={extra:i.extra||{},localPeerSdpConstraints:i.message.remotePeerSdpConstraints||{OfferToReceiveAudio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.sdpConstraints.mandatory.OfferToReceiveVideo},remotePeerSdpConstraints:i.message.localPeerSdpConstraints||{OfferToReceiveAudio:e.session.oneway?!!e.session.audio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.session.oneway?!!e.session.video||!!e.session.screen:e.sdpConstraints.mandatory.OfferToReceiveVideo},isOneWay:void 0!==i.message.isOneWay?i.message.isOneWay:!!e.session.oneway||"one-way"===e.direction,isDataOnly:void 0!==i.message.isDataOnly?i.message.isDataOnly:n(e.session),dontGetRemoteStream:void 0!==i.message.isOneWay?i.message.isOneWay:!!e.session.oneway||"one-way"===e.direction,dontAttachLocalStream:!!i.message.dontGetRemoteStream,connectionDescription:i,successCallback:function(){}};e.onNewParticipant(i.sender,c)}else{if(i.message.changedUUID&&e.peers[i.message.oldUUID]&&(e.peers[i.message.newUUID]=e.peers[i.message.oldUUID],delete e.peers[i.message.oldUUID]),i.message.userLeft)return o.onUserLeft(i.sender),void(i.message.autoCloseEntireSession&&e.leave());o.addNegotiatedMessage(i.message,i.sender)}}else e.deletePeer(i.sender)});var a=!1;e.socket.resetProps=function(){a=!1},e.socket.on("connect",function(){a||(a=!0,e.enableLogs&&console.info("socket.io connection is opened."),setTimeout(function(){e.socket.emit("extra-data-updated",e.extra)},1e3),t&&t(e.socket))}),e.socket.on("disconnect",function(t){e.onSocketDisconnect(t)}),e.socket.on("error",function(t){e.onSocketError(t)}),e.socket.on("user-disconnected",function(t){t!==e.userid&&(e.onUserStatusChanged({userid:t,status:"offline",extra:e.peers[t]&&e.peers[t].extra||{}}),e.deletePeer(t))}),e.socket.on("user-connected",function(t){t!==e.userid&&e.onUserStatusChanged({userid:t,status:"online",extra:e.peers[t]&&e.peers[t].extra||{}})}),e.socket.on("closed-entire-session",function(t,n){e.leave(),e.onEntireSessionClosed({sessionid:t,userid:t,extra:n})}),e.socket.on("userid-already-taken",function(t,n){e.onUserIdAlreadyTaken(t,n)}),e.socket.on("logs",function(t){e.enableLogs&&console.debug("server-logs",t)}),e.socket.on("number-of-broadcast-viewers-updated",function(t){e.onNumberOfBroadcastViewersUpdated(t)}),e.socket.on("set-isInitiator-true",function(t){t==e.sessionid&&(e.isInitiator=!0)})}function s(e){var t=this,n=["getAllParticipants","getLength","selectFirst","streams","send","forEach"];function i(){e.fbr=new FileBufferReader,e.fbr.onProgress=function(t){e.onFileProgress(t)},e.fbr.onBegin=function(t){e.onFileStart(t)},e.fbr.onEnd=function(t){e.onFileEnd(t)}}e.peers={getLength:function(){var e=0;for(var t in this)-1==n.indexOf(t)&&e++;return e},selectFirst:function(){var e;for(var t in this)-1==n.indexOf(t)&&(e=this[t]);return e},getAllParticipants:function(e){var t=[];for(var i in this)-1==n.indexOf(i)&&i!=e&&t.push(i);return t},forEach:function(t){this.getAllParticipants().forEach(function(n){t(e.peers[n])})},send:function(n,i){var o=this;if(!h(n.size)&&!h(n.type)){if(e.enableFileSharing)return void t.shareFile(n,i);"string"!=typeof n&&(n=JSON.stringify(n))}if("text"===n.type||n instanceof ArrayBuffer||n instanceof DataView){if("text"===n.type&&(n=JSON.stringify(n)),i){var r=e.peers[i];if(r)return r.channels.length?void r.channels.forEach(function(e){e.send(n)}):(e.peers[i].createDataChannel(),e.renegotiate(i),void setTimeout(function(){o.send(n,i)},3e3))}this.getAllParticipants().forEach(function(t){if(!o[t].channels.length)return e.peers[t].createDataChannel(),e.renegotiate(t),void setTimeout(function(){o[t].channels.forEach(function(e){e.send(n)})},3e3);o[t].channels.forEach(function(e){e.send(n)})})}else $.send({text:n,channel:this,connection:e,remoteUserId:i})}},this.uuid=e.userid,this.getLocalConfig=function(n,o,r){return r||(r={}),{streamsToShare:r.streamsToShare||{},rtcMultiConnection:e,connectionDescription:r.connectionDescription,userid:o,localPeerSdpConstraints:r.localPeerSdpConstraints,remotePeerSdpConstraints:r.remotePeerSdpConstraints,dontGetRemoteStream:!!r.dontGetRemoteStream,dontAttachLocalStream:!!r.dontAttachLocalStream,renegotiatingPeer:!!r.renegotiatingPeer,peerRef:r.peerRef,channels:r.channels||[],onLocalSdp:function(e){t.onNegotiationNeeded(e,o)},onLocalCandidate:function(n){(n=O.processCandidates(e,n))&&t.onNegotiationNeeded(n,o)},remoteSdp:n,onDataChannelMessage:function(n){if(!e.fbr&&e.enableFileSharing&&i(),"string"!=typeof n&&e.enableFileSharing){var r=this;n instanceof ArrayBuffer||n instanceof DataView?e.fbr.convertToObject(n,function(e){r.onDataChannelMessage(e)}):n.readyForNextChunk?e.fbr.getNextChunk(n,function(t,n){e.peers[o].channels.forEach(function(e){e.send(t)})},o):n.chunkMissing?e.fbr.chunkMissing(n):e.fbr.addChunk(n,function(t){e.peers[o].peer.channel.send(t)})}else t.onDataChannelMessage(n,o)},onDataChannelError:function(e){t.onDataChannelError(e,o)},onDataChannelOpened:function(e){t.onDataChannelOpened(e,o)},onDataChannelClosed:function(e){t.onDataChannelClosed(e,o)},onRemoteStream:function(n){e.peers[o]&&e.peers[o].streams.push(n),t.onGettingRemoteMedia(n,o)},onRemoteStreamRemoved:function(e){t.onRemovingRemoteMedia(e,o)},onPeerStateChanged:function(e){t.onPeerStateChanged(e),"new"===e.iceConnectionState&&t.onNegotiationStarted(o,e),"connected"===e.iceConnectionState&&t.onNegotiationCompleted(o,e),-1!==e.iceConnectionState.search(/closed|failed/gi)&&(t.onUserLeft(o),t.disconnectWith(o))}}},this.createNewPeer=function(t,n){if(!(e.maxParticipantsAllowed<=e.getAllParticipants().length)){if(n=n||{},e.isInitiator&&e.session.audio&&"two-way"===e.session.audio&&!n.streamsToShare&&(n.isOneWay=!1,n.isDataOnly=!1,n.session=e.session),!n.isOneWay&&!n.isDataOnly)return n.isOneWay=!0,void this.onNegotiationNeeded({enableMedia:!0,userPreferences:n},t);n=e.setUserPreferences(n,t);var i=this.getLocalConfig(null,t,n);e.peers[t]=new M(i)}},this.createAnsweringPeer=function(t,n,i){i=e.setUserPreferences(i||{},n);var o=this.getLocalConfig(t,n,i);e.peers[n]=new M(o)},this.renegotiatePeer=function(t,n,i){if(e.peers[t]){n||(n={}),n.renegotiatingPeer=!0,n.peerRef=e.peers[t].peer,n.channels=e.peers[t].channels;var o=this.getLocalConfig(i,t,n);e.peers[t]=new M(o)}else e.enableLogs&&console.error("Peer ("+t+") does not exist. Renegotiation skipped.")},this.replaceTrack=function(t,n,i){if(!e.peers[n])throw"This peer ("+n+") does not exist.";var o=e.peers[n].peer;o.getSenders&&"function"==typeof o.getSenders&&o.getSenders().length?o.getSenders().forEach(function(o){i&&"video"===o.track.kind&&(e.peers[n].peer.lastVideoTrack=o.track,o.replaceTrack(t)),i||"audio"!==o.track.kind||(e.peers[n].peer.lastAudioTrack=o.track,o.replaceTrack(t))}):(console.warn("RTPSender.replaceTrack is NOT supported."),this.renegotiatePeer(n))},this.onNegotiationNeeded=function(e,t){},this.addNegotiatedMessage=function(n,i){if(n.type&&n.sdp)return"answer"==n.type&&e.peers[i]&&e.peers[i].addRemoteSdp(n),"offer"==n.type&&(n.renegotiatingPeer?this.renegotiatePeer(i,null,n):this.createAnsweringPeer(n,i)),void(e.enableLogs&&console.log("Remote peer's sdp:",n.sdp));if(n.candidate)return e.peers[i]&&e.peers[i].addRemoteCandidate(n),void(e.enableLogs&&console.log("Remote peer's candidate pairs:",n.candidate));if(n.enableMedia){e.session=n.userPreferences.session||e.session,e.session.oneway&&e.attachStreams.length&&(e.attachStreams=[]),n.userPreferences.isDataOnly&&e.attachStreams.length&&(e.attachStreams.length=[]);var o={};e.attachStreams.forEach(function(e){o[e.streamid]={isAudio:!!e.isAudio,isVideo:!!e.isVideo,isScreen:!!e.isScreen}}),n.userPreferences.streamsToShare=o,t.onNegotiationNeeded({readyForOffer:!0,userPreferences:n.userPreferences},i)}n.readyForOffer&&e.onReadyForOffer(i,n.userPreferences)},this.onGettingRemoteMedia=function(e,t){},this.onRemovingRemoteMedia=function(e,t){},this.onGettingLocalMedia=function(e){},this.onLocalMediaError=function(t,n){e.onMediaError(t,n)},this.shareFile=function(t,n){i(),e.fbr.readAsArrayBuffer(t,function(t){var i=e.getAllParticipants();n&&(i=[n]),i.forEach(function(n){e.fbr.getNextChunk(t,function(t){e.peers[n].channels.forEach(function(e){e.send(t)})},n)})},{userid:e.userid,chunkSize:"Firefox"===DetectRTC.browser.name?15e3:e.chunkSize||0})};var o=new function(e){var t={};return{receive:function(n,i,o){var r=n.uuid;t[r]||(t[r]=[]);if(t[r].push(n.message),n.last){var a=t[r].join("");n.isobject&&(a=JSON.parse(a));var s=(new Date).getTime(),l=s-n.sendingTime,c={data:a,userid:i,extra:o,latency:l};e.autoTranslateText?(c.original=c.data,e.Translator.TranslateText(c.data,function(t){c.data=t,e.onmessage(c)})):e.onmessage(c),delete t[r]}}}}(e);this.onDataChannelMessage=function(t,n){o.receive(JSON.parse(t),n,e.peers[n]?e.peers[n].extra:{})},this.onDataChannelClosed=function(t,n){t.userid=n,t.extra=e.peers[n]?e.peers[n].extra:{},e.onclose(t)},this.onDataChannelError=function(t,n){t.userid=n,event.extra=e.peers[n]?e.peers[n].extra:{},e.onerror(t)},this.onDataChannelOpened=function(t,n){e.peers[n].channels.length?e.peers[n].channels=[t]:(e.peers[n].channels.push(t),e.onopen({userid:n,extra:e.peers[n]?e.peers[n].extra:{},channel:t}))},this.onPeerStateChanged=function(t){e.onPeerStateChanged(t)},this.onNegotiationStarted=function(e,t){},this.onNegotiationCompleted=function(e,t){},this.getRemoteStreams=function(t){return t=t||e.peers.getAllParticipants()[0],e.peers[t]?e.peers[t].streams:[]}}function l(e,t,n){if("undefined"!=typeof CustomEvent){var i=new CustomEvent(t,{arguments:n,__exposedProps__:n});e.dispatchEvent(i)}}function c(e,t){t.stream&&t.stream&&t.stream.addEventListener&&(t.stream.addEventListener("mute",function(n){(n=e.streamEvents[t.streamid]).session={audio:"audio"===n.muteType,video:"video"===n.muteType},e.onmute(n)},!1),t.stream.addEventListener("unmute",function(n){(n=e.streamEvents[t.streamid]).session={audio:"audio"===n.unmuteType,video:"video"===n.unmuteType},e.onunmute(n)},!1))}function u(){if(window.crypto&&window.crypto.getRandomValues&&-1===navigator.userAgent.indexOf("Safari")){for(var e=window.crypto.getRandomValues(new Uint32Array(3)),t="",n=0,i=e.length;n<i;n++)t+=e[n].toString(36);return t}return(Math.random()*(new Date).getTime()).toString(36).replace(/\./g,"")}function d(e,t,n){if(n.autoCreateMediaElement){var i=!1;_(e,"video").length||e.isVideo||e.isScreen||(i=!0),"Firefox"===DetectRTC.browser.name&&(n.session.video||n.session.screen)&&(i=!1);var o=document.createElement(i?"audio":"video");if(o.srcObject=e,o.setAttribute("autoplay",!0),o.setAttribute("playsinline",!0),o.setAttribute("controls",!0),o.setAttribute("muted",!1),o.setAttribute("volume",1),"Firefox"===DetectRTC.browser.name){var r="ended";"oninactive"in o&&(r="inactive"),o.addEventListener(r,function(){if(currentUserMediaRequest.remove(e.idInstance),"local"===e.type){r="ended","oninactive"in e&&(r="inactive"),N.onSyncNeeded(e.streamid,r),n.attachStreams.forEach(function(t,i){e.streamid===t.streamid&&delete n.attachStreams[i]});var t=[];n.attachStreams.forEach(function(e){e&&t.push(e)}),n.attachStreams=t;var i=n.streamEvents[e.streamid];if(i)return void n.onstreamended(i);this.parentNode&&this.parentNode.removeChild(this)}},!1)}var a=o.play();if(void 0!==a){var s=!1;setTimeout(function(){s||(s=!0,t(o))},1e3),a.then(function(){s||(s=!0,t(o))}).catch(function(e){s||(s=!0,t(o))})}else t(o)}else t({})}function p(e,t){window.removeEventListener(e,t),window.addEventListener(e,t,!1)}function f(e){var t=[];return e.forEach(function(e){e&&t.push(e)}),t}function m(e){return!e.audio&&!e.video&&!e.screen&&e.data}function h(e){return void 0===e}(r=void 0!==n?n:null)&&"undefined"==typeof window&&void 0!==n&&(n.navigator={userAgent:"Fake/5.0 (FakeOS) AppleWebKit/123 (KHTML, like Gecko) Fake/12.3.4567.89 Fake/123.45",getUserMedia:function(){}},n.console||(n.console={}),void 0===n.console.debug&&(n.console.debug=n.console.info=n.console.error=n.console.log=n.console.log||function(){console.log(arguments)}),"undefined"==typeof document&&(r.document={},document.createElement=document.captureStream=document.mozCaptureStream=function(){var e={getContext:function(){return e},play:function(){},pause:function(){},drawImage:function(){},toDataURL:function(){return""}};return e},document.addEventListener=document.removeEventListener=r.addEventListener=r.removeEventListener=function(){},r.HTMLVideoElement=r.HTMLMediaElement=function(){}),"undefined"==typeof io&&(r.io=function(){return{on:function(e,t){t=t||function(){},"connect"===e&&t()},emit:function(e,t,n){n=n||function(){},"open-room"!==e&&"join-room"!==e||n(!0,t.sessionid,null)}}}),"undefined"==typeof location&&(r.location={protocol:"file:",href:"",hash:"",origin:"self"}),"undefined"==typeof screen&&(r.screen={width:0,height:0}),"undefined"==typeof URL&&(r.URL={createObjectURL:function(){return""},revokeObjectURL:function(){return""}}),r.window=n),function(){var i,o="Fake/5.0 (FakeOS) AppleWebKit/123 (KHTML, like Gecko) Fake/12.3.4567.89 Fake/123.45";if(w="object"==typeof e&&"object"==typeof e.versions&&e.versions.node&&!e.browser){var r=e.versions.node.toString().replace("v","");o="Nodejs/"+r+" (NodeOS) AppleWebKit/"+r+" (KHTML, like Gecko) Nodejs/"+r+" Nodejs/"+r}i=void 0!==n?n:window,"undefined"==typeof window&&("undefined"==typeof window&&void 0!==n&&(n.navigator={userAgent:o,getUserMedia:function(){}},i.window=n),"undefined"==typeof location&&(i.location={protocol:"file:",href:"",hash:""}),"undefined"==typeof screen&&(i.screen={width:0,height:0}));var a=window.navigator;void 0!==a?(void 0!==a.webkitGetUserMedia&&(a.getUserMedia=a.webkitGetUserMedia),void 0!==a.mozGetUserMedia&&(a.getUserMedia=a.mozGetUserMedia)):a={getUserMedia:function(){},userAgent:o};var s=!!/Android|webOS|iPhone|iPad|iPod|BB10|BlackBerry|IEMobile|Opera Mini|Mobile|mobile/i.test(a.userAgent||""),l=!(-1===a.userAgent.indexOf("Edge")||!a.msSaveOrOpenBlob&&!a.msSaveBlob),c=!!window.opera||a.userAgent.indexOf(" OPR/")>=0,u=void 0!==window.InstallTrigger,d=/^((?!chrome|android).)*safari/i.test(a.userAgent),p=!!window.chrome&&!c,f="undefined"!=typeof document&&!!document.documentMode&&!l;function m(e,t){var n=0,i=!1,o=window.setInterval(function(){e()&&(window.clearInterval(o),t(i)),n++>50&&(window.clearInterval(o),t(i=!0))},10)}var h={Android:function(){return a.userAgent.match(/Android/i)},BlackBerry:function(){return a.userAgent.match(/BlackBerry|BB10/i)},iOS:function(){return a.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return a.userAgent.match(/Opera Mini/i)},Windows:function(){return a.userAgent.match(/IEMobile/i)},any:function(){return h.Android()||h.BlackBerry()||h.iOS()||h.Opera()||h.Windows()},getOsName:function(){var e="Unknown OS";return h.Android()&&(e="Android"),h.BlackBerry()&&(e="BlackBerry"),h.iOS()&&(e="iOS"),h.Opera()&&(e="Opera Mini"),h.Windows()&&(e="Windows"),e}};var g="Unknown OS",v="Unknown OS Version";var _,b,y=function(){for(var e,t=a.appVersion,n=a.userAgent,i="-",o=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Linux",r:/(Linux|X11)/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}],r=0;e=o[r];r++)if(e.r.test(n)){i=e.s;break}var s="-";switch(/Windows/.test(i)&&(/Windows (.*)/.test(i)&&(s=/Windows (.*)/.exec(i)[1]),i="Windows"),i){case"Mac OS X":/Mac OS X (10[\.\_\d]+)/.test(n)&&(s=/Mac OS X (10[\.\_\d]+)/.exec(n)[1]);break;case"Android":/Android ([\.\_\d]+)/.test(n)&&(s=/Android ([\.\_\d]+)/.exec(n)[1]);break;case"iOS":/OS (\d+)_(\d+)_?(\d+)?/.test(n)&&(s=(s=/OS (\d+)_(\d+)_?(\d+)?/.exec(t))[1]+"."+s[2]+"."+(0|s[3]))}return{osName:i,osVersion:s}}();y&&y.osName&&"-"!=y.osName?(g=y.osName,v=y.osVersion):h.any()&&"Android"==(g=h.getOsName())&&(v=!!(b=(_=(_||a.userAgent).toLowerCase()).match(/android\s([0-9\.]*)/))&&b[1]);var w="object"==typeof e&&"object"==typeof e.versions&&e.versions.node;"Unknown OS"===g&&w&&(g="Nodejs",v=e.versions.node.toString().replace("v",""));var x=!1,k=!1;["captureStream","mozCaptureStream","webkitCaptureStream"].forEach(function(e){"undefined"!=typeof document&&"function"==typeof document.createElement&&(!x&&e in document.createElement("canvas")&&(x=!0),!k&&e in document.createElement("video")&&(k=!0))});var A=/^(192\.168\.|169\.254\.|10\.|172\.(1[6-9]|2\d|3[01]))/,C=/([0-9]{1,3}(\.[0-9]{1,3}){3})/,M=/[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7}/;var P=[],O=[],T=[],E=[];a.mediaDevices&&a.mediaDevices.enumerateDevices&&(a.enumerateDevices=function(e){var t=a.mediaDevices.enumerateDevices();t&&t.then?a.mediaDevices.enumerateDevices().then(e).catch(function(){e([])}):e([])});var N=!1;void 0!==S&&"getSources"in S?N=!0:a.mediaDevices&&a.mediaDevices.enumerateDevices&&(N=!0);var $=!1,j=!1,q=!1,L=!1,F=!1;function D(e){if(N)if(!a.enumerateDevices&&window.MediaStreamTrack&&window.MediaStreamTrack.getSources&&(a.enumerateDevices=window.MediaStreamTrack.getSources.bind(window.MediaStreamTrack)),!a.enumerateDevices&&a.enumerateDevices&&(a.enumerateDevices=a.enumerateDevices.bind(a)),a.enumerateDevices){P=[],O=[],T=[],E=[],$=!1,j=!1,q=!1,L=!1,F=!1;var t={};a.enumerateDevices(function(n){n.forEach(function(e){var n={};for(var i in e)try{"function"!=typeof e[i]&&(n[i]=e[i])}catch(e){}t[n.deviceId+n.label+n.kind]||("audio"===n.kind&&(n.kind="audioinput"),"video"===n.kind&&(n.kind="videoinput"),n.deviceId||(n.deviceId=n.id),n.id||(n.id=n.deviceId),n.label?("videoinput"!==n.kind||F||(F=!0),"audioinput"!==n.kind||L||(L=!0)):(n.isCustomLabel=!0,"videoinput"===n.kind?n.label="Camera "+(E.length+1):"audioinput"===n.kind?n.label="Microphone "+(O.length+1):"audiooutput"===n.kind?n.label="Speaker "+(T.length+1):n.label="Please invoke getUserMedia once.",void 0!==R&&R.browser.isChrome&&R.browser.version>=46&&!/^(https:|chrome-extension:)$/g.test(location.protocol||"")&&"undefined"!=typeof document&&"string"==typeof document.domain&&document.domain.search&&-1===document.domain.search(/localhost|127.0./g)&&(n.label="HTTPs is required to get label of this "+n.kind+" device.")),"audioinput"===n.kind&&($=!0,-1===O.indexOf(n)&&O.push(n)),"audiooutput"===n.kind&&(j=!0,-1===T.indexOf(n)&&T.push(n)),"videoinput"===n.kind&&(q=!0,-1===E.indexOf(n)&&E.push(n)),P.push(n),t[n.deviceId+n.label+n.kind]=n)}),void 0!==R&&(R.MediaDevices=P,R.hasMicrophone=$,R.hasSpeakers=j,R.hasWebcam=q,R.isWebsiteHasWebcamPermissions=F,R.isWebsiteHasMicrophonePermissions=L,R.audioInputDevices=O,R.audioOutputDevices=T,R.videoInputDevices=E),e&&e()})}else e&&e();else e&&e()}var R=window.DetectRTC||{};R.browser=function(){a.appVersion;var e,t,n,i=a.userAgent,o=a.appName,r=""+parseFloat(a.appVersion),s=parseInt(a.appVersion,10);if(d&&!p&&-1!==i.indexOf("CriOS")&&(d=!1,p=!0),c){o="Opera";try{s=(r=a.userAgent.split("OPR/")[1].split(" ")[0]).split(".")[0]}catch(e){r="0.0.0.0",s=0}}else f?((t=i.indexOf("rv:"))>0?r=i.substring(t+3):(t=i.indexOf("MSIE"),r=i.substring(t+5)),o="IE"):p?(t=i.indexOf("Chrome"),o="Chrome",r=i.substring(t+7)):d?(t=i.indexOf("Safari"),o="Safari",r=i.substring(t+7),-1!==(t=i.indexOf("Version"))&&(r=i.substring(t+8)),-1!==a.userAgent.indexOf("Version/")&&(r=a.userAgent.split("Version/")[1].split(" ")[0])):u?(t=i.indexOf("Firefox"),o="Firefox",r=i.substring(t+8)):(e=i.lastIndexOf(" ")+1)<(t=i.lastIndexOf("/"))&&(o=i.substring(e,t),r=i.substring(t+1),o.toLowerCase()===o.toUpperCase()&&(o=a.appName));return l&&(o="Edge",r=a.userAgent.split("Edge/")[1]),-1!==(n=r.search(/[; \)]/))&&(r=r.substring(0,n)),s=parseInt(""+r,10),isNaN(s)&&(r=""+parseFloat(a.appVersion),s=parseInt(a.appVersion,10)),{fullVersion:r,version:s,name:o,isPrivateBrowsing:!1}}(),function(e){var t;try{if(window.webkitRequestFileSystem)window.webkitRequestFileSystem(window.TEMPORARY,1,function(){t=!1},function(e){t=!0});else if(window.indexedDB&&/Firefox/.test(window.navigator.userAgent)){var n;try{(n=window.indexedDB.open("test")).onerror=function(){return!0}}catch(e){t=!0}void 0===t&&m(function(){return"done"===n.readyState},function(e){e||(t=!n.result)})}else if(function(e){var t=e.toLowerCase();if(0===t.indexOf("msie")&&0===t.indexOf("trident"))return!1;var n=/(?:msie|rv:)\s?([\d\.]+)/.exec(t);return!!(n&&parseInt(n[1],10)>=10)}(window.navigator.userAgent)){t=!1;try{window.indexedDB||(t=!0)}catch(e){t=!0}}else if(window.localStorage&&/Safari/.test(window.navigator.userAgent)){try{window.localStorage.setItem("test",1)}catch(e){t=!0}void 0===t&&(t=!1,window.localStorage.removeItem("test"))}}catch(e){t=!1}m(function(){return void 0!==t},function(n){e(t)})}(function(e){R.browser.isPrivateBrowsing=!!e}),R.browser["is"+R.browser.name]=!0,R.osName=g,R.osVersion=v;"object"==typeof e&&"object"==typeof e.versions&&e.versions["node-webkit"];var z=!1;["RTCPeerConnection","webkitRTCPeerConnection","mozRTCPeerConnection","RTCIceGatherer"].forEach(function(e){z||e in window&&(z=!0)}),R.isWebRTCSupported=z,R.isORTCSupported="undefined"!=typeof RTCIceGatherer;var B=!1;(R.browser.isChrome&&R.browser.version>=35?B=!0:R.browser.isFirefox&&R.browser.version>=34?B=!0:R.browser.isEdge&&R.browser.version>=17?B=!0:"Android"===R.osName&&R.browser.isChrome&&(B=!0),/^(https:|chrome-extension:)$/g.test(location.protocol||""))||("undefined"!=typeof document&&"string"==typeof document.domain&&document.domain.search&&-1===document.domain.search(/localhost|127.0./g)&&(R.browser.isChrome||R.browser.isEdge||R.browser.isOpera)?B=!1:R.browser.isFirefox&&(B=!1));R.isScreenCapturingSupported=B;var I={isSupported:!1,isCreateMediaStreamSourceSupported:!1};["AudioContext","webkitAudioContext","mozAudioContext","msAudioContext"].forEach(function(e){I.isSupported||e in window&&(I.isSupported=!0,window[e]&&"createMediaStreamSource"in window[e].prototype&&(I.isCreateMediaStreamSourceSupported=!0))}),R.isAudioContextSupported=I.isSupported,R.isCreateMediaStreamSourceSupported=I.isCreateMediaStreamSourceSupported;var H=!1;R.browser.isChrome&&R.browser.version>31&&(H=!0),R.isRtpDataChannelsSupported=H;var U=!1;R.browser.isFirefox&&R.browser.version>28?U=!0:R.browser.isChrome&&R.browser.version>25?U=!0:R.browser.isOpera&&R.browser.version>=11&&(U=!0),R.isSctpDataChannelsSupported=U,R.isMobileDevice=s;var V=!1;a.getUserMedia?V=!0:a.mediaDevices&&a.mediaDevices.getUserMedia&&(V=!0),R.browser.isChrome&&R.browser.version>=46&&!/^(https:|chrome-extension:)$/g.test(location.protocol||"")&&"undefined"!=typeof document&&"string"==typeof document.domain&&document.domain.search&&-1===document.domain.search(/localhost|127.0./g)&&(V="Requires HTTPs"),"Nodejs"===R.osName&&(V=!1),R.isGetUserMediaSupported=V;var W,Y,G,K="";screen.width&&(K+=(screen.width?screen.width:"")+" x "+(screen.height?screen.height:""));R.displayResolution=K,R.displayAspectRatio=(W=screen.width,Y=screen.height,G=function e(t,n){return 0==n?t:e(n,t%n)}(W,Y),W/G/(Y/G)).toFixed(2),R.isCanvasSupportsStreamCapturing=x,R.isVideoSupportsStreamCapturing=k,"Chrome"==R.browser.name&&R.browser.version>=53&&(R.isCanvasSupportsStreamCapturing||(R.isCanvasSupportsStreamCapturing="Requires chrome flag: enable-experimental-web-platform-features"),R.isVideoSupportsStreamCapturing||(R.isVideoSupportsStreamCapturing="Requires chrome flag: enable-experimental-web-platform-features")),R.DetectLocalIPAddress=function(e,t){if(R.isWebRTCSupported){var n=!0,i=!0;!function(e,t){if("undefined"!=typeof document&&"function"==typeof document.getElementById){var n={},i=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;if(!i){var o=document.getElementById("iframe");if(!o)return;var r=o.contentWindow;i=r.RTCPeerConnection||r.mozRTCPeerConnection||r.webkitRTCPeerConnection}if(i){var a=null;"Chrome"===R.browser&&R.browser.version<58&&(a={optional:[{RtpDataChannels:!0}]});var s=new i({iceServers:[{urls:"stun:stun.l.google.com:19302"}]},a);if(t&&(s.addStream?s.addStream(t):s.addTrack&&t.getTracks()[0]&&s.addTrack(t.getTracks()[0],t)),s.onicecandidate=function(e){e.candidate&&e.candidate.candidate?l(e.candidate.candidate):l()},!t)try{s.createDataChannel("sctp",{})}catch(e){}R.isPromisesSupported?s.createOffer().then(function(e){s.setLocalDescription(e).then(c)}):s.createOffer(function(e){s.setLocalDescription(e,c,function(){})},function(){})}}function l(t){if(t){var i=C.exec(t);if(i){var o=i[1],r=t.match(A);void 0===n[o]&&e(o,r,!0),n[o]=!0}}else e()}function c(){var e=s.localDescription.sdp.split("\n");e.forEach(function(e){e&&0===e.indexOf("a=candidate:")&&l(e)})}}(function(t){t?t.match(A)?e("Local: "+t,n=!1,i):t.match(M)?e("Public: "+t,n,i=!1):e("Public: "+t,n,i):e()},t)}},R.isWebSocketsSupported="WebSocket"in window&&2===window.WebSocket.CLOSING,R.isWebSocketsBlocked=!R.isWebSocketsSupported,"Nodejs"===R.osName&&(R.isWebSocketsSupported=!0,R.isWebSocketsBlocked=!1),R.checkWebSocketsSupport=function(e){e=e||function(){};try{var t,n=new WebSocket("wss://echo.websocket.org:443/");n.onopen=function(){R.isWebSocketsBlocked=!1,t=(new Date).getTime(),n.send("ping")},n.onmessage=function(){R.WebsocketLatency=(new Date).getTime()-t+"ms",e(),n.close(),n=null},n.onerror=function(){R.isWebSocketsBlocked=!0,e()}}catch(t){R.isWebSocketsBlocked=!0,e()}},R.load=function(e){D(e=e||function(){})},R.MediaDevices=void 0!==P?P:[],R.hasMicrophone=$,R.hasSpeakers=j,R.hasWebcam=q,R.isWebsiteHasWebcamPermissions=F,R.isWebsiteHasMicrophonePermissions=L,R.audioInputDevices=O,R.audioOutputDevices=T,R.videoInputDevices=E;var J=!1;"undefined"!=typeof document&&"function"==typeof document.createElement&&"setSinkId"in document.createElement("video")&&(J=!0),R.isSetSinkIdSupported=J;var X=!1;R.browser.isFirefox&&"undefined"!=typeof mozRTCPeerConnection?"getSenders"in mozRTCPeerConnection.prototype&&(X=!0):R.browser.isChrome&&"undefined"!=typeof webkitRTCPeerConnection&&"getSenders"in webkitRTCPeerConnection.prototype&&(X=!0),R.isRTPSenderReplaceTracksSupported=X;var Z=!1;R.browser.isFirefox&&R.browser.version>38&&(Z=!0),R.isRemoteStreamProcessingSupported=Z;var Q=!1;void 0!==S&&"applyConstraints"in S.prototype&&(Q=!0),R.isApplyConstraintsSupported=Q;var ee=!1;R.browser.isFirefox&&R.browser.version>=43&&(ee=!0),R.isMultiMonitorScreenCapturingSupported=ee,R.isPromisesSupported=!!("Promise"in window),R.version="1.3.9",void 0===R&&(window.DetectRTC={});var te=window.MediaStream;void 0===te&&"undefined"!=typeof webkitMediaStream&&(te=webkitMediaStream),R.MediaStream=void 0!==te&&"function"==typeof te&&Object.keys(te.prototype),R.MediaStreamTrack=void 0!==S&&Object.keys(S.prototype);var ne=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;R.RTCPeerConnection=void 0!==ne&&Object.keys(ne.prototype),window.DetectRTC=R,void 0!==t&&(t.exports=R),"function"==typeof define&&define.amd&&define("DetectRTC",[],function(){return R})}(),"undefined"!=typeof cordova&&(DetectRTC.isMobileDevice=!0,DetectRTC.browser.name="Chrome"),navigator&&navigator.userAgent&&-1!==navigator.userAgent.indexOf("Crosswalk")&&(DetectRTC.isMobileDevice=!0,DetectRTC.browser.name="Chrome"),window.addEventListener||(window.addEventListener=function(e,t,n){e.attachEvent&&e.attachEvent("on"+t,n)}),window.attachEventListener=function(e,t,n,i){e.addEventListener(t,n,i)};var g=window.MediaStream;function v(e,t){return(!e.session.audio||"two-way"!==e.session.audio)&&("Firefox"===DetectRTC.browser.name&&!1!==t||!("Chrome"!==DetectRTC.browser.name||DetectRTC.browser.version<50)&&(!0===typeof t||!(void 0!==t||!e.session.audio||!e.session.screen||e.session.video)&&(t=!0,!0)))}function _(e,t){return e&&e.getTracks?e.getTracks().filter(function(e){return e.kind===(t||"audio")}):[]}function b(){var e=!1;try{if("undefined"==typeof RTCRtpTransceiver)return!1;if(!("currentDirection"in RTCRtpTransceiver.prototype))return!1;var t=new w;try{t.addTransceiver("audio"),e=!0}catch(e){}t.close()}catch(t){e=!1}return e&&function(){var e=!1;try{var t=new w({sdpSemantics:"unified-plan"});try{var n=t.getConfiguration();e="unified-plan"==n.sdpSemantics||(n.sdpSemantics,!1)}catch(t){e=!1}}catch(t){e=!1}return e}()}function y(){if("undefined"!=typeof cordova&&void 0!==cordova.plugins&&void 0!==cordova.plugins.iosrtc){var e=cordova.plugins.iosrtc;window.webkitRTCPeerConnection=e.RTCPeerConnection,window.RTCSessionDescription=e.RTCSessionDescription,window.RTCIceCandidate=e.RTCIceCandidate,window.MediaStream=e.MediaStream,window.MediaStreamTrack=e.MediaStreamTrack,navigator.getUserMedia=navigator.webkitGetUserMedia=e.getUserMedia,e.debug.enable("iosrtc*"),"function"==typeof e.selectAudioOutput&&e.selectAudioOutput(window.iOSDefaultAudioOutputDevice||"speaker"),e.registerGlobals()}}void 0===g&&"undefined"!=typeof webkitMediaStream&&(g=webkitMediaStream),void 0!==g&&("stop"in g.prototype||(g.prototype.stop=function(){this.getTracks().forEach(function(e){e.stop()})})),window.iOSDefaultAudioOutputDevice=window.iOSDefaultAudioOutputDevice||"speaker",document.addEventListener("deviceready",y,!1),y();var w,x={};function k(e){return{OfferToReceiveAudio:!!e.OfferToReceiveAudio,OfferToReceiveVideo:!!e.OfferToReceiveVideo}}void 0!==window.RTCPeerConnection?w=window.RTCPeerConnection:"undefined"!=typeof mozRTCPeerConnection?w=mozRTCPeerConnection:"undefined"!=typeof webkitRTCPeerConnection&&(w=webkitRTCPeerConnection);var A=window.RTCSessionDescription||window.mozRTCSessionDescription,C=window.RTCIceCandidate||window.mozRTCIceCandidate,S=window.MediaStreamTrack;function M(e){if(void 0!==window.RTCPeerConnection?w=window.RTCPeerConnection:"undefined"!=typeof mozRTCPeerConnection?w=mozRTCPeerConnection:"undefined"!=typeof webkitRTCPeerConnection&&(w=webkitRTCPeerConnection),A=window.RTCSessionDescription||window.mozRTCSessionDescription,C=window.RTCIceCandidate||window.mozRTCIceCandidate,S=window.MediaStreamTrack,!w)throw"WebRTC 1.0 (RTCPeerConnection) API are NOT available in this browser.";var t=e.rtcMultiConnection;this.extra=e.remoteSdp?e.remoteSdp.extra:t.extra,this.userid=e.userid,this.streams=[],this.channels=e.channels||[],this.connectionDescription=e.connectionDescription,this.addStream=function(e){t.addStream(e,n.userid)},this.removeStream=function(e){t.removeStream(e,n.userid)};var n=this;e.remoteSdp&&(this.connectionDescription=e.remoteSdp.connectionDescription);var i,o={};x.sdpConstraints=k({OfferToReceiveAudio:!0,OfferToReceiveVideo:!0});var r=!!e.renegotiatingPeer;e.remoteSdp&&(r=!!e.remoteSdp.renegotiatingPeer);var a=[];if(t.attachStreams.forEach(function(e){e&&a.push(e)}),r)i=e.peerRef;else{var s="all";(t.candidates.turn||t.candidates.relay)&&(t.candidates.stun||t.candidates.reflexive||t.candidates.host||(s="relay"));try{var l={iceServers:t.iceServers,iceTransportPolicy:t.iceTransportPolicy||s};void 0!==t.iceCandidatePoolSize&&(l.iceCandidatePoolSize=t.iceCandidatePoolSize),void 0!==t.bundlePolicy&&(l.bundlePolicy=t.bundlePolicy),void 0!==t.rtcpMuxPolicy&&(l.rtcpMuxPolicy=t.rtcpMuxPolicy),t.sdpSemantics&&(l.sdpSemantics=t.sdpSemantics||"unified-plan"),t.iceServers&&t.iceServers.length||(l=null,t.optionalArgument=null),i=new w(l,t.optionalArgument)}catch(e){try{l={iceServers:t.iceServers};i=new w(l)}catch(e){i=new w}}}!i.getRemoteStreams&&i.getReceivers&&(i.getRemoteStreams=function(){var e=new g;return i.getReceivers().forEach(function(t){e.addTrack(t.track)}),[e]}),!i.getLocalStreams&&i.getSenders&&(i.getLocalStreams=function(){var e=new g;return i.getSenders().forEach(function(t){e.addTrack(t.track)}),[e]}),i.onicecandidate=function(o){if(o.candidate)t.trickleIce&&e.onLocalCandidate({candidate:o.candidate.candidate,sdpMid:o.candidate.sdpMid,sdpMLineIndex:o.candidate.sdpMLineIndex});else if(!t.trickleIce){var r=i.localDescription;e.onLocalSdp({type:r.type,sdp:r.sdp,remotePeerSdpConstraints:e.remotePeerSdpConstraints||!1,renegotiatingPeer:!!e.renegotiatingPeer||!1,connectionDescription:n.connectionDescription,dontGetRemoteStream:!!e.dontGetRemoteStream,extra:t?t.extra:{},streamsToShare:f})}},a.forEach(function(o){e.remoteSdp&&e.remoteSdp.remotePeerSdpConstraints&&e.remoteSdp.remotePeerSdpConstraints.dontGetRemoteStream||e.dontAttachLocalStream||(o=t.beforeAddingStream(o,n))&&(i.getLocalStreams().forEach(function(e){o&&e.id==o.id&&(o=null)}),o&&o.getTracks&&o.getTracks().forEach(function(e){try{i.addTrack(e,o)}catch(e){}}))}),i.oniceconnectionstatechange=i.onsignalingstatechange=function(){var o=n.extra;t.peers[n.userid]&&(o=t.peers[n.userid].extra||o),i&&(e.onPeerStateChanged({iceConnectionState:i.iceConnectionState,iceGatheringState:i.iceGatheringState,signalingState:i.signalingState,extra:o,userid:n.userid}),i&&i.iceConnectionState&&-1!==i.iceConnectionState.search(/closed|failed/gi)&&n.streams instanceof Array&&n.streams.forEach(function(e){var n=t.streamEvents[e.id]||{streamid:e.id,stream:e,type:"remote"};t.onstreamended(n)}))};var c={OfferToReceiveAudio:!!a.length,OfferToReceiveVideo:!!a.length};e.localPeerSdpConstraints&&(c=e.localPeerSdpConstraints),x.sdpConstraints=k(c);var u={};i.ontrack=function(t){if(t&&"track"===t.type)if(t.stream=t.streams[t.streams.length-1],t.stream.id||(t.stream.id=t.track.id),u[t.stream.id]&&"Safari"!==DetectRTC.browser.name)t.track&&(t.track.onended=function(){i&&i.onremovestream(t)});else{u[t.stream.id]=t.stream.id;var n={};e.remoteSdp&&e.remoteSdp.streamsToShare?n=e.remoteSdp.streamsToShare:e.streamsToShare&&(n=e.streamsToShare);var r=n[t.stream.id];r?(t.stream.isAudio=r.isAudio,t.stream.isVideo=r.isVideo,t.stream.isScreen=r.isScreen):(t.stream.isVideo=!!_(t.stream,"video").length,t.stream.isAudio=!t.stream.isVideo,t.stream.isScreen=!1),t.stream.streamid=t.stream.id,o[t.stream.id]=t.stream,e.onRemoteStream(t.stream),t.stream.getTracks().forEach(function(e){e.onended=function(){i&&i.onremovestream(t)}}),t.stream.onremovetrack=function(){i&&i.onremovestream(t)}}},i.onremovestream=function(t){t.stream.streamid=t.stream.id,o[t.stream.id]&&delete o[t.stream.id],e.onRemoteStreamRemoved(t.stream)},"function"!=typeof i.removeStream&&(i.removeStream=function(e){e.getTracks().forEach(function(t){i.removeTrack(t,e)})}),this.addRemoteCandidate=function(e){i.addIceCandidate(new C(e))},this.addRemoteSdp=function(e,n){n=n||function(){},"Safari"!==DetectRTC.browser.name&&(e.sdp=t.processSdp(e.sdp)),i.setRemoteDescription(new A(e)).then(n,function(i){t.enableLogs&&console.error("setRemoteDescription failed","\n",i,"\n",e.sdp),n()}).catch(function(i){t.enableLogs&&console.error("setRemoteDescription failed","\n",i,"\n",e.sdp),n()})};var d=!0;function p(t){t.binaryType="arraybuffer",t.onmessage=function(t){e.onDataChannelMessage(t.data)},t.onopen=function(){e.onDataChannelOpened(t)},t.onerror=function(t){e.onDataChannelError(t)},t.onclose=function(t){e.onDataChannelClosed(t)},t.internalSend=t.send,t.send=function(e){"open"===t.readyState&&t.internalSend(e)},i.channel=t}e.remoteSdp&&(d=!1),this.createDataChannel=function(){p(i.createDataChannel("sctp",{}))},!0!==t.session.data||r||(d?this.createDataChannel():i.ondatachannel=function(e){p(e.channel)}),this.enableDisableVideoEncoding=function(e){var t;if(i.getSenders().forEach(function(e){t||"video"!==e.track.kind||(t=e)}),t&&t.getParameters){var n=t.getParameters();n.encodings[1]&&(n.encodings[1].active=!!e),n.encodings[2]&&(n.encodings[2].active=!!e),t.setParameters(n)}},e.remoteSdp&&(e.remoteSdp.remotePeerSdpConstraints&&(c=e.remoteSdp.remotePeerSdpConstraints),x.sdpConstraints=k(c),this.addRemoteSdp(e.remoteSdp,function(){m("createAnswer")})),"two-way"!=t.session.audio&&"two-way"!=t.session.video&&"two-way"!=t.session.screen||(x.sdpConstraints=k({OfferToReceiveAudio:"two-way"==t.session.audio||e.remoteSdp&&e.remoteSdp.remotePeerSdpConstraints&&e.remoteSdp.remotePeerSdpConstraints.OfferToReceiveAudio,OfferToReceiveVideo:"two-way"==t.session.video||"two-way"==t.session.screen||e.remoteSdp&&e.remoteSdp.remotePeerSdpConstraints&&e.remoteSdp.remotePeerSdpConstraints.OfferToReceiveAudio}));var f={};function m(o){i[o](x.sdpConstraints).then(function(o){"Safari"!==DetectRTC.browser.name&&(o.sdp=t.processSdp(o.sdp)),i.setLocalDescription(o).then(function(){t.trickleIce&&(e.onLocalSdp({type:o.type,sdp:o.sdp,remotePeerSdpConstraints:e.remotePeerSdpConstraints||!1,renegotiatingPeer:!!e.renegotiatingPeer||!1,connectionDescription:n.connectionDescription,dontGetRemoteStream:!!e.dontGetRemoteStream,extra:t?t.extra:{},streamsToShare:f}),t.onSettingLocalDescription(n))},function(e){t.enableLogs&&console.error("setLocalDescription error",e)})},function(e){t.enableLogs&&console.error("sdp-error",e)})}i.getLocalStreams().forEach(function(e){f[e.streamid]={isAudio:!!e.isAudio,isVideo:!!e.isVideo,isScreen:!!e.isScreen}}),d&&m("createOffer"),i.nativeClose=i.close,i.close=function(){if(i){try{i.nativeClose!==i.close&&i.nativeClose()}catch(e){}i=null,n.peer=null}},this.peer=i}var P=function(){function e(e,i){var o=n(e);return o.videoCodecNumbers?"vp8"===i&&o.vp8LineNumber===o.videoCodecNumbers[0]?e:"vp9"===i&&o.vp9LineNumber===o.videoCodecNumbers[0]?e:"h264"===i&&o.h264LineNumber===o.videoCodecNumbers[0]?e:e=t(e,i,o):e}function t(e,t,n,i){var o="";if("vp8"===t){if(!n.vp8LineNumber)return e;o=n.vp8LineNumber}if("vp9"===t){if(!n.vp9LineNumber)return e;o=n.vp9LineNumber}if("h264"===t){if(!n.h264LineNumber)return e;o=n.h264LineNumber}var r=n.videoCodecNumbersOriginal.split("SAVPF")[0]+"SAVPF ",a=[o];return i&&(a=[]),n.videoCodecNumbers.forEach(function(e){e!==o&&a.push(e)}),r+=a.join(" "),e=e.replace(n.videoCodecNumbersOriginal,r)}function n(e){var t={};return e.split("\n").forEach(function(e){0===e.indexOf("m=video")&&(t.videoCodecNumbers=[],e.split("SAVPF")[1].split(" ").forEach(function(n){(n=n.trim())&&n.length&&(t.videoCodecNumbers.push(n),t.videoCodecNumbersOriginal=e)})),-1===e.indexOf("VP8/90000")||t.vp8LineNumber||(t.vp8LineNumber=e.replace("a=rtpmap:","").split(" ")[0]),-1===e.indexOf("VP9/90000")||t.vp9LineNumber||(t.vp9LineNumber=e.replace("a=rtpmap:","").split(" ")[0]),-1===e.indexOf("H264/90000")||t.h264LineNumber||(t.h264LineNumber=e.replace("a=rtpmap:","").split(" ")[0])}),t}function i(e,t,n){return function(e,t,n,i,o){for(var r=-1!==n?n:e.length,a=t;a<r;++a)if(0===e[a].indexOf(i)&&(!o||-1!==e[a].toLowerCase().indexOf(o.toLowerCase())))return a;return null}(e,0,-1,t,n)}function o(e){var t=new RegExp("a=rtpmap:(\\d+) \\w+\\/\\d+"),n=e.match(t);return n&&2===n.length?n[1]:null}return{removeVPX:function(e){var i=n(e);return e=t(e=t(e,"vp9",i,!0),"vp8",i,!0)},disableNACK:function(e){if(!e||"string"!=typeof e)throw"Invalid arguments.";return e=(e=(e=(e=e.replace("a=rtcp-fb:126 nack\r\n","")).replace("a=rtcp-fb:126 nack pli\r\n","a=rtcp-fb:126 pli\r\n")).replace("a=rtcp-fb:97 nack\r\n","")).replace("a=rtcp-fb:97 nack pli\r\n","a=rtcp-fb:97 pli\r\n")},prioritize:function(e,t){if(t&&t.getSenders&&t.getSenders().length){if(!e||"string"!=typeof e)throw"Invalid arguments.";t.getSenders().forEach(function(t){for(var n=t.getParameters(),i=0;i<n.codecs.length;i++)if(n.codecs[i].mimeType==e){n.codecs.unshift(n.codecs.splice(i,1));break}t.setParameters(n)})}},removeNonG722:function(e){return e.replace(/m=audio ([0-9]+) RTP\/SAVPF ([0-9 ]*)/g,"m=audio $1 RTP/SAVPF 9")},setApplicationSpecificBandwidth:function(e,t,n){return function(e,t,n){return t?"undefined"!=typeof isFirefox&&isFirefox?e:(n&&(t.screen?t.screen<300&&console.warn("It seems that you are using wrong bandwidth value for screen. Screen sharing is expected to fail."):console.warn("It seems that you are not using bandwidth for screen. Screen sharing is expected to fail.")),t.screen&&n&&(e=(e=e.replace(/b=AS([^\r\n]+\r\n)/g,"")).replace(/a=mid:video\r\n/g,"a=mid:video\r\nb=AS:"+t.screen+"\r\n")),(t.audio||t.video)&&(e=e.replace(/b=AS([^\r\n]+\r\n)/g,"")),t.audio&&(e=e.replace(/a=mid:audio\r\n/g,"a=mid:audio\r\nb=AS:"+t.audio+"\r\n")),t.screen?e=e.replace(/a=mid:video\r\n/g,"a=mid:video\r\nb=AS:"+t.screen+"\r\n"):t.video&&(e=e.replace(/a=mid:video\r\n/g,"a=mid:video\r\nb=AS:"+t.video+"\r\n")),e):e}(e,t,n)},setVideoBitrates:function(e,t){return function(e,t){var n,r=(t=t||{}).min,a=t.max,s=e.split("\r\n"),l=i(s,"a=rtpmap","VP8/90000");if(l&&(n=o(s[l])),!n)return e;var c,u=i(s,"a=rtpmap","rtx/90000");if(u&&(c=o(s[u])),!u)return e;var d=i(s,"a=fmtp:"+c.toString());if(null!==d){var p="\r\n";p+="a=fmtp:"+n+" x-google-min-bitrate="+(r||"228")+"; x-google-max-bitrate="+(a||"228"),s[d]=s[d].concat(p),e=s.join("\r\n")}return e}(e,t)},setOpusAttributes:function(e,t){return function(e,t){t=t||{};var n,r=e.split("\r\n"),a=i(r,"a=rtpmap","opus/48000");if(a&&(n=o(r[a])),!n)return e;var s=i(r,"a=fmtp:"+n.toString());if(null===s)return e;var l="";return l+="; stereo="+(void 0!==t.stereo?t.stereo:"1"),l+="; sprop-stereo="+(void 0!==t["sprop-stereo"]?t["sprop-stereo"]:"1"),void 0!==t.maxaveragebitrate&&(l+="; maxaveragebitrate="+(t.maxaveragebitrate||1048576)),void 0!==t.maxplaybackrate&&(l+="; maxplaybackrate="+(t.maxplaybackrate||1048576)),void 0!==t.cbr&&(l+="; cbr="+(void 0!==t.cbr?t.cbr:"1")),void 0!==t.useinbandfec&&(l+="; useinbandfec="+t.useinbandfec),void 0!==t.usedtx&&(l+="; usedtx="+t.usedtx),void 0!==t.maxptime&&(l+="\r\na=maxptime:"+t.maxptime),r[s]=r[s].concat(l),e=r.join("\r\n")}(e,t)},preferVP9:function(t){return e(t,"vp9")},preferCodec:e,forceStereoAudio:function(e){for(var t=e.split("\r\n"),n=null,i=0;i<t.length;i++)if(-1!==t[i].search("opus/48000")){var o=extractSdp(t[i],/:(\d+) opus\/48000/i);break}for(i=0;i<t.length;i++)if(-1!==t[i].search("a=fmtp")&&extractSdp(t[i],/a=fmtp:(\d+)/)===o){n=i;break}return null===n?e:(t[n]=t[n].concat("; stereo=1; sprop-stereo=1"),e=t.join("\r\n"))}}}();window.BandwidthHandler=P;var O=function(){return{processCandidates:function(e,t){var n=t.candidate,i=e.candidates,o=i.stun,r=i.turn;if(h(i.reflexive)||(o=i.reflexive),h(i.relay)||(r=i.relay),(i.host||!n.match(/typ host/g))&&(r||!n.match(/typ relay/g))&&(o||!n.match(/typ srflx/g))){var a=e.iceProtocols;if((a.udp||!n.match(/ udp /g))&&(a.tcp||!n.match(/ tcp /g)))return e.enableLogs&&console.debug("Your candidate pairs:",n),{candidate:n,sdpMid:t.sdpMid,sdpMLineIndex:t.sdpMLineIndex}}}}}(),T=function(){return{getIceServers:function(e){return[{urls:["stun:stun.l.google.com:19302","stun:stun1.l.google.com:19302","stun:stun2.l.google.com:19302","stun:stun.l.google.com:19302?transport=udp"]}]}}}();function E(e){if(!0!==currentUserMediaRequest.mutex){currentUserMediaRequest.mutex=!0;var t=JSON.stringify(e.localMediaConstraints);if(currentUserMediaRequest.streams[t])r(currentUserMediaRequest.streams[t].stream,!0);else{if(!!/BB10|BlackBerry/i.test(navigator.userAgent||"")||void 0===navigator.mediaDevices||"function"!=typeof navigator.mediaDevices.getUserMedia)return navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia,void navigator.getUserMedia(e.localMediaConstraints,function(e){e.streamid=e.streamid||e.id||u(),e.idInstance=t,r(e)},function(t){e.onLocalMediaError(t,e.localMediaConstraints)});if(void 0===navigator.mediaDevices){navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;var n,i,o=function(){};navigator.mediaDevices={getUserMedia:function(e){return navigator.getUserMedia(e,function(e){e(stream),n=stream},function(e){o(e),i=e}),{then:function(e){if(!n)return e,{then:function(e){i?e(i):o=e}};e(n)}}}}}if(!0===e.localMediaConstraints.isScreen){if(navigator.mediaDevices.getDisplayMedia)navigator.mediaDevices.getDisplayMedia(e.localMediaConstraints).then(function(e){e.streamid=e.streamid||e.id||u(),e.idInstance=t,r(e)}).catch(function(t){e.onLocalMediaError(t,e.localMediaConstraints)});else{if(!navigator.getDisplayMedia)throw new Error("getDisplayMedia API is not availabe in this browser.");navigator.getDisplayMedia(e.localMediaConstraints).then(function(e){e.streamid=e.streamid||e.id||u(),e.idInstance=t,r(e)}).catch(function(t){e.onLocalMediaError(t,e.localMediaConstraints)})}return}navigator.mediaDevices.getUserMedia(e.localMediaConstraints).then(function(e){e.streamid=e.streamid||e.id||u(),e.idInstance=t,r(e)}).catch(function(t){e.onLocalMediaError(t,e.localMediaConstraints)})}}else currentUserMediaRequest.queueRequests.push(e);function r(n,i){!function(e,t){e.mandatory&&e.mandatory.chromeMediaSource?t.isScreen=!0:e.mozMediaSource||e.mediaSource?t.isScreen=!0:e.video?t.isVideo=!0:e.audio&&(t.isAudio=!0)}(e.localMediaConstraints,n);var o="ended";"oninactive"in n&&(o="inactive"),n.addEventListener(o,function(){delete currentUserMediaRequest.streams[t],currentUserMediaRequest.mutex=!1,currentUserMediaRequest.queueRequests.indexOf(e)&&(delete currentUserMediaRequest.queueRequests[currentUserMediaRequest.queueRequests.indexOf(e)],currentUserMediaRequest.queueRequests=f(currentUserMediaRequest.queueRequests))},!1),currentUserMediaRequest.streams[t]={stream:n},currentUserMediaRequest.mutex=!1,currentUserMediaRequest.queueRequests.length&&E(currentUserMediaRequest.queueRequests.shift()),e.onGettingLocalMedia(n,i)}}window.currentUserMediaRequest={streams:[],mutex:!1,queueRequests:[],remove:function(e){this.mutex=!1;var t=this.streams[e];if(t){var n=(t=t.stream).currentUserMediaRequestOptions;this.queueRequests.indexOf(n)&&(delete this.queueRequests[this.queueRequests.indexOf(n)],this.queueRequests=f(this.queueRequests)),this.streams[e].stream=null,delete this.streams[e]}}};var N=function(){function e(e){if(e)return"string"==typeof e||void 0===e?e:e.audio&&e.video?null:e.audio?"audio":e.video?"video":void 0}return{setHandlers:function(t,n,i){if(t&&t.addEventListener){if(void 0===n||1==n){var o="ended";"oninactive"in t&&(o="inactive"),t.addEventListener(o,function(){N.onSyncNeeded(this.streamid,o)},!1)}t.mute=function(o,r){o=e(o),void 0!==r&&(n=r),void 0!==o&&"audio"!=o||_(t,"audio").forEach(function(e){e.enabled=!1,i.streamEvents[t.streamid].isAudioMuted=!0}),void 0!==o&&"video"!=o||_(t,"video").forEach(function(e){e.enabled=!1}),void 0!==n&&1!=n||N.onSyncNeeded(t.streamid,"mute",o),i.streamEvents[t.streamid].muteType=o||"both",l(t,"mute",o)},t.unmute=function(o,r){o=e(o),void 0!==r&&(n=r),function(){if(i.streamEvents[t.streamid].mediaElement){var e=i.streamEvents[t.streamid].mediaElement;e.volume=0,function e(t,n,i,o){(o=(o||0)+1)>=n||setTimeout(function(){i(),e(t,n,i,o)},t)}(200,5,function(){try{e.volume+=.2}catch(t){e.volume=1}})}}(),void 0!==o&&"audio"!=o||_(t,"audio").forEach(function(e){e.enabled=!0,i.streamEvents[t.streamid].isAudioMuted=!1}),void 0!==o&&"video"!=o||(_(t,"video").forEach(function(e){e.enabled=!0}),void 0!==o&&"video"==o&&i.streamEvents[t.streamid].isAudioMuted&&function e(n){n||(n=0),++n<100&&i.streamEvents[t.streamid].isAudioMuted&&(t.mute("audio"),setTimeout(function(){e(n)},50))}()),void 0!==n&&1!=n||N.onSyncNeeded(t.streamid,"unmute",o),i.streamEvents[t.streamid].unmuteType=o||"both",l(t,"unmute",o)}}},onSyncNeeded:function(e,t,n){}}}();var $={send:function(e){var t=e.connection,n=e.channel,i=e.remoteUserId,o=e.text,r=t.chunkSize||1e3,a="",s=!1;"string"!=typeof o&&(s=!0,o=JSON.stringify(o));var l=u(),c=(new Date).getTime();!function e(o,u){var d={type:"text",uuid:l,sendingTime:c};o&&(u=o,d.packets=parseInt(u.length/r));u.length>r?d.message=u.slice(0,r):(d.message=u,d.last=!0,d.isobject=s);n.send(d,i);a=u.slice(d.message.length);a.length&&setTimeout(function(){e(null,a)},t.chunkInterval||100)}(o)}},j=function(){return{handle:function(e){var t={};e.onFileStart=function(n){var i=document.createElement("div");if(i.title=n.name,i.innerHTML="<label>0%</label> <progress></progress>",n.remoteUserId&&(i.innerHTML+=" (Sharing with:"+n.remoteUserId+")"),e.filesContainer||(e.filesContainer=document.body||document.documentElement),e.filesContainer.insertBefore(i,e.filesContainer.firstChild),!n.remoteUserId)return t[n.uuid]={div:i,progress:i.querySelector("progress"),label:i.querySelector("label")},void(t[n.uuid].progress.max=n.maxChunks);t[n.uuid]||(t[n.uuid]={}),t[n.uuid][n.remoteUserId]={div:i,progress:i.querySelector("progress"),label:i.querySelector("label")},t[n.uuid][n.remoteUserId].progress.max=n.maxChunks},e.onFileProgress=function(e){var n=t[e.uuid];n&&(e.remoteUserId&&!(n=t[e.uuid][e.remoteUserId])||(n.progress.value=e.currentPosition||e.maxChunks||n.progress.max,function(e,t){if(-1!==e.position){var n=+e.position.toFixed(2).split(".")[1]||100;t.innerHTML=n+"%"}}(n.progress,n.label)))},e.onFileEnd=function(e){var n=t[e.uuid];if(n){if(!e.remoteUserId||(n=t[e.uuid][e.remoteUserId])){var i=n.div;-1!=e.type.indexOf("image")?i.innerHTML='<a href="'+e.url+'" download="'+e.name+'">Download <strong style="color:red;">'+e.name+'</strong> </a><br /><img src="'+e.url+'" title="'+e.name+'" style="max-width: 80%;">':i.innerHTML='<a href="'+e.url+'" download="'+e.name+'">Download <strong style="color:red;">'+e.name+'</strong> </a><br /><iframe src="'+e.url+'" title="'+e.name+'" style="width: 80%;border: 0;height: inherit;margin-top:1em;"></iframe>'}}else console.error("No such progress-helper element exist.",e)}}}}(),q=function(){return{handle:function(e){e.autoTranslateText=!1,e.language="en",e.googKey="AIzaSyCgB5hmFY74WYB-EoWkhr9cAGr6TiTHrEE",e.Translator={TranslateText:function(t,n){var i=document.createElement("script");i.type="text/javascript";var o=encodeURIComponent(t),r="method"+e.token();window[r]=function(e){e.data&&e.data.translations[0]&&n?n(e.data.translations[0].translatedText):e.error&&"Daily Limit Exceeded"===e.error.message?console.error('Text translation failed. Error message: "Daily Limit Exceeded."'):e.error?console.error(e.error.message):console.error(e)};var a="https://www.googleapis.com/language/translate/v2?key="+e.googKey+"&target="+(e.language||"en-US")+"&callback=window."+r+"&q="+o;i.src=a,document.getElementsByTagName("head")[0].appendChild(i)},getListOfLanguages:function(t){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(n.readyState==XMLHttpRequest.DONE){var e=JSON.parse(n.responseText);if(e&&e.data&&e.data.languages)return void t(e.data.languages);if(e.error&&"Daily Limit Exceeded"===e.error.message)return void console.error('Text translation failed. Error message: "Daily Limit Exceeded."');if(e.error)return void console.error(e.error.message);console.error(e)}};var i="https://www.googleapis.com/language/translate/v2/languages?key="+e.googKey+"&target=en";n.open("GET",i,!0),n.send(null)}}}}}();!function(e){o=o||{useDefaultDevices:!0},e.channel=e.sessionid=(i||location.href.replace(/\/|:|#|\?|\$|\^|%|\.|`|~|!|\+|@|\[|\||]|\|*. /g,"").split("\n").join("").split("\r").join(""))+"";var t=new s(e),n={};function r(t){if(e.socketAutoReConnect=!0,e.socket)t&&t(e.socket);else{if(void 0===a)if("undefined"!=typeof FirebaseConnection)window.SocketConnection=FirebaseConnection;else{if("undefined"==typeof PubNubConnection)throw"SocketConnection.js seems missed.";window.SocketConnection=PubNubConnection}new a(e,function(n){t&&t(e.socket)})}}function l(n,i){e.socket.emit("join-room",{sessionid:e.sessionid,session:e.session,mediaConstraints:e.mediaConstraints,sdpConstraints:e.sdpConstraints,streams:h(),extra:e.extra,password:void 0!==e.password&&"object"!=typeof e.password?e.password:""},function(o,r){if(!0===o){if(e.enableLogs&&console.log("isRoomJoined: ",o," roomid: ",e.sessionid),e.peers[e.sessionid])return;t.onNegotiationNeeded(n)}!1===o&&e.enableLogs&&console.warn("isRoomJoined: ",r," roomid: ",e.sessionid),i(o,e.sessionid,r)})}function f(t){e.enableLogs&&console.log("Sending open-room signal to socket.io"),e.waitingForLocalMedia=!1,e.socket.emit("open-room",{sessionid:e.sessionid,session:e.session,mediaConstraints:e.mediaConstraints,sdpConstraints:e.sdpConstraints,streams:h(),extra:e.extra,identifier:e.publicRoomIdentifier,password:void 0!==e.password&&"object"!=typeof e.password?e.password:""},function(n,i){!0===n&&(e.enableLogs&&console.log("isRoomOpened: ",n," roomid: ",e.sessionid),t(n,e.sessionid)),!1===n&&(e.enableLogs&&console.warn("isRoomOpened: ",i," roomid: ",e.sessionid),t(n,e.sessionid,i))})}function h(){try{return e.streamEvents.selectAll("local").map(function(e){return{streamid:e.streamid,tracks:e.stream.getTracks().length}})}catch(e){return[]}}function y(n,i){if(e.dontCaptureUserMedia||n.isDataOnly)i();else{var o={};n.localPeerSdpConstraints.OfferToReceiveAudio&&(o.audio=e.mediaConstraints.audio),n.localPeerSdpConstraints.OfferToReceiveVideo&&(o.video=e.mediaConstraints.video);var r=n.session||e.session;r.oneway&&"two-way"!==r.audio&&"two-way"!==r.video&&"two-way"!==r.screen?i():(r.oneway&&r.audio&&"two-way"===r.audio&&(r={audio:!0}),(r.audio||r.video||r.screen)&&(r.screen?"Edge"===DetectRTC.browser.name?navigator.getDisplayMedia({video:!0,audio:v(e)}).then(function(n){n.isScreen=!0,t.onGettingLocalMedia(n),!r.audio&&!r.video||v(e)?i(n):e.invokeGetUserMedia(null,i)},function(e){console.error("Unable to capture screen on Edge. HTTPs and version 17+ is required.")}):e.invokeGetUserMedia({audio:v(e),video:!0,isScreen:!0},!r.audio&&!r.video||v(e)?i:e.invokeGetUserMedia(null,i)):(r.audio||r.video)&&e.invokeGetUserMedia(null,i,r)))}}function x(t,n){t?(n.audio&&_(t,"audio").forEach(function(e){e.applyConstraints(n.audio)}),n.video&&_(t,"video").forEach(function(e){e.applyConstraints(n.video)})):e.enableLogs&&console.error("No stream to applyConstraints.")}function k(n,i,o){i?t.replaceTrack(n,i,o):e.peers.getAllParticipants().forEach(function(e){t.replaceTrack(n,e,o)})}t.onGettingLocalMedia=function(t,i){if(i=i||function(){},n[t.streamid])i();else{n[t.streamid]=!0;try{t.type="local"}catch(e){}e.setStreamEndHandler(t),d(t,function(n){n.id=t.streamid,n.muted=!0,n.volume=0,-1===e.attachStreams.indexOf(t)&&e.attachStreams.push(t),void 0!==N&&N.setHandlers(t,!0,e),e.streamEvents[t.streamid]={stream:t,type:"local",mediaElement:n,userid:e.userid,extra:e.extra,streamid:t.streamid,isAudioMuted:!0};try{!function(e,t){if(t.stream&&_(t.stream,"audio").length){if(!e||!t)throw"Both arguments are required.";if(e.onspeaking&&e.onsilence){if("undefined"==typeof hark)throw"hark.js not found.";hark(t.stream,{onspeaking:function(){e.onspeaking(t)},onsilence:function(){e.onsilence(t)},onvolumechange:function(n,i){e.onvolumechange&&e.onvolumechange(merge({volume:n,threshold:i},t))}})}}}(e,e.streamEvents[t.streamid]),c(e,e.streamEvents[t.streamid]),e.onstream(e.streamEvents[t.streamid])}catch(e){}i()},e)}},t.onGettingRemoteMedia=function(t,n){try{t.type="remote"}catch(e){}e.setStreamEndHandler(t,"remote-stream"),d(t,function(i){i.id=t.streamid,void 0!==N&&N.setHandlers(t,!1,e),e.streamEvents[t.streamid]={stream:t,type:"remote",userid:n,extra:e.peers[n]?e.peers[n].extra:{},mediaElement:i,streamid:t.streamid},c(e,e.streamEvents[t.streamid]),e.onstream(e.streamEvents[t.streamid])},e)},t.onRemovingRemoteMedia=function(t,n){var i=e.streamEvents[t.streamid];i||(i={stream:t,type:"remote",userid:n,extra:e.peers[n]?e.peers[n].extra:{},streamid:t.streamid,mediaElement:e.streamEvents[t.streamid]?e.streamEvents[t.streamid].mediaElement:null}),e.peersBackup[i.userid]&&(i.extra=e.peersBackup[i.userid].extra),e.onstreamended(i),delete e.streamEvents[t.streamid]},t.onNegotiationNeeded=function(t,n,i){i=i||function(){};var o={remoteUserId:n=n||t.remoteUserId,message:t=t||"",sender:e.userid};t.remoteUserId&&t.message&&t.sender&&(o=t),r(function(){e.socket.emit(e.socketMessageEvent,o,i)})},t.onUserLeft=function(t){e.deletePeer(t)},t.disconnectWith=function(t,n){e.socket&&e.socket.emit("disconnect-with",t,n||function(){}),e.deletePeer(t)},e.socketOptions={transport:"polling"},e.openOrJoin=function(t,n){n=n||function(){},e.checkPresence(t,function(t,i){if(t){e.sessionid=i;var o,r,a=!!e.session.oneway,s=m(e.session);r={OfferToReceiveAudio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.sdpConstraints.mandatory.OfferToReceiveVideo},o={OfferToReceiveAudio:a?!!e.session.audio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:a?!!e.session.video||!!e.session.screen:e.sdpConstraints.mandatory.OfferToReceiveVideo};var c={remoteUserId:e.sessionid,message:{newParticipationRequest:!0,isOneWay:a,isDataOnly:s,localPeerSdpConstraints:o,remotePeerSdpConstraints:r},sender:e.userid};y(c.message,function(){l(c,n)})}else e.waitingForLocalMedia=!0,e.isInitiator=!0,e.sessionid=i||e.sessionid,m(e.session)?f(n):e.captureUserMedia(function(){f(n)})})},e.waitingForLocalMedia=!1,e.open=function(t,n){n=n||function(){},e.waitingForLocalMedia=!0,e.isInitiator=!0,e.sessionid=t||e.sessionid,r(function(){m(e.session)?f(n):e.captureUserMedia(function(){f(n)})})},e.peersBackup={},e.deletePeer=function(t){if(t&&e.peers[t]){var n={userid:t,extra:e.peers[t]?e.peers[t].extra:{}};if(e.peersBackup[n.userid]&&(n.extra=e.peersBackup[n.userid].extra),e.onleave(n),e.peers[t]){e.peers[t].streams.forEach(function(e){e.stop()});var i=e.peers[t].peer;if(i&&"closed"!==i.iceConnectionState)try{i.close()}catch(e){}e.peers[t]&&(e.peers[t].peer=null,delete e.peers[t])}}},e.rejoin=function(t){if(!e.isInitiator&&t&&Object.keys(t).length){var n={};e.peers[t.remoteUserId]&&(n=e.peers[t.remoteUserId].extra,e.deletePeer(t.remoteUserId)),t&&t.remoteUserId&&(e.join(t.remoteUserId),e.onReConnecting({userid:t.remoteUserId,extra:n}))}},e.join=function(t,n){e.sessionid=!!t&&(t.sessionid||t.remoteUserId||t)||e.sessionid,e.sessionid+="";var i=!1,o=!1,a=!1,s=!1;if(t&&t.session||!t||"string"==typeof t){var c=t&&t.session||e.session;a=!!c.oneway,s=m(c),o={OfferToReceiveAudio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:e.sdpConstraints.mandatory.OfferToReceiveVideo},i={OfferToReceiveAudio:a?!!e.session.audio:e.sdpConstraints.mandatory.OfferToReceiveAudio,OfferToReceiveVideo:a?!!e.session.video||!!e.session.screen:e.sdpConstraints.mandatory.OfferToReceiveVideo}}var u=function(){};"function"==typeof(n=n||{})&&(u=n,n={}),void 0!==n.localPeerSdpConstraints&&(i=n.localPeerSdpConstraints),void 0!==n.remotePeerSdpConstraints&&(o=n.remotePeerSdpConstraints),void 0!==n.isOneWay&&(a=n.isOneWay),void 0!==n.isDataOnly&&(s=n.isDataOnly);var d={remoteUserId:e.sessionid,message:{newParticipationRequest:!0,isOneWay:a,isDataOnly:s,localPeerSdpConstraints:i,remotePeerSdpConstraints:o},sender:e.userid};return y(d.message,function(){r(function(){l(d,u)})}),d},e.publicRoomIdentifier="",e.getUserMedia=e.captureUserMedia=function(n,i){n=n||function(){};var o=i||e.session;e.dontCaptureUserMedia||m(o)?n():(o.audio||o.video||o.screen)&&(o.screen?"Edge"===DetectRTC.browser.name?navigator.getDisplayMedia({video:!0,audio:v(e)}).then(function(r){if(r.isScreen=!0,t.onGettingLocalMedia(r),!o.audio&&!o.video||v(e))n(r);else{var a={};for(var s in o)"screen"!==s&&(a[s]=o[s]);e.invokeGetUserMedia(i,n,a)}},function(e){console.error("Unable to capture screen on Edge. HTTPs and version 17+ is required.")}):e.invokeGetUserMedia({audio:v(e),video:!0,isScreen:!0},function(t){if(!o.audio&&!o.video||v(e))n(t);else{var r={};for(var a in o)"screen"!==a&&(r[a]=o[a]);e.invokeGetUserMedia(i,n,r)}}):(o.audio||o.video)&&e.invokeGetUserMedia(i,n,o))},e.onbeforeunload=function(n,i){e.closeBeforeUnload&&(e.peers.getAllParticipants().forEach(function(n){t.onNegotiationNeeded({userLeft:!0},n),e.peers[n]&&e.peers[n].peer&&e.peers[n].peer.close(),delete e.peers[n]}),i||e.closeSocket(),e.isInitiator=!1)},window.ignoreBeforeUnload?e.closeBeforeUnload=!1:(e.closeBeforeUnload=!0,window.addEventListener("beforeunload",e.onbeforeunload,!1)),e.userid=u(),e.changeUserId=function(t,n){n=n||function(){},e.userid=t||u(),e.socket.emit("changed-uuid",e.userid,n)},e.extra={},e.attachStreams=[],e.session={audio:!0,video:!0},e.enableFileSharing=!1,e.bandwidth={screen:!1,audio:!1,video:!1},e.codecs={audio:"opus",video:"VP9"},e.processSdp=function(t){return b()?t:"Safari"===DetectRTC.browser.name?t:("VP8"===e.codecs.video.toUpperCase()&&(t=P.preferCodec(t,"vp8")),"VP9"===e.codecs.video.toUpperCase()&&(t=P.preferCodec(t,"vp9")),"H264"===e.codecs.video.toUpperCase()&&(t=P.preferCodec(t,"h264")),"G722"===e.codecs.audio&&(t=P.removeNonG722(t)),"Firefox"===DetectRTC.browser.name?t:((e.bandwidth.video||e.bandwidth.screen)&&(t=P.setApplicationSpecificBandwidth(t,e.bandwidth,!!e.session.screen)),e.bandwidth.video&&(t=P.setVideoBitrates(t,{min:8*e.bandwidth.video*1024,max:8*e.bandwidth.video*1024})),e.bandwidth.audio&&(t=P.setOpusAttributes(t,{maxaveragebitrate:8*e.bandwidth.audio*1024,maxplaybackrate:8*e.bandwidth.audio*1024,stereo:1,maxptime:3})),t))},void 0!==P&&(e.BandwidthHandler=e.CodecsHandler=P),e.mediaConstraints={audio:{mandatory:{},optional:e.bandwidth.audio?[{bandwidth:8*e.bandwidth.audio*1024||1048576}]:[]},video:{mandatory:{},optional:e.bandwidth.video?[{bandwidth:8*e.bandwidth.video*1024||1048576},{facingMode:"user"}]:[{facingMode:"user"}]}},"Firefox"===DetectRTC.browser.name&&(e.mediaConstraints={audio:!0,video:!0}),o.useDefaultDevices||DetectRTC.isMobileDevice||DetectRTC.load(function(){var t,n;if(DetectRTC.MediaDevices.forEach(function(i){"audioinput"===i.kind&&!1!==e.mediaConstraints.audio&&(t=i),"videoinput"===i.kind&&!1!==e.mediaConstraints.video&&(n=i)}),t){if("Firefox"===DetectRTC.browser.name)return void(!0!==e.mediaConstraints.audio?e.mediaConstraints.audio.deviceId=t.id:e.mediaConstraints.audio={deviceId:t.id});1==e.mediaConstraints.audio&&(e.mediaConstraints.audio={mandatory:{},optional:[]}),e.mediaConstraints.audio.optional||(e.mediaConstraints.audio.optional=[]);var i=[{sourceId:t.id}];e.mediaConstraints.audio.optional=i.concat(e.mediaConstraints.audio.optional)}if(n){if("Firefox"===DetectRTC.browser.name)return void(!0!==e.mediaConstraints.video?e.mediaConstraints.video.deviceId=n.id:e.mediaConstraints.video={deviceId:n.id});1==e.mediaConstraints.video&&(e.mediaConstraints.video={mandatory:{},optional:[]}),e.mediaConstraints.video.optional||(e.mediaConstraints.video.optional=[]);i=[{sourceId:n.id}];e.mediaConstraints.video.optional=i.concat(e.mediaConstraints.video.optional)}}),e.sdpConstraints={mandatory:{OfferToReceiveAudio:!0,OfferToReceiveVideo:!0},optional:[{VoiceActivityDetection:!1}]},e.sdpSemantics=null,e.iceCandidatePoolSize=null,e.bundlePolicy=null,e.rtcpMuxPolicy=null,e.iceTransportPolicy=null,e.optionalArgument={optional:[{DtlsSrtpKeyAgreement:!0},{googImprovedWifiBwe:!0},{googScreencastMinBitrate:300},{googIPv6:!0},{googDscp:!0},{googCpuUnderuseThreshold:55},{googCpuOveruseThreshold:85},{googSuspendBelowMinBitrate:!0},{googCpuOveruseDetection:!0}],mandatory:{}},e.iceServers=T.getIceServers(e),e.candidates={host:!0,stun:!0,turn:!0},e.iceProtocols={tcp:!0,udp:!0},e.onopen=function(t){e.enableLogs&&console.info("Data connection has been opened between you & ",t.userid)},e.onclose=function(t){e.enableLogs&&console.warn("Data connection has been closed between you & ",t.userid)},e.onerror=function(t){e.enableLogs&&console.error(t.userid,"data-error",t)},e.onmessage=function(t){e.enableLogs&&console.debug("data-message",t.userid,t.data)},e.send=function(t,n){e.peers.send(t,n)},e.close=e.disconnect=e.leave=function(){e.onbeforeunload(!1,!0)},e.closeEntireSession=function(t){t=t||function(){},e.socket.emit("close-entire-session",function n(){e.getAllParticipants().length?setTimeout(n,100):(e.onEntireSessionClosed({sessionid:e.sessionid,userid:e.userid,extra:e.extra}),e.changeUserId(null,function(){e.close(),t()}))})},e.onEntireSessionClosed=function(t){e.enableLogs&&console.info("Entire session is closed: ",t.sessionid,t.extra)},e.onstream=function(t){var n=e.videosContainer;n.insertBefore(t.mediaElement,n.firstChild);var i=t.mediaElement.play();void 0===i?setTimeout(function(){t.mediaElement.play()},2e3):i.catch(function(){}).then(function(){setTimeout(function(){t.mediaElement.play()},2e3)})},e.onstreamended=function(e){e.mediaElement||(e.mediaElement=document.getElementById(e.streamid)),e.mediaElement&&e.mediaElement.parentNode&&e.mediaElement.parentNode.removeChild(e.mediaElement)},e.direction="many-to-many",e.removeStream=function(t,n){var i;e.attachStreams.forEach(function(e){e.id===t&&(i=e)}),i?(e.peers.getAllParticipants().forEach(function(t){if(!n||t===n){var o=e.peers[t];try{o.peer.removeStream(i)}catch(e){}}}),e.renegotiate()):console.warn("No such stream exist.",t)},e.addStream=function(n,i){if(n.getTracks)return-1===e.attachStreams.indexOf(n)&&(n.streamid||(n.streamid=n.id),e.attachStreams.push(n)),void e.renegotiate(i);function o(t){n.streamCallback&&n.streamCallback(t),e.renegotiate(i)}m(n)?e.renegotiate(i):(n.audio||n.video||n.screen)&&(n.screen?"Edge"===DetectRTC.browser.name?navigator.getDisplayMedia({video:!0,audio:v(e)}).then(function(i){i.isScreen=!0,t.onGettingLocalMedia(i),!n.audio&&!n.video||v(e)?o(i):e.invokeGetUserMedia(null,function(e){o(e)})},function(e){console.error("Unable to capture screen on Edge. HTTPs and version 17+ is required.")}):e.invokeGetUserMedia({audio:v(e),video:!0,isScreen:!0},function(t){!n.audio&&!n.video||v(e)?o(t):e.invokeGetUserMedia(null,function(e){o(e)})}):(n.audio||n.video)&&e.invokeGetUserMedia(null,o))},e.invokeGetUserMedia=function(n,i,o){o||(o=e.session),n||(n=e.mediaConstraints),E({onGettingLocalMedia:function(e){var o=n.video;o&&(o.mediaSource||o.mozMediaSource?e.isScreen=!0:o.mandatory&&o.mandatory.chromeMediaSource&&(e.isScreen=!0)),e.isScreen||(e.isVideo=!!_(e,"video").length,e.isAudio=!e.isVideo&&_(e,"audio").length),t.onGettingLocalMedia(e,function(){"function"==typeof i&&i(e)})},onLocalMediaError:function(e,n){t.onLocalMediaError(e,n)},localMediaConstraints:n||{audio:!!o.audio&&n.audio,video:!!o.video&&n.video}})},e.applyConstraints=function(t,n){if(S&&S.prototype.applyConstraints){var i;if(n)return e.streamEvents[n]&&(i=e.streamEvents[n].stream),void x(i,t);e.attachStreams.forEach(function(e){x(e,t)})}else alert("track.applyConstraints is NOT supported in your browser.")},e.replaceTrack=function(n,i,o){if(n=n||{},w.prototype.getSenders)if(n instanceof S)k(n,i,o);else{if(n instanceof g)return _(n,"video").length&&k(_(n,"video")[0],i,!0),void(_(n,"audio").length&&k(_(n,"audio")[0],i,!1));if(m(n))throw"connection.replaceTrack requires audio and/or video and/or screen.";(n.audio||n.video||n.screen)&&(n.screen?"Edge"===DetectRTC.browser.name?navigator.getDisplayMedia({video:!0,audio:v(e)}).then(function(i){i.isScreen=!0,t.onGettingLocalMedia(i),!n.audio&&!n.video||v(e)?r(i):e.invokeGetUserMedia(null,r)},function(e){console.error("Unable to capture screen on Edge. HTTPs and version 17+ is required.")}):e.invokeGetUserMedia({audio:v(e),video:!0,isScreen:!0},!n.audio&&!n.video||v(e)?r:e.invokeGetUserMedia(null,r)):(n.audio||n.video)&&e.invokeGetUserMedia(null,r))}else e.addStream(n);function r(t){e.replaceTrack(t,i,o||n.video||n.screen)}},e.resetTrack=function(t,n){t||(t=e.getAllParticipants()),"string"==typeof t&&(t=[t]),t.forEach(function(t){var i=e.peers[t].peer;void 0!==n&&!0!==n||!i.lastVideoTrack||e.replaceTrack(i.lastVideoTrack,t,!0),void 0!==n&&!1!==n||!i.lastAudioTrack||e.replaceTrack(i.lastAudioTrack,t,!1)})},e.renegotiate=function(n){n?t.renegotiatePeer(n):e.peers.getAllParticipants().forEach(function(e){t.renegotiatePeer(e)})},e.setStreamEndHandler=function(t,n){if(t&&t.addEventListener&&(n=!!n,!t.alreadySetEndHandler)){t.alreadySetEndHandler=!0;var i="ended";"oninactive"in t&&(i="inactive"),t.addEventListener(i,function(){if(t.idInstance&¤tUserMediaRequest.remove(t.idInstance),!n){var i=[];e.attachStreams.forEach(function(e){e.id!=t.id&&i.push(e)}),e.attachStreams=i}var o=e.streamEvents[t.streamid];if(o||(o={stream:t,streamid:t.streamid,type:n?"remote":"local",userid:e.userid,extra:e.extra,mediaElement:e.streamEvents[t.streamid]?e.streamEvents[t.streamid].mediaElement:null}),n&&e.peers[o.userid]){var r=e.peers[o.userid].peer;i=[];r.getRemoteStreams().forEach(function(e){e.id!=t.id&&i.push(e)}),e.peers[o.userid].streams=i}o.userid===e.userid&&"remote"===o.type||(e.peersBackup[o.userid]&&(o.extra=e.peersBackup[o.userid].extra),e.onstreamended(o),delete e.streamEvents[t.streamid])},!1)}},e.onMediaError=function(t,n){e.enableLogs&&console.error(t,n)},e.autoCloseEntireSession=!1,e.filesContainer=e.videosContainer=document.body||document.documentElement,e.isInitiator=!1,e.shareFile=t.shareFile,void 0!==j&&j.handle(e),void 0!==q&&q.handle(e),e.token=u,e.onNewParticipant=function(t,n){e.acceptParticipationRequest(t,n)},e.acceptParticipationRequest=function(e,n){n.successCallback&&(n.successCallback(),delete n.successCallback),t.createNewPeer(e,n)},void 0!==N&&(e.StreamsHandler=N),e.onleave=function(e){},e.invokeSelectFileDialog=function(e){var t=new FileSelector;t.accept="*.*",t.selectSingleFile(e)},e.onmute=function(e){if(e&&e.mediaElement)if("both"===e.muteType||"video"===e.muteType){e.mediaElement.src=null;var t=e.mediaElement.pause();void 0!==t?t.then(function(){e.mediaElement.poster=e.snapshot||"https://cdn.webrtc-experiment.com/images/muted.png"}):e.mediaElement.poster=e.snapshot||"https://cdn.webrtc-experiment.com/images/muted.png"}else"audio"===e.muteType&&(e.mediaElement.muted=!0)},e.onunmute=function(e){e&&e.mediaElement&&e.stream&&("both"===e.unmuteType||"video"===e.unmuteType?(e.mediaElement.poster=null,e.mediaElement.srcObject=e.stream,e.mediaElement.play()):"audio"===e.unmuteType&&(e.mediaElement.muted=!1))},e.onExtraDataUpdated=function(t){t.status="online",e.onUserStatusChanged(t,!0)},e.getAllParticipants=function(t){return e.peers.getAllParticipants(t)},void 0!==N&&(N.onSyncNeeded=function(n,i,o){e.peers.getAllParticipants().forEach(function(e){t.onNegotiationNeeded({streamid:n,action:i,streamSyncNeeded:!0,type:o||"both"},e)})}),e.connectSocket=function(e){r(e)},e.closeSocket=function(){try{io.sockets={}}catch(e){}e.socket&&("function"==typeof e.socket.disconnect&&e.socket.disconnect(),"function"==typeof e.socket.resetProps&&e.socket.resetProps(),e.socket=null)},e.getSocket=function(t){return!t&&e.enableLogs&&console.warn("getSocket.callback paramter is required."),t=t||function(){},e.socket?t(e.socket):r(function(){t(e.socket)}),e.socket},e.getRemoteStreams=t.getRemoteStreams;var A=["selectFirst","selectAll","forEach"];if(e.streamEvents={selectFirst:function(t){return e.streamEvents.selectAll(t)[0]},selectAll:function(t){t||(t={local:!0,remote:!0,isScreen:!0,isAudio:!0,isVideo:!0}),"local"==t&&(t={local:!0}),"remote"==t&&(t={remote:!0}),"screen"==t&&(t={isScreen:!0}),"audio"==t&&(t={isAudio:!0}),"video"==t&&(t={isVideo:!0});var n=[];return Object.keys(e.streamEvents).forEach(function(i){var o=e.streamEvents[i];if(-1===A.indexOf(i)){var r=!0;t.local&&"local"===o.type&&(r=!1),t.remote&&"remote"===o.type&&(r=!1),t.isScreen&&o.stream.isScreen&&(r=!1),t.isVideo&&o.stream.isVideo&&(r=!1),t.isAudio&&o.stream.isAudio&&(r=!1),t.userid&&o.userid===t.userid&&(r=!1),!1===r&&n.push(o)}}),n}},e.socketURL="/",e.socketMessageEvent="RTCMultiConnection-Message",e.socketCustomEvent="RTCMultiConnection-Custom-Message",e.DetectRTC=DetectRTC,e.setCustomSocketEvent=function(t){t&&(e.socketCustomEvent=t),e.socket&&e.socket.emit("set-custom-socket-event-listener",e.socketCustomEvent)},e.getNumberOfBroadcastViewers=function(t,n){e.socket&&t&&n&&e.socket.emit("get-number-of-users-in-specific-broadcast",t,n)},e.onNumberOfBroadcastViewersUpdated=function(t){e.enableLogs&&e.isInitiator&&console.info("Number of broadcast (",t.broadcastId,") viewers",t.numberOfBroadcastViewers)},e.onUserStatusChanged=function(t,n){e.enableLogs&&!n&&console.info(t.userid,t.status)},e.getUserMediaHandler=E,e.multiPeersHandler=t,e.enableLogs=!0,e.setCustomSocketHandler=function(e){void 0!==a&&(a=e)},e.chunkSize=4e4,e.maxParticipantsAllowed=1e3,e.disconnectWith=t.disconnectWith,e.checkPresence=function(t,n){t=t||e.sessionid,"SSEConnection"!==a.name?e.socket?e.socket.emit("check-presence",t+"",function(t,i,o){e.enableLogs&&console.log("checkPresence.isRoomExist: ",t," roomid: ",i),n(t,i,o)}):e.connectSocket(function(){e.checkPresence(t,n)}):SSEConnection.checkPresence(t,function(t,i,o){if(!e.socket)return t||(e.userid=i),void e.connectSocket(function(){n(t,i,o)});n(t,i)})},e.onReadyForOffer=function(t,n){e.multiPeersHandler.createNewPeer(t,n)},e.setUserPreferences=function(t){return e.dontAttachStream&&(t.dontAttachLocalStream=!0),e.dontGetRemoteStream&&(t.dontGetRemoteStream=!0),t},e.updateExtraData=function(){e.socket.emit("extra-data-updated",e.extra)},e.enableScalableBroadcast=!1,e.maxRelayLimitPerUser=3,e.dontCaptureUserMedia=!1,e.dontAttachStream=!1,e.dontGetRemoteStream=!1,e.onReConnecting=function(t){e.enableLogs&&console.info("ReConnecting with",t.userid,"...")},e.beforeAddingStream=function(e){return e},e.beforeRemovingStream=function(e){return e},"undefined"!=typeof isChromeExtensionAvailable&&(e.checkIfChromeExtensionAvailable=isChromeExtensionAvailable),"undefined"!=typeof isFirefoxExtensionAvailable&&(e.checkIfChromeExtensionAvailable=isFirefoxExtensionAvailable),"undefined"!=typeof getChromeExtensionStatus&&(e.getChromeExtensionStatus=getChromeExtensionStatus),e.modifyScreenConstraints=function(e){return e},e.onPeerStateChanged=function(t){e.enableLogs&&-1!==t.iceConnectionState.search(/closed|failed/gi)&&console.error("Peer connection is closed between you & ",t.userid,t.extra,"state:",t.iceConnectionState)},e.isOnline=!0,p("online",function(){e.isOnline=!0}),p("offline",function(){e.isOnline=!1}),e.isLowBandwidth=!1,navigator&&navigator.connection&&navigator.connection.type&&(e.isLowBandwidth=-1!==navigator.connection.type.toString().toLowerCase().search(/wifi|cell/g),e.isLowBandwidth)){if(e.bandwidth={audio:!1,video:!1,screen:!1},e.mediaConstraints.audio&&e.mediaConstraints.audio.optional&&e.mediaConstraints.audio.optional.length){var C=[];e.mediaConstraints.audio.optional.forEach(function(e){void 0===e.bandwidth&&C.push(e)}),e.mediaConstraints.audio.optional=C}if(e.mediaConstraints.video&&e.mediaConstraints.video.optional&&e.mediaConstraints.video.optional.length){C=[];e.mediaConstraints.video.optional.forEach(function(e){void 0===e.bandwidth&&C.push(e)}),e.mediaConstraints.video.optional=C}}e.getExtraData=function(t,n){if(!t)throw"remoteUserId is required.";if("function"!=typeof n)return e.peers[t]?e.peers[t].extra:e.peersBackup[t]?e.peersBackup[t].extra:{};e.socket.emit("get-remote-user-extra-data",t,function(e,t,i){n(e,t,i)})},o.autoOpenOrJoin&&e.openOrJoin(e.sessionid),e.onUserIdAlreadyTaken=function(t,n){e.close(),e.closeSocket(),e.isInitiator=!1,e.userid=e.token(),e.join(e.sessionid),e.enableLogs&&console.warn("Userid already taken.",t,"Your new userid:",e.userid)},e.trickleIce=!0,e.version="3.6.9",e.onSettingLocalDescription=function(t){e.enableLogs&&console.info("Set local description for remote user",t.userid)},e.resetScreen=function(){sourceId=null,DetectRTC&&DetectRTC.screen&&delete DetectRTC.screen.sourceId,currentUserMediaRequest={streams:[],mutex:!1,queueRequests:[]}},e.autoCreateMediaElement=!0,e.password=null,e.setPassword=function(t,n){n=n||function(){},e.socket?e.socket.emit("set-password",t,n):(e.password=t,n(!0,e.sessionid,null))},e.onSocketDisconnect=function(t){e.enableLogs&&console.warn("socket.io connection is closed")},e.onSocketError=function(t){e.enableLogs&&console.warn("socket.io connection is failed")},e.errors={ROOM_NOT_AVAILABLE:"Room not available",INVALID_PASSWORD:"Invalid password",USERID_NOT_AVAILABLE:"User ID does not exist",ROOM_PERMISSION_DENIED:"Room permission denied",ROOM_FULL:"Room full",DID_NOT_JOIN_ANY_ROOM:"Did not join any room yet",INVALID_SOCKET:"Invalid socket",PUBLIC_IDENTIFIER_MISSING:"publicRoomIdentifier is required",INVALID_ADMIN_CREDENTIAL:"Invalid username or password attempted"}}(this)};void 0!==t&&(t.exports=i),"function"==typeof define&&define.amd&&define("RTCMultiConnection",[],function(){return i})}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:113}],130:[function(e,t,n){"use strict";var i={generateIdentifier:function(){return Math.random().toString(36).substr(2,10)}};i.localCName=i.generateIdentifier(),i.splitLines=function(e){return e.trim().split("\n").map(function(e){return e.trim()})},i.splitSections=function(e){return e.split("\nm=").map(function(e,t){return(t>0?"m="+e:e).trim()+"\r\n"})},i.matchPrefix=function(e,t){return i.splitLines(e).filter(function(e){return 0===e.indexOf(t)})},i.parseCandidate=function(e){for(var t,n={foundation:(t=0===e.indexOf("a=candidate:")?e.substring(12).split(" "):e.substring(10).split(" "))[0],component:t[1],protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],port:parseInt(t[5],10),type:t[7]},i=8;i<t.length;i+=2)switch(t[i]){case"raddr":n.relatedAddress=t[i+1];break;case"rport":n.relatedPort=parseInt(t[i+1],10);break;case"tcptype":n.tcpType=t[i+1];break;default:n[t[i]]=t[i+1]}return n},i.writeCandidate=function(e){var t=[];t.push(e.foundation),t.push(e.component),t.push(e.protocol.toUpperCase()),t.push(e.priority),t.push(e.ip),t.push(e.port);var n=e.type;return t.push("typ"),t.push(n),"host"!==n&&e.relatedAddress&&e.relatedPort&&(t.push("raddr"),t.push(e.relatedAddress),t.push("rport"),t.push(e.relatedPort)),e.tcpType&&"tcp"===e.protocol.toLowerCase()&&(t.push("tcptype"),t.push(e.tcpType)),"candidate:"+t.join(" ")},i.parseIceOptions=function(e){return e.substr(14).split(" ")},i.parseRtpMap=function(e){var t=e.substr(9).split(" "),n={payloadType:parseInt(t.shift(),10)};return t=t[0].split("/"),n.name=t[0],n.clockRate=parseInt(t[1],10),n.numChannels=3===t.length?parseInt(t[2],10):1,n},i.writeRtpMap=function(e){var t=e.payloadType;return void 0!==e.preferredPayloadType&&(t=e.preferredPayloadType),"a=rtpmap:"+t+" "+e.name+"/"+e.clockRate+(1!==e.numChannels?"/"+e.numChannels:"")+"\r\n"},i.parseExtmap=function(e){var t=e.substr(9).split(" ");return{id:parseInt(t[0],10),direction:t[0].indexOf("/")>0?t[0].split("/")[1]:"sendrecv",uri:t[1]}},i.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+"\r\n"},i.parseFmtp=function(e){for(var t,n={},i=e.substr(e.indexOf(" ")+1).split(";"),o=0;o<i.length;o++)n[(t=i[o].trim().split("="))[0].trim()]=t[1];return n},i.writeFmtp=function(e){var t="",n=e.payloadType;if(void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.parameters&&Object.keys(e.parameters).length){var i=[];Object.keys(e.parameters).forEach(function(t){i.push(t+"="+e.parameters[t])}),t+="a=fmtp:"+n+" "+i.join(";")+"\r\n"}return t},i.parseRtcpFb=function(e){var t=e.substr(e.indexOf(" ")+1).split(" ");return{type:t.shift(),parameter:t.join(" ")}},i.writeRtcpFb=function(e){var t="",n=e.payloadType;return void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.rtcpFeedback&&e.rtcpFeedback.length&&e.rtcpFeedback.forEach(function(e){t+="a=rtcp-fb:"+n+" "+e.type+(e.parameter&&e.parameter.length?" "+e.parameter:"")+"\r\n"}),t},i.parseSsrcMedia=function(e){var t=e.indexOf(" "),n={ssrc:parseInt(e.substr(7,t-7),10)},i=e.indexOf(":",t);return i>-1?(n.attribute=e.substr(t+1,i-t-1),n.value=e.substr(i+1)):n.attribute=e.substr(t+1),n},i.getMid=function(e){var t=i.matchPrefix(e,"a=mid:")[0];if(t)return t.substr(6)},i.parseFingerprint=function(e){var t=e.substr(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1]}},i.getDtlsParameters=function(e,t){return{role:"auto",fingerprints:i.matchPrefix(e+t,"a=fingerprint:").map(i.parseFingerprint)}},i.writeDtlsParameters=function(e,t){var n="a=setup:"+t+"\r\n";return e.fingerprints.forEach(function(e){n+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"}),n},i.getIceParameters=function(e,t){var n=i.splitLines(e);return{usernameFragment:(n=n.concat(i.splitLines(t))).filter(function(e){return 0===e.indexOf("a=ice-ufrag:")})[0].substr(12),password:n.filter(function(e){return 0===e.indexOf("a=ice-pwd:")})[0].substr(10)}},i.writeIceParameters=function(e){return"a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n"},i.parseRtpParameters=function(e){for(var t={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},n=i.splitLines(e)[0].split(" "),o=3;o<n.length;o++){var r=n[o],a=i.matchPrefix(e,"a=rtpmap:"+r+" ")[0];if(a){var s=i.parseRtpMap(a),l=i.matchPrefix(e,"a=fmtp:"+r+" ");switch(s.parameters=l.length?i.parseFmtp(l[0]):{},s.rtcpFeedback=i.matchPrefix(e,"a=rtcp-fb:"+r+" ").map(i.parseRtcpFb),t.codecs.push(s),s.name.toUpperCase()){case"RED":case"ULPFEC":t.fecMechanisms.push(s.name.toUpperCase())}}}return i.matchPrefix(e,"a=extmap:").forEach(function(e){t.headerExtensions.push(i.parseExtmap(e))}),t},i.writeRtpDescription=function(e,t){var n="";n+="m="+e+" ",n+=t.codecs.length>0?"9":"0",n+=" UDP/TLS/RTP/SAVPF ",n+=t.codecs.map(function(e){return void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType}).join(" ")+"\r\n",n+="c=IN IP4 0.0.0.0\r\n",n+="a=rtcp:9 IN IP4 0.0.0.0\r\n",t.codecs.forEach(function(e){n+=i.writeRtpMap(e),n+=i.writeFmtp(e),n+=i.writeRtcpFb(e)});var o=0;return t.codecs.forEach(function(e){e.maxptime>o&&(o=e.maxptime)}),o>0&&(n+="a=maxptime:"+o+"\r\n"),n+="a=rtcp-mux\r\n",t.headerExtensions.forEach(function(e){n+=i.writeExtmap(e)}),n},i.parseRtpEncodingParameters=function(e){var t,n=[],o=i.parseRtpParameters(e),r=-1!==o.fecMechanisms.indexOf("RED"),a=-1!==o.fecMechanisms.indexOf("ULPFEC"),s=i.matchPrefix(e,"a=ssrc:").map(function(e){return i.parseSsrcMedia(e)}).filter(function(e){return"cname"===e.attribute}),l=s.length>0&&s[0].ssrc,c=i.matchPrefix(e,"a=ssrc-group:FID").map(function(e){var t=e.split(" ");return t.shift(),t.map(function(e){return parseInt(e,10)})});c.length>0&&c[0].length>1&&c[0][0]===l&&(t=c[0][1]),o.codecs.forEach(function(e){if("RTX"===e.name.toUpperCase()&&e.parameters.apt){var i={ssrc:l,codecPayloadType:parseInt(e.parameters.apt,10),rtx:{ssrc:t}};n.push(i),r&&((i=JSON.parse(JSON.stringify(i))).fec={ssrc:t,mechanism:a?"red+ulpfec":"red"},n.push(i))}}),0===n.length&&l&&n.push({ssrc:l});var u=i.matchPrefix(e,"b=");return u.length&&(0===u[0].indexOf("b=TIAS:")?u=parseInt(u[0].substr(7),10):0===u[0].indexOf("b=AS:")&&(u=parseInt(u[0].substr(5),10)),n.forEach(function(e){e.maxBitrate=u})),n},i.parseRtcpParameters=function(e){var t={},n=i.matchPrefix(e,"a=ssrc:").map(function(e){return i.parseSsrcMedia(e)}).filter(function(e){return"cname"===e.attribute})[0];n&&(t.cname=n.value,t.ssrc=n.ssrc);var o=i.matchPrefix(e,"a=rtcp-rsize");t.reducedSize=o.length>0,t.compound=0===o.length;var r=i.matchPrefix(e,"a=rtcp-mux");return t.mux=r.length>0,t},i.parseMsid=function(e){var t,n=i.matchPrefix(e,"a=msid:");if(1===n.length)return{stream:(t=n[0].substr(7).split(" "))[0],track:t[1]};var o=i.matchPrefix(e,"a=ssrc:").map(function(e){return i.parseSsrcMedia(e)}).filter(function(e){return"msid"===e.attribute});return o.length>0?{stream:(t=o[0].value.split(" "))[0],track:t[1]}:void 0},i.writeSessionBoilerplate=function(){return"v=0\r\no=thisisadapterortc 8169639915646943137 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},i.writeMediaSection=function(e,t,n,o){var r=i.writeRtpDescription(e.kind,t);if(r+=i.writeIceParameters(e.iceGatherer.getLocalParameters()),r+=i.writeDtlsParameters(e.dtlsTransport.getLocalParameters(),"offer"===n?"actpass":"active"),r+="a=mid:"+e.mid+"\r\n",e.direction?r+="a="+e.direction+"\r\n":e.rtpSender&&e.rtpReceiver?r+="a=sendrecv\r\n":e.rtpSender?r+="a=sendonly\r\n":e.rtpReceiver?r+="a=recvonly\r\n":r+="a=inactive\r\n",e.rtpSender){var a="msid:"+o.id+" "+e.rtpSender.track.id+"\r\n";r+="a="+a,r+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" "+a,e.sendEncodingParameters[0].rtx&&(r+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" "+a,r+="a=ssrc-group:FID "+e.sendEncodingParameters[0].ssrc+" "+e.sendEncodingParameters[0].rtx.ssrc+"\r\n")}return r+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" cname:"+i.localCName+"\r\n",e.rtpSender&&e.sendEncodingParameters[0].rtx&&(r+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" cname:"+i.localCName+"\r\n"),r},i.getDirection=function(e,t){for(var n=i.splitLines(e),o=0;o<n.length;o++)switch(n[o]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return n[o].substr(2)}return t?i.getDirection(t):"sendrecv"},i.getKind=function(e){return i.splitLines(e)[0].split(" ")[0].substr(2)},i.isRejected=function(e){return"0"===e.split(" ",2)[1]},t.exports=i},{}],131:[function(e,t,n){(function(n){var i=e("./doc"),o=e("./query"),r=e("./snapshot-request/snapshot-version-request"),a=e("./snapshot-request/snapshot-timestamp-request"),s=e("../emitter"),l=e("../error"),c=e("../types"),u=e("../util"),d=e("../logger"),p=l.CODES;function f(e){return 0===e.readyState||1===e.readyState?"connecting":"disconnected"}function m(e){s.EventEmitter.call(this),this.collections={},this.nextQueryId=1,this.nextSnapshotRequestId=1,this.queries={},this._snapshotRequests={},this.seq=1,this.id=null,this.agent=null,this.debug=!1,this.state=f(e),this.bindToSocket(e)}function h(e,t){var n=new Error(e.message);return n.code=e.code,t&&(n.data=t),n}function g(e){return e.hasPending()}function v(e){return e.hasWritePending()}t.exports=m,s.mixin(m),m.prototype.bindToSocket=function(e){this.socket&&(this.socket.close(),this.socket.onmessage=null,this.socket.onopen=null,this.socket.onerror=null,this.socket.onclose=null),this.socket=e;var t=f(e);this._setState(t),this.canSend=!1;var i=this;e.onmessage=function(e){try{var t="string"==typeof e.data?JSON.parse(e.data):e.data}catch(t){return void d.warn("Failed to parse message",e)}i.debug&&d.info("RECV",JSON.stringify(t));var o={data:t};if(i.emit("receive",o),o.data)try{i.handleMessage(o.data)}catch(e){n.nextTick(function(){i.emit("error",e)})}},e.onopen=function(){i._setState("connecting")},e.onerror=function(e){i.emit("connection error",e)},e.onclose=function(e){"closed"===e||"Closed"===e?i._setState("closed",e):"stopped"===e||"Stopped by server"===e?i._setState("stopped",e):i._setState("disconnected",e)}},m.prototype.handleMessage=function(e){var t=null;switch(e.error&&(t=h(e.error,e),delete e.error),e.a){case"init":return 1!==e.protocol?(t=new l(p.ERR_PROTOCOL_VERSION_NOT_SUPPORTED,"Unsupported protocol version: "+e.protocol),this.emit("error",t)):c.map[e.type]!==c.defaultType?(t=new l(p.ERR_DEFAULT_TYPE_MISMATCH,e.type+" does not match the server default type"),this.emit("error",t)):"string"!=typeof e.id?(t=new l(p.ERR_CLIENT_ID_BADLY_FORMED,"Client id must be a string"),this.emit("error",t)):(this.id=e.id,void this._setState("connected"));case"qf":return void((n=this.queries[e.id])&&n._handleFetch(t,e.data,e.extra));case"qs":return void((n=this.queries[e.id])&&n._handleSubscribe(t,e.data,e.extra));case"qu":return;case"q":var n;if(!(n=this.queries[e.id]))return;return t?n._handleError(t):(e.diff&&n._handleDiff(e.diff),void(e.hasOwnProperty("extra")&&n._handleExtra(e.extra)));case"bf":return this._handleBulkMessage(t,e,"_handleFetch");case"bs":return this._handleBulkMessage(t,e,"_handleSubscribe");case"bu":return this._handleBulkMessage(t,e,"_handleUnsubscribe");case"nf":case"nt":return this._handleSnapshotFetch(t,e);case"f":return void((i=this.getExisting(e.c,e.d))&&i._handleFetch(t,e.data));case"s":return void((i=this.getExisting(e.c,e.d))&&i._handleSubscribe(t,e.data));case"u":return void((i=this.getExisting(e.c,e.d))&&i._handleUnsubscribe(t));case"op":var i;return void((i=this.getExisting(e.c,e.d))&&i._handleOp(t,e));default:d.warn("Ignoring unrecognized message",e)}},m.prototype._handleBulkMessage=function(e,t,n){if(t.data)for(var i in t.data){var o=t.data[i];(a=this.getExisting(t.c,i))&&(e?a[n](e):o.error?a[n](h(o.error)):a[n](null,o))}else if(Array.isArray(t.b))for(var r=0;r<t.b.length;r++){i=t.b[r];(a=this.getExisting(t.c,i))&&a[n](e)}else if(t.b)for(var i in t.b){var a;(a=this.getExisting(t.c,i))&&a[n](e)}else d.error("Invalid bulk message",t)},m.prototype._reset=function(){this.seq=1,this.id=null,this.agent=null},m.prototype._setState=function(e,t){if(this.state!==e){if("connecting"===e&&"disconnected"!==this.state&&"stopped"!==this.state&&"closed"!==this.state||"connected"===e&&"connecting"!==this.state){var n=new l(p.ERR_CONNECTION_STATE_TRANSITION_INVALID,"Cannot transition directly from "+this.state+" to "+e);return this.emit("error",n)}for(var i in this.state=e,this.canSend="connected"===e,"disconnected"!==e&&"stopped"!==e&&"closed"!==e||this._reset(),this.startBulk(),this.queries){this.queries[i]._onConnectionStateChanged()}for(var o in this.collections){var r=this.collections[o];for(var i in r)r[i]._onConnectionStateChanged()}for(var i in this._snapshotRequests){this._snapshotRequests[i]._onConnectionStateChanged()}this.endBulk(),this.emit(e,t),this.emit("state",e,t)}},m.prototype.startBulk=function(){this.bulk||(this.bulk={})},m.prototype.endBulk=function(){if(this.bulk)for(var e in this.bulk){var t=this.bulk[e];this._sendBulk("f",e,t.f),this._sendBulk("s",e,t.s),this._sendBulk("u",e,t.u)}this.bulk=null},m.prototype._sendBulk=function(e,t,n){if(n){var i,o=[],r={},a=0;for(var s in n){var l=n[s];null==l?o.push(s):(r[s]=l,i=s,a++)}if(1===o.length){s=o[0];this.send({a:e,c:t,d:s})}else o.length&&this.send({a:"b"+e,c:t,b:o});if(1===a){var c=r[i];this.send({a:e,c:t,d:i,v:c})}else a&&this.send({a:"b"+e,c:t,b:r})}},m.prototype._sendAction=function(e,t,n){if(this._addDoc(t),this.bulk){var i=this.bulk[t.collection]||(this.bulk[t.collection]={}),o=i[e]||(i[e]={}),r=o.hasOwnProperty(t.id);return o[t.id]=n,r}var a={a:e,c:t.collection,d:t.id,v:n};this.send(a)},m.prototype.sendFetch=function(e){return this._sendAction("f",e,e.version)},m.prototype.sendSubscribe=function(e){return this._sendAction("s",e,e.version)},m.prototype.sendUnsubscribe=function(e){return this._sendAction("u",e)},m.prototype.sendOp=function(e,t){this._addDoc(e);var n={a:"op",c:e.collection,d:e.id,v:e.version,src:t.src,seq:t.seq};t.op&&(n.op=t.op),t.create&&(n.create=t.create),t.del&&(n.del=t.del),this.send(n)},m.prototype.send=function(e){this.debug&&d.info("SEND",JSON.stringify(e)),this.emit("send",e),this.socket.send(JSON.stringify(e))},m.prototype.close=function(){this.socket.close()},m.prototype.getExisting=function(e,t){if(this.collections[e])return this.collections[e][t]},m.prototype.get=function(e,t){var n=this.collections[e]||(this.collections[e]={}),o=n[t];return o||(o=n[t]=new i(this,e,t),this.emit("doc",o)),o},m.prototype._destroyDoc=function(e){var t=this.collections[e.collection];t&&(delete t[e.id],u.hasKeys(t)||delete this.collections[e.collection])},m.prototype._addDoc=function(e){var t=this.collections[e.collection];t||(t=this.collections[e.collection]={}),t[e.id]!==e&&(t[e.id]=e)},m.prototype._createQuery=function(e,t,n,i,r){var a=this.nextQueryId++,s=new o(e,this,a,t,n,i,r);return this.queries[a]=s,s.send(),s},m.prototype._destroyQuery=function(e){delete this.queries[e.id]},m.prototype.createFetchQuery=function(e,t,n,i){return this._createQuery("qf",e,t,n,i)},m.prototype.createSubscribeQuery=function(e,t,n,i){return this._createQuery("qs",e,t,n,i)},m.prototype.hasPending=function(){return!!(this._firstDoc(g)||this._firstQuery(g)||this._firstSnapshotRequest())},m.prototype.hasWritePending=function(){return!!this._firstDoc(v)},m.prototype.whenNothingPending=function(e){var t=this._firstDoc(g);if(t)t.once("nothing pending",this._nothingPendingRetry(e));else{var i=this._firstQuery(g);if(i)i.once("ready",this._nothingPendingRetry(e));else{var o=this._firstSnapshotRequest();o?o.once("ready",this._nothingPendingRetry(e)):n.nextTick(e)}}},m.prototype._nothingPendingRetry=function(e){var t=this;return function(){n.nextTick(function(){t.whenNothingPending(e)})}},m.prototype._firstDoc=function(e){for(var t in this.collections){var n=this.collections[t];for(var i in n){var o=n[i];if(e(o))return o}}},m.prototype._firstQuery=function(e){for(var t in this.queries){var n=this.queries[t];if(e(n))return n}},m.prototype._firstSnapshotRequest=function(){for(var e in this._snapshotRequests)return this._snapshotRequests[e]},m.prototype.fetchSnapshot=function(e,t,n,i){"function"==typeof n&&(i=n,n=null);var o=this.nextSnapshotRequestId++,a=new r(this,o,e,t,n,i);this._snapshotRequests[a.requestId]=a,a.send()},m.prototype.fetchSnapshotByTimestamp=function(e,t,n,i){"function"==typeof n&&(i=n,n=null);var o=this.nextSnapshotRequestId++,r=new a(this,o,e,t,n,i);this._snapshotRequests[r.requestId]=r,r.send()},m.prototype._handleSnapshotFetch=function(e,t){var n=this._snapshotRequests[t.id];n&&(delete this._snapshotRequests[t.id],n._handleResponse(e,t))}}).call(this,e("_process"))},{"../emitter":138,"../error":139,"../logger":140,"../types":143,"../util":144,"./doc":132,"./query":134,"./snapshot-request/snapshot-timestamp-request":136,"./snapshot-request/snapshot-version-request":137,_process:113}],132:[function(e,t,n){(function(n){var i=e("../emitter"),o=e("../logger"),r=e("../error"),a=e("../types"),s=r.CODES;function l(e,t,n){i.EventEmitter.call(this),this.connection=e,this.collection=t,this.id=n,this.version=null,this.type=null,this.data=void 0,this.inflightFetch=[],this.inflightSubscribe=[],this.inflightUnsubscribe=[],this.pendingFetch=[],this.subscribed=!1,this.wantSubscribe=!1,this.inflightOp=null,this.pendingOps=[],this.type=null,this.applyStack=null,this.preventCompose=!1}function c(e,t,n){if(t){var i=e.pop();e.push(function(e){i&&i(e),n&&n(e)})}else e.push(n)}function u(e,t){if(e.del)return delete(n=t).op,delete n.create,void delete n.del;var n;if(t.del)return new r(s.ERR_DOC_WAS_DELETED,"Document was deleted");if(t.create)return new r(s.ERR_DOC_ALREADY_CREATED,"Document already created");if(t.op){if(e.create)return new r(s.ERR_DOC_ALREADY_CREATED,"Document already created");if(e.type.transformX){var i=e.type.transformX(e.op,t.op);e.op=i[0],t.op=i[1]}else{var o=e.type.transform(e.op,t.op,"left"),a=e.type.transform(t.op,e.op,"right");e.op=o,t.op=a}}}function d(e,t){for(var n=!1,i=0;i<e.length;i++){var o=e[i];o&&(o(t),n=!0)}return n}t.exports=l,i.mixin(l),l.prototype.destroy=function(e){var t=this;t.whenNothingPending(function(){t.wantSubscribe?t.unsubscribe(function(n){if(n)return e?e(n):t.emit("error",n);t.connection._destroyDoc(t),e&&e()}):(t.connection._destroyDoc(t),e&&e())})},l.prototype._setType=function(e){if("string"==typeof e&&(e=a.map[e]),e)this.type=e;else{if(null!==e){var t=new r(s.ERR_DOC_TYPE_NOT_RECOGNIZED,"Missing type "+e);return this.emit("error",t)}this.type=e,this.data=void 0}},l.prototype.ingestSnapshot=function(e,t){if(!e)return t&&t();if("number"!=typeof e.v){var n=new r(s.ERR_INGESTED_SNAPSHOT_HAS_NO_VERSION,"Missing version in ingested snapshot. "+this.collection+"."+this.id);return t?t(n):this.emit("error",n)}if(this.type||this.hasWritePending()){if(null==this.version){if(this.hasWritePending())return t&&this.once("no write pending",t);n=new r(s.ERR_DOC_MISSING_VERSION,"Cannot ingest snapshot in doc with null version. "+this.collection+"."+this.id);return t?t(n):this.emit("error",n)}return e.v>this.version?this.fetch(t):t&&t()}if(this.version>e.v)return t&&t();this.version=e.v;var i=void 0===e.type?a.defaultType:e.type;this._setType(i),this.data=this.type&&this.type.deserialize?this.type.deserialize(e.data):e.data,this.emit("load"),t&&t()},l.prototype.whenNothingPending=function(e){var t=this;n.nextTick(function(){t.hasPending()?t.once("nothing pending",e):e()})},l.prototype.hasPending=function(){return!!(this.inflightOp||this.pendingOps.length||this.inflightFetch.length||this.inflightSubscribe.length||this.inflightUnsubscribe.length||this.pendingFetch.length)},l.prototype.hasWritePending=function(){return!(!this.inflightOp&&!this.pendingOps.length)},l.prototype._emitNothingPending=function(){this.hasWritePending()||(this.emit("no write pending"),this.hasPending()||this.emit("nothing pending"))},l.prototype._emitResponseError=function(e,t){return e&&e.code===s.ERR_SNAPSHOT_READ_SILENT_REJECTION?(this.wantSubscribe=!1,t&&t(),void this._emitNothingPending()):t?(t(e),void this._emitNothingPending()):(this._emitNothingPending(),void this.emit("error",e))},l.prototype._handleFetch=function(e,t){var n=this.inflightFetch.shift();if(e)return this._emitResponseError(e,n);this.ingestSnapshot(t,n),this._emitNothingPending()},l.prototype._handleSubscribe=function(e,t){var n=this.inflightSubscribe.shift();if(e)return this._emitResponseError(e,n);this.wantSubscribe&&(this.subscribed=!0),this.ingestSnapshot(t,n),this._emitNothingPending()},l.prototype._handleUnsubscribe=function(e){var t=this.inflightUnsubscribe.shift();if(e)return this._emitResponseError(e,t);t&&t(),this._emitNothingPending()},l.prototype._handleOp=function(e,t){if(e)return this.inflightOp?(e.code===s.ERR_OP_SUBMIT_REJECTED&&(e=null),this._rollback(e)):this.emit("error",e);if(this.inflightOp&&t.src===this.inflightOp.src&&t.seq===this.inflightOp.seq)this._opAcknowledged(t);else if(null==this.version||t.v>this.version)this.fetch();else if(!(t.v<this.version)){if(this.inflightOp)if(i=u(this.inflightOp,t))return this._hardRollback(i);for(var n=0;n<this.pendingOps.length;n++){var i;if(i=u(this.pendingOps[n],t))return this._hardRollback(i)}this.version++;try{this._otApply(t,!1)}catch(e){return this._hardRollback(e)}}},l.prototype._onConnectionStateChanged=function(){if(this.connection.canSend)this.flush(),this._resubscribe();else if(this.inflightOp&&(this.pendingOps.unshift(this.inflightOp),this.inflightOp=null),this.subscribed=!1,(this.inflightFetch.length||this.inflightSubscribe.length)&&(this.pendingFetch=this.pendingFetch.concat(this.inflightFetch,this.inflightSubscribe),this.inflightFetch.length=0,this.inflightSubscribe.length=0),this.inflightUnsubscribe.length){var e=this.inflightUnsubscribe;this.inflightUnsubscribe=[],d(e)}},l.prototype._resubscribe=function(){var e=this.pendingFetch;if(this.pendingFetch=[],this.wantSubscribe)return e.length?void this.subscribe(function(t){d(e,t)}):void this.subscribe();e.length&&this.fetch(function(t){d(e,t)})},l.prototype.fetch=function(e){if(this.connection.canSend){var t=this.connection.sendFetch(this);c(this.inflightFetch,t,e)}else this.pendingFetch.push(e)},l.prototype.subscribe=function(e){if(this.wantSubscribe=!0,this.connection.canSend){var t=this.connection.sendSubscribe(this);c(this.inflightSubscribe,t,e)}else this.pendingFetch.push(e)},l.prototype.unsubscribe=function(e){if(this.wantSubscribe=!1,this.subscribed=!1,this.connection.canSend){var t=this.connection.sendUnsubscribe(this);c(this.inflightUnsubscribe,t,e)}else e&&n.nextTick(e)},l.prototype.flush=function(){this.connection.canSend&&!this.inflightOp&&!this.paused&&this.pendingOps.length&&this._sendOp()},l.prototype._otApply=function(e,t){if(e.op){if(!this.type)throw new r(s.ERR_DOC_DOES_NOT_EXIST,"Cannot apply op to uncreated document. "+this.collection+"."+this.id);if(!t&&this.type===a.defaultType&&e.op.length>1){this.applyStack||(this.applyStack=[]);for(var n=this.applyStack.length,i=0;i<e.op.length;i++){for(var o={op:[e.op[i]]},l=n;l<this.applyStack.length;l++){var c=u(this.applyStack[l],o);if(c)return this._hardRollback(c)}this.emit("before op",o.op,t),this.data=this.type.apply(this.data,o.op),this.emit("op",o.op,t)}return void this._popApplyStack(n)}return this.emit("before op",e.op,t),this.data=this.type.apply(this.data,e.op),void this.emit("op",e.op,t)}if(e.create)return this._setType(e.create.type),this.data=this.type.deserialize?this.type.createDeserialized?this.type.createDeserialized(e.create.data):this.type.deserialize(this.type.create(e.create.data)):this.type.create(e.create.data),void this.emit("create",t);if(e.del){var d=this.data;return this._setType(null),void this.emit("del",d,t)}},l.prototype._sendOp=function(){var e=this.connection.id;if(e){this.inflightOp||(this.inflightOp=this.pendingOps.shift());var t=this.inflightOp;if(!t){var n=new r(s.ERR_INFLIGHT_OP_MISSING,"No op to send on call to _sendOp");return this.emit("error",n)}t.sentAt=Date.now(),t.retries=null==t.retries?0:t.retries+1,null==t.seq&&(t.seq=this.connection.seq++),this.connection.sendOp(this,t),null==t.src&&(t.src=e)}},l.prototype._submit=function(e,t,i){if(t||(t=!0),e.op){if(!this.type){var o=new r(s.ERR_DOC_DOES_NOT_EXIST,"Cannot submit op. Document has not been created. "+this.collection+"."+this.id);return i?i(o):this.emit("error",o)}this.type.normalize&&(e.op=this.type.normalize(e.op))}try{this._pushOp(e,i),this._otApply(e,t)}catch(e){return this._hardRollback(e)}var a=this;n.nextTick(function(){a.flush()})},l.prototype._pushOp=function(e,t){if(this.applyStack)this.applyStack.push(e);else{var n=this._tryCompose(e);if(n)return void n.callbacks.push(t)}e.type=this.type,e.callbacks=[t],this.pendingOps.push(e)},l.prototype._popApplyStack=function(e){if(e>0)this.applyStack.length=e;else{var t=this.applyStack[0];if(this.applyStack=null,t)if(-1!==(i=this.pendingOps.indexOf(t)))for(var n=this.pendingOps.splice(i),i=0;i<n.length;i++){t=n[i];var o=this._tryCompose(t);o?o.callbacks=o.callbacks.concat(t.callbacks):this.pendingOps.push(t)}}},l.prototype._tryCompose=function(e){if(!this.preventCompose){var t=this.pendingOps[this.pendingOps.length-1];if(t&&!t.sentAt)return t.create&&e.op?(t.create.data=this.type.apply(t.create.data,e.op),t):t.op&&e.op&&this.type.compose?(t.op=this.type.compose(t.op,e.op),t):void 0}},l.prototype.submitOp=function(e,t,n){"function"==typeof t&&(n=t,t=null);var i={op:e},o=t&&t.source;this._submit(i,o,n)},l.prototype.create=function(e,t,n,i){if("function"==typeof t?(i=t,n=null,t=null):"function"==typeof n&&(i=n,n=null),t||(t=a.defaultType.uri),this.type){var o=new r(s.ERR_DOC_ALREADY_CREATED,"Document already exists");return i?i(o):this.emit("error",o)}var l={create:{type:t,data:e}},c=n&&n.source;this._submit(l,c,i)},l.prototype.del=function(e,t){if("function"==typeof e&&(t=e,e=null),!this.type){var n=new r(s.ERR_DOC_DOES_NOT_EXIST,"Document does not exist");return t?t(n):this.emit("error",n)}var i=e&&e.source;this._submit({del:!0},i,t)},l.prototype.pause=function(){this.paused=!0},l.prototype.resume=function(){this.paused=!1,this.flush()},l.prototype._opAcknowledged=function(e){if(this.inflightOp.create)this.version=e.v;else if(e.v!==this.version)return o.warn("Invalid version from server. Expected: "+this.version+" Received: "+e.v,e),this.fetch();this.version++,this._clearInflightOp()},l.prototype._rollback=function(e){var t=this.inflightOp;if(t.op&&t.type.invert){t.op=t.type.invert(t.op);for(var n=0;n<this.pendingOps.length;n++){var i=u(this.pendingOps[n],t);if(i)return this._hardRollback(i)}try{this._otApply(t,!1)}catch(e){return this._hardRollback(e)}this._clearInflightOp(e)}else this._hardRollback(e)},l.prototype._hardRollback=function(e){var t=[];this.inflightOp&&t.push(this.inflightOp),t=t.concat(this.pendingOps),this._setType(null),this.version=null,this.inflightOp=null,this.pendingOps=[];var n=this;this.fetch(function(){for(var i=!!t.length,o=0;o<t.length;o++)i=d(t[o].callbacks,e)&&i;if(e&&!i)return n.emit("error",e)})},l.prototype._clearInflightOp=function(e){var t=this.inflightOp;this.inflightOp=null;var n=d(t.callbacks,e);if(this.flush(),this._emitNothingPending(),e&&!n)return this.emit("error",e)}}).call(this,e("_process"))},{"../emitter":138,"../error":139,"../logger":140,"../types":143,_process:113}],133:[function(e,t,n){n.Connection=e("./connection"),n.Doc=e("./doc"),n.Error=e("../error"),n.Query=e("./query"),n.types=e("../types"),n.logger=e("../logger")},{"../error":139,"../logger":140,"../types":143,"./connection":131,"./doc":132,"./query":134}],134:[function(e,t,n){(function(n){var i=e("../emitter");function o(e,t,n,o,r,a,s){i.EventEmitter.call(this),this.action=e,this.connection=t,this.id=n,this.collection=o,this.query=r,this.results=null,a&&a.results&&(this.results=a.results,delete a.results),this.extra=void 0,this.options=a,this.callback=s,this.ready=!1,this.sent=!1}t.exports=o,i.mixin(o),o.prototype.hasPending=function(){return!this.ready},o.prototype.send=function(){if(this.connection.canSend){var e={a:this.action,id:this.id,c:this.collection,q:this.query};if(this.options&&(e.o=this.options),this.results){for(var t=[],n=0;n<this.results.length;n++){var i=this.results[n];t.push([i.id,i.version])}e.r=t}this.connection.send(e),this.sent=!0}},o.prototype.destroy=function(e){this.connection.canSend&&"qs"===this.action&&this.connection.send({a:"qu",id:this.id}),this.connection._destroyQuery(this),e&&n.nextTick(e)},o.prototype._onConnectionStateChanged=function(){this.connection.canSend&&!this.sent?this.send():this.sent=!1},o.prototype._handleFetch=function(e,t,n){this.connection._destroyQuery(this),this._handleResponse(e,t,n)},o.prototype._handleSubscribe=function(e,t,n){this._handleResponse(e,t,n)},o.prototype._handleResponse=function(e,t,n){var i=this.callback;if(this.callback=null,e)return this._finishResponse(e,i);if(!t)return this._finishResponse(null,i);var o=this,r=1,a=function(e){if(e)return o._finishResponse(e,i);--r||o._finishResponse(null,i)};if(Array.isArray(t))r+=t.length,this.results=this._ingestSnapshots(t,a),this.extra=n;else for(var s in t){r++;var l=t[s];this.connection.get(l.c||this.collection,s).ingestSnapshot(l,a)}a()},o.prototype._ingestSnapshots=function(e,t){for(var n=[],i=0;i<e.length;i++){var o=e[i],r=this.connection.get(o.c||this.collection,o.d);r.ingestSnapshot(o,t),n.push(r)}return n},o.prototype._finishResponse=function(e,t){if(this.emit("ready"),this.ready=!0,e)return this.connection._destroyQuery(this),t?t(e):this.emit("error",e);t&&t(null,this.results,this.extra)},o.prototype._handleError=function(e){this.emit("error",e)},o.prototype._handleDiff=function(e){for(var t=0;t<e.length;t++){"insert"===(n=e[t]).type&&(n.values=this._ingestSnapshots(n.values))}for(t=0;t<e.length;t++){var n;switch((n=e[t]).type){case"insert":var i=n.values;Array.prototype.splice.apply(this.results,[n.index,0].concat(i)),this.emit("insert",i,n.index);break;case"remove":var o=n.howMany||1,r=this.results.splice(n.index,o);this.emit("remove",r,n.index);break;case"move":o=n.howMany||1;var a=this.results.splice(n.from,o);Array.prototype.splice.apply(this.results,[n.to,0].concat(a)),this.emit("move",a,n.from,n.to)}}this.emit("changed",this.results)},o.prototype._handleExtra=function(e){this.extra=e,this.emit("extra",e)}}).call(this,e("_process"))},{"../emitter":138,_process:113}],135:[function(e,t,n){var i=e("../../snapshot"),o=e("../../emitter");function r(e,t,n,i,r){if(o.EventEmitter.call(this),"function"!=typeof r)throw new Error("Callback is required for SnapshotRequest");this.requestId=t,this.connection=e,this.id=i,this.collection=n,this.callback=r,this.sent=!1}t.exports=r,o.mixin(r),r.prototype.send=function(){this.connection.canSend&&(this.connection.send(this._message()),this.sent=!0)},r.prototype._onConnectionStateChanged=function(){this.connection.canSend?this.sent||this.send():this.sent=!1},r.prototype._handleResponse=function(e,t){if(this.emit("ready"),e)return this.callback(e);var n=t.meta?t.meta:null,o=new i(this.id,t.v,t.type,t.data,n);this.callback(null,o)}},{"../../emitter":138,"../../snapshot":142}],136:[function(e,t,n){var i=e("./snapshot-request"),o=e("../../util");function r(e,t,n,r,a,s){if(i.call(this,e,t,n,r,s),!o.isValidTimestamp(a))throw new Error("Snapshot timestamp must be a positive integer or null");this.timestamp=a}t.exports=r,r.prototype=Object.create(i.prototype),r.prototype._message=function(){return{a:"nt",id:this.requestId,c:this.collection,d:this.id,ts:this.timestamp}}},{"../../util":144,"./snapshot-request":135}],137:[function(e,t,n){var i=e("./snapshot-request"),o=e("../../util");function r(e,t,n,r,a,s){if(i.call(this,e,t,n,r,s),!o.isValidVersion(a))throw new Error("Snapshot version must be a positive integer or null");this.version=a}t.exports=r,r.prototype=Object.create(i.prototype),r.prototype._message=function(){return{a:"nf",id:this.requestId,c:this.collection,d:this.id,v:this.version}}},{"../../util":144,"./snapshot-request":135}],138:[function(e,t,n){var i=e("events").EventEmitter;n.EventEmitter=i,n.mixin=function(e){for(var t in i.prototype)e.prototype[t]=i.prototype[t]}},{events:61}],139:[function(e,t,n){function i(e,t){this.code=e,this.message=t||"",Error.captureStackTrace?Error.captureStackTrace(this,i):this.stack=(new Error).stack}i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i.prototype.name="ShareDBError",i.CODES={ERR_APPLY_OP_VERSION_DOES_NOT_MATCH_SNAPSHOT:"ERR_APPLY_OP_VERSION_DOES_NOT_MATCH_SNAPSHOT",ERR_APPLY_SNAPSHOT_NOT_PROVIDED:"ERR_APPLY_SNAPSHOT_NOT_PROVIDED",ERR_CLIENT_ID_BADLY_FORMED:"ERR_CLIENT_ID_BADLY_FORMED",ERR_CONNECTION_STATE_TRANSITION_INVALID:"ERR_CONNECTION_STATE_TRANSITION_INVALID",ERR_DATABASE_ADAPTER_NOT_FOUND:"ERR_DATABASE_ADAPTER_NOT_FOUND",ERR_DATABASE_DOES_NOT_SUPPORT_SUBSCRIBE:"ERR_DATABASE_DOES_NOT_SUPPORT_SUBSCRIBE",ERR_DATABASE_METHOD_NOT_IMPLEMENTED:"ERR_DATABASE_METHOD_NOT_IMPLEMENTED",ERR_DEFAULT_TYPE_MISMATCH:"ERR_DEFAULT_TYPE_MISMATCH",ERR_DOC_MISSING_VERSION:"ERR_DOC_MISSING_VERSION",ERR_DOC_ALREADY_CREATED:"ERR_DOC_ALREADY_CREATED",ERR_DOC_DOES_NOT_EXIST:"ERR_DOC_DOES_NOT_EXIST",ERR_DOC_TYPE_NOT_RECOGNIZED:"ERR_DOC_TYPE_NOT_RECOGNIZED",ERR_DOC_WAS_DELETED:"ERR_DOC_WAS_DELETED",ERR_INFLIGHT_OP_MISSING:"ERR_INFLIGHT_OP_MISSING",ERR_INGESTED_SNAPSHOT_HAS_NO_VERSION:"ERR_INGESTED_SNAPSHOT_HAS_NO_VERSION",ERR_MAX_SUBMIT_RETRIES_EXCEEDED:"ERR_MAX_SUBMIT_RETRIES_EXCEEDED",ERR_MESSAGE_BADLY_FORMED:"ERR_MESSAGE_BADLY_FORMED",ERR_MILESTONE_ARGUMENT_INVALID:"ERR_MILESTONE_ARGUMENT_INVALID",ERR_OP_ALREADY_SUBMITTED:"ERR_OP_ALREADY_SUBMITTED",ERR_OP_NOT_ALLOWED_IN_PROJECTION:"ERR_OP_NOT_ALLOWED_IN_PROJECTION",ERR_OP_SUBMIT_REJECTED:"ERR_OP_SUBMIT_REJECTED",ERR_OP_VERSION_MISMATCH_AFTER_TRANSFORM:"ERR_OP_VERSION_MISMATCH_AFTER_TRANSFORM",ERR_OP_VERSION_MISMATCH_DURING_TRANSFORM:"ERR_OP_VERSION_MISMATCH_DURING_TRANSFORM",ERR_OP_VERSION_NEWER_THAN_CURRENT_SNAPSHOT:"ERR_OP_VERSION_NEWER_THAN_CURRENT_SNAPSHOT",ERR_OT_OP_BADLY_FORMED:"ERR_OT_OP_BADLY_FORMED",ERR_OT_OP_NOT_PROVIDED:"ERR_OT_OP_NOT_PROVIDED",ERR_PROTOCOL_VERSION_NOT_SUPPORTED:"ERR_PROTOCOL_VERSION_NOT_SUPPORTED",ERR_QUERY_EMITTER_LISTENER_NOT_ASSIGNED:"ERR_QUERY_EMITTER_LISTENER_NOT_ASSIGNED",ERR_SNAPSHOT_READ_SILENT_REJECTION:"ERR_SNAPSHOT_READ_SILENT_REJECTION",ERR_SNAPSHOT_READS_REJECTED:"ERR_SNAPSHOT_READS_REJECTED",ERR_SUBMIT_TRANSFORM_OPS_NOT_FOUND:"ERR_SUBMIT_TRANSFORM_OPS_NOT_FOUND",ERR_TYPE_CANNOT_BE_PROJECTED:"ERR_TYPE_CANNOT_BE_PROJECTED",ERR_UNKNOWN_ERROR:"ERR_UNKNOWN_ERROR"},t.exports=i},{}],140:[function(e,t,n){var i=new(e("./logger"));t.exports=i},{"./logger":141}],141:[function(e,t,n){var i=["info","warn","error"];function o(){var e={};i.forEach(function(t){e[t]=console[t].bind(console)}),this.setMethods(e)}t.exports=o,o.prototype.setMethods=function(e){e=e||{};var t=this;i.forEach(function(n){"function"==typeof e[n]&&(t[n]=e[n])})}},{}],142:[function(e,t,n){t.exports=function(e,t,n,i,o){this.id=e,this.v=t,this.type=n,this.data=i,this.m=o}},{}],143:[function(e,t,n){n.defaultType=e("ot-json0").type,n.map={},n.register=function(e){e.name&&(n.map[e.name]=e),e.uri&&(n.map[e.uri]=e)},n.register(n.defaultType)},{"ot-json0":105}],144:[function(e,t,n){n.doNothing=function(){},n.hasKeys=function(e){for(var t in e)return!0;return!1},n.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},n.isValidVersion=function(e){return null===e||n.isInteger(e)&&e>=0},n.isValidTimestamp=function(e){return n.isValidVersion(e)}},{}],145:[function(e,t,n){!function(e){var n="-",i=/['"’‘”“]/g,o=!0;function r(e,t,r){-1!==[void 0,null].indexOf(e)&&(e=""),e="function"==typeof e.toString?e.toString():"";var s={};"object"==typeof t?s=t:(s.separator=t,s.toStrip=r,s.separator instanceof RegExp&&(s.toStrip=t,s.separator=n),void 0===s.toStrip&&(s.toStrip=/['"’‘”“]/g)),void 0===s.separator&&(s.separator=n),void 0===s.toStrip&&(s.toStrip=i),void 0===s.toLowerCase&&(s.toLowerCase=o),s.toLowerCase&&(e=e.toLowerCase());for(var l=0,c=e.length;l<c;l++)a[e.charAt(l)]&&(e=e.replace(e.charAt(l),a[e.charAt(l)]));return e=e.replace(s.toStrip,"").replace(/[\W|_]+/g,s.separator).replace(new RegExp("^"+s.separator+"+"),"").replace(new RegExp(s.separator+"+$"),"")}var a=r.chars={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ő":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ű":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ő":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ű":"u","ý":"y","þ":"th","ÿ":"y","ẞ":"SS","œ":"oe","Œ":"OE","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ά":"a","έ":"e","ί":"i","ό":"o","ύ":"y","ή":"h","ώ":"w","ς":"s","ϊ":"i","ΰ":"y","ϋ":"y","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ά":"A","Έ":"E","Ί":"I","Ό":"O","Ύ":"Y","Ή":"H","Ώ":"W","Ϊ":"I","Ϋ":"Y","ş":"s","Ş":"S","ı":"i","İ":"I","ğ":"g","Ğ":"G","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ё":"yo","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","э":"e","ю":"yu","я":"ya","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ё":"Yo","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Э":"E","Ю":"Yu","Я":"Ya","Є":"Ye","І":"I","Ї":"Yi","Ґ":"G","є":"ye","і":"i","ї":"yi","ґ":"g","č":"c","ď":"d","ě":"e","ň":"n","ř":"r","š":"s","ť":"t","ů":"u","ž":"z","Č":"C","Ď":"D","Ě":"E","Ň":"N","Ř":"R","Š":"S","Ť":"T","Ů":"U","Ž":"Z","ą":"a","ć":"c","ę":"e","ł":"l","ń":"n","ś":"s","ź":"z","ż":"z","Ą":"A","Ć":"C","Ę":"e","Ł":"L","Ń":"N","Ś":"S","Ź":"Z","Ż":"Z","ā":"a","ē":"e","ģ":"g","ī":"i","ķ":"k","ļ":"l","ņ":"n","ū":"u","Ā":"A","Ē":"E","Ģ":"G","Ī":"i","Ķ":"k","Ļ":"L","Ņ":"N","Ū":"u"};"undefined"!=typeof define&&define.amd?define([],function(){return r}):void 0!==t&&t.exports?t.exports=r:e.slugg=r}(this)},{}],146:[function(e,t,n){var i=e("./url"),o=e("socket.io-parser"),r=e("./manager"),a=e("debug")("socket.io-client");t.exports=n=l;var s=n.managers={};function l(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o=i(e),l=o.source,c=o.id,u=o.path,d=s[c]&&u in s[c].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||d?(a("ignoring socket cache for %s",l),n=r(l,t)):(s[c]||(a("new io instance for %s",l),s[c]=r(l,t)),n=s[c]),o.query&&!t.query&&(t.query=o.query),n.socket(o.path,t)}n.protocol=o.protocol,n.connect=l,n.Manager=e("./manager"),n.Socket=e("./socket")},{"./manager":147,"./socket":149,"./url":150,debug:42,"socket.io-parser":152}],147:[function(e,t,n){var i=e("engine.io-client"),o=e("./socket"),r=e("component-emitter"),a=e("socket.io-parser"),s=e("./on"),l=e("component-bind"),c=e("debug")("socket.io-client:manager"),u=e("indexof"),d=e("backo2"),p=Object.prototype.hasOwnProperty;function f(e,t){if(!(this instanceof f))return new f(e,t);e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.nsps={},this.subs=[],this.opts=t,this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(t.randomizationFactor||.5),this.backoff=new d({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this.readyState="closed",this.uri=e,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=t.parser||a;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==t.autoConnect,this.autoConnect&&this.open()}t.exports=f,f.prototype.emitAll=function(){for(var e in this.emit.apply(this,arguments),this.nsps)p.call(this.nsps,e)&&this.nsps[e].emit.apply(this.nsps[e],arguments)},f.prototype.updateSocketIds=function(){for(var e in this.nsps)p.call(this.nsps,e)&&(this.nsps[e].id=this.generateId(e))},f.prototype.generateId=function(e){return("/"===e?"":e+"#")+this.engine.id},r(f.prototype),f.prototype.reconnection=function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection},f.prototype.reconnectionAttempts=function(e){return arguments.length?(this._reconnectionAttempts=e,this):this._reconnectionAttempts},f.prototype.reconnectionDelay=function(e){return arguments.length?(this._reconnectionDelay=e,this.backoff&&this.backoff.setMin(e),this):this._reconnectionDelay},f.prototype.randomizationFactor=function(e){return arguments.length?(this._randomizationFactor=e,this.backoff&&this.backoff.setJitter(e),this):this._randomizationFactor},f.prototype.reconnectionDelayMax=function(e){return arguments.length?(this._reconnectionDelayMax=e,this.backoff&&this.backoff.setMax(e),this):this._reconnectionDelayMax},f.prototype.timeout=function(e){return arguments.length?(this._timeout=e,this):this._timeout},f.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},f.prototype.open=f.prototype.connect=function(e,t){if(c("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;c("opening %s",this.uri),this.engine=i(this.uri,this.opts);var n=this.engine,o=this;this.readyState="opening",this.skipReconnect=!1;var r=s(n,"open",function(){o.onopen(),e&&e()}),a=s(n,"error",function(t){if(c("connect_error"),o.cleanup(),o.readyState="closed",o.emitAll("connect_error",t),e){var n=new Error("Connection error");n.data=t,e(n)}else o.maybeReconnectOnOpen()});if(!1!==this._timeout){var l=this._timeout;c("connect attempt will timeout after %d",l);var u=setTimeout(function(){c("connect attempt timed out after %d",l),r.destroy(),n.close(),n.emit("error","timeout"),o.emitAll("connect_timeout",l)},l);this.subs.push({destroy:function(){clearTimeout(u)}})}return this.subs.push(r),this.subs.push(a),this},f.prototype.onopen=function(){c("open"),this.cleanup(),this.readyState="open",this.emit("open");var e=this.engine;this.subs.push(s(e,"data",l(this,"ondata"))),this.subs.push(s(e,"ping",l(this,"onping"))),this.subs.push(s(e,"pong",l(this,"onpong"))),this.subs.push(s(e,"error",l(this,"onerror"))),this.subs.push(s(e,"close",l(this,"onclose"))),this.subs.push(s(this.decoder,"decoded",l(this,"ondecoded")))},f.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},f.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},f.prototype.ondata=function(e){this.decoder.add(e)},f.prototype.ondecoded=function(e){this.emit("packet",e)},f.prototype.onerror=function(e){c("error",e),this.emitAll("error",e)},f.prototype.socket=function(e,t){var n=this.nsps[e];if(!n){n=new o(this,e,t),this.nsps[e]=n;var i=this;n.on("connecting",r),n.on("connect",function(){n.id=i.generateId(e)}),this.autoConnect&&r()}function r(){~u(i.connecting,n)||i.connecting.push(n)}return n},f.prototype.destroy=function(e){var t=u(this.connecting,e);~t&&this.connecting.splice(t,1),this.connecting.length||this.close()},f.prototype.packet=function(e){c("writing packet %j",e);var t=this;e.query&&0===e.type&&(e.nsp+="?"+e.query),t.encoding?t.packetBuffer.push(e):(t.encoding=!0,this.encoder.encode(e,function(n){for(var i=0;i<n.length;i++)t.engine.write(n[i],e.options);t.encoding=!1,t.processPacketQueue()}))},f.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var e=this.packetBuffer.shift();this.packet(e)}},f.prototype.cleanup=function(){c("cleanup");for(var e=this.subs.length,t=0;t<e;t++){this.subs.shift().destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},f.prototype.close=f.prototype.disconnect=function(){c("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},f.prototype.onclose=function(e){c("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()},f.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var e=this;if(this.backoff.attempts>=this._reconnectionAttempts)c("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var t=this.backoff.duration();c("will wait %dms before reconnect attempt",t),this.reconnecting=!0;var n=setTimeout(function(){e.skipReconnect||(c("attempting reconnect"),e.emitAll("reconnect_attempt",e.backoff.attempts),e.emitAll("reconnecting",e.backoff.attempts),e.skipReconnect||e.open(function(t){t?(c("reconnect attempt error"),e.reconnecting=!1,e.reconnect(),e.emitAll("reconnect_error",t.data)):(c("reconnect success"),e.onreconnect())}))},t);this.subs.push({destroy:function(){clearTimeout(n)}})}},f.prototype.onreconnect=function(){var e=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",e)}},{"./on":148,"./socket":149,backo2:32,"component-bind":38,"component-emitter":39,debug:42,"engine.io-client":49,indexof:71,"socket.io-parser":152}],148:[function(e,t,n){t.exports=function(e,t,n){return e.on(t,n),{destroy:function(){e.removeListener(t,n)}}}},{}],149:[function(e,t,n){var i=e("socket.io-parser"),o=e("component-emitter"),r=e("to-array"),a=e("./on"),s=e("component-bind"),l=e("debug")("socket.io-client:socket"),c=e("parseqs"),u=e("has-binary2");t.exports=f;var d={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},p=o.prototype.emit;function f(e,t,n){this.io=e,this.nsp=t,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}o(f.prototype),f.prototype.subEvents=function(){if(!this.subs){var e=this.io;this.subs=[a(e,"open",s(this,"onopen")),a(e,"packet",s(this,"onpacket")),a(e,"close",s(this,"onclose"))]}},f.prototype.open=f.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting"),this)},f.prototype.send=function(){var e=r(arguments);return e.unshift("message"),this.emit.apply(this,e),this},f.prototype.emit=function(e){if(d.hasOwnProperty(e))return p.apply(this,arguments),this;var t=r(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:u(t))?i.BINARY_EVENT:i.EVENT,data:t,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof t[t.length-1]&&(l("emitting packet with ack id %d",this.ids),this.acks[this.ids]=t.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},f.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e)},f.prototype.onopen=function(){if(l("transport is open - connecting"),"/"!==this.nsp)if(this.query){var e="object"==typeof this.query?c.encode(this.query):this.query;l("sending connect packet with query %s",e),this.packet({type:i.CONNECT,query:e})}else this.packet({type:i.CONNECT})},f.prototype.onclose=function(e){l("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",e)},f.prototype.onpacket=function(e){var t=e.nsp===this.nsp,n=e.type===i.ERROR&&"/"===e.nsp;if(t||n)switch(e.type){case i.CONNECT:this.onconnect();break;case i.EVENT:case i.BINARY_EVENT:this.onevent(e);break;case i.ACK:case i.BINARY_ACK:this.onack(e);break;case i.DISCONNECT:this.ondisconnect();break;case i.ERROR:this.emit("error",e.data)}},f.prototype.onevent=function(e){var t=e.data||[];l("emitting event %j",t),null!=e.id&&(l("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?p.apply(this,t):this.receiveBuffer.push(t)},f.prototype.ack=function(e){var t=this,n=!1;return function(){if(!n){n=!0;var o=r(arguments);l("sending ack %j",o),t.packet({type:u(o)?i.BINARY_ACK:i.ACK,id:e,data:o})}}},f.prototype.onack=function(e){var t=this.acks[e.id];"function"==typeof t?(l("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):l("bad ack %s",e.id)},f.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},f.prototype.emitBuffered=function(){var e;for(e=0;e<this.receiveBuffer.length;e++)p.apply(this,this.receiveBuffer[e]);for(this.receiveBuffer=[],e=0;e<this.sendBuffer.length;e++)this.packet(this.sendBuffer[e]);this.sendBuffer=[]},f.prototype.ondisconnect=function(){l("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},f.prototype.destroy=function(){if(this.subs){for(var e=0;e<this.subs.length;e++)this.subs[e].destroy();this.subs=null}this.io.destroy(this)},f.prototype.close=f.prototype.disconnect=function(){return this.connected&&(l("performing disconnect (%s)",this.nsp),this.packet({type:i.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},f.prototype.compress=function(e){return this.flags.compress=e,this},f.prototype.binary=function(e){return this.flags.binary=e,this}},{"./on":148,"component-bind":38,"component-emitter":39,debug:42,"has-binary2":65,parseqs:108,"socket.io-parser":152,"to-array":169}],150:[function(e,t,n){(function(n){var i=e("parseuri"),o=e("debug")("socket.io-client:url");t.exports=function(e,t){var r=e;t=t||n.location,null==e&&(e=t.protocol+"//"+t.host);"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?t.protocol+e:t.host+e),/^(https?|wss?):\/\//.test(e)||(o("protocol-less url %s",e),e=void 0!==t?t.protocol+"//"+e:"https://"+e),o("parse %s",e),r=i(e));r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443"));r.path=r.path||"/";var a=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+a+":"+r.port,r.href=r.protocol+"://"+a+(t&&t.port===r.port?"":":"+r.port),r}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{debug:42,parseuri:109}],151:[function(e,t,n){(function(t){var i=e("isarray"),o=e("./is-buffer"),r=Object.prototype.toString,a="function"==typeof t.Blob||"[object BlobConstructor]"===r.call(t.Blob),s="function"==typeof t.File||"[object FileConstructor]"===r.call(t.File);n.deconstructPacket=function(e){var t=[],n=e.data,r=e;return r.data=function e(t,n){if(!t)return t;if(o(t)){var r={_placeholder:!0,num:n.length};return n.push(t),r}if(i(t)){for(var a=new Array(t.length),s=0;s<t.length;s++)a[s]=e(t[s],n);return a}if("object"==typeof t&&!(t instanceof Date)){var a={};for(var l in t)a[l]=e(t[l],n);return a}return t}(n,t),r.attachments=t.length,{packet:r,buffers:t}},n.reconstructPacket=function(e,t){return e.data=function e(t,n){if(!t)return t;if(t&&t._placeholder)return n[t.num];if(i(t))for(var o=0;o<t.length;o++)t[o]=e(t[o],n);else if("object"==typeof t)for(var r in t)t[r]=e(t[r],n);return t}(e.data,t),e.attachments=void 0,e},n.removeBlobs=function(e,t){var n=0,r=e;!function e(l,c,u){if(!l)return l;if(a&&l instanceof Blob||s&&l instanceof File){n++;var d=new FileReader;d.onload=function(){u?u[c]=this.result:r=this.result,--n||t(r)},d.readAsArrayBuffer(l)}else if(i(l))for(var p=0;p<l.length;p++)e(l[p],p,l);else if("object"==typeof l&&!o(l))for(var f in l)e(l[f],f,l)}(r),n||t(r)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./is-buffer":153,isarray:154}],152:[function(e,t,n){var i=e("debug")("socket.io-parser"),o=e("component-emitter"),r=e("./binary"),a=e("isarray"),s=e("./is-buffer");function l(){}n.protocol=4,n.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],n.CONNECT=0,n.DISCONNECT=1,n.EVENT=2,n.ACK=3,n.ERROR=4,n.BINARY_EVENT=5,n.BINARY_ACK=6,n.Encoder=l,n.Decoder=d;var c=n.ERROR+'"encode error"';function u(e){var t=""+e.type;if(n.BINARY_EVENT!==e.type&&n.BINARY_ACK!==e.type||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data){var o=function(e){try{return JSON.stringify(e)}catch(e){return!1}}(e.data);if(!1===o)return c;t+=o}return i("encoded %j as %s",e,t),t}function d(){this.reconstructor=null}function p(e){this.reconPack=e,this.buffers=[]}function f(e){return{type:n.ERROR,data:"parser error: "+e}}l.prototype.encode=function(e,t){(i("encoding packet %j",e),n.BINARY_EVENT===e.type||n.BINARY_ACK===e.type)?function(e,t){r.removeBlobs(e,function(e){var n=r.deconstructPacket(e),i=u(n.packet),o=n.buffers;o.unshift(i),t(o)})}(e,t):t([u(e)])},o(d.prototype),d.prototype.add=function(e){var t;if("string"==typeof e)t=function(e){var t=0,o={type:Number(e.charAt(0))};if(null==n.types[o.type])return f("unknown packet type "+o.type);if(n.BINARY_EVENT===o.type||n.BINARY_ACK===o.type){for(var r="";"-"!==e.charAt(++t)&&(r+=e.charAt(t),t!=e.length););if(r!=Number(r)||"-"!==e.charAt(t))throw new Error("Illegal attachments");o.attachments=Number(r)}if("/"===e.charAt(t+1))for(o.nsp="";++t;){var s=e.charAt(t);if(","===s)break;if(o.nsp+=s,t===e.length)break}else o.nsp="/";var l=e.charAt(t+1);if(""!==l&&Number(l)==l){for(o.id="";++t;){var s=e.charAt(t);if(null==s||Number(s)!=s){--t;break}if(o.id+=e.charAt(t),t===e.length)break}o.id=Number(o.id)}if(e.charAt(++t)){var c=function(e){try{return JSON.parse(e)}catch(e){return!1}}(e.substr(t)),u=!1!==c&&(o.type===n.ERROR||a(c));if(!u)return f("invalid payload");o.data=c}return i("decoded %s as %j",e,o),o}(e),n.BINARY_EVENT===t.type||n.BINARY_ACK===t.type?(this.reconstructor=new p(t),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",t)):this.emit("decoded",t);else{if(!s(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(t=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,this.emit("decoded",t))}},d.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},p.prototype.takeBinaryData=function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=r.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null},p.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},{"./binary":151,"./is-buffer":153,"component-emitter":39,debug:42,isarray:154}],153:[function(e,t,n){(function(e){t.exports=function(t){return n&&e.Buffer.isBuffer(t)||i&&(t instanceof e.ArrayBuffer||o(t))};var n="function"==typeof e.Buffer&&"function"==typeof e.Buffer.isBuffer,i="function"==typeof e.ArrayBuffer,o=i&&"function"==typeof e.ArrayBuffer.isView?e.ArrayBuffer.isView:function(t){return t.buffer instanceof e.ArrayBuffer}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],154:[function(e,t,n){arguments[4][66][0].apply(n,arguments)},{dup:66}],155:[function(e,t,n){t.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},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="fae3")}({"00ee":function(e,t,n){var i={};i[n("b622")("toStringTag")]="z",e.exports="[object z]"===String(i)},"0273":function(e,t,n){var i=n("c1b2"),o=n("4180"),r=n("2c6c");e.exports=i?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"0363":function(e,t,n){var i=n("3ac6"),o=n("d659"),r=n("78e7"),a=n("3e80"),s=n("1e63"),l=n("62d0"),c=o("wks"),u=i.Symbol,d=l?u:a;e.exports=function(e){return r(c,e)||(s&&r(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},"057f":function(e,t,n){var i=n("fc6a"),o=n("241c").f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==r.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(i(e))}},"06cf":function(e,t,n){var i=n("83ab"),o=n("d1e7"),r=n("5c6c"),a=n("fc6a"),s=n("c04e"),l=n("5135"),c=n("0cfb"),u=Object.getOwnPropertyDescriptor;t.f=i?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return r(!o.f.call(e,t),e[t])}},"06fa":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"0aa1":function(e,t,n){var i=n("a5eb"),o=n("4fff"),r=n("a016");i({target:"Object",stat:!0,forced:n("06fa")(function(){r(1)})},{keys:function(e){return r(o(e))}})},"0afa":function(e,t,n){e.exports=n("2696")},"0b7b":function(e,t,n){var i=n("8f95"),o=n("7463"),r=n("0363")("iterator");e.exports=function(e){if(null!=e)return e[r]||e["@@iterator"]||o[i(e)]}},"0cf0":function(e,t,n){var i=n("b323"),o=n("9e57").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},"0cfb":function(e,t,n){var i=n("83ab"),o=n("d039"),r=n("cc12");e.exports=!i&&!o(function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})},1316:function(e,t,n){e.exports=n("9cd3")},"13d5":function(e,t,n){"use strict";var i=n("23e7"),o=n("d58f").left;i({target:"Array",proto:!0,forced:n("b301")("reduce")},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},1561:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"159b":function(e,t,n){var i=n("da84"),o=n("fdbc"),r=n("17c2"),a=n("9112");for(var s in o){var l=i[s],c=l&&l.prototype;if(c&&c.forEach!==r)try{a(c,"forEach",r)}catch(e){c.forEach=r}}},"16f1":function(e,t,n){n("5145"),n("3e47"),e.exports=n("d9f3")},"17c2":function(e,t,n){"use strict";var i=n("b727").forEach,o=n("b301");e.exports=o("forEach")?function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach},1875:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"194a":function(e,t,n){var i=n("cc94");e.exports=function(e,t,n){if(i(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,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)}}return function(){return e.apply(t,arguments)}}},"1be4":function(e,t,n){var i=n("d066");e.exports=i("document","documentElement")},"1c0a":function(e,t,n){"use strict";var i=n("d63b"),o=n("8f95");e.exports=i?{}.toString:function(){return"[object "+o(this)+"]"}},"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 i=n("b622")("iterator"),o=!1;try{var r=0,a={next:function(){return{done:!!r++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}},"1d80":function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,n){var i=n("d039"),o=n("b622"),r=n("60ae"),a=o("species");e.exports=function(e){return r>=51||!i(function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},"1e63":function(e,t,n){var i=n("06fa");e.exports=!!Object.getOwnPropertySymbols&&!i(function(){return!String(Symbol())})},"23cb":function(e,t,n){var i=n("a691"),o=Math.max,r=Math.min;e.exports=function(e,t){var n=i(e);return n<0?o(n+t,0):r(n,t)}},"23e7":function(e,t,n){var i=n("da84"),o=n("06cf").f,r=n("9112"),a=n("6eeb"),s=n("ce4e"),l=n("e893"),c=n("94ca");e.exports=function(e,t){var n,u,d,p,f,m=e.target,h=e.global,g=e.stat;if(n=h?i:g?i[m]||s(m,{}):(i[m]||{}).prototype)for(u in t){if(p=t[u],d=e.noTargetGet?(f=o(n,u))&&f.value:n[u],!c(h?u:m+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&r(p,"sham",!0),a(n,u,p,e)}}},"241c":function(e,t,n){var i=n("ca84"),o=n("7839").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},2532:function(e,t,n){"use strict";var i=n("23e7"),o=n("5a34"),r=n("1d80");i({target:"String",proto:!0,forced:!n("ab13")("includes")},{includes:function(e){return!!~String(r(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},2616:function(e,t,n){var i=n("0363"),o=n("7463"),r=i("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[r]===e)}},2696:function(e,t,n){e.exports=n("801c")},"26e9":function(e,t,n){"use strict";var i=n("23e7"),o=n("e8b5"),r=[].reverse,a=[1,2];i({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),r.call(this)}})},2874:function(e,t,n){var i=n("d63b"),o=n("4180").f,r=n("0273"),a=n("78e7"),s=n("1c0a"),l=n("0363")("toStringTag");e.exports=function(e,t,n,c){if(e){var u=n?e:e.prototype;a(u,l)||o(u,l,{configurable:!0,value:t}),c&&!i&&r(u,"toString",s)}}},"2c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"2dc0":function(e,t,n){e.exports=n("588c")},"2f5a":function(e,t,n){var i,o,r,a=n("96e9"),s=n("3ac6"),l=n("dfdb"),c=n("0273"),u=n("78e7"),d=n("b2ed"),p=n("6e9a"),f=s.WeakMap;if(a){var m=new f,h=m.get,g=m.has,v=m.set;i=function(e,t){return v.call(m,e,t),t},o=function(e){return h.call(m,e)||{}},r=function(e){return g.call(m,e)}}else{var _=d("state");p[_]=!0,i=function(e,t){return c(e,_,t),t},o=function(e){return u(e,_)?e[_]:{}},r=function(e){return u(e,_)}}e.exports={set:i,get:o,has:r,enforce:function(e){return r(e)?o(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},"2f97":function(e,t,n){var i=n("dfdb");e.exports=function(e){if(!i(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},3397:function(e,t,n){"use strict";var i=n("06fa");e.exports=function(e,t){var n=[][e];return!n||!i(function(){n.call(null,t||function(){throw 1},1)})}},"35a1":function(e,t,n){var i=n("f5df"),o=n("3f8c"),r=n("b622")("iterator");e.exports=function(e){if(null!=e)return e[r]||e["@@iterator"]||o[i(e)]}},"37e8":function(e,t,n){var i=n("83ab"),o=n("9bf2"),r=n("825a"),a=n("df75");e.exports=i?Object.defineProperties:function(e,t){r(e);for(var n,i=a(t),s=i.length,l=0;s>l;)o.f(e,n=i[l++],t[n]);return e}},"3ac6":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")()}).call(this,n("c8ba"))},"3b7b":function(e,t,n){n("bbe3");var i=n("a169");e.exports=i("Array").indexOf},"3bbe":function(e,t,n){var i=n("861d");e.exports=function(e){if(!i(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3ca3":function(e,t,n){"use strict";var i=n("6547").charAt,o=n("69f3"),r=n("7dd0"),a=o.set,s=o.getterFor("String Iterator");r(String,"String",function(e){a(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=i(n,o),t.index+=e.length,{value:e,done:!1})})},"3e47":function(e,t,n){"use strict";var i=n("cbd0").charAt,o=n("2f5a"),r=n("4056"),a=o.set,s=o.getterFor("String Iterator");r(String,"String",function(e){a(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=i(n,o),t.index+=e.length,{value:e,done:!1})})},"3e476":function(e,t,n){var i=n("a5eb"),o=n("c1b2");i({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n("4180").f})},"3e80":function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+i).toString(36)}},"3f8c":function(e,t){e.exports={}},4056:function(e,t,n){"use strict";var i=n("a5eb"),o=n("f575"),r=n("5779"),a=n("ec62"),s=n("2874"),l=n("0273"),c=n("d666"),u=n("0363"),d=n("7042"),p=n("7463"),f=n("bb83"),m=f.IteratorPrototype,h=f.BUGGY_SAFARI_ITERATORS,g=u("iterator"),v=function(){return this};e.exports=function(e,t,n,u,f,_,b){o(n,t,u);var y,w,x,k=function(e){if(e===f&&P)return P;if(!h&&e in S)return S[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},A=t+" Iterator",C=!1,S=e.prototype,M=S[g]||S["@@iterator"]||f&&S[f],P=!h&&M||k(f),O="Array"==t&&S.entries||M;if(O&&(y=r(O.call(new e)),m!==Object.prototype&&y.next&&(d||r(y)===m||(a?a(y,m):"function"!=typeof y[g]&&l(y,g,v)),s(y,A,!0,!0),d&&(p[A]=v))),"values"==f&&M&&"values"!==M.name&&(C=!0,P=function(){return M.call(this)}),d&&!b||S[g]===P||l(S,g,P),p[t]=P,f)if(w={values:k("values"),keys:_?P:k("keys"),entries:k("entries")},b)for(x in w)!h&&!C&&x in S||c(S,x,w[x]);else i({target:t,proto:!0,forced:h||C},w);return w}},4160:function(e,t,n){"use strict";var i=n("23e7"),o=n("17c2");i({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},4180:function(e,t,n){var i=n("c1b2"),o=n("77b2"),r=n("6f8d"),a=n("7168"),s=Object.defineProperty;t.f=i?s:function(e,t,n){if(r(e),t=a(t,!0),r(n),o)try{return s(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}},"428f":function(e,t,n){e.exports=n("da84")},4344:function(e,t,n){var i=n("dfdb"),o=n("6220"),r=n("0363")("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[r])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"44ad":function(e,t,n){var i=n("d039"),o=n("c6b6"),r="".split;e.exports=i(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?r.call(e,""):Object(e)}:Object},"44ba":function(e,t,n){var i=n("c1b2"),o=n("7043"),r=n("2c6c"),a=n("a421"),s=n("7168"),l=n("78e7"),c=n("77b2"),u=Object.getOwnPropertyDescriptor;t.f=i?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return r(!o.f.call(e,t),e[t])}},"44d2":function(e,t,n){var i=n("b622"),o=n("7c73"),r=n("9112"),a=i("unscopables"),s=Array.prototype;null==s[a]&&r(s,a,o(null)),e.exports=function(e){s[a][e]=!0}},"44e7":function(e,t,n){var i=n("861d"),o=n("c6b6"),r=n("b622")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[r])?!!t:"RegExp"==o(e))}},4508:function(e,t,n){var i=n("1561"),o=Math.max,r=Math.min;e.exports=function(e,t){var n=i(e);return n<0?o(n+t,0):r(n,t)}},"45fc":function(e,t,n){"use strict";var i=n("23e7"),o=n("b727").some;i({target:"Array",proto:!0,forced:n("b301")("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"471b":function(e,t,n){"use strict";var i=n("194a"),o=n("4fff"),r=n("faaa"),a=n("2616"),s=n("6725"),l=n("6c15"),c=n("0b7b");e.exports=function(e){var t,n,u,d,p,f=o(e),m="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,_=0,b=c(f);if(v&&(g=i(g,h>2?arguments[2]:void 0,2)),null==b||m==Array&&a(b))for(n=new m(t=s(f.length));t>_;_++)l(n,_,v?g(f[_],_):f[_]);else for(p=(d=b.call(f)).next,n=new m;!(u=p.call(d)).done;_++)l(n,_,v?r(d,g,[u.value,_],!0):u.value);return n.length=_,n}},"484e":function(e,t,n){var i=n("a5eb"),o=n("471b");i({target:"Array",stat:!0,forced:!n("7de7")(function(e){Array.from(e)})},{from:o})},4896:function(e,t,n){var i=n("6f8d"),o=n("c230"),r=n("9e57"),a=n("6e9a"),s=n("edbd"),l=n("7a37"),c=n("b2ed")("IE_PROTO"),u=function(){},d=function(){var e,t=l("iframe"),n=r.length;for(t.style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),d=e.F;n--;)delete d.prototype[r[n]];return d()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=i(e),n=new u,u.prototype=null,n[c]=e):n=d(),void 0===t?n:o(n,t)},a[c]=!0},4930:function(e,t,n){var i=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!i(function(){return!String(Symbol())})},"4d64":function(e,t,n){var i=n("fc6a"),o=n("50c4"),r=n("23cb"),a=function(e){return function(t,n,a){var s,l=i(t),c=o(l.length),u=r(a,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}};e.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(e,t,n){"use strict";var i=n("23e7"),o=n("b727").filter;i({target:"Array",proto:!0,forced:!n("1dde")("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){"use strict";var i=n("f8c2"),o=n("7b0b"),r=n("9bdd"),a=n("e95a"),s=n("50c4"),l=n("8418"),c=n("35a1");e.exports=function(e){var t,n,u,d,p,f=o(e),m="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,_=0,b=c(f);if(v&&(g=i(g,h>2?arguments[2]:void 0,2)),null==b||m==Array&&a(b))for(n=new m(t=s(f.length));t>_;_++)l(n,_,v?g(f[_],_):f[_]);else for(p=(d=b.call(f)).next,n=new m;!(u=p.call(d)).done;_++)l(n,_,v?r(d,g,[u.value,_],!0):u.value);return n.length=_,n}},"4fad":function(e,t,n){var i=n("23e7"),o=n("6f53").entries;i({target:"Object",stat:!0},{entries:function(e){return o(e)}})},"4fff":function(e,t,n){var i=n("1875");e.exports=function(e){return Object(i(e))}},"50c4":function(e,t,n){var i=n("a691"),o=Math.min;e.exports=function(e){return e>0?o(i(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5145:function(e,t,n){n("9103");var i=n("78a2"),o=n("3ac6"),r=n("0273"),a=n("7463"),s=n("0363")("toStringTag");for(var l in i){var c=o[l],u=c&&c.prototype;u&&!u[s]&&r(u,s,l),a[l]=a.Array}},5692:function(e,t,n){var i=n("c430"),o=n("c6cd");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.4.2",mode:i?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var i=n("d066"),o=n("241c"),r=n("7418"),a=n("825a");e.exports=i("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=r.f;return n?t.concat(n(e)):t}},5779:function(e,t,n){var i=n("78e7"),o=n("4fff"),r=n("b2ed"),a=n("f5fb"),s=r("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),i(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},"588c":function(e,t,n){n("5145"),n("3e47"),e.exports=n("59d7")},5899:function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"58a8":function(e,t,n){var i=n("1d80"),o="["+n("5899")+"]",r=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(e){return function(t){var n=String(i(t));return 1&e&&(n=n.replace(r,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:s(1),end:s(2),trim:s(3)}},"59d7":function(e,t,n){var i=n("8f95"),o=n("0363"),r=n("7463"),a=o("iterator");e.exports=function(e){var t=Object(e);return void 0!==t[a]||"@@iterator"in t||r.hasOwnProperty(i(t))}},"5a34":function(e,t,n){var i=n("44e7");e.exports=function(e){if(i(e))throw TypeError("The method doesn't accept regular expressions");return e}},"5ab9":function(e,t,n){n("e519");var i=n("764b");e.exports=i.Array.isArray},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"60ae":function(e,t,n){var i,o,r=n("da84"),a=n("b39a"),s=r.process,l=s&&s.versions,c=l&&l.v8;c?o=(i=c.split("."))[0]+i[1]:a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(o=i[1]),e.exports=o&&+o},6220:function(e,t,n){var i=n("fc48");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"62d0":function(e,t,n){var i=n("1e63");e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol()},6386:function(e,t,n){var i=n("a421"),o=n("6725"),r=n("4508"),a=function(e){return function(t,n,a){var s,l=i(t),c=o(l.length),u=r(a,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}};e.exports={includes:a(!0),indexOf:a(!1)}},"638c":function(e,t,n){var i=n("06fa"),o=n("fc48"),r="".split;e.exports=i(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?r.call(e,""):Object(e)}:Object},6547:function(e,t,n){var i=n("a691"),o=n("1d80"),r=function(e){return function(t,n){var r,a,s=String(o(t)),l=i(n),c=s.length;return l<0||l>=c?e?"":void 0:(r=s.charCodeAt(l))<55296||r>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):r:e?s.slice(l,l+2):a-56320+(r-55296<<10)+65536}};e.exports={codeAt:r(!1),charAt:r(!0)}},"65f0":function(e,t,n){var i=n("861d"),o=n("e8b5"),r=n("b622")("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[r])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},6725:function(e,t,n){var i=n("1561"),o=Math.min;e.exports=function(e){return e>0?o(i(e),9007199254740991):0}},"69f3":function(e,t,n){var i,o,r,a=n("7f9a"),s=n("da84"),l=n("861d"),c=n("9112"),u=n("5135"),d=n("f772"),p=n("d012"),f=s.WeakMap;if(a){var m=new f,h=m.get,g=m.has,v=m.set;i=function(e,t){return v.call(m,e,t),t},o=function(e){return h.call(m,e)||{}},r=function(e){return g.call(m,e)}}else{var _=d("state");p[_]=!0,i=function(e,t){return c(e,_,t),t},o=function(e){return u(e,_)?e[_]:{}},r=function(e){return u(e,_)}}e.exports={set:i,get:o,has:r,enforce:function(e){return r(e)?o(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},"6c15":function(e,t,n){"use strict";var i=n("7168"),o=n("4180"),r=n("2c6c");e.exports=function(e,t,n){var a=i(t);a in e?o.f(e,a,r(0,n)):e[a]=n}},"6e9a":function(e,t){e.exports={}},"6eeb":function(e,t,n){var i=n("da84"),o=n("5692"),r=n("9112"),a=n("5135"),s=n("ce4e"),l=n("9e81"),c=n("69f3"),u=c.get,d=c.enforce,p=String(l).split("toString");o("inspectSource",function(e){return l.call(e)}),(e.exports=function(e,t,n,o){var l=!!o&&!!o.unsafe,c=!!o&&!!o.enumerable,u=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||r(n,"name",t),d(n).source=p.join("string"==typeof t?t:"")),e!==i?(l?!u&&e[t]&&(c=!0):delete e[t],c?e[t]=n:r(e,t,n)):c?e[t]=n:s(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&u(this).source||l.call(this)})},"6f53":function(e,t,n){var i=n("83ab"),o=n("df75"),r=n("fc6a"),a=n("d1e7").f,s=function(e){return function(t){for(var n,s=r(t),l=o(s),c=l.length,u=0,d=[];c>u;)n=l[u++],i&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}};e.exports={entries:s(!0),values:s(!1)}},"6f8d":function(e,t,n){var i=n("dfdb");e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},"6fe5":function(e,t,n){var i=n("da84"),o=n("58a8").trim,r=n("5899"),a=i.parseFloat,s=1/a(r+"-0")!=-1/0;e.exports=s?function(e){var t=o(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},7042:function(e,t){e.exports=!0},7043:function(e,t,n){"use strict";var i={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!i.call({1:2},1);t.f=r?function(e){var t=o(this,e);return!!t&&t.enumerable}:i},7156:function(e,t,n){var i=n("861d"),o=n("d2bb");e.exports=function(e,t,n){var r,a;return o&&"function"==typeof(r=t.constructor)&&r!==n&&i(a=r.prototype)&&a!==n.prototype&&o(e,a),e}},7168:function(e,t,n){var i=n("dfdb");e.exports=function(e,t){if(!i(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!i(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},7418:function(e,t){t.f=Object.getOwnPropertySymbols},7463:function(e,t){e.exports={}},"746f":function(e,t,n){var i=n("428f"),o=n("5135"),r=n("c032"),a=n("9bf2").f;e.exports=function(e){var t=i.Symbol||(i.Symbol={});o(t,e)||a(t,e,{value:r.f(e)})}},"74e7":function(e,t,n){e.exports=n("bc59")},"764b":function(e,t){e.exports={}},7685:function(e,t,n){var i=n("3ac6"),o=n("8fad"),r=i["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=r},"77b2":function(e,t,n){var i=n("c1b2"),o=n("06fa"),r=n("7a37");e.exports=!i&&!o(function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"78a2":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}},"78e7":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"7a34":function(e,t,n){e.exports=n("9afa")},"7a37":function(e,t,n){var i=n("3ac6"),o=n("dfdb"),r=i.document,a=o(r)&&o(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},"7b0b":function(e,t,n){var i=n("1d80");e.exports=function(e){return Object(i(e))}},"7c73":function(e,t,n){var i=n("825a"),o=n("37e8"),r=n("7839"),a=n("d012"),s=n("1be4"),l=n("cc12"),c=n("f772")("IE_PROTO"),u=function(){},d=function(){var e,t=l("iframe"),n=r.length;for(t.style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),d=e.F;n--;)delete d.prototype[r[n]];return d()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=i(e),n=new u,u.prototype=null,n[c]=e):n=d(),void 0===t?n:o(n,t)},a[c]=!0},"7db0":function(e,t,n){"use strict";var i=n("23e7"),o=n("b727").find,r=n("44d2"),a=!0;"find"in[]&&Array(1).find(function(){a=!1}),i({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),r("find")},"7dd0":function(e,t,n){"use strict";var i=n("23e7"),o=n("9ed3"),r=n("e163"),a=n("d2bb"),s=n("d44e"),l=n("9112"),c=n("6eeb"),u=n("b622"),d=n("c430"),p=n("3f8c"),f=n("ae93"),m=f.IteratorPrototype,h=f.BUGGY_SAFARI_ITERATORS,g=u("iterator"),v=function(){return this};e.exports=function(e,t,n,u,f,_,b){o(n,t,u);var y,w,x,k=function(e){if(e===f&&P)return P;if(!h&&e in S)return S[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},A=t+" Iterator",C=!1,S=e.prototype,M=S[g]||S["@@iterator"]||f&&S[f],P=!h&&M||k(f),O="Array"==t&&S.entries||M;if(O&&(y=r(O.call(new e)),m!==Object.prototype&&y.next&&(d||r(y)===m||(a?a(y,m):"function"!=typeof y[g]&&l(y,g,v)),s(y,A,!0,!0),d&&(p[A]=v))),"values"==f&&M&&"values"!==M.name&&(C=!0,P=function(){return M.call(this)}),d&&!b||S[g]===P||l(S,g,P),p[t]=P,f)if(w={values:k("values"),keys:_?P:k("keys"),entries:k("entries")},b)for(x in w)!h&&!C&&x in S||c(S,x,w[x]);else i({target:t,proto:!0,forced:h||C},w);return w}},"7de7":function(e,t,n){var i=n("0363")("iterator"),o=!1;try{var r=0,a={next:function(){return{done:!!r++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}},"7f9a":function(e,t,n){var i=n("da84"),o=n("9e81"),r=i.WeakMap;e.exports="function"==typeof r&&/native code/.test(o.call(r))},"801c":function(e,t,n){n("8b7b");var i=n("764b");e.exports=i.Object.getOwnPropertySymbols},"825a":function(e,t,n){var i=n("861d");e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(e,t,n){var i=n("d039");e.exports=!i(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},8418:function(e,t,n){"use strict";var i=n("c04e"),o=n("9bf2"),r=n("5c6c");e.exports=function(e,t,n){var a=i(t);a in e?o.f(e,a,r(0,n)):e[a]=n}},"85d3":function(e,t,n){e.exports=n("9a13")},"861d":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"898c":function(e,t,n){e.exports=n("16f1")},"8b7b":function(e,t,n){"use strict";var i=n("a5eb"),o=n("3ac6"),r=n("9883"),a=n("7042"),s=n("c1b2"),l=n("1e63"),c=n("62d0"),u=n("06fa"),d=n("78e7"),p=n("6220"),f=n("dfdb"),m=n("6f8d"),h=n("4fff"),g=n("a421"),v=n("7168"),_=n("2c6c"),b=n("4896"),y=n("a016"),w=n("0cf0"),x=n("8e11"),k=n("a205"),A=n("44ba"),C=n("4180"),S=n("7043"),M=n("0273"),P=n("d666"),O=n("d659"),T=n("b2ed"),E=n("6e9a"),N=n("3e80"),$=n("0363"),j=n("fbcc"),q=n("9bfb"),L=n("2874"),F=n("2f5a"),D=n("dee0").forEach,R=T("hidden"),z=$("toPrimitive"),B=F.set,I=F.getterFor("Symbol"),H=Object.prototype,U=o.Symbol,V=r("JSON","stringify"),W=A.f,Y=C.f,G=x.f,K=S.f,J=O("symbols"),X=O("op-symbols"),Z=O("string-to-symbol-registry"),Q=O("symbol-to-string-registry"),ee=O("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,ie=s&&u(function(){return 7!=b(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a})?function(e,t,n){var i=W(H,t);i&&delete H[t],Y(e,t,n),i&&e!==H&&Y(H,t,i)}:Y,oe=function(e,t){var n=J[e]=b(U.prototype);return B(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},re=l&&"symbol"==typeof U.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof U},ae=function(e,t,n){e===H&&ae(X,t,n),m(e);var i=v(t,!0);return m(n),d(J,i)?(n.enumerable?(d(e,R)&&e[R][i]&&(e[R][i]=!1),n=b(n,{enumerable:_(0,!1)})):(d(e,R)||Y(e,R,_(1,{})),e[R][i]=!0),ie(e,i,n)):Y(e,i,n)},se=function(e,t){m(e);var n=g(t),i=y(n).concat(de(n));return D(i,function(t){s&&!le.call(n,t)||ae(e,t,n[t])}),e},le=function(e){var t=v(e,!0),n=K.call(this,t);return!(this===H&&d(J,t)&&!d(X,t))&&(!(n||!d(this,t)||!d(J,t)||d(this,R)&&this[R][t])||n)},ce=function(e,t){var n=g(e),i=v(t,!0);if(n!==H||!d(J,i)||d(X,i)){var o=W(n,i);return!o||!d(J,i)||d(n,R)&&n[R][i]||(o.enumerable=!0),o}},ue=function(e){var t=G(g(e)),n=[];return D(t,function(e){d(J,e)||d(E,e)||n.push(e)}),n},de=function(e){var t=e===H,n=G(t?X:g(e)),i=[];return D(n,function(e){!d(J,e)||t&&!d(H,e)||i.push(J[e])}),i};(l||(P((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=N(e),n=function(e){this===H&&n.call(X,e),d(this,R)&&d(this[R],t)&&(this[R][t]=!1),ie(this,t,_(1,e))};return s&&ne&&ie(H,t,{configurable:!0,set:n}),oe(t,e)}).prototype,"toString",function(){return I(this).tag}),S.f=le,C.f=ae,A.f=ce,w.f=x.f=ue,k.f=de,s&&(Y(U.prototype,"description",{configurable:!0,get:function(){return I(this).description}}),a||P(H,"propertyIsEnumerable",le,{unsafe:!0}))),c||(j.f=function(e){return oe($(e),e)}),i({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:U}),D(y(ee),function(e){q(e)}),i({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(Z,t))return Z[t];var n=U(t);return Z[t]=n,Q[n]=t,n},keyFor:function(e){if(!re(e))throw TypeError(e+" is not a symbol");if(d(Q,e))return Q[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),i({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?b(e):se(b(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ce}),i({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ue,getOwnPropertySymbols:de}),i({target:"Object",stat:!0,forced:u(function(){k.f(1)})},{getOwnPropertySymbols:function(e){return k.f(h(e))}}),V)&&i({target:"JSON",stat:!0,forced:!l||u(function(){var e=U();return"[null]"!=V([e])||"{}"!=V({a:e})||"{}"!=V(Object(e))})},{stringify:function(e,t,n){for(var i,o=[e],r=1;arguments.length>r;)o.push(arguments[r++]);if(i=t,(f(t)||void 0!==e)&&!re(e))return p(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!re(t))return t}),o[1]=t,V.apply(null,o)}});U.prototype[z]||M(U.prototype,z,U.prototype.valueOf),L(U,"Symbol"),E[R]=!0},"8e11":function(e,t,n){var i=n("a421"),o=n("0cf0").f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==r.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(i(e))}},"8f95":function(e,t,n){var i=n("d63b"),o=n("fc48"),r=n("0363")("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=i?o:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:a?o(t):"Object"==(i=o(t))&&"function"==typeof t.callee?"Arguments":i}},"8fad":function(e,t,n){var i=n("3ac6"),o=n("0273");e.exports=function(e,t){try{o(i,e,t)}catch(n){i[e]=t}return t}},"90e3":function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+i).toString(36)}},9103:function(e,t,n){"use strict";var i=n("a421"),o=n("c44e"),r=n("7463"),a=n("2f5a"),s=n("4056"),l=a.set,c=a.getterFor("Array Iterator");e.exports=s(Array,"Array",function(e,t){l(this,{type:"Array Iterator",target:i(e),index:0,kind:t})},function(){var e=c(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}},"values"),r.Arguments=r.Array,o("keys"),o("values"),o("entries")},9112:function(e,t,n){var i=n("83ab"),o=n("9bf2"),r=n("5c6c");e.exports=i?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"94ca":function(e,t,n){var i=n("d039"),o=/#|\.prototype\./,r=function(e,t){var n=s[a(e)];return n==c||n!=l&&("function"==typeof t?i(t):!!t)},a=r.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=r.data={},l=r.NATIVE="N",c=r.POLYFILL="P";e.exports=r},"96e9":function(e,t,n){var i=n("3ac6"),o=n("ab85"),r=i.WeakMap;e.exports="function"==typeof r&&/native code/.test(o.call(r))},9883:function(e,t,n){var i=n("764b"),o=n("3ac6"),r=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?r(i[e])||r(o[e]):i[e]&&i[e][t]||o[e]&&o[e][t]}},"9a13":function(e,t,n){e.exports=n("a38c")},"9afa":function(e,t,n){e.exports=n("a0cd")},"9bdd":function(e,t,n){var i=n("825a");e.exports=function(e,t,n,o){try{return o?t(i(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&i(r.call(e)),t}}},"9bf2":function(e,t,n){var i=n("83ab"),o=n("0cfb"),r=n("825a"),a=n("c04e"),s=Object.defineProperty;t.f=i?s:function(e,t,n){if(r(e),t=a(t,!0),r(n),o)try{return s(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}},"9bfb":function(e,t,n){var i=n("764b"),o=n("78e7"),r=n("fbcc"),a=n("4180").f;e.exports=function(e){var t=i.Symbol||(i.Symbol={});o(t,e)||a(t,e,{value:r.f(e)})}},"9cd3":function(e,t,n){e.exports=n("5ab9")},"9e57":function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"9e81":function(e,t,n){var i=n("5692");e.exports=i("native-function-to-string",Function.toString)},"9ed3":function(e,t,n){"use strict";var i=n("ae93").IteratorPrototype,o=n("7c73"),r=n("5c6c"),a=n("d44e"),s=n("3f8c"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(i,{next:r(1,n)}),a(e,c,!1,!0),s[c]=l,e}},a016:function(e,t,n){var i=n("b323"),o=n("9e57");e.exports=Object.keys||function(e){return i(e,o)}},a06f:function(e,t,n){e.exports=n("74e7")},a0cd:function(e,t,n){n("0aa1");var i=n("764b");e.exports=i.Object.keys},a0e5:function(e,t,n){var i=n("06fa"),o=/#|\.prototype\./,r=function(e,t){var n=s[a(e)];return n==c||n!=l&&("function"==typeof t?i(t):!!t)},a=r.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=r.data={},l=r.NATIVE="N",c=r.POLYFILL="P";e.exports=r},a169:function(e,t,n){var i=n("764b");e.exports=function(e){return i[e+"Prototype"]}},a205:function(e,t){t.f=Object.getOwnPropertySymbols},a38c:function(e,t,n){n("3e476");var i=n("764b").Object,o=e.exports=function(e,t,n){return i.defineProperty(e,t,n)};i.defineProperty.sham&&(o.sham=!0)},a421:function(e,t,n){var i=n("638c"),o=n("1875");e.exports=function(e){return i(o(e))}},a434:function(e,t,n){"use strict";var i=n("23e7"),o=n("23cb"),r=n("a691"),a=n("50c4"),s=n("7b0b"),l=n("65f0"),c=n("8418"),u=n("1dde"),d=Math.max,p=Math.min;i({target:"Array",proto:!0,forced:!u("splice")},{splice:function(e,t){var n,i,u,f,m,h,g=s(this),v=a(g.length),_=o(e,v),b=arguments.length;if(0===b?n=i=0:1===b?(n=0,i=v-_):(n=b-2,i=p(d(r(t),0),v-_)),v+n-i>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=l(g,i),f=0;f<i;f++)(m=_+f)in g&&c(u,f,g[m]);if(u.length=i,n<i){for(f=_;f<v-i;f++)h=f+n,(m=f+i)in g?g[h]=g[m]:delete g[h];for(f=v;f>v-i+n;f--)delete g[f-1]}else if(n>i)for(f=v-i;f>_;f--)h=f+n-1,(m=f+i-1)in g?g[h]=g[m]:delete g[h];for(f=0;f<n;f++)g[f+_]=arguments[f+2];return g.length=v-i+n,u}})},a4d3:function(e,t,n){"use strict";var i=n("23e7"),o=n("da84"),r=n("d066"),a=n("c430"),s=n("83ab"),l=n("4930"),c=n("fdbf"),u=n("d039"),d=n("5135"),p=n("e8b5"),f=n("861d"),m=n("825a"),h=n("7b0b"),g=n("fc6a"),v=n("c04e"),_=n("5c6c"),b=n("7c73"),y=n("df75"),w=n("241c"),x=n("057f"),k=n("7418"),A=n("06cf"),C=n("9bf2"),S=n("d1e7"),M=n("9112"),P=n("6eeb"),O=n("5692"),T=n("f772"),E=n("d012"),N=n("90e3"),$=n("b622"),j=n("c032"),q=n("746f"),L=n("d44e"),F=n("69f3"),D=n("b727").forEach,R=T("hidden"),z=$("toPrimitive"),B=F.set,I=F.getterFor("Symbol"),H=Object.prototype,U=o.Symbol,V=r("JSON","stringify"),W=A.f,Y=C.f,G=x.f,K=S.f,J=O("symbols"),X=O("op-symbols"),Z=O("string-to-symbol-registry"),Q=O("symbol-to-string-registry"),ee=O("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,ie=s&&u(function(){return 7!=b(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a})?function(e,t,n){var i=W(H,t);i&&delete H[t],Y(e,t,n),i&&e!==H&&Y(H,t,i)}:Y,oe=function(e,t){var n=J[e]=b(U.prototype);return B(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},re=l&&"symbol"==typeof U.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof U},ae=function(e,t,n){e===H&&ae(X,t,n),m(e);var i=v(t,!0);return m(n),d(J,i)?(n.enumerable?(d(e,R)&&e[R][i]&&(e[R][i]=!1),n=b(n,{enumerable:_(0,!1)})):(d(e,R)||Y(e,R,_(1,{})),e[R][i]=!0),ie(e,i,n)):Y(e,i,n)},se=function(e,t){m(e);var n=g(t),i=y(n).concat(de(n));return D(i,function(t){s&&!le.call(n,t)||ae(e,t,n[t])}),e},le=function(e){var t=v(e,!0),n=K.call(this,t);return!(this===H&&d(J,t)&&!d(X,t))&&(!(n||!d(this,t)||!d(J,t)||d(this,R)&&this[R][t])||n)},ce=function(e,t){var n=g(e),i=v(t,!0);if(n!==H||!d(J,i)||d(X,i)){var o=W(n,i);return!o||!d(J,i)||d(n,R)&&n[R][i]||(o.enumerable=!0),o}},ue=function(e){var t=G(g(e)),n=[];return D(t,function(e){d(J,e)||d(E,e)||n.push(e)}),n},de=function(e){var t=e===H,n=G(t?X:g(e)),i=[];return D(n,function(e){!d(J,e)||t&&!d(H,e)||i.push(J[e])}),i};(l||(P((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=N(e),n=function(e){this===H&&n.call(X,e),d(this,R)&&d(this[R],t)&&(this[R][t]=!1),ie(this,t,_(1,e))};return s&&ne&&ie(H,t,{configurable:!0,set:n}),oe(t,e)}).prototype,"toString",function(){return I(this).tag}),S.f=le,C.f=ae,A.f=ce,w.f=x.f=ue,k.f=de,s&&(Y(U.prototype,"description",{configurable:!0,get:function(){return I(this).description}}),a||P(H,"propertyIsEnumerable",le,{unsafe:!0}))),c||(j.f=function(e){return oe($(e),e)}),i({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:U}),D(y(ee),function(e){q(e)}),i({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(Z,t))return Z[t];var n=U(t);return Z[t]=n,Q[n]=t,n},keyFor:function(e){if(!re(e))throw TypeError(e+" is not a symbol");if(d(Q,e))return Q[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),i({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?b(e):se(b(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ce}),i({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ue,getOwnPropertySymbols:de}),i({target:"Object",stat:!0,forced:u(function(){k.f(1)})},{getOwnPropertySymbols:function(e){return k.f(h(e))}}),V)&&i({target:"JSON",stat:!0,forced:!l||u(function(){var e=U();return"[null]"!=V([e])||"{}"!=V({a:e})||"{}"!=V(Object(e))})},{stringify:function(e,t,n){for(var i,o=[e],r=1;arguments.length>r;)o.push(arguments[r++]);if(i=t,(f(t)||void 0!==e)&&!re(e))return p(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!re(t))return t}),o[1]=t,V.apply(null,o)}});U.prototype[z]||M(U.prototype,z,U.prototype.valueOf),L(U,"Symbol"),E[R]=!0},a5eb:function(e,t,n){"use strict";var i=n("3ac6"),o=n("44ba").f,r=n("a0e5"),a=n("764b"),s=n("194a"),l=n("0273"),c=n("78e7"),u=function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,d,p,f,m,h,g,v,_=e.target,b=e.global,y=e.stat,w=e.proto,x=b?i:y?i[_]:(i[_]||{}).prototype,k=b?a:a[_]||(a[_]={}),A=k.prototype;for(p in t)n=!r(b?p:_+(y?".":"#")+p,e.forced)&&x&&c(x,p),m=k[p],n&&(h=e.noTargetGet?(v=o(x,p))&&v.value:x[p]),f=n&&h?h:t[p],n&&typeof m==typeof f||(g=e.bind&&n?s(f,i):e.wrap&&n?u(f):w&&"function"==typeof f?s(Function.call,f):f,(e.sham||f&&f.sham||m&&m.sham)&&l(g,"sham",!0),k[p]=g,w&&(c(a,d=_+"Prototype")||l(a,d,{}),a[d][p]=f,e.real&&A&&!A[p]&&l(A,p,f)))}},a630:function(e,t,n){var i=n("23e7"),o=n("4df4");i({target:"Array",stat:!0,forced:!n("1c7e")(function(e){Array.from(e)})},{from:o})},a691:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},a9e3:function(e,t,n){"use strict";var i=n("83ab"),o=n("da84"),r=n("94ca"),a=n("6eeb"),s=n("5135"),l=n("c6b6"),c=n("7156"),u=n("c04e"),d=n("d039"),p=n("7c73"),f=n("241c").f,m=n("06cf").f,h=n("9bf2").f,g=n("58a8").trim,v=o.Number,_=v.prototype,b="Number"==l(p(_)),y=function(e){var t,n,i,o,r,a,s,l,c=u(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=g(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:i=2,o=49;break;case 79:case 111:i=8,o=55;break;default:return+c}for(a=(r=c.slice(2)).length,s=0;s<a;s++)if((l=r.charCodeAt(s))<48||l>o)return NaN;return parseInt(r,i)}return+c};if(r("Number",!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var w,x=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof x&&(b?d(function(){_.valueOf.call(n)}):"Number"!=l(n))?c(new v(y(t)),n,x):y(t)},k=i?f(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),A=0;k.length>A;A++)s(v,w=k[A])&&!s(x,w)&&h(x,w,m(v,w));x.prototype=_,_.constructor=x,a(o,"Number",x)}},ab13:function(e,t,n){var i=n("b622")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,"/./"[e](t)}catch(e){}}return!1}},ab85:function(e,t,n){var i=n("d659");e.exports=i("native-function-to-string",Function.toString)},acd8:function(e,t,n){var i=n("23e7"),o=n("6fe5");i({global:!0,forced:parseFloat!=o},{parseFloat:o})},ae93:function(e,t,n){"use strict";var i,o,r,a=n("e163"),s=n("9112"),l=n("5135"),c=n("b622"),u=n("c430"),d=c("iterator"),p=!1;[].keys&&("next"in(r=[].keys())?(o=a(a(r)))!==Object.prototype&&(i=o):p=!0),null==i&&(i={}),u||l(i,d)||s(i,d,function(){return this}),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:p}},b2ed:function(e,t,n){var i=n("d659"),o=n("3e80"),r=i("keys");e.exports=function(e){return r[e]||(r[e]=o(e))}},b301:function(e,t,n){"use strict";var i=n("d039");e.exports=function(e,t){var n=[][e];return!n||!i(function(){n.call(null,t||function(){throw 1},1)})}},b323:function(e,t,n){var i=n("78e7"),o=n("a421"),r=n("6386").indexOf,a=n("6e9a");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)!i(a,n)&&i(s,n)&&c.push(n);for(;t.length>l;)i(s,n=t[l++])&&(~r(c,n)||c.push(n));return c}},b39a:function(e,t,n){var i=n("d066");e.exports=i("navigator","userAgent")||""},b622:function(e,t,n){var i=n("da84"),o=n("5692"),r=n("5135"),a=n("90e3"),s=n("4930"),l=n("fdbf"),c=o("wks"),u=i.Symbol,d=l?u:a;e.exports=function(e){return r(c,e)||(s&&r(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},b64b:function(e,t,n){var i=n("23e7"),o=n("7b0b"),r=n("df75");i({target:"Object",stat:!0,forced:n("d039")(function(){r(1)})},{keys:function(e){return r(o(e))}})},b727:function(e,t,n){var i=n("f8c2"),o=n("44ad"),r=n("7b0b"),a=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,p=5==e||d;return function(f,m,h,g){for(var v,_,b=r(f),y=o(b),w=i(m,h,3),x=a(y.length),k=0,A=g||s,C=t?A(f,x):n?A(f,0):void 0;x>k;k++)if((p||k in y)&&(_=w(v=y[k],k,b),e))if(t)C[k]=_;else if(_)switch(e){case 3:return!0;case 5:return v;case 6:return k;case 2:l.call(C,v)}else if(u)return!1;return d?-1:c||u?u:C}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},bb83:function(e,t,n){"use strict";var i,o,r,a=n("5779"),s=n("0273"),l=n("78e7"),c=n("0363"),u=n("7042"),d=c("iterator"),p=!1;[].keys&&("next"in(r=[].keys())?(o=a(a(r)))!==Object.prototype&&(i=o):p=!0),null==i&&(i={}),u||l(i,d)||s(i,d,function(){return this}),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:p}},bbe3:function(e,t,n){"use strict";var i=n("a5eb"),o=n("6386").indexOf,r=n("3397"),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,l=r("indexOf");i({target:"Array",proto:!0,forced:s||l},{indexOf:function(e){return s?a.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},bc59:function(e,t,n){n("3e47"),n("484e");var i=n("764b");e.exports=i.Array.from},c032:function(e,t,n){t.f=n("b622")},c04e:function(e,t,n){var i=n("861d");e.exports=function(e,t){if(!i(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!i(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},c1b2:function(e,t,n){var i=n("06fa");e.exports=!i(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},c230:function(e,t,n){var i=n("c1b2"),o=n("4180"),r=n("6f8d"),a=n("a016");e.exports=i?Object.defineProperties:function(e,t){r(e);for(var n,i=a(t),s=i.length,l=0;s>l;)o.f(e,n=i[l++],t[n]);return e}},c430:function(e,t){e.exports=!1},c44e:function(e,t){e.exports=function(){}},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var i=n("da84"),o=n("ce4e"),r=i["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=r},c740:function(e,t,n){"use strict";var i=n("23e7"),o=n("b727").findIndex,r=n("44d2"),a=!0;"findIndex"in[]&&Array(1).findIndex(function(){a=!1}),i({target:"Array",proto:!0,forced:a},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),r("findIndex")},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},ca84:function(e,t,n){var i=n("5135"),o=n("fc6a"),r=n("4d64").indexOf,a=n("d012");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)!i(a,n)&&i(s,n)&&c.push(n);for(;t.length>l;)i(s,n=t[l++])&&(~r(c,n)||c.push(n));return c}},caad:function(e,t,n){"use strict";var i=n("23e7"),o=n("4d64").includes,r=n("44d2");i({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),r("includes")},cbd0:function(e,t,n){var i=n("1561"),o=n("1875"),r=function(e){return function(t,n){var r,a,s=String(o(t)),l=i(n),c=s.length;return l<0||l>=c?e?"":void 0:(r=s.charCodeAt(l))<55296||r>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):r:e?s.slice(l,l+2):a-56320+(r-55296<<10)+65536}};e.exports={codeAt:r(!1),charAt:r(!0)}},cc12:function(e,t,n){var i=n("da84"),o=n("861d"),r=i.document,a=o(r)&&o(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},cc94:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},ce4e:function(e,t,n){var i=n("da84"),o=n("9112");e.exports=function(e,t){try{o(i,e,t)}catch(n){i[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},d066:function(e,t,n){var i=n("428f"),o=n("da84"),r=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?r(i[e])||r(o[e]):i[e]&&i[e][t]||o[e]&&o[e][t]}},d0ff:function(e,t,n){e.exports=n("f4c9")},d1e7:function(e,t,n){"use strict";var i={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!i.call({1:2},1);t.f=r?function(e){var t=o(this,e);return!!t&&t.enumerable}:i},d2bb:function(e,t,n){var i=n("825a"),o=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e.call(n,r):n.__proto__=r,n}}():void 0)},d44e:function(e,t,n){var i=n("9bf2").f,o=n("5135"),r=n("b622")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,r)&&i(e,r,{configurable:!0,value:t})}},d58f:function(e,t,n){var i=n("1c0b"),o=n("7b0b"),r=n("44ad"),a=n("50c4"),s=function(e){return function(t,n,s,l){i(n);var c=o(t),u=r(c),d=a(c.length),p=e?d-1:0,f=e?-1:1;if(s<2)for(;;){if(p in u){l=u[p],p+=f;break}if(p+=f,e?p<0:d<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:d>p;p+=f)p in u&&(l=n(l,u[p],p,c));return l}};e.exports={left:s(!1),right:s(!0)}},d63b:function(e,t,n){var i={};i[n("0363")("toStringTag")]="z",e.exports="[object z]"===String(i)},d659:function(e,t,n){var i=n("7042"),o=n("7685");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.4.2",mode:i?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},d666:function(e,t,n){var i=n("0273");e.exports=function(e,t,n,o){o&&o.enumerable?e[t]=n:i(e,t,n)}},d81d:function(e,t,n){"use strict";var i=n("23e7"),o=n("b727").map;i({target:"Array",proto:!0,forced:!n("1dde")("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},d9f3:function(e,t,n){var i=n("6f8d"),o=n("0b7b");e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return i(t.call(e))}},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")()}).call(this,n("c8ba"))},dbb4:function(e,t,n){var i=n("23e7"),o=n("83ab"),r=n("56ef"),a=n("fc6a"),s=n("06cf"),l=n("8418");i({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,i=a(e),o=s.f,c=r(i),u={},d=0;c.length>d;)void 0!==(n=o(i,t=c[d++]))&&l(u,t,n);return u}})},dee0:function(e,t,n){var i=n("194a"),o=n("638c"),r=n("4fff"),a=n("6725"),s=n("4344"),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,p=5==e||d;return function(f,m,h,g){for(var v,_,b=r(f),y=o(b),w=i(m,h,3),x=a(y.length),k=0,A=g||s,C=t?A(f,x):n?A(f,0):void 0;x>k;k++)if((p||k in y)&&(_=w(v=y[k],k,b),e))if(t)C[k]=_;else if(_)switch(e){case 3:return!0;case 5:return v;case 6:return k;case 2:l.call(C,v)}else if(u)return!1;return d?-1:c||u?u:C}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},df75:function(e,t,n){var i=n("ca84"),o=n("7839");e.exports=Object.keys||function(e){return i(e,o)}},dfdb:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},e163:function(e,t,n){var i=n("5135"),o=n("7b0b"),r=n("f772"),a=n("e177"),s=r("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),i(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 i=n("d039");e.exports=!i(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},e439:function(e,t,n){var i=n("23e7"),o=n("d039"),r=n("fc6a"),a=n("06cf").f,s=n("83ab"),l=o(function(){a(1)});i({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(r(e),t)}})},e519:function(e,t,n){n("a5eb")({target:"Array",stat:!0},{isArray:n("6220")})},e66f:function(e,t,n){},e893:function(e,t,n){var i=n("5135"),o=n("56ef"),r=n("06cf"),a=n("9bf2");e.exports=function(e,t){for(var n=o(t),s=a.f,l=r.f,c=0;c<n.length;c++){var u=n[c];i(e,u)||s(e,u,l(t,u))}}},e8b5:function(e,t,n){var i=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==i(e)}},e90c:function(e,t,n){"use strict";var i=n("e66f");n.n(i).a},e95a:function(e,t,n){var i=n("b622"),o=n("3f8c"),r=i("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[r]===e)}},ec62:function(e,t,n){var i=n("6f8d"),o=n("2f97");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e.call(n,r):n.__proto__=r,n}}():void 0)},edbd:function(e,t,n){var i=n("9883");e.exports=i("document","documentElement")},f4c9:function(e,t,n){var i=n("3b7b"),o=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===o||e instanceof Array&&t===o.indexOf?i:t}},f575:function(e,t,n){"use strict";var i=n("bb83").IteratorPrototype,o=n("4896"),r=n("2c6c"),a=n("2874"),s=n("7463"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(i,{next:r(1,n)}),a(e,c,!1,!0),s[c]=l,e}},f5df:function(e,t,n){var i=n("00ee"),o=n("c6b6"),r=n("b622")("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=i?o:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:a?o(t):"Object"==(i=o(t))&&"function"==typeof t.callee?"Arguments":i}},f5fb:function(e,t,n){var i=n("06fa");e.exports=!i(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},f6fd:function(e,t){!function(e){var t=e.getElementsByTagName("script");"currentScript"in e||Object.defineProperty(e,"currentScript",{get:function(){try{throw new Error}catch(i){var e,n=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in t)if(t[e].src==n||"interactive"==t[e].readyState)return t[e];return null}}})}(document)},f772:function(e,t,n){var i=n("5692"),o=n("90e3"),r=i("keys");e.exports=function(e){return r[e]||(r[e]=o(e))}},f81b:function(e,t,n){e.exports=n("d0ff")},f8c2:function(e,t,n){var i=n("1c0b");e.exports=function(e,t,n){if(i(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,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)}}return function(){return e.apply(t,arguments)}}},faaa:function(e,t,n){var i=n("6f8d");e.exports=function(e,t,n,o){try{return o?t(i(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&i(r.call(e)),t}}},fae3:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!=typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));n("a4d3"),n("4de4"),n("7db0"),n("c740"),n("4160"),n("a630"),n("caad"),n("d81d"),n("13d5"),n("26e9"),n("45fc"),n("a434"),n("4fad"),n("e439"),n("dbb4"),n("b64b"),n("acd8"),n("2532"),n("3ca3"),n("159b");var o=n("1316"),r=n.n(o);var a=n("898c"),s=n.n(a),l=n("2dc0"),c=n.n(l);function u(e,t){return function(e){if(r()(e))return e}(e)||function(e,t){if(c()(Object(e))||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],i=!0,o=!1,r=void 0;try{for(var a,l=s()(e);!(i=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw r}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var d=n("f81b"),p=n.n(d),f=n("0afa"),m=n.n(f),h=n("7a34"),g=n.n(h);function v(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},r=g()(e);for(i=0;i<r.length;i++)n=r[i],p()(t).call(t,n)>=0||(o[n]=e[n]);return o}(e,t);if(m.a){var r=m()(e);for(i=0;i<r.length;i++)n=r[i],p()(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var _=n("a06f"),b=n.n(_);function y(e){return function(e){if(r()(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(c()(Object(e))||"[object Arguments]"===Object.prototype.toString.call(e))return b()(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var w=n("85d3"),x=n.n(w);function k(e,t,n){return t in e?x()(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}var C={name:"splitpanes",props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},firstSplitter:{type:Boolean,default:!1}},data:function(){return{container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}},computed:{panesCount:function(){return this.panes.length},indexedPanes:function(){return this.panes.reduce(function(e,t){return(e[t.id]=t)&&e},{})}},methods:{updatePaneComponents:function(){var e=this;this.$children.forEach(function(t){t.update(k({},e.horizontal?"height":"width","".concat(e.indexedPanes[t._uid].size,"%")))})},bindEvents:function(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents:function(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown:function(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove:function(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(function(e){return{min:e.min,max:e.max,size:e.size}})))},onMouseUp:function(){var e=this;this.touch.dragging&&this.$emit("resized",this.panes.map(function(e){return{min:e.min,max:e.max,size:e.size}})),this.touch.mouseDown=!1,setTimeout(function(){e.touch.dragging=!1,e.unbindEvents()},100)},onSplitterClick:function(e,t){var n=this;"ontouchstart"in window&&(e.preventDefault(),this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t)):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(function(){n.splitterTaps.splitter=null},500))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick:function(e,t){var n=0;this.panes=this.panes.map(function(e,i){return e.size=i===t?e.max:e.min,i!==t&&(n+=e.min),e}),this.panes[t].size-=n,this.$emit("pane-maximize",this.panes[t])},onPaneClick:function(e,t){this.$emit("pane-click",this.panes[t])},getCurrentMouseDrag:function(e){var t=this.container.getBoundingClientRect(),n="ontouchstart"in window&&e.touches?e.touches[0]:e,i=n.clientX,o=n.clientY;return{x:i-t.left,y:o-t.top}},getCurrentDragPercentage:function(e){return 100*(e=e[this.horizontal?"y":"x"])/this.container[this.horizontal?"clientHeight":"clientWidth"]},calculatePanesSize:function(e){var t=this.touch.activeSplitter,n={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0},i=0+(this.pushOtherPanes?0:n.prevPanesSize),o=100-(this.pushOtherPanes?0:n.nextPanesSize),r=Math.max(Math.min(this.getCurrentDragPercentage(e),o),i),a=[t,t+1],s=this.panes[a[0]]||null,l=this.panes[a[1]]||null,c=s.max<100&&r>=s.max+n.prevPanesSize,u=l.max<100&&r<=100-(l.max+this.sumNextPanesSize(t+1));if(c||u)c?(s.size=s.max,l.size=Math.max(100-s.max-n.prevPanesSize-n.nextPanesSize,0)):(s.size=Math.max(100-l.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),l.size=l.max);else{if(this.pushOtherPanes){var d=this.doPushOtherPanes(n,r);if(!d)return;n=d.sums,a=d.panesToResize,s=this.panes[a[0]]||null,l=this.panes[a[1]]||null}null!==s&&(s.size=Math.min(Math.max(r-n.prevPanesSize-n.prevReachedMinPanes,s.min),s.max)),null!==l&&(l.size=Math.min(Math.max(100-r-n.nextPanesSize-n.nextReachedMinPanes,l.min),l.max))}},doPushOtherPanes:function(e,t){var n=this,i=this.touch.activeSplitter,o=[i,i+1];return t<e.prevPanesSize+this.panes[o[0]].min&&(o[0]=this.findPrevExpandedPane(i).index,e.prevReachedMinPanes=0,o[0]<i&&this.panes.forEach(function(t,n){n>o[0]&&n<=i&&(t.size=t.min,e.prevReachedMinPanes+=t.min)}),e.prevPanesSize=this.sumPrevPanesSize(o[0]),void 0===o[0])?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach(function(t,n){n>0&&n<=i&&(t.size=t.min,e.prevReachedMinPanes+=t.min)}),this.panes[o[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[o[1]].min&&(o[1]=this.findNextExpandedPane(i).index,e.nextReachedMinPanes=0,o[1]>i+1&&this.panes.forEach(function(t,n){n>i&&n<o[1]&&(t.size=t.min,e.nextReachedMinPanes+=t.min)}),e.nextPanesSize=this.sumNextPanesSize(o[1]-1),void 0===o[1])?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach(function(t,o){o<n.panesCount-1&&o>=i+1&&(t.size=t.min,e.nextReachedMinPanes+=t.min)}),this.panes[o[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:o}},sumPrevPanesSize:function(e){return this.panes.reduce(function(t,n,i){return t+(i<e?n.size:0)},0)},sumNextPanesSize:function(e){return this.panes.reduce(function(t,n,i){return t+(i>e+1?n.size:0)},0)},findPrevExpandedPane:function(e){return y(this.panes).reverse().find(function(t){return t.index<e&&t.size>t.min})||{}},findNextExpandedPane:function(e){return this.panes.find(function(t){return t.index>e+1&&t.size>t.min})||{}},checkSplitpanesNodes:function(){this.container.children.forEach(function(e){var t=e.classList.contains("splitpanes__pane"),n=e.classList.contains("splitpanes__splitter");if(!t&&!n)return e.remove(),void console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed.")})},addSplitter:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e-1,r=document.createElement("div");r.classList.add("splitpanes__splitter"),i||(r.onmousedown=function(e){return n.onMouseDown(e,o)},"undefined"!=typeof window&&"ontouchstart"in window&&(r.ontouchstart=function(e){return n.onMouseDown(e,o)}),r.onclick=function(e){return n.onSplitterClick(e,o+1)}),this.dblClickSplitter&&(r.ondblclick=function(e){return n.onSplitterDblClick(e,o+1)}),t.parentNode.insertBefore(r,t)},removeSplitter:function(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.remove()},redoSplitters:function(){var e=this,t=Array.from(this.container.children);t.forEach(function(t){t.className.includes("splitpanes__splitter")&&e.removeSplitter(t)});var n=0;t.forEach(function(t){t.className.includes("splitpanes__pane")&&(!n&&e.firstSplitter?e.addSplitter(n,t,!0):n&&e.addSplitter(n,t),n++)})},requestUpdate:function(e){var t=e.target,n=v(e,["target"]),i=this.indexedPanes[t._uid];Object.entries(n).forEach(function(e){var t=u(e,2),n=t[0],o=t[1];return i[n]=o})},onPaneAdd:function(e){var t=-1;Array.from(e.$el.parentNode.children).some(function(n){return n.className.includes("splitpanes__pane")&&t++,n===e.$el});var n=parseFloat(e.minSize),i=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._uid,index:t,min:isNaN(n)?0:n,max:isNaN(i)?100:i,size:null===e.size?null:parseFloat(e.size),givenSize:e.size}),this.panes.forEach(function(e,t){return e.index=t}),this.ready&&(this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(function(e){return{min:e.min,max:e.max,size:e.size}})}))},onPaneRemove:function(e){var t=this.panes.findIndex(function(t){return t.id===e._uid}),n=this.panes.splice(t,1)[0];this.panes.forEach(function(e,t){return e.index=t}),this.redoSplitters(),this.resetPaneSizes({removedPane:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach(function(t){k(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},n,{index:t})}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(function(e){return{min:e.min,max:e.max,size:e.size}})})},resetPaneSizes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.addedPane||e.removedPane?this.panes.some(function(e){return null!==e.givenSize||e.min||e.max<100})?this.equalizeAfterAddOrRemove(e):this.equalize():this.initialPanesSizing(),this.ready&&this.$emit("resized",this.panes.map(function(e){return{min:e.min,max:e.max,size:e.size}}))},equalize:function(){var e=100/this.panesCount,t=0,n=[],i=[];this.panes.forEach(function(o){o.size=Math.max(Math.min(e,o.max),o.min),t-=o.size,o.size>=o.max&&n.push(o.id),o.size<=o.min&&i.push(o.id)}),t>.1&&this.readjustSizes(t,n,i)},initialPanesSizing:function(){var e=this,t=(this.panesCount,100),n=[],i=[],o=0;this.panes.forEach(function(e){t-=e.size,null!==e.size&&o++,e.size>=e.max&&n.push(e.id),e.size<=e.min&&i.push(e.id)});var r=100;t>.1&&(this.panes.forEach(function(n){null===n.size&&(n.size=Math.max(Math.min(t/(e.panesCount-o),n.max),n.min)),r-=n.size}),r>.1&&this.readjustSizes(t,n,i))},equalizeAfterAddOrRemove:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.addedPane,n=(e.removedPane,100/this.panesCount),i=0,o=[],r=[];t&&null!==t.givenSize&&(n=(100-t.givenSize)/(this.panesCount-1)),this.panes.forEach(function(e){i-=e.size,e.size>=e.max&&o.push(e.id),e.size<=e.min&&r.push(e.id)}),Math.abs(i)<.1||(this.panes.forEach(function(e){t&&null!==t.givenSize&&t.id===e.id||(e.size=Math.max(Math.min(n,e.max),e.min)),i-=e.size,e.size>=e.max&&o.push(e.id),e.size<=e.min&&r.push(e.id)}),i>.1&&this.readjustSizes(i,o,r))},readjustSizes:function(e,t,n){var i,o=this;i=e>0?e/(this.panes.length-t.length):e/(this.panes.length-n.length),this.panes.forEach(function(o,r){if(e>0&&!t.includes(o.id)){var a=Math.max(Math.min(o.size+i,o.max),o.min),s=a-o.size;e-=s,o.size=a}else if(!n.includes(o.id)){var l=Math.max(Math.min(o.size+i,o.max),o.min),c=l-o.size;e-=c,o.size=l}}),Math.abs(e)>.1&&this.$nextTick(function(){o.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler:function(){this.updatePaneComponents()}},horizontal:function(){this.updatePaneComponents()},firstSplitter:function(){this.redoSplitters()},dblClickSplitter:function(e){var t=this;y(this.container.querySelectorAll(".splitpanes__splitter")).forEach(function(n,i){n.ondblclick=e?function(e){return t.onSplitterDblClick(e,i)}:void 0})}},beforeDestroy:function(){this.ready=!1},mounted:function(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render:function(e){return e("div",{ref:"container",class:["splitpanes","splitpanes--".concat(this.horizontal?"horizontal":"vertical"),{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default)}};n("e90c");function S(e,t,n,i,o,r,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),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=S(C,void 0,void 0,!1,null,null,null).exports,P=(n("a9e3"),S({name:"pane",props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:function(){return{style:{}}},mounted:function(){this.$parent.onPaneAdd(this)},beforeDestroy:function(){this.$parent.onPaneRemove(this)},methods:{update:function(e){this.style=e}},computed:{sizeNumber:function(){return this.size?parseFloat(this.size):null},minSizeNumber:function(){return parseFloat(this.minSize)},maxSizeNumber:function(){return parseFloat(this.maxSize)}},watch:{sizeNumber:function(e){this.$parent.requestUpdate({target:this,size:e})},minSizeNumber:function(e){this.$parent.requestUpdate({target:this,min:e})},maxSizeNumber:function(e){this.$parent.requestUpdate({target:this,max:e})}}},function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"splitpanes__pane",style:this.style},[this._t("default")],2)},[],!1,null,null,null).exports);n.d(t,"Splitpanes",function(){return M}),n.d(t,"Pane",function(){return P})},fbcc:function(e,t,n){t.f=n("0363")},fc48:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},fc6a:function(e,t,n){var i=n("44ad"),o=n("1d80");e.exports=function(e){return i(o(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 i=n("4930");e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol()}})},{}],156:[function(e,t,n){var i=e("../src/store-engine"),o=e("../storages/all"),r=[e("../plugins/json2")];t.exports=i.createStore(o,r)},{"../plugins/json2":157,"../src/store-engine":159,"../storages/all":161}],157:[function(e,t,n){t.exports=function(){return e("./lib/json2"),{}}},{"./lib/json2":158}],158:[function(require,module,exports){"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_escapable,function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var n,i,o,r,a,s=gap,l=t[e];switch(l&&"object"==typeof l&&"function"==typeof l.toJSON&&(l=l.toJSON(e)),"function"==typeof rep&&(l=rep.call(t,e,l)),typeof l){case"string":return quote(l);case"number":return isFinite(l)?String(l):"null";case"boolean":case"null":return String(l);case"object":if(!l)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(l)){for(r=l.length,n=0;n<r;n+=1)a[n]=str(n,l)||"null";return o=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,o}if(rep&&"object"==typeof rep)for(r=rep.length,n=0;n<r;n+=1)"string"==typeof rep[n]&&(o=str(i=rep[n],l))&&a.push(quote(i)+(gap?": ":":")+o);else for(i in l)Object.prototype.hasOwnProperty.call(l,i)&&(o=str(i,l))&&a.push(quote(i)+(gap?": ":":")+o);return o=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,n){var i;if(gap="",indent="","number"==typeof n)for(i=0;i<n;i+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(e,t){var n,i,o=e[t];if(o&&"object"==typeof o)for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(void 0!==(i=walk(o,n))?o[n]=i:delete o[n]);return reviver.call(e,t,o)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},{}],159:[function(e,t,n){var i=e("./util"),o=i.slice,r=i.pluck,a=i.each,s=i.bind,l=i.create,c=i.isList,u=i.isFunction,d=i.isObject;t.exports={createStore:f};var p={version:"2.0.12",enabled:!1,get:function(e,t){var n=this.storage.read(this._namespacePrefix+e);return this._deserialize(n,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each(function(n,i){e.call(t,t._deserialize(n),(i||"").replace(t._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return f.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return f(this.storage,this.plugins,e)}};function f(e,t,n){n||(n=""),e&&!c(e)&&(e=[e]),t&&!c(t)&&(t=[t]);var i=n?"__storejs_"+n+"_":"",f=n?new RegExp("^"+i):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var m=l({_namespacePrefix:i,_namespaceRegexp:f,_testStorage:function(e){try{var t="__storejs__test__";e.write(t,t);var n=e.read(t)===t;return e.remove(t),n}catch(e){return!1}},_assignPluginFnProp:function(e,t){var n=this[t];this[t]=function(){var t=o(arguments,0),i=this;var r=[function(){if(n)return a(arguments,function(e,n){t[n]=e}),n.apply(i,t)}].concat(t);return e.apply(i,r)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var n="";try{n=JSON.parse(e)}catch(t){n=e}return void 0!==n?n:t},_addStorage:function(e){this.enabled||this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(c(e))a(e,function(e){t._addPlugin(e)});else if(!r(this.plugins,function(t){return e===t})){if(this.plugins.push(e),!u(e))throw new Error("Plugins must be function values that return objects");var n=e.call(this);if(!d(n))throw new Error("Plugins must return an object of function properties");a(n,function(n,i){if(!u(n))throw new Error("Bad plugin property: "+i+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(n,i)})}},addStorage:function(e){!function(){var e="undefined"==typeof console?null:console;e&&(e.warn?e.warn:e.log).apply(e,arguments)}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},p,{plugins:[]});return m.raw={},a(m,function(e,t){u(e)&&(m.raw[t]=s(m,e))}),a(e,function(e){m._addStorage(e)}),a(t,function(e){m._addPlugin(e)}),m}},{"./util":160}],160:[function(e,t,n){(function(e){var n=Object.assign?Object.assign:function(e,t,n,i){for(var o=1;o<arguments.length;o++)s(Object(arguments[o]),function(t,n){e[n]=t});return e},i=function(){if(Object.create)return function(e,t,i,o){var r=a(arguments,1);return n.apply(this,[Object.create(e)].concat(r))};{function e(){}return function(t,i,o,r){var s=a(arguments,1);return e.prototype=t,n.apply(this,[new e].concat(s))}}}(),o=String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},r="undefined"!=typeof window?window:e;function a(e,t){return Array.prototype.slice.call(e,t||0)}function s(e,t){l(e,function(e,n){return t(e,n),!1})}function l(e,t){if(c(e)){for(var n=0;n<e.length;n++)if(t(e[n],n))return e[n]}else for(var i in e)if(e.hasOwnProperty(i)&&t(e[i],i))return e[i]}function c(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}t.exports={assign:n,create:i,trim:o,bind:function(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}},slice:a,each:s,map:function(e,t){var n=c(e)?[]:{};return l(e,function(e,i){return n[i]=t(e,i),!1}),n},pluck:l,isList:c,isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},isObject:function(e){return e&&"[object Object]"==={}.toString.call(e)},Global:r}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],161:[function(e,t,n){t.exports=[e("./localStorage"),e("./oldFF-globalStorage"),e("./oldIE-userDataStorage"),e("./cookieStorage"),e("./sessionStorage"),e("./memoryStorage")]},{"./cookieStorage":162,"./localStorage":163,"./memoryStorage":164,"./oldFF-globalStorage":165,"./oldIE-userDataStorage":166,"./sessionStorage":167}],162:[function(e,t,n){var i=e("../src/util"),o=i.Global,r=i.trim;t.exports={name:"cookieStorage",read:function(e){if(!e||!c(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(t),"$1"))},write:function(e,t){if(!e)return;a.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"},each:s,remove:l,clearAll:function(){s(function(e,t){l(t)})}};var a=o.document;function s(e){for(var t=a.cookie.split(/; ?/g),n=t.length-1;n>=0;n--)if(r(t[n])){var i=t[n].split("="),o=unescape(i[0]);e(unescape(i[1]),o)}}function l(e){e&&c(e)&&(a.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function c(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},{"../src/util":160}],163:[function(e,t,n){var i=e("../src/util").Global;function o(){return i.localStorage}function r(e){return o().getItem(e)}t.exports={name:"localStorage",read:r,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(r(n),n)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},{"../src/util":160}],164:[function(e,t,n){t.exports={name:"memoryStorage",read:function(e){return i[e]},write:function(e,t){i[e]=t},each:function(e){for(var t in i)i.hasOwnProperty(t)&&e(i[t],t)},remove:function(e){delete i[e]},clearAll:function(e){i={}}};var i={}},{}],165:[function(e,t,n){var i=e("../src/util").Global;t.exports={name:"oldFF-globalStorage",read:function(e){return o[e]},write:function(e,t){o[e]=t},each:r,remove:function(e){return o.removeItem(e)},clearAll:function(){r(function(e,t){delete o[e]})}};var o=i.globalStorage;function r(e){for(var t=o.length-1;t>=0;t--){var n=o.key(t);e(o[n],n)}}},{"../src/util":160}],166:[function(e,t,n){var i=e("../src/util").Global;t.exports={name:"oldIE-userDataStorage",write:function(e,t){if(s)return;var n=c(e);a(function(e){e.setAttribute(n,t),e.save(o)})},read:function(e){if(s)return;var t=c(e),n=null;return a(function(e){n=e.getAttribute(t)}),n},each:function(e){a(function(t){for(var n=t.XMLDocument.documentElement.attributes,i=n.length-1;i>=0;i--){var o=n[i];e(t.getAttribute(o.name),o.name)}})},remove:function(e){var t=c(e);a(function(e){e.removeAttribute(t),e.save(o)})},clearAll:function(){a(function(e){var t=e.XMLDocument.documentElement.attributes;e.load(o);for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save(o)})}};var o="storejs",r=i.document,a=function(){if(!r||!r.documentElement||!r.documentElement.addBehavior)return null;var e,t,n;try{(t=new ActiveXObject("htmlfile")).open(),t.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>'),t.close(),e=t.w.frames[0].document,n=e.createElement("div")}catch(t){n=r.createElement("div"),e=r.body}return function(t){var i=[].slice.call(arguments,0);i.unshift(n),e.appendChild(n),n.addBehavior("#default#userData"),n.load(o),t.apply(this,i),e.removeChild(n)}}(),s=(i.navigator?i.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);var l=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function c(e){return e.replace(/^\d/,"___$&").replace(l,"___")}},{"../src/util":160}],167:[function(e,t,n){var i=e("../src/util").Global;function o(){return i.sessionStorage}function r(e){return o().getItem(e)}t.exports={name:"sessionStorage",read:r,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(r(n),n)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},{"../src/util":160}],168:[function(e,t,n){(function(t,i){var o=e("process/browser.js").nextTick,r=Function.prototype.apply,a=Array.prototype.slice,s={},l=0;function c(e,t){this._id=e,this._clearFn=t}n.setTimeout=function(){return new c(r.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new c(r.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},c.prototype.unref=c.prototype.ref=function(){},c.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n.setImmediate="function"==typeof t?t:function(e){var t=l++,i=!(arguments.length<2)&&a.call(arguments,1);return s[t]=!0,o(function(){s[t]&&(i?e.apply(null,i):e.call(null),n.clearImmediate(t))}),t},n.clearImmediate="function"==typeof i?i:function(e){delete s[e]}}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":113,timers:168}],169:[function(e,t,n){t.exports=function(e,t){for(var n=[],i=(t=t||0)||0;i<e.length;i++)n[i-t]=e[i];return n}},{}],170:[function(e,t,n){(function(e){!function(){var i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},o=i._,r=Array.prototype,a=Object.prototype,s="undefined"!=typeof Symbol?Symbol.prototype:null,l=r.push,c=r.slice,u=a.toString,d=a.hasOwnProperty,p=Array.isArray,f=Object.keys,m=Object.create,h=function(){},g=function(e){return e instanceof g?e:this instanceof g?void(this._wrapped=e):new g(e)};void 0===n||n.nodeType?i._=g:(void 0!==t&&!t.nodeType&&t.exports&&(n=t.exports=g),n._=g),g.VERSION="1.9.1";var v,_=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,i,o){return e.call(t,n,i,o)};case 4:return function(n,i,o,r){return e.call(t,n,i,o,r)}}return function(){return e.apply(t,arguments)}},b=function(e,t,n){return g.iteratee!==v?g.iteratee(e,t):null==e?g.identity:g.isFunction(e)?_(e,t,n):g.isObject(e)&&!g.isArray(e)?g.matcher(e):g.property(e)};g.iteratee=v=function(e,t){return b(e,t,1/0)};var y=function(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),i=Array(n),o=0;o<n;o++)i[o]=arguments[o+t];switch(t){case 0:return e.call(this,i);case 1:return e.call(this,arguments[0],i);case 2:return e.call(this,arguments[0],arguments[1],i)}var r=Array(t+1);for(o=0;o<t;o++)r[o]=arguments[o];return r[t]=i,e.apply(this,r)}},w=function(e){if(!g.isObject(e))return{};if(m)return m(e);h.prototype=e;var t=new h;return h.prototype=null,t},x=function(e){return function(t){return null==t?void 0:t[e]}},k=function(e,t){return null!=e&&d.call(e,t)},A=function(e,t){for(var n=t.length,i=0;i<n;i++){if(null==e)return;e=e[t[i]]}return n?e:void 0},C=Math.pow(2,53)-1,S=x("length"),M=function(e){var t=S(e);return"number"==typeof t&&t>=0&&t<=C};g.each=g.forEach=function(e,t,n){var i,o;if(t=_(t,n),M(e))for(i=0,o=e.length;i<o;i++)t(e[i],i,e);else{var r=g.keys(e);for(i=0,o=r.length;i<o;i++)t(e[r[i]],r[i],e)}return e},g.map=g.collect=function(e,t,n){t=b(t,n);for(var i=!M(e)&&g.keys(e),o=(i||e).length,r=Array(o),a=0;a<o;a++){var s=i?i[a]:a;r[a]=t(e[s],s,e)}return r};var P=function(e){return function(t,n,i,o){var r=arguments.length>=3;return function(t,n,i,o){var r=!M(t)&&g.keys(t),a=(r||t).length,s=e>0?0:a-1;for(o||(i=t[r?r[s]:s],s+=e);s>=0&&s<a;s+=e){var l=r?r[s]:s;i=n(i,t[l],l,t)}return i}(t,_(n,o,4),i,r)}};g.reduce=g.foldl=g.inject=P(1),g.reduceRight=g.foldr=P(-1),g.find=g.detect=function(e,t,n){var i=(M(e)?g.findIndex:g.findKey)(e,t,n);if(void 0!==i&&-1!==i)return e[i]},g.filter=g.select=function(e,t,n){var i=[];return t=b(t,n),g.each(e,function(e,n,o){t(e,n,o)&&i.push(e)}),i},g.reject=function(e,t,n){return g.filter(e,g.negate(b(t)),n)},g.every=g.all=function(e,t,n){t=b(t,n);for(var i=!M(e)&&g.keys(e),o=(i||e).length,r=0;r<o;r++){var a=i?i[r]:r;if(!t(e[a],a,e))return!1}return!0},g.some=g.any=function(e,t,n){t=b(t,n);for(var i=!M(e)&&g.keys(e),o=(i||e).length,r=0;r<o;r++){var a=i?i[r]:r;if(t(e[a],a,e))return!0}return!1},g.contains=g.includes=g.include=function(e,t,n,i){return M(e)||(e=g.values(e)),("number"!=typeof n||i)&&(n=0),g.indexOf(e,t,n)>=0},g.invoke=y(function(e,t,n){var i,o;return g.isFunction(t)?o=t:g.isArray(t)&&(i=t.slice(0,-1),t=t[t.length-1]),g.map(e,function(e){var r=o;if(!r){if(i&&i.length&&(e=A(e,i)),null==e)return;r=e[t]}return null==r?r:r.apply(e,n)})}),g.pluck=function(e,t){return g.map(e,g.property(t))},g.where=function(e,t){return g.filter(e,g.matcher(t))},g.findWhere=function(e,t){return g.find(e,g.matcher(t))},g.max=function(e,t,n){var i,o,r=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=M(e)?e:g.values(e)).length;s<l;s++)null!=(i=e[s])&&i>r&&(r=i);else t=b(t,n),g.each(e,function(e,n,i){((o=t(e,n,i))>a||o===-1/0&&r===-1/0)&&(r=e,a=o)});return r},g.min=function(e,t,n){var i,o,r=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=M(e)?e:g.values(e)).length;s<l;s++)null!=(i=e[s])&&i<r&&(r=i);else t=b(t,n),g.each(e,function(e,n,i){((o=t(e,n,i))<a||o===1/0&&r===1/0)&&(r=e,a=o)});return r},g.shuffle=function(e){return g.sample(e,1/0)},g.sample=function(e,t,n){if(null==t||n)return M(e)||(e=g.values(e)),e[g.random(e.length-1)];var i=M(e)?g.clone(e):g.values(e),o=S(i);t=Math.max(Math.min(t,o),0);for(var r=o-1,a=0;a<t;a++){var s=g.random(a,r),l=i[a];i[a]=i[s],i[s]=l}return i.slice(0,t)},g.sortBy=function(e,t,n){var i=0;return t=b(t,n),g.pluck(g.map(e,function(e,n,o){return{value:e,index:i++,criteria:t(e,n,o)}}).sort(function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(n<i||void 0===i)return-1}return e.index-t.index}),"value")};var O=function(e,t){return function(n,i,o){var r=t?[[],[]]:{};return i=b(i,o),g.each(n,function(t,o){var a=i(t,o,n);e(r,t,a)}),r}};g.groupBy=O(function(e,t,n){k(e,n)?e[n].push(t):e[n]=[t]}),g.indexBy=O(function(e,t,n){e[n]=t}),g.countBy=O(function(e,t,n){k(e,n)?e[n]++:e[n]=1});var T=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;g.toArray=function(e){return e?g.isArray(e)?c.call(e):g.isString(e)?e.match(T):M(e)?g.map(e,g.identity):g.values(e):[]},g.size=function(e){return null==e?0:M(e)?e.length:g.keys(e).length},g.partition=O(function(e,t,n){e[n?0:1].push(t)},!0),g.first=g.head=g.take=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[0]:g.initial(e,e.length-t)},g.initial=function(e,t,n){return c.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},g.last=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[e.length-1]:g.rest(e,Math.max(0,e.length-t))},g.rest=g.tail=g.drop=function(e,t,n){return c.call(e,null==t||n?1:t)},g.compact=function(e){return g.filter(e,Boolean)};var E=function(e,t,n,i){for(var o=(i=i||[]).length,r=0,a=S(e);r<a;r++){var s=e[r];if(M(s)&&(g.isArray(s)||g.isArguments(s)))if(t)for(var l=0,c=s.length;l<c;)i[o++]=s[l++];else E(s,t,n,i),o=i.length;else n||(i[o++]=s)}return i};g.flatten=function(e,t){return E(e,t,!1)},g.without=y(function(e,t){return g.difference(e,t)}),g.uniq=g.unique=function(e,t,n,i){g.isBoolean(t)||(i=n,n=t,t=!1),null!=n&&(n=b(n,i));for(var o=[],r=[],a=0,s=S(e);a<s;a++){var l=e[a],c=n?n(l,a,e):l;t&&!n?(a&&r===c||o.push(l),r=c):n?g.contains(r,c)||(r.push(c),o.push(l)):g.contains(o,l)||o.push(l)}return o},g.union=y(function(e){return g.uniq(E(e,!0,!0))}),g.intersection=function(e){for(var t=[],n=arguments.length,i=0,o=S(e);i<o;i++){var r=e[i];if(!g.contains(t,r)){var a;for(a=1;a<n&&g.contains(arguments[a],r);a++);a===n&&t.push(r)}}return t},g.difference=y(function(e,t){return t=E(t,!0,!0),g.filter(e,function(e){return!g.contains(t,e)})}),g.unzip=function(e){for(var t=e&&g.max(e,S).length||0,n=Array(t),i=0;i<t;i++)n[i]=g.pluck(e,i);return n},g.zip=y(g.unzip),g.object=function(e,t){for(var n={},i=0,o=S(e);i<o;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n};var N=function(e){return function(t,n,i){n=b(n,i);for(var o=S(t),r=e>0?0:o-1;r>=0&&r<o;r+=e)if(n(t[r],r,t))return r;return-1}};g.findIndex=N(1),g.findLastIndex=N(-1),g.sortedIndex=function(e,t,n,i){for(var o=(n=b(n,i,1))(t),r=0,a=S(e);r<a;){var s=Math.floor((r+a)/2);n(e[s])<o?r=s+1:a=s}return r};var $=function(e,t,n){return function(i,o,r){var a=0,s=S(i);if("number"==typeof r)e>0?a=r>=0?r:Math.max(r+s,a):s=r>=0?Math.min(r+1,s):r+s+1;else if(n&&r&&s)return i[r=n(i,o)]===o?r:-1;if(o!=o)return(r=t(c.call(i,a,s),g.isNaN))>=0?r+a:-1;for(r=e>0?a:s-1;r>=0&&r<s;r+=e)if(i[r]===o)return r;return-1}};g.indexOf=$(1,g.findIndex,g.sortedIndex),g.lastIndexOf=$(-1,g.findLastIndex),g.range=function(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var i=Math.max(Math.ceil((t-e)/n),0),o=Array(i),r=0;r<i;r++,e+=n)o[r]=e;return o},g.chunk=function(e,t){if(null==t||t<1)return[];for(var n=[],i=0,o=e.length;i<o;)n.push(c.call(e,i,i+=t));return n};var j=function(e,t,n,i,o){if(!(i instanceof t))return e.apply(n,o);var r=w(e.prototype),a=e.apply(r,o);return g.isObject(a)?a:r};g.bind=y(function(e,t,n){if(!g.isFunction(e))throw new TypeError("Bind must be called on a function");var i=y(function(o){return j(e,i,t,this,n.concat(o))});return i}),g.partial=y(function(e,t){var n=g.partial.placeholder,i=function(){for(var o=0,r=t.length,a=Array(r),s=0;s<r;s++)a[s]=t[s]===n?arguments[o++]:t[s];for(;o<arguments.length;)a.push(arguments[o++]);return j(e,i,this,this,a)};return i}),g.partial.placeholder=g,g.bindAll=y(function(e,t){var n=(t=E(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var i=t[n];e[i]=g.bind(e[i],e)}}),g.memoize=function(e,t){var n=function(i){var o=n.cache,r=""+(t?t.apply(this,arguments):i);return k(o,r)||(o[r]=e.apply(this,arguments)),o[r]};return n.cache={},n},g.delay=y(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),g.defer=g.partial(g.delay,g,1),g.throttle=function(e,t,n){var i,o,r,a,s=0;n||(n={});var l=function(){s=!1===n.leading?0:g.now(),i=null,a=e.apply(o,r),i||(o=r=null)},c=function(){var c=g.now();s||!1!==n.leading||(s=c);var u=t-(c-s);return o=this,r=arguments,u<=0||u>t?(i&&(clearTimeout(i),i=null),s=c,a=e.apply(o,r),i||(o=r=null)):i||!1===n.trailing||(i=setTimeout(l,u)),a};return c.cancel=function(){clearTimeout(i),s=0,i=o=r=null},c},g.debounce=function(e,t,n){var i,o,r=function(t,n){i=null,n&&(o=e.apply(t,n))},a=y(function(a){if(i&&clearTimeout(i),n){var s=!i;i=setTimeout(r,t),s&&(o=e.apply(this,a))}else i=g.delay(r,t,this,a);return o});return a.cancel=function(){clearTimeout(i),i=null},a},g.wrap=function(e,t){return g.partial(t,e)},g.negate=function(e){return function(){return!e.apply(this,arguments)}},g.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}},g.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},g.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},g.once=g.partial(g.before,2),g.restArguments=y;var q=!{toString:null}.propertyIsEnumerable("toString"),L=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],F=function(e,t){var n=L.length,i=e.constructor,o=g.isFunction(i)&&i.prototype||a,r="constructor";for(k(e,r)&&!g.contains(t,r)&&t.push(r);n--;)(r=L[n])in e&&e[r]!==o[r]&&!g.contains(t,r)&&t.push(r)};g.keys=function(e){if(!g.isObject(e))return[];if(f)return f(e);var t=[];for(var n in e)k(e,n)&&t.push(n);return q&&F(e,t),t},g.allKeys=function(e){if(!g.isObject(e))return[];var t=[];for(var n in e)t.push(n);return q&&F(e,t),t},g.values=function(e){for(var t=g.keys(e),n=t.length,i=Array(n),o=0;o<n;o++)i[o]=e[t[o]];return i},g.mapObject=function(e,t,n){t=b(t,n);for(var i=g.keys(e),o=i.length,r={},a=0;a<o;a++){var s=i[a];r[s]=t(e[s],s,e)}return r},g.pairs=function(e){for(var t=g.keys(e),n=t.length,i=Array(n),o=0;o<n;o++)i[o]=[t[o],e[t[o]]];return i},g.invert=function(e){for(var t={},n=g.keys(e),i=0,o=n.length;i<o;i++)t[e[n[i]]]=n[i];return t},g.functions=g.methods=function(e){var t=[];for(var n in e)g.isFunction(e[n])&&t.push(n);return t.sort()};var D=function(e,t){return function(n){var i=arguments.length;if(t&&(n=Object(n)),i<2||null==n)return n;for(var o=1;o<i;o++)for(var r=arguments[o],a=e(r),s=a.length,l=0;l<s;l++){var c=a[l];t&&void 0!==n[c]||(n[c]=r[c])}return n}};g.extend=D(g.allKeys),g.extendOwn=g.assign=D(g.keys),g.findKey=function(e,t,n){t=b(t,n);for(var i,o=g.keys(e),r=0,a=o.length;r<a;r++)if(t(e[i=o[r]],i,e))return i};var R,z,B=function(e,t,n){return t in n};g.pick=y(function(e,t){var n={},i=t[0];if(null==e)return n;g.isFunction(i)?(t.length>1&&(i=_(i,t[1])),t=g.allKeys(e)):(i=B,t=E(t,!1,!1),e=Object(e));for(var o=0,r=t.length;o<r;o++){var a=t[o],s=e[a];i(s,a,e)&&(n[a]=s)}return n}),g.omit=y(function(e,t){var n,i=t[0];return g.isFunction(i)?(i=g.negate(i),t.length>1&&(n=t[1])):(t=g.map(E(t,!1,!1),String),i=function(e,n){return!g.contains(t,n)}),g.pick(e,i,n)}),g.defaults=D(g.allKeys,!0),g.create=function(e,t){var n=w(e);return t&&g.extendOwn(n,t),n},g.clone=function(e){return g.isObject(e)?g.isArray(e)?e.slice():g.extend({},e):e},g.tap=function(e,t){return t(e),e},g.isMatch=function(e,t){var n=g.keys(t),i=n.length;if(null==e)return!i;for(var o=Object(e),r=0;r<i;r++){var a=n[r];if(t[a]!==o[a]||!(a in o))return!1}return!0},R=function(e,t,n,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&z(e,t,n,i)},z=function(e,t,n,i){e instanceof g&&(e=e._wrapped),t instanceof g&&(t=t._wrapped);var o=u.call(e);if(o!==u.call(t))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return s.valueOf.call(e)===s.valueOf.call(t)}var r="[object Array]"===o;if(!r){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,l=t.constructor;if(a!==l&&!(g.isFunction(a)&&a instanceof a&&g.isFunction(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}i=i||[];for(var c=(n=n||[]).length;c--;)if(n[c]===e)return i[c]===t;if(n.push(e),i.push(t),r){if((c=e.length)!==t.length)return!1;for(;c--;)if(!R(e[c],t[c],n,i))return!1}else{var d,p=g.keys(e);if(c=p.length,g.keys(t).length!==c)return!1;for(;c--;)if(d=p[c],!k(t,d)||!R(e[d],t[d],n,i))return!1}return n.pop(),i.pop(),!0},g.isEqual=function(e,t){return R(e,t)},g.isEmpty=function(e){return null==e||(M(e)&&(g.isArray(e)||g.isString(e)||g.isArguments(e))?0===e.length:0===g.keys(e).length)},g.isElement=function(e){return!(!e||1!==e.nodeType)},g.isArray=p||function(e){return"[object Array]"===u.call(e)},g.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},g.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],function(e){g["is"+e]=function(t){return u.call(t)==="[object "+e+"]"}}),g.isArguments(arguments)||(g.isArguments=function(e){return k(e,"callee")});var I=i.document&&i.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof I&&(g.isFunction=function(e){return"function"==typeof e||!1}),g.isFinite=function(e){return!g.isSymbol(e)&&isFinite(e)&&!isNaN(parseFloat(e))},g.isNaN=function(e){return g.isNumber(e)&&isNaN(e)},g.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===u.call(e)},g.isNull=function(e){return null===e},g.isUndefined=function(e){return void 0===e},g.has=function(e,t){if(!g.isArray(t))return k(e,t);for(var n=t.length,i=0;i<n;i++){var o=t[i];if(null==e||!d.call(e,o))return!1;e=e[o]}return!!n},g.noConflict=function(){return i._=o,this},g.identity=function(e){return e},g.constant=function(e){return function(){return e}},g.noop=function(){},g.property=function(e){return g.isArray(e)?function(t){return A(t,e)}:x(e)},g.propertyOf=function(e){return null==e?function(){}:function(t){return g.isArray(t)?A(e,t):e[t]}},g.matcher=g.matches=function(e){return e=g.extendOwn({},e),function(t){return g.isMatch(t,e)}},g.times=function(e,t,n){var i=Array(Math.max(0,e));t=_(t,n,1);for(var o=0;o<e;o++)i[o]=t(o);return i},g.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},g.now=Date.now||function(){return(new Date).getTime()};var H={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},U=g.invert(H),V=function(e){var t=function(t){return e[t]},n="(?:"+g.keys(e).join("|")+")",i=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(o,t):e}};g.escape=V(H),g.unescape=V(U),g.result=function(e,t,n){g.isArray(t)||(t=[t]);var i=t.length;if(!i)return g.isFunction(n)?n.call(e):n;for(var o=0;o<i;o++){var r=null==e?void 0:e[t[o]];void 0===r&&(r=n,o=i),e=g.isFunction(r)?r.call(e):r}return e};var W=0;g.uniqueId=function(e){var t=++W+"";return e?e+t:t},g.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var Y=/(.)^/,G={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},K=/\\|'|\r|\n|\u2028|\u2029/g,J=function(e){return"\\"+G[e]};g.template=function(e,t,n){!t&&n&&(t=n),t=g.defaults({},t,g.templateSettings);var i,o=RegExp([(t.escape||Y).source,(t.interpolate||Y).source,(t.evaluate||Y).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(o,function(t,n,i,o,s){return a+=e.slice(r,s).replace(K,J),r=s+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?a+="'+\n((__t=("+i+"))==null?'':__t)+\n'":o&&(a+="';\n"+o+"\n__p+='"),t}),a+="';\n",t.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{i=new Function(t.variable||"obj","_",a)}catch(e){throw e.source=a,e}var s=function(e){return i.call(this,e,g)},l=t.variable||"obj";return s.source="function("+l+"){\n"+a+"}",s},g.chain=function(e){var t=g(e);return t._chain=!0,t};var X=function(e,t){return e._chain?g(t).chain():t};g.mixin=function(e){return g.each(g.functions(e),function(t){var n=g[t]=e[t];g.prototype[t]=function(){var e=[this._wrapped];return l.apply(e,arguments),X(this,n.apply(g,e))}}),g},g.mixin(g),g.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=r[e];g.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],X(this,n)}}),g.each(["concat","join","slice"],function(e){var t=r[e];g.prototype[e]=function(){return X(this,t.apply(this._wrapped,arguments))}}),g.prototype.value=function(){return this._wrapped},g.prototype.valueOf=g.prototype.toJSON=g.prototype.value,g.prototype.toString=function(){return String(this._wrapped)},"function"==typeof define&&define.amd&&define("underscore",[],function(){return g})}()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],171:[function(e,t,n){"use strict";var i=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher","unit"];function o(e,t){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}function r(e,t){"undefined"!=typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}function a(e){return null!==e&&"object"==typeof e}var s=Object.prototype.toString,l="[object Object]";function c(e){return s.call(e)===l}function u(e){return null==e}function d(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=null,i=null;return 1===e.length?a(e[0])||Array.isArray(e[0])?i=e[0]:"string"==typeof e[0]&&(n=e[0]):2===e.length&&("string"==typeof e[0]&&(n=e[0]),(a(e[1])||Array.isArray(e[1]))&&(i=e[1])),{locale:n,params:i}}function p(e){return JSON.parse(JSON.stringify(e))}var f=Object.prototype.hasOwnProperty;function m(e,t){return f.call(e,t)}function h(e){for(var t=arguments,n=Object(e),i=1;i<arguments.length;i++){var o=t[i];if(null!=o){var r=void 0;for(r in o)m(o,r)&&(a(o[r])?n[r]=h(n[r],o[r]):n[r]=o[r])}}return n}function g(e,t){if(e===t)return!0;var n=a(e),i=a(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var o=Array.isArray(e),r=Array.isArray(t);if(o&&r)return e.length===t.length&&e.every(function(e,n){return g(e,t[n])});if(o||r)return!1;var s=Object.keys(e),l=Object.keys(t);return s.length===l.length&&s.every(function(n){return g(e[n],t[n])})}catch(e){return!1}}var v={beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n)if(e.i18n instanceof ne){if(e.__i18n)try{var t={};e.__i18n.forEach(function(e){t=h(t,JSON.parse(e))}),Object.keys(t).forEach(function(n){e.i18n.mergeLocaleMessage(n,t[n])})}catch(e){0}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(c(e.i18n)){if(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ne&&(e.i18n.root=this.$root,e.i18n.formatter=this.$root.$i18n.formatter,e.i18n.fallbackLocale=this.$root.$i18n.fallbackLocale,e.i18n.formatFallbackMessages=this.$root.$i18n.formatFallbackMessages,e.i18n.silentTranslationWarn=this.$root.$i18n.silentTranslationWarn,e.i18n.silentFallbackWarn=this.$root.$i18n.silentFallbackWarn,e.i18n.pluralizationRules=this.$root.$i18n.pluralizationRules,e.i18n.preserveDirectiveContent=this.$root.$i18n.preserveDirectiveContent),e.__i18n)try{var n={};e.__i18n.forEach(function(e){n=h(n,JSON.parse(e))}),e.i18n.messages=n}catch(e){0}var i=e.i18n.sharedMessages;i&&c(i)&&(e.i18n.messages=h(e.i18n.messages,i)),this._i18n=new ne(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale())}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ne?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof ne&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n?e.i18n instanceof ne?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):c(e.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ne?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof ne&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick(function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher),e._i18n=null})}}},_={name:"i18n",functional:!0,props:{tag:{type:String},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var n=t.data,i=t.parent,o=t.props,r=t.slots,a=i.$i18n;if(a){var s=o.path,l=o.locale,c=o.places,u=r(),d=a.i(s,l,function(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}(u)||c?function(e,t){var n=t?function(e){0;return Array.isArray(e)?e.reduce(y,{}):Object.assign({},e)}(t):{};if(!e)return n;var i=(e=e.filter(function(e){return e.tag||""!==e.text.trim()})).every(w);0;return e.reduce(i?b:y,n)}(u.default,c):u),p=o.tag||"span";return p?e(p,n,d):d}}};function b(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function y(e,t,n){return e[n]=t,e}function w(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var x,k={name:"i18n-n",functional:!0,props:{tag:{type:String,default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var n=t.props,o=t.parent,r=t.data,s=o.$i18n;if(!s)return null;var l=null,c=null;"string"==typeof n.format?l=n.format:a(n.format)&&(n.format.key&&(l=n.format.key),c=Object.keys(n.format).reduce(function(e,t){var o;return i.includes(t)?Object.assign({},e,((o={})[t]=n.format[t],o)):e},null));var u=n.locale||s.locale,d=s._ntp(n.value,u,l,c),p=d.map(function(e,t){var n,i=r.scopedSlots&&r.scopedSlots[e.type];return i?i(((n={})[e.type]=e.value,n.index=t,n.parts=d,n)):e.value});return e(n.tag,{attrs:r.attrs,class:r.class,staticClass:r.staticClass},p)}};function A(e,t,n){M(e,n)&&P(e,t,n)}function C(e,t,n,i){if(M(e,n)){var o=n.context.$i18n;(function(e,t){var n=t.context;return e._locale===n.$i18n.locale})(e,n)&&g(t.value,t.oldValue)&&g(e._localeMessage,o.getLocaleMessage(o.locale))||P(e,t,n)}}function S(e,t,n,i){if(n.context){var r=n.context.$i18n||{};t.modifiers.preserve||r.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e._vt,e._locale=void 0,delete e._locale,e._localeMessage=void 0,delete e._localeMessage}else o("Vue instance does not exists in VNode context")}function M(e,t){var n=t.context;return n?!!n.$i18n||(o("VueI18n instance does not exists in Vue instance"),!1):(o("Vue instance does not exists in VNode context"),!1)}function P(e,t,n){var i,r,a=function(e){var t,n,i,o;"string"==typeof e?t=e:c(e)&&(t=e.path,n=e.locale,i=e.args,o=e.choice);return{path:t,locale:n,args:i,choice:o}}(t.value),s=a.path,l=a.locale,u=a.args,d=a.choice;if(s||l||u)if(s){var p=n.context;e._vt=e.textContent=d?(i=p.$i18n).tc.apply(i,[s,d].concat(O(l,u))):(r=p.$i18n).t.apply(r,[s].concat(O(l,u))),e._locale=p.$i18n.locale,e._localeMessage=p.$i18n.getLocaleMessage(p.$i18n.locale)}else o("`path` is required in v-t directive");else o("value type not supported")}function O(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||c(t))&&n.push(t),n}function T(e){T.installed=!0;(x=e).version&&Number(x.version.split(".")[0]);(function(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[e,i.locale,i._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];var o=this.$i18n;return o._tc.apply(o,[e,o.locale,o._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}})(x),x.mixin(v),x.directive("t",{bind:A,update:C,unbind:S}),x.component(_.name,_),x.component(k.name,k),x.config.optionMergeStrategies.i18n=function(e,t){return void 0===t?e:t}}var E=function(){this._caches=Object.create(null)};E.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=function(e){var t=[],n=0,i="";for(;n<e.length;){var o=e[n++];if("{"===o){i&&t.push({type:"text",value:i}),i="";var r="";for(o=e[n++];void 0!==o&&"}"!==o;)r+=o,o=e[n++];var a="}"===o,s=N.test(r)?"list":a&&$.test(r)?"named":"unknown";t.push({value:r,type:s})}else"%"===o?"{"!==e[n]&&(i+=o):i+=o}return i&&t.push({type:"text",value:i}),t}(e),this._caches[e]=n),function(e,t){var n=[],i=0,o=Array.isArray(t)?"list":a(t)?"named":"unknown";if("unknown"===o)return n;for(;i<e.length;){var r=e[i];switch(r.type){case"text":n.push(r.value);break;case"list":n.push(t[parseInt(r.value,10)]);break;case"named":"named"===o&&n.push(t[r.value]);break;case"unknown":0}i++}return n}(n,t)};var N=/^(?:\d)+/,$=/^(?:\w)+/;var j=0,q=1,L=2,F=3,D=0,R=4,z=5,B=6,I=7,H=8,U=[];U[D]={ws:[D],ident:[3,j],"[":[R],eof:[I]},U[1]={ws:[1],".":[2],"[":[R],eof:[I]},U[2]={ws:[2],ident:[3,j],0:[3,j],number:[3,j]},U[3]={ident:[3,j],0:[3,j],number:[3,j],ws:[1,q],".":[2,q],"[":[R,q],eof:[I,q]},U[R]={"'":[z,j],'"':[B,j],"[":[R,L],"]":[1,F],eof:H,else:[R,j]},U[z]={"'":[R,j],eof:H,else:[z,j]},U[B]={'"':[R,j],eof:H,else:[B,j]};var V=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function W(e){if(null==e)return"eof";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function Y(e){var t,n,i,o=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(i=o,V.test(i)?(n=(t=o).charCodeAt(0))!==t.charCodeAt(t.length-1)||34!==n&&39!==n?t:t.slice(1,-1):"*"+o)}var G=function(){this._cache=Object.create(null)};G.prototype.parsePath=function(e){var t=this._cache[e];return t||(t=function(e){var t,n,i,o,r,a,s,l=[],c=-1,u=D,d=0,p=[];function f(){var t=e[c+1];if(u===z&&"'"===t||u===B&&'"'===t)return c++,i="\\"+t,p[j](),!0}for(p[q]=function(){void 0!==n&&(l.push(n),n=void 0)},p[j]=function(){void 0===n?n=i:n+=i},p[L]=function(){p[j](),d++},p[F]=function(){if(d>0)d--,u=R,p[j]();else{if(d=0,void 0===n)return!1;if(!1===(n=Y(n)))return!1;p[q]()}};null!==u;)if("\\"!==(t=e[++c])||!f()){if(o=W(t),(r=(s=U[u])[o]||s.else||H)===H)return;if(u=r[0],(a=p[r[1]])&&(i=void 0===(i=r[2])?t:i,!1===a()))return;if(u===I)return l}}(e))&&(this._cache[e]=t),t||[]},G.prototype.getPathValue=function(e,t){if(!a(e))return null;var n=this.parsePath(t);if(0===n.length)return null;for(var i=n.length,o=e,r=0;r<i;){var s=o[n[r]];if(void 0===s)return null;o=s,r++}return o};var K,J=/<\/?[\w\s="/.':;#-\/]+>/,X=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,Z=/^@(?:\.([a-z]+))?:/,Q=/[()]/g,ee={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()}},te=new E,ne=function(e){var t=this;void 0===e&&(e={}),!x&&"undefined"!=typeof window&&window.Vue&&T(window.Vue);var n=e.locale||"en-US",i=e.fallbackLocale||"en-US",o=e.messages||{},r=e.dateTimeFormats||{},a=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||te,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new G,this._dataListeners=[],this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._exist=function(e,n){return!(!e||!n)&&(!u(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach(function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,o[e])}),this._initVM({locale:n,fallbackLocale:i,messages:o,dateTimeFormats:r,numberFormats:a})},ie={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0}};ne.prototype._checkLocaleMessage=function(e,t,n){var i=function(e,t,n,a){if(c(n))Object.keys(n).forEach(function(o){var r=n[o];c(r)?(a.push(o),a.push("."),i(e,t,r,a),a.pop(),a.pop()):(a.push(o),i(e,t,r,a),a.pop())});else if(Array.isArray(n))n.forEach(function(n,o){c(n)?(a.push("["+o+"]"),a.push("."),i(e,t,n,a),a.pop(),a.pop()):(a.push("["+o+"]"),i(e,t,n,a),a.pop())});else if("string"==typeof n){if(J.test(n)){var s="Detected HTML in message '"+n+"' of keypath '"+a.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?o(s):"error"===e&&r(s)}}};i(t,e,n,[])},ne.prototype._initVM=function(e){var t=x.config.silent;x.config.silent=!0,this._vm=new x({data:e}),x.config.silent=t},ne.prototype.destroyVM=function(){this._vm.$destroy()},ne.prototype.subscribeDataChanging=function(e){this._dataListeners.push(e)},ne.prototype.unsubscribeDataChanging=function(e){!function(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)e.splice(n,1)}}(this._dataListeners,e)},ne.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",function(){for(var t=e._dataListeners.length;t--;)x.nextTick(function(){e._dataListeners[t]&&e._dataListeners[t].$forceUpdate()})},{deep:!0})},ne.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var e=this._vm;return this._root.$i18n.vm.$watch("locale",function(t){e.$set(e,"locale",t),e.$forceUpdate()},{immediate:!0})},ie.vm.get=function(){return this._vm},ie.messages.get=function(){return p(this._getMessages())},ie.dateTimeFormats.get=function(){return p(this._getDateTimeFormats())},ie.numberFormats.get=function(){return p(this._getNumberFormats())},ie.availableLocales.get=function(){return Object.keys(this.messages).sort()},ie.locale.get=function(){return this._vm.locale},ie.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},ie.fallbackLocale.get=function(){return this._vm.fallbackLocale},ie.fallbackLocale.set=function(e){this._vm.$set(this._vm,"fallbackLocale",e)},ie.formatFallbackMessages.get=function(){return this._formatFallbackMessages},ie.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},ie.missing.get=function(){return this._missing},ie.missing.set=function(e){this._missing=e},ie.formatter.get=function(){return this._formatter},ie.formatter.set=function(e){this._formatter=e},ie.silentTranslationWarn.get=function(){return this._silentTranslationWarn},ie.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},ie.silentFallbackWarn.get=function(){return this._silentFallbackWarn},ie.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},ie.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},ie.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},ie.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},ie.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var i=this._getMessages();Object.keys(i).forEach(function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,i[e])})}},ne.prototype._getMessages=function(){return this._vm.messages},ne.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},ne.prototype._getNumberFormats=function(){return this._vm.numberFormats},ne.prototype._warnDefault=function(e,t,n,i,o){if(!u(n))return n;if(this._missing){var r=this._missing.apply(null,[e,t,i,o]);if("string"==typeof r)return r}else 0;if(this._formatFallbackMessages){var a=d.apply(void 0,o);return this._render(t,"string",a.params,t)}return t},ne.prototype._isFallbackRoot=function(e){return!e&&!u(this._root)&&this._fallbackRoot},ne.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},ne.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},ne.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},ne.prototype._interpolate=function(e,t,n,i,o,r,a){if(!t)return null;var s,l=this._path.getPathValue(t,n);if(Array.isArray(l)||c(l))return l;if(u(l)){if(!c(t))return null;if("string"!=typeof(s=t[n]))return null}else{if("string"!=typeof l)return null;s=l}return(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(e,t,s,i,"raw",r,a)),this._render(s,o,r,n)},ne.prototype._link=function(e,t,n,i,o,r,a){var s=n,l=s.match(X);for(var c in l)if(l.hasOwnProperty(c)){var u=l[c],d=u.match(Z),p=d[0],f=d[1],m=u.replace(p,"").replace(Q,"");if(a.includes(m))return s;a.push(m);var h=this._interpolate(e,t,m,i,"raw"===o?"string":o,"raw"===o?void 0:r,a);if(this._isFallbackRoot(h)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;h=g._translate(g._getMessages(),g.locale,g.fallbackLocale,m,i,o,r)}h=this._warnDefault(e,m,h,i,Array.isArray(r)?r:[r]),this._modifiers.hasOwnProperty(f)?h=this._modifiers[f](h):ee.hasOwnProperty(f)&&(h=ee[f](h)),a.pop(),s=h?s.replace(u,h):s}return s},ne.prototype._render=function(e,t,n,i){var o=this._formatter.interpolate(e,n,i);return o||(o=te.interpolate(e,n,i)),"string"===t?o.join(""):o},ne.prototype._translate=function(e,t,n,i,o,r,a){var s=this._interpolate(t,e[t],i,o,r,a,[i]);return u(s)&&u(s=this._interpolate(n,e[n],i,o,r,a,[i]))?null:s},ne.prototype._t=function(e,t,n,i){for(var o,r=[],a=arguments.length-4;a-- >0;)r[a]=arguments[a+4];if(!e)return"";var s=d.apply(void 0,r),l=s.locale||t,c=this._translate(n,l,this.fallbackLocale,e,i,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[e].concat(r))}return this._warnDefault(l,e,c,i,r)},ne.prototype.t=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},ne.prototype._i=function(e,t,n,i,o){var r=this._translate(n,t,this.fallbackLocale,e,i,"raw",o);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,o)}return this._warnDefault(t,e,r,i,[o])},ne.prototype.i=function(e,t,n){return e?("string"!=typeof t&&(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},ne.prototype._tc=function(e,t,n,i,o){for(var r,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];if(!e)return"";void 0===o&&(o=1);var l={count:o,n:o},c=d.apply(void 0,a);return c.params=Object.assign(l,c.params),a=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((r=this)._t.apply(r,[e,t,n,i].concat(a)),o)},ne.prototype.fetchChoice=function(e,t){if(!e&&"string"!=typeof e)return null;var n=e.split("|");return n[t=this.getChoiceIndex(t,n.length)]?n[t].trim():e},ne.prototype.getChoiceIndex=function(e,t){var n,i;return this.locale in this.pluralizationRules?this.pluralizationRules[this.locale].apply(this,[e,t]):(n=e,i=t,n=Math.abs(n),2===i?n?n>1?1:0:1:n?Math.min(n,2):0)},ne.prototype.tc=function(e,t){for(var n,i=[],o=arguments.length-2;o-- >0;)i[o]=arguments[o+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(i))},ne.prototype._te=function(e,t,n){for(var i=[],o=arguments.length-3;o-- >0;)i[o]=arguments[o+3];var r=d.apply(void 0,i).locale||t;return this._exist(n[r],e)},ne.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},ne.prototype.getLocaleMessage=function(e){return p(this._vm.messages[e]||{})},ne.prototype.setLocaleMessage=function(e,t){("warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||(this._checkLocaleMessage(e,this._warnHtmlInMessage,t),"error"!==this._warnHtmlInMessage))&&this._vm.$set(this._vm.messages,e,t)},ne.prototype.mergeLocaleMessage=function(e,t){("warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||(this._checkLocaleMessage(e,this._warnHtmlInMessage,t),"error"!==this._warnHtmlInMessage))&&this._vm.$set(this._vm.messages,e,h({},this._vm.messages[e]||{},t))},ne.prototype.getDateTimeFormat=function(e){return p(this._vm.dateTimeFormats[e]||{})},ne.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t)},ne.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,h(this._vm.dateTimeFormats[e]||{},t))},ne.prototype._localizeDateTime=function(e,t,n,i,o){var r=t,a=i[r];if((u(a)||u(a[o]))&&(a=i[r=n]),u(a)||u(a[o]))return null;var s=a[o],l=r+"__"+o,c=this._dateTimeFormatters[l];return c||(c=this._dateTimeFormatters[l]=new Intl.DateTimeFormat(r,s)),c.format(e)},ne.prototype._d=function(e,t,n){if(!n)return new Intl.DateTimeFormat(t).format(e);var i=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,t)}return i||""},ne.prototype.d=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this.locale,o=null;return 1===t.length?"string"==typeof t[0]?o=t[0]:a(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(o=t[0].key)):2===t.length&&("string"==typeof t[0]&&(o=t[0]),"string"==typeof t[1]&&(i=t[1])),this._d(e,i,o)},ne.prototype.getNumberFormat=function(e){return p(this._vm.numberFormats[e]||{})},ne.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t)},ne.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,h(this._vm.numberFormats[e]||{},t))},ne.prototype._getNumberFormatter=function(e,t,n,i,o,r){var a=t,s=i[a];if((u(s)||u(s[o]))&&(s=i[a=n]),u(s)||u(s[o]))return null;var l,c=s[o];if(r)l=new Intl.NumberFormat(a,Object.assign({},c,r));else{var d=a+"__"+o;(l=this._numberFormatters[d])||(l=this._numberFormatters[d]=new Intl.NumberFormat(a,c))}return l},ne.prototype._n=function(e,t,n,i){if(!ne.availabilities.numberFormat)return"";if(!n)return(i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t)).format(e);var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),r=o&&o.format(e);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},i))}return r||""},ne.prototype.n=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var o=this.locale,r=null,s=null;return 1===t.length?"string"==typeof t[0]?r=t[0]:a(t[0])&&(t[0].locale&&(o=t[0].locale),t[0].key&&(r=t[0].key),s=Object.keys(t[0]).reduce(function(e,n){var o;return i.includes(n)?Object.assign({},e,((o={})[n]=t[0][n],o)):e},null)):2===t.length&&("string"==typeof t[0]&&(r=t[0]),"string"==typeof t[1]&&(o=t[1])),this._n(e,o,r,s)},ne.prototype._ntp=function(e,t,n,i){if(!ne.availabilities.numberFormat)return[];if(!n)return(i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t)).formatToParts(e);var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),r=o&&o.formatToParts(e);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,i)}return r||[]},Object.defineProperties(ne.prototype,ie),Object.defineProperty(ne,"availabilities",{get:function(){if(!K){var e="undefined"!=typeof Intl;K={dateTimeFormat:e&&void 0!==Intl.DateTimeFormat,numberFormat:e&&void 0!==Intl.NumberFormat}}return K}}),ne.install=T,ne.version="8.15.3",t.exports=ne},{}],172:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i,o=(i=e("plyr"))&&"object"==typeof i&&"default"in i?i.default:i,r={name:"vue-plyr",props:{options:{type:Object,required:!1,default:function(){return{}}},emit:{type:Array,required:!1,default:function(){return[]}}},data:function(){return{player:{}}},mounted:function(){var e=this;this.player=new o(this.$el.firstChild,this.opts),this.$emit("player",this.player),this.emit.forEach(function(t){e.player.on(t,e.emitPlayerEvent)})},beforeDestroy:function(){try{this.player.destroy()}catch(e){this.opts.hideYouTubeDOMError&&"The YouTube player is not attached to the DOM."===e.message||console.error(e)}},methods:{emitPlayerEvent:function(e){this.$emit(e.type,e)}},computed:{opts:function(){var e=this.options;return this.options.hasOwnProperty("hideYouTubeDOMError")||(e.hideYouTubeDOMError=!0),e}}};const a=r;r.__file="VuePlyr.vue";var s=function(e,t,n,i,o,r,a,s,l,c){"function"==typeof a&&(l=s,s=a,a=!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,o&&(u.functional=!0)),i&&(u._scopeId=i),r?(d=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__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},u._ssrRegister=d):t&&(d=a?function(){t.call(this,c(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}({render:function(){var e=this.$createElement;return(this._self._c||e)("div",[this._t("default")],2)},staticRenderFns:[]},void 0,a,void 0,!1,void 0,void 0,void 0),l={VuePlyr:s},c={install:function(e,t){Object.keys(l).forEach(function(t){e.component(l[t].name,l[t])})}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(c),n.VuePlyr=s,n.VuePlyrPlugin=c,n.default=c},{plyr:110}],173:[function(e,t,n){var i,o;i="undefined"!=typeof self?self:this,o=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},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")}({"02f4":function(e,t,n){var i=n("4588"),o=n("be13");e.exports=function(e){return function(t,n){var r,a,s=String(o(t)),l=i(n),c=s.length;return l<0||l>=c?e?"":void 0:(r=s.charCodeAt(l))<55296||r>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):r:e?s.slice(l,l+2):a-56320+(r-55296<<10)+65536}}},"0390":function(e,t,n){"use strict";var i=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},"0bfb":function(e,t,n){"use strict";var i=n("cb7c");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"214f":function(e,t,n){"use strict";n("b0c5");var i=n("2aba"),o=n("32e9"),r=n("79e5"),a=n("be13"),s=n("2b4c"),l=n("520a"),c=s("species"),u=!r(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 p=s(e),f=!r(function(){var t={};return t[p]=function(){return 7},7!=""[e](t)}),m=f?!r(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[p](""),!t}):void 0;if(!f||!m||"replace"===e&&!u||"split"===e&&!d){var h=/./[p],g=n(a,p,""[e],function(e,t,n,i,o){return t.exec===l?f&&!o?{done:!0,value:h.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),v=g[0],_=g[1];i(String.prototype,e,v),o(RegExp.prototype,p,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}}},"230e":function(e,t,n){var i=n("d3f4"),o=n("7726").document,r=i(o)&&i(o.createElement);e.exports=function(e){return r?o.createElement(e):{}}},"23c6":function(e,t,n){var i=n("2d95"),o=n("2b4c")("toStringTag"),r="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:r?i(t):"Object"==(a=i(t))&&"function"==typeof t.callee?"Arguments":a}},"28a5":function(e,t,n){"use strict";var i=n("aae3"),o=n("cb7c"),r=n("ebd6"),a=n("0390"),s=n("9def"),l=n("5f1b"),c=n("520a"),u=n("79e5"),d=Math.min,p=[].push,f=!u(function(){RegExp(4294967295,"y")});n("214f")("split",2,function(e,t,n,u){var m;return m="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,t){var o=String(this);if(void 0===e&&0===t)return[];if(!i(e))return n.call(o,e,t);for(var r,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,f=void 0===t?4294967295:t>>>0,m=new RegExp(e.source,u+"g");(r=c.call(m,o))&&!((a=m.lastIndex)>d&&(l.push(o.slice(d,r.index)),r.length>1&&r.index<o.length&&p.apply(l,r.slice(1)),s=r[0].length,d=a,l.length>=f));)m.lastIndex===r.index&&m.lastIndex++;return d===o.length?!s&&m.test("")||l.push(""):l.push(o.slice(d)),l.length>f?l.slice(0,f):l}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,i){var o=e(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,o,i):m.call(String(o),n,i)},function(e,t){var i=u(m,e,this,t,m!==n);if(i.done)return i.value;var c=o(e),p=String(this),h=r(c,RegExp),g=c.unicode,v=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(f?"y":"g"),_=new h(f?c:"^(?:"+c.source+")",v),b=void 0===t?4294967295:t>>>0;if(0===b)return[];if(0===p.length)return null===l(_,p)?[p]:[];for(var y=0,w=0,x=[];w<p.length;){_.lastIndex=f?w:0;var k,A=l(_,f?p:p.slice(w));if(null===A||(k=d(s(_.lastIndex+(f?0:w)),p.length))===y)w=a(p,w,g);else{if(x.push(p.slice(y,w)),x.length===b)return x;for(var C=1;C<=A.length-1;C++)if(x.push(A[C]),x.length===b)return x;w=y=k}}return x.push(p.slice(y)),x}]})},"2aba":function(e,t,n){var i=n("7726"),o=n("32e9"),r=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),l=(""+s).split("toString");n("8378").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(r(n,"name")||o(n,"name",t)),e[t]!==n&&(c&&(r(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},"2b4c":function(e,t,n){var i=n("5537")("wks"),o=n("ca5a"),r=n("7726").Symbol,a="function"==typeof r;(e.exports=function(e){return i[e]||(i[e]=a&&r[e]||(a?r:o)("Symbol."+e))}).store=i},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"32e9":function(e,t,n){var i=n("86cc"),o=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},3846:function(e,t,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"412e":function(e,t,n){},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4917:function(e,t,n){"use strict";var i=n("cb7c"),o=n("9def"),r=n("0390"),a=n("5f1b");n("214f")("match",1,function(e,t,n,s){return[function(n){var i=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=s(n,e,this);if(t.done)return t.value;var l=i(e),c=String(this);if(!l.global)return a(l,c);var u=l.unicode;l.lastIndex=0;for(var d,p=[],f=0;null!==(d=a(l,c));){var m=String(d[0]);p[f]=m,""===m&&(l.lastIndex=r(c,o(l.lastIndex),u)),f++}return 0===f?null:p}]})},"4bf8":function(e,t,n){var i=n("be13");e.exports=function(e){return Object(i(e))}},5147:function(e,t,n){var i=n("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(e){}}return!0}},"520a":function(e,t,n){"use strict";var i,o,r=n("0bfb"),a=RegExp.prototype.exec,s=String.prototype.replace,l=a,c=(i=/a/,o=/b*/g,a.call(i,"a"),a.call(o,"a"),0!==i.lastIndex||0!==o.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(e){var t,n,i,o,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",r.call(l))),c&&(t=l.lastIndex),i=a.call(l,e),c&&i&&(l.lastIndex=l.global?i.index+i[0].length:t),u&&i&&i.length>1&&s.call(i[0],n,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)}),i}),e.exports=l},5537:function(e,t,n){var i=n("8378"),o=n("7726"),r=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(e,t,n){var i=n("7726"),o=n("8378"),r=n("32e9"),a=n("2aba"),s=n("9b43"),l=function(e,t,n){var c,u,d,p,f=e&l.F,m=e&l.G,h=e&l.S,g=e&l.P,v=e&l.B,_=m?i:h?i[t]||(i[t]={}):(i[t]||{}).prototype,b=m?o:o[t]||(o[t]={}),y=b.prototype||(b.prototype={});for(c in m&&(n=t),n)d=((u=!f&&_&&void 0!==_[c])?_:n)[c],p=v&&u?s(d,i):g&&"function"==typeof d?s(Function.call,d):d,_&&a(_,c,d,e&l.U),b[c]!=d&&r(b,c,p),g&&y[c]!=d&&(y[c]=d)};i.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"5f1b":function(e,t,n){"use strict";var i=n("23c6"),o=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw new TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!i(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"6b54":function(e,t,n){"use strict";n("3846");var i=n("cb7c"),o=n("0bfb"),r=n("9e1e"),a=/./.toString,s=function(e){n("2aba")(RegExp.prototype,"toString",e,!0)};n("79e5")(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var e=i(this);return"/".concat(e.source,"/","flags"in e?e.flags:!r&&e instanceof RegExp?o.call(e):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},"72d6":function(e,t,n){var i=n("8a8d"),o=n("ad9a");function r(e,t){if(!(this instanceof r))return new r(e,t);if(this.node=this.start=this.peeked=e,this.root=t,this.closingTag=!1,this._revisit=!0,this._selects=[],this._rejects=[],e&&this.higher(e))throw new Error("root must be a parent or ancestor to node")}function a(e,t){var n="nextSibling"==e;return function(o,r,a){o=this.compile(o),r=r&&r>0?r:1;for(var s=this.node,l=this.closingTag,c=this._revisit;s;){if(i(n,l)&&s[t])s=s[t],l=!n;else if(1==s.nodeType&&!s[t]&&i(n,l)){if(l=n,!c)continue}else if(s[e])s=s[e],l=!n;else if(s=s.parentNode,l=n,!c)continue;if(!s||this.higher(s,this.root))break;if(o(s)&&this.selects(s,a)&&this.rejects(s,a)){if(--r)continue;return a||(this.node=s),this.closingTag=l,s}}return null}}e.exports=r,r.prototype.reset=function(e){return this.node=e||this.start,this},r.prototype.revisit=function(e){return this._revisit=null==e||e,this},r.prototype.opening=function(){return 1==this.node.nodeType&&(this.closingTag=!1),this},r.prototype.atOpening=function(){return!this.closingTag},r.prototype.closing=function(){return 1==this.node.nodeType&&(this.closingTag=!0),this},r.prototype.atClosing=function(){return this.closingTag},r.prototype.next=a("nextSibling","firstChild"),r.prototype.previous=r.prototype.prev=a("previousSibling","lastChild"),r.prototype.select=function(e){return e=this.compile(e),this._selects.push(e),this},r.prototype.selects=function(e,t){var n=this._selects,i=n.length;if(!i)return!0;for(var o=0;o<i;o++)if(n[o].call(this,e,t))return!0;return!1},r.prototype.reject=function(e){return e=this.compile(e),this._rejects.push(e),this},r.prototype.rejects=function(e,t){var n=this._rejects,i=n.length;if(!i)return!0;for(var o=0;o<i;o++)if(n[o].call(this,e,t))return!1;return!0},r.prototype.higher=function(e){var t=this.root;if(!t)return!1;for(e=e.parentNode;e&&e!=t;)e=e.parentNode;return e!=t},r.prototype.compile=function(e){switch(typeof e){case"number":return function(t){return e==t.nodeType};case"string":return new Function("node","return "+o(e,"node."));case"function":return e;default:return function(){return!0}}},r.prototype.peak=r.prototype.peek=function(e,t){return 1==arguments.length&&(t=e,e=!0),(t=null==t?1:t)?t>0?this.next(e,t,!0):this.prev(e,Math.abs(t),!0):this.node},r.prototype.use=function(e){return e(this),this}},"74a0":function(e,t,n){"use strict";var i=/["'&<>]/;e.exports=function(e){var t,n=""+e,o=i.exec(n);if(!o)return n;var r="",a=0,s=0;for(a=o.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}s!==a&&(r+=n.substring(s,a)),s=a+1,r+=t}return s!==a?r+n.substring(s,a):r}},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)},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},8378:function(e,t){var n=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"86cc":function(e,t,n){var i=n("cb7c"),o=n("c69a"),r=n("6a99"),a=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(i(e),t=r(t,!0),i(n),o)try{return a(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}},"8a8d":function(e,t){e.exports=function(e,t){return e^t}},"954e":function(e,t,n){"use strict";var i,o=n("cf4f"),r={},a={default:{""":'"',""":'"',"'":"'","'":"'","&":"&","&":"&",">":">",">":">","<":"<","<":"<"},extras:{"¢":"¢","¢":"¢","©":"©","©":"©","€":"€","€":"€","£":"£","£":"£","®":"®","®":"®","¥":"¥","¥":"¥"}};function s(e,t){if(!function(e){return e&&"string"==typeof e}(e))return"";var n=a[t||"default"],i=function(e,t){if(r[e])return r[e];var n=Object.keys(t).join("|"),i=new RegExp("(?=("+n+"))\\1","g");return r[e]=i,i}(t,n);return e.replace(i,function(e){return n[e]})}Object.defineProperty(a,"all",{get:function(){return i||(i=o({},a.default,a.extras))}}),s.chars=a.default,s.extras=a.extras,Object.defineProperty(s,"all",{get:function(){return a.all}}),e.exports=s},"9b43":function(e,t,n){var i=n("d8e8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)}}return function(){return e.apply(t,arguments)}}},"9def":function(e,t,n){var i=n("4588"),o=Math.min;e.exports=function(e){return e>0?o(i(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a481:function(e,t,n){"use strict";var i=n("cb7c"),o=n("4bf8"),r=n("9def"),a=n("4588"),s=n("0390"),l=n("5f1b"),c=Math.max,u=Math.min,d=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;n("214f")("replace",2,function(e,t,n,m){return[function(i,o){var r=e(this),a=null==i?void 0:i[t];return void 0!==a?a.call(i,r,o):n.call(String(r),i,o)},function(e,t){var o=m(n,e,this,t);if(o.done)return o.value;var d=i(e),p=String(this),f="function"==typeof t;f||(t=String(t));var g=d.global;if(g){var v=d.unicode;d.lastIndex=0}for(var _=[];;){var b=l(d,p);if(null===b)break;if(_.push(b),!g)break;""===String(b[0])&&(d.lastIndex=s(p,r(d.lastIndex),v))}for(var y,w="",x=0,k=0;k<_.length;k++){b=_[k];for(var A=String(b[0]),C=c(u(a(b.index),p.length),0),S=[],M=1;M<b.length;M++)S.push(void 0===(y=b[M])?y:String(y));var P=b.groups;if(f){var O=[A].concat(S,C,p);void 0!==P&&O.push(P);var T=String(t.apply(void 0,O))}else T=h(A,p,C,S,P,t);C>=x&&(w+=p.slice(x,C)+T,x=C+A.length)}return w+p.slice(x)}];function h(e,t,i,r,a,s){var l=i+e.length,c=r.length,u=f;return void 0!==a&&(a=o(a),u=p),n.call(s,u,function(n,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,i);case"'":return t.slice(l);case"<":s=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>c){var p=d(u/10);return 0===p?n:p<=c?void 0===r[p-1]?o.charAt(1):r[p-1]+o.charAt(1):n}s=r[u-1]}return void 0===s?"":s})}})},aae3:function(e,t,n){var i=n("d3f4"),o=n("2d95"),r=n("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[r])?!!t:"RegExp"==o(e))}},ad9a:function(e,t){var n=/\b(Array|Date|Object|Math|JSON)\b/g;e.exports=function(e,t){var i=function(e){for(var t=[],n=0;n<e.length;n++)~t.indexOf(e[n])||t.push(e[n]);return t}(function(e){return e.replace(/\.\w+|\w+ *\(|"[^"]*"|'[^']*'|\/([^/]+)\//g,"").replace(n,"").match(/[a-zA-Z_]\w*/g)||[]}(e));return t&&"string"==typeof t&&(t=function(e){return function(t){return e+t}}(t)),t?function(e,t,n){return e.replace(/\.\w+|\w+ *\(|"[^"]*"|'[^']*'|\/([^/]+)\/|[a-zA-Z_]\w*/g,function(e){return"("==e[e.length-1]?n(e):~t.indexOf(e)?n(e):e})}(e,i,t):i}},aef6:function(e,t,n){"use strict";var i=n("5ca1"),o=n("9def"),r=n("d2c8"),a="".endsWith;i(i.P+i.F*n("5147")("endsWith"),"String",{endsWith:function(e){var t=r(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,i=o(t.length),s=void 0===n?i:Math.min(o(n),i),l=String(e);return a?a.call(t,l,s):t.slice(s-l.length,s)===l}})},b0c5:function(e,t,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},b16a:function(e,t,n){"use strict";var i=n("412e");n.n(i).a},be13:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},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})},ca5a:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},cb7c:function(e,t,n){var i=n("d3f4");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},cf4f:function(e,t,n){"use strict";var i=n("d913");function o(e,t){for(var n in t)r(t,n)&&(e[n]=t[n])}function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e){i(e)||(e={});for(var t=arguments.length,n=1;n<t;n++){var r=arguments[n];i(r)&&o(e,r)}return e}},d2c8:function(e,t,n){var i=n("aae3"),o=n("be13");e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},d3f4:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},d913:function(e,t,n){"use strict";e.exports=function(e){return null!=e&&("object"==typeof e||"function"==typeof e)}},ebd6:function(e,t,n){var i=n("cb7c"),o=n("d8e8"),r=n("2b4c")("species");e.exports=function(e,t){var n,a=i(e).constructor;return void 0===a||null==(n=i(a)[r])?t:o(n)}},f6fd:function(e,t){!function(e){var t=e.getElementsByTagName("script");"currentScript"in e||Object.defineProperty(e,"currentScript",{get:function(){try{throw new Error}catch(i){var e,n=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in t)if(t[e].src==n||"interactive"==t[e].readyState)return t[e];return null}}})}(document)},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!=typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));n("aef6"),n("28a5");var o=n("74a0"),r=n.n(o);function a(e,t,n){return"text"===t&&(e=r()(e)),'<code class="language-'.concat(n,'">').concat(e,"</code>")}n("a481");var s=function(e){return e.replace("\n","<br>")},l=n("954e"),c=n.n(l),u=function(e){return c()(e.replace(/<br>/gm,"\n").replace(/<\/?[^>]*>/gm,""))},d=(n("6b54"),n("72d6")),p=n.n(d);function f(e,t){var n=window.getSelection();e.focus(),n.removeAllRanges(),n.addRange(t)}var m=function(e,t){var n=window.getSelection();if(1==arguments.length){if(!n.rangeCount)return;var i={},o=(c=n.getRangeAt(0)).cloneRange();return o.selectNodeContents(e),o.setEnd(c.endContainer,c.endOffset),i.end=o.toString().length,o.setStart(c.startContainer,c.startOffset),i.start=i.end-o.toString().length,i.atStart=0===o.startOffset,i.commonAncestorContainer=o.commonAncestorContainer,i.endContainer=o.endContainer,i.startContainer=o.startContainer,i}for(var r,a,s=t.end&&t.end!==t.start,l=0,c=document.createRange(),u=p()(e).select(Node.TEXT_NODE).revisit(!1),d=t.start>e.textContent.length?e.textContent.length:t.start,m=t.end>e.textContent.length?e.textContent.length:t.end,h=t.atStart;r=u.next();){var g=l;if(l+=r.textContent.length,!a&&(h?l>d:l>=d)&&(a=!0,c.setStart(r,d-g),!s)){c.collapse(!0),f(e,c);break}if(s&&l>=m){c.setEnd(r,m-g),f(e,c);break}}},h=(n("4917"),function(e,t){var n=e.slice(0,t),i=n.lastIndexOf("\n")+1;return n.slice(i)}),g=/^\s+/,v=/^(\t| {2})* {2}$/,_={model:{prop:"code",event:"change"},props:{emitEvents:{type:Boolean,default:!1},language:{type:String,default:"js"},lineNumbers:{type:Boolean,default:!1},autoStyleLineNumbers:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},code:{type:String,default:""}},data:function(){return{undoStack:[],selection:void 0,lineNumbersHeight:"20px",undoOffset:0,undoTimestamp:0,lastPos:0,codeData:"",composing:!1}},watch:{code:{immediate:!0,handler:function(e){this.codeData=e||""}},content:{immediate:!0,handler:function(){var e=this;this.lineNumbers&&this.$nextTick(function(){e.setLineNumbersHeight()})}},lineNumbers:function(){var e=this;this.$nextTick(function(){e.styleLineNumbers(),e.setLineNumbersHeight()})}},computed:{content:function(){return function(e,t){if(!t)return a(e,"text","text");var n=t=t.toLowerCase();return"vue"!==t&&"html"!==t||(t="markup"),"md"===t&&(t="markdown"),"ts"===t&&(t="typescript"),Prism.languages[t]?a(Prism.highlight(e,Prism.languages[t],t),n,t):a(e,"text","text")}(this.codeData,this.language)},lineNumbersCount:function(){var e=this.codeData.split(/\r\n|\n/).length;return this.codeData.endsWith("\n")&&e--,e}},updated:function(){this.selection&&m(this.$refs.pre,this.selection)},mounted:function(){var e=this;this.recordChange(this.getPlain()),this.undoTimestamp=0,this.styleLineNumbers();var t=function(t){t.preventDefault();var n=m(e.$refs.pre),i=(t.originalEvent||t).clipboardData.getData("Text");document.execCommand("insertHTML",!1,r()(i));var o=n.end+i.length;e.selection={start:o,end:o};var a=e.getPlain();e.recordChange(a,e.selection),e.updateContent(a),e.setLineNumbersHeight()},n=this.$refs.pre;n.addEventListener("paste",t),this.$once("hook:beforeDestroy",function(){n.removeEventListener("paste",t)}),n.addEventListener("compositionstart",function(){e.composing=!0}),n.addEventListener("compositionend",function(){e.composing=!1})},methods:{setLineNumbersHeight:function(){this.lineNumbersHeight=getComputedStyle(this.$refs.pre).height},styleLineNumbers:function(){if(this.lineNumbers&&this.autoStyleLineNumbers){var e=this.$refs.pre,t=this.$el.querySelector(".prism-editor__line-numbers"),n=window.getComputedStyle(e);this.$nextTick(function(){var i="border-top-left-radius",o="border-bottom-left-radius";t.style[i]=n[i],t.style[o]=n[o],e.style[i]=0,e.style[o]=0;["background-color","margin-top","padding-top","font-family","font-size","line-height"].forEach(function(e){t.style[e]=n[e]}),t.style["margin-bottom"]="-"+n["padding-top"]})}},handleClick:function(e){this.emitEvents&&this.$emit("editorClick",e),this.undoTimestamp=0,this.selection=m(this.$refs.pre)},getPlain:function(){if(this._innerHTML===this.$refs.pre.innerHTML)return this._plain;var e=u(s(this.$refs.pre.innerHTML));return this._innerHTML=this.$refs.pre.innerHTML,this._plain=e,this._plain},recordChange:function(e,t){if(e!==this.undoStack[this.undoStack.length-1]){this.undoOffset>0&&(this.undoStack=this.undoStack.slice(0,-this.undoOffset),this.undoOffset=0);var n=Date.now(),i={plain:e,selection:t};n-this.undoTimestamp<3e3?this.undoStack[this.undoStack.length-1]=i:(this.undoStack.push(i),this.undoStack.length>50&&this.undoStack.shift()),this.undoTimestamp=n}},updateContent:function(e){this.$emit("change",e)},restoreStackState:function(e){var t=this.undoStack[this.undoStack.length-1-e],n=t.plain,i=t.selection;this.selection=i,this.undoOffset=e,this.updateContent(n)},undo:function(){var e=this.undoOffset+1;e>=this.undoStack.length||this.restoreStackState(e)},redo:function(){var e=this.undoOffset-1;e<0||this.restoreStackState(e)},handleKeyDown:function(e){if(this.emitEvents&&this.$emit("keydown",e),9!==e.keyCode||this.ignoreTabKey)if(8===e.keyCode){var t=m(this.$refs.pre),n=t.start;if(n!==t.end)return;var i=function(e,t){var n=h(e,t);return v.test(n)?2:0}(this.$refs.pre.innerText,n);if(i<=0)return;for(var o=0;o<i;o++)document.execCommand("delete",!1);e.preventDefault()}else if(13===e.keyCode){var r=m(this.$refs.pre).start,a=function(e,t){var n=h(e,t).match(g);return null===n?"":n[0]||""}(this.$refs.pre.innerText,r);document.execCommand("insertHTML",!1,"\n "+a),document.execCommand("delete",!1),e.preventDefault()}else 90!==e.keyCode||e.metaKey===e.ctrlKey||e.altKey||(e.shiftKey?this.redo():this.undo(),e.preventDefault());else document.execCommand("insertHTML",!1," "),e.preventDefault()},handleKeyUp:function(e){var t=e.which;if(this.composing){if(13!==t)return;this.composing=!1}if(this.emitEvents&&this.$emit("keyup",e),91!==e.keyCode&&93!==e.keyCode&&!e.ctrlKey&&!e.metaKey)if(13===e.keyCode&&(this.undoTimestamp=0),this.selection=m(this.$refs.pre),37!==e.keyCode&&38!==e.keyCode&&39!==e.keyCode&&40!==e.keyCode){var n=this.getPlain();this.recordChange(n,this.selection),this.updateContent(n)}else this.undoTimestamp=0}}};n("b16a");var b=function(e,t,n,i,o,r,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),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}}(_,function(){var e,t=this,n=t.$createElement,i=t._self._c||n;return i("div",{staticClass:"prism-editor-wrapper"},[t.lineNumbers?i("div",{staticClass:"prism-editor__line-numbers",style:{"min-height":t.lineNumbersHeight},attrs:{"aria-hidden":"true"}},[i("div",{staticClass:"prism-editor__line-width-calc",staticStyle:{height:"0px",visibility:"hidden","pointer-events":"none"}},[t._v("\n 999\n ")]),t._l(t.lineNumbersCount,function(e){return i("div",{key:e,staticClass:"prism-editor__line-number token comment"},[t._v("\n "+t._s(e)+"\n ")])})],2):t._e(),i("pre",{ref:"pre",staticClass:"prism-editor__code",class:(e={},e["language-"+t.language]=!0,e),attrs:{contenteditable:!t.readonly,spellCheck:"false",autocapitalize:"off",autocomplete:"off",autocorrect:"off","data-gramm":"false"},domProps:{innerHTML:t._s(t.content)},on:{keydown:t.handleKeyDown,keyup:t.handleKeyUp,click:t.handleClick}})])},[],!1,null,null,null).exports;t.default=b}}).default},"object"==typeof n&&"object"==typeof t?t.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof n?n.VuePrismEditor=o():i.VuePrismEditor=o()},{}],174:[function(e,t,n){var i,o;i=this,o=function(e){"use strict";var t={inject:["manager"],props:{index:{type:Number,required:!0},collection:{type:[String,Number],default:"default"},disabled:{type:Boolean,default:!1}},mounted:function(){var e=this.$props,t=e.collection,n=e.disabled,i=e.index;n||this.setDraggable(t,i)},watch:{index:function(e){this.$el&&this.$el.sortableInfo&&(this.$el.sortableInfo.index=e)},disabled:function(e){e?this.removeDraggable(this.collection):this.setDraggable(this.collection,this.index)},collection:function(e,t){this.removeDraggable(t),this.setDraggable(e,this.index)}},beforeDestroy:function(){var e=this.collection;this.disabled||this.removeDraggable(e)},methods:{setDraggable:function(e,t){var n=this.$el;n.sortableInfo={index:t,collection:e,manager:this.manager},this.ref={node:n},this.manager.add(e,this.ref)},removeDraggable:function(e){this.manager.remove(e,this.ref)}}},n=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},a=function(){function e(){n(this,e),this.refs={}}return i(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find(function(t){return t.node.sortableInfo.index==e.active.index})}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(function(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index})}}]),e}();function s(e,t,n){var i=e.slice(0);if(n>=i.length)for(var o=n-i.length;1+o--;)i.push(void 0);return i.splice(n,0,i.splice(t,1)[0]),i}var l={start:["touchstart","mousedown"],move:["touchmove","mousemove"],end:["touchend","touchcancel","mouseup"]},c=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];switch(t){case"ms":return"ms";default:return t&&t.length?t[0].toUpperCase()+t.substr(1):""}}();function u(e,t){for(;e;){if(t(e))return e;e=e.parentNode}}function d(e,t,n){return n<e?e:n>t?t:n}function p(e){return"px"===e.substr(-2)?parseFloat(e):0}var f={data:function(){return{sorting:!1,sortingIndex:null,manager:new a,events:{start:this.handleStart,move:this.handleMove,end:this.handleEnd}}},props:{value:{type:Array,required:!0},axis:{type:String,default:"y"},distance:{type:Number,default:0},pressDelay:{type:Number,default:0},pressThreshold:{type:Number,default:5},useDragHandle:{type:Boolean,default:!1},useWindowAsScrollContainer:{type:Boolean,default:!1},hideSortableGhost:{type:Boolean,default:!0},lockToContainerEdges:{type:Boolean,default:!1},lockOffset:{type:[String,Number,Array],default:"50%"},transitionDuration:{type:Number,default:300},appendTo:{type:String,default:"body"},draggedSettlingDuration:{type:Number,default:null},lockAxis:String,helperClass:String,contentWindow:Object,shouldCancelStart:{type:Function,default:function(e){return-1!==["input","textarea","select","option","button"].indexOf(e.target.tagName.toLowerCase())}},getHelperDimensions:{type:Function,default:function(e){var t=e.node;return{width:t.offsetWidth,height:t.offsetHeight}}}},provide:function(){return{manager:this.manager}},mounted:function(){var e=this;this.container=this.$el,this.document=this.container.ownerDocument||document,this._window=this.contentWindow||window,this.scrollContainer=this.useWindowAsScrollContainer?this.document.body:this.container;var t=function(t){e.events.hasOwnProperty(t)&&l[t].forEach(function(n){return e.container.addEventListener(n,e.events[t],!1)})};for(var n in this.events)t(n)},beforeDestroy:function(){var e=this,t=function(t){e.events.hasOwnProperty(t)&&l[t].forEach(function(n){return e.container.removeEventListener(n,e.events[t])})};for(var n in this.events)t(n)},methods:{handleStart:function(e){var t=this,n=this.$props,i=n.distance,o=n.shouldCancelStart;if(2===e.button||o(e))return!1;this._touched=!0,this._pos={x:e.pageX,y:e.pageY};var r=u(e.target,function(e){return null!=e.sortableInfo});if(r&&r.sortableInfo&&this.nodeIsChild(r)&&!this.sorting){var a=this.$props.useDragHandle,s=r.sortableInfo,l=s.index,c=s.collection;if(a&&!u(e.target,function(e){return null!=e.sortableHandle}))return;this.manager.active={index:l,collection:c},"a"===e.target.tagName.toLowerCase()&&e.preventDefault(),i||(0===this.$props.pressDelay?this.handlePress(e):this.pressTimer=setTimeout(function(){return t.handlePress(e)},this.$props.pressDelay))}},nodeIsChild:function(e){return e.sortableInfo.manager===this.manager},handleMove:function(e){var t=this.$props,n=t.distance,i=t.pressThreshold;if(!this.sorting&&this._touched){this._delta={x:this._pos.x-e.pageX,y:this._pos.y-e.pageY};var o=Math.abs(this._delta.x)+Math.abs(this._delta.y);n||i&&!(i&&o>=i)?n&&o>=n&&this.manager.isActive()&&this.handlePress(e):(clearTimeout(this.cancelTimer),this.cancelTimer=setTimeout(this.cancel,0))}},handleEnd:function(){var e=this.$props.distance;this._touched=!1,e||this.cancel()},cancel:function(){this.sorting||(clearTimeout(this.pressTimer),this.manager.active=null)},handlePress:function(e){var t,n,i=this,o=this.manager.getActive();if(o){var a=this.$props,s=a.axis,c=a.getHelperDimensions,u=a.helperClass,d=a.hideSortableGhost,f=a.useWindowAsScrollContainer,m=a.appendTo,h=o.node,g=o.collection,v=h.sortableInfo.index,_=(t=h,{top:p((n=window.getComputedStyle(t)).marginTop),right:p(n.marginRight),bottom:p(n.marginBottom),left:p(n.marginLeft)}),b=this.container.getBoundingClientRect(),y=c({index:v,node:h,collection:g});this.node=h,this.margin=_,this.width=y.width,this.height=y.height,this.marginOffset={x:this.margin.left+this.margin.right,y:Math.max(this.margin.top,this.margin.bottom)},this.boundingClientRect=h.getBoundingClientRect(),this.containerBoundingRect=b,this.index=v,this.newIndex=v,this._axis={x:s.indexOf("x")>=0,y:s.indexOf("y")>=0},this.offsetEdge=this.getEdgeOffset(h),this.initialOffset=this.getOffset(e),this.initialScroll={top:this.scrollContainer.scrollTop,left:this.scrollContainer.scrollLeft},this.initialWindowScroll={top:window.pageYOffset,left:window.pageXOffset};var w,x=h.querySelectorAll("input, textarea, select"),k=h.cloneNode(!0);if([].concat(r(k.querySelectorAll("input, textarea, select"))).forEach(function(e,t){"file"!==e.type&&x[t]&&(e.value=x[t].value)}),this.helper=this.document.querySelector(m).appendChild(k),this.helper.style.position="fixed",this.helper.style.top=this.boundingClientRect.top-_.top+"px",this.helper.style.left=this.boundingClientRect.left-_.left+"px",this.helper.style.width=this.width+"px",this.helper.style.height=this.height+"px",this.helper.style.boxSizing="border-box",this.helper.style.pointerEvents="none",d&&(this.sortableGhost=h,h.style.visibility="hidden",h.style.opacity=0),this.translate={},this.minTranslate={},this.maxTranslate={},this._axis.x&&(this.minTranslate.x=(f?0:b.left)-this.boundingClientRect.left-this.width/2,this.maxTranslate.x=(f?this._window.innerWidth:b.left+b.width)-this.boundingClientRect.left-this.width/2),this._axis.y&&(this.minTranslate.y=(f?0:b.top)-this.boundingClientRect.top-this.height/2,this.maxTranslate.y=(f?this._window.innerHeight:b.top+b.height)-this.boundingClientRect.top-this.height/2),u)(w=this.helper.classList).add.apply(w,r(u.split(" ")));this.listenerNode=e.touches?h:this._window,l.move.forEach(function(e){return i.listenerNode.addEventListener(e,i.handleSortMove,!1)}),l.end.forEach(function(e){return i.listenerNode.addEventListener(e,i.handleSortEnd,!1)}),this.sorting=!0,this.sortingIndex=v,this.$emit("sort-start",{event:e,node:h,index:v,collection:g})}},handleSortMove:function(e){e.preventDefault(),this.updatePosition(e),this.animateNodes(),this.autoscroll(),this.$emit("sort-move",{event:e})},handleSortEnd:function(e){var t=this,n=this.manager.active.collection;this.listenerNode&&(l.move.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)}),l.end.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)}));var i=this.manager.refs[n],o=function(){t.helper.parentNode.removeChild(t.helper),t.hideSortableGhost&&t.sortableGhost&&(t.sortableGhost.style.visibility="",t.sortableGhost.style.opacity="");for(var o=0,r=i.length;o<r;o++){var a=i[o],l=a.node;a.edgeOffset=null,l.style[c+"Transform"]="",l.style[c+"TransitionDuration"]=""}clearInterval(t.autoscrollInterval),t.autoscrollInterval=null,t.manager.active=null,t.sorting=!1,t.sortingIndex=null,t.$emit("sort-end",{event:e,oldIndex:t.index,newIndex:t.newIndex,collection:n}),t.$emit("input",s(t.value,t.index,t.newIndex)),t._touched=!1};this.$props.transitionDuration||this.$props.draggedSettlingDuration?this.transitionHelperIntoPlace(i).then(function(){return o()}):o()},transitionHelperIntoPlace:function(e){var t=this;if(0===this.$props.draggedSettlingDuration)return Promise.resolve();var n=this.scrollContainer.scrollLeft-this.initialScroll.left,i=this.scrollContainer.scrollTop-this.initialScroll.top,o=e[this.index].node,r=e[this.newIndex].node,a=-n;this.translate&&this.translate.x>0?a+=r.offsetLeft+r.offsetWidth-(o.offsetLeft+o.offsetWidth):a+=r.offsetLeft-o.offsetLeft;var s=-i;this.translate&&this.translate.y>0?s+=r.offsetTop+r.offsetHeight-(o.offsetTop+o.offsetHeight):s+=r.offsetTop-o.offsetTop;var l=null!==this.$props.draggedSettlingDuration?this.$props.draggedSettlingDuration:this.$props.transitionDuration;return this.helper.style[c+"Transform"]="translate3d("+a+"px,"+s+"px, 0)",this.helper.style[c+"TransitionDuration"]=l+"ms",new Promise(function(e){var n=function(n){n&&"transform"!==n.propertyName||(clearTimeout(i),t.helper.style[c+"Transform"]="",t.helper.style[c+"TransitionDuration"]="",e())},i=setTimeout(n,l+10);t.helper.addEventListener("transitionend",n,!1)})},getEdgeOffset:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{top:0,left:0};if(e){var n={top:t.top+e.offsetTop,left:t.left+e.offsetLeft};return e.parentNode!==this.container?this.getEdgeOffset(e.parentNode,n):n}},getOffset:function(e){return{x:e.touches?e.touches[0].pageX:e.pageX,y:e.touches?e.touches[0].pageY:e.pageY}},getLockPixelOffsets:function(){var e=this.$props.lockOffset;if(Array.isArray(this.lockOffset)||(e=[e,e]),2!==e.length)throw new Error("lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given "+e);var t=o(e,2),n=t[0],i=t[1];return[this.getLockPixelOffset(n),this.getLockPixelOffset(i)]},getLockPixelOffset:function(e){var t=e,n=e,i="px";if("string"==typeof e){var o=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(e);if(null===o)throw new Error('lockOffset value should be a number or a string of a number followed by "px" or "%". Given '+e);t=n=parseFloat(e),i=o[1]}if(!isFinite(t)||!isFinite(n))throw new Error("lockOffset value should be a finite. Given "+e);return"%"===i&&(t=t*this.width/100,n=n*this.height/100),{x:t,y:n}},updatePosition:function(e){var t=this.$props,n=t.lockAxis,i=t.lockToContainerEdges,r=this.getOffset(e),a={x:r.x-this.initialOffset.x,y:r.y-this.initialOffset.y};if(a.y-=window.pageYOffset-this.initialWindowScroll.top,a.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=a,i){var s=this.getLockPixelOffsets(),l=o(s,2),u=l[0],p=l[1],f={x:this.width/2-u.x,y:this.height/2-u.y},m={x:this.width/2-p.x,y:this.height/2-p.y};a.x=d(this.minTranslate.x+f.x,this.maxTranslate.x-m.x,a.x),a.y=d(this.minTranslate.y+f.y,this.maxTranslate.y-m.y,a.y)}"x"===n?a.y=0:"y"===n&&(a.x=0),this.helper.style[c+"Transform"]="translate3d("+a.x+"px,"+a.y+"px, 0)"},animateNodes:function(){var e=this.$props,t=e.transitionDuration,n=e.hideSortableGhost,i=this.manager.getOrderedRefs(),o=this.scrollContainer.scrollLeft-this.initialScroll.left,r=this.scrollContainer.scrollTop-this.initialScroll.top,a=this.offsetEdge.left+this.translate.x+o,s=this.offsetEdge.top+this.translate.y+r,l=window.pageYOffset-this.initialWindowScroll.top,u=window.pageXOffset-this.initialWindowScroll.left;this.newIndex=null;for(var d=0,p=i.length;d<p;d++){var f=i[d].node,m=f.sortableInfo.index,h=f.offsetWidth,g=f.offsetHeight,v={width:this.width>h?h/2:this.width/2,height:this.height>g?g/2:this.height/2},_={x:0,y:0},b=i[d].edgeOffset;b||(i[d].edgeOffset=b=this.getEdgeOffset(f));var y=d<i.length-1&&i[d+1],w=d>0&&i[d-1];y&&!y.edgeOffset&&(y.edgeOffset=this.getEdgeOffset(y.node)),m!==this.index?(t&&(f.style[c+"TransitionDuration"]=t+"ms"),this._axis.x?this._axis.y?m<this.index&&(a+u-v.width<=b.left&&s+l<=b.top+v.height||s+l+v.height<=b.top)?(_.x=this.width+this.marginOffset.x,b.left+_.x>this.containerBoundingRect.width-v.width&&(_.x=y.edgeOffset.left-b.left,_.y=y.edgeOffset.top-b.top),null===this.newIndex&&(this.newIndex=m)):m>this.index&&(a+u+v.width>=b.left&&s+l+v.height>=b.top||s+l+v.height>=b.top+g)&&(_.x=-(this.width+this.marginOffset.x),b.left+_.x<this.containerBoundingRect.left+v.width&&(_.x=w.edgeOffset.left-b.left,_.y=w.edgeOffset.top-b.top),this.newIndex=m):m>this.index&&a+u+v.width>=b.left?(_.x=-(this.width+this.marginOffset.x),this.newIndex=m):m<this.index&&a+u<=b.left+v.width&&(_.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=m)):this._axis.y&&(m>this.index&&s+l+v.height>=b.top?(_.y=-(this.height+this.marginOffset.y),this.newIndex=m):m<this.index&&s+l<=b.top+v.height&&(_.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=m))),f.style[c+"Transform"]="translate3d("+_.x+"px,"+_.y+"px,0)"):n&&(this.sortableGhost=f,f.style.visibility="hidden",f.style.opacity=0)}null==this.newIndex&&(this.newIndex=this.index)},autoscroll:function(){var e=this,t=this.translate,n={x:0,y:0},i={x:1,y:1},o=10,r=10;t.y>=this.maxTranslate.y-this.height/2?(n.y=1,i.y=r*Math.abs((this.maxTranslate.y-this.height/2-t.y)/this.height)):t.x>=this.maxTranslate.x-this.width/2?(n.x=1,i.x=o*Math.abs((this.maxTranslate.x-this.width/2-t.x)/this.width)):t.y<=this.minTranslate.y+this.height/2?(n.y=-1,i.y=r*Math.abs((t.y-this.height/2-this.minTranslate.y)/this.height)):t.x<=this.minTranslate.x+this.width/2&&(n.x=-1,i.x=o*Math.abs((t.x-this.width/2-this.minTranslate.x)/this.width)),this.autoscrollInterval&&(clearInterval(this.autoscrollInterval),this.autoscrollInterval=null,this.isAutoScrolling=!1),0===n.x&&0===n.y||(this.autoscrollInterval=setInterval(function(){e.isAutoScrolling=!0;var t=1*i.x*n.x,o=1*i.y*n.y;e.scrollContainer.scrollTop+=o,e.scrollContainer.scrollLeft+=t,e.translate.x+=t,e.translate.y+=o,e.animateNodes()},5))}}},m={name:"slick-list",mixins:[f],render:function(e){return e("div",this.$slots.default)}},h={name:"slick-item",mixins:[t],render:function(e){return e("div",this.$slots.default)}};e.ElementMixin=t,e.ContainerMixin=f,e.HandleDirective={bind:function(e){e.sortableHandle=!0}},e.SlickList=m,e.SlickItem=h,e.arrayMove=s,Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof n&&void 0!==t?o(n):"function"==typeof define&&define.amd?define(["exports"],o):o(i.VueSlicksort={})},{}],175:[function(e,t,n){(function(e){!function(e,i){"object"==typeof n&&void 0!==t?i(n):"function"==typeof define&&define.amd?define(["exports"],i):i((e=e||self)["vue-tippy"]={})}(this,function(t){"use strict";var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,i=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},i))}};function r(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?e:l(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function p(e){return 11===e?u:10===e?d:u||d}function f(e){if(!e)return document.documentElement;for(var t=p(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?f(n):n:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function h(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,o=n?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var a,s,l=r.commonAncestorContainer;if(e!==l&&t!==l||i.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&f(a.firstElementChild)!==a?f(l):l;var c=m(e);return c.host?h(c.host,t):h(e,m(t).host)}function g(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[t]}return e[t]}function v(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function _(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],p(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function b(e){var t=e.body,n=e.documentElement,i=p(10)&&getComputedStyle(n);return{height:_("Height",t,n,i),width:_("Width",t,n,i)}}var y=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},w=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),x=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function A(e){return k({},e,{right:e.left+e.width,bottom:e.top+e.height})}function C(e){var t={};try{if(p(10)){t=e.getBoundingClientRect();var n=g(e,"top"),i=g(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r="HTML"===e.nodeName?b(e.ownerDocument):{},s=r.width||e.clientWidth||o.width,l=r.height||e.clientHeight||o.height,c=e.offsetWidth-s,u=e.offsetHeight-l;if(c||u){var d=a(e);c-=v(d,"x"),u-=v(d,"y"),o.width-=c,o.height-=u}return A(o)}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=p(10),o="HTML"===t.nodeName,r=C(e),s=C(t),c=l(e),u=a(t),d=parseFloat(u.borderTopWidth,10),f=parseFloat(u.borderLeftWidth,10);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var m=A({top:r.top-s.top-d,left:r.left-s.left-f,width:r.width,height:r.height});if(m.marginTop=0,m.marginLeft=0,!i&&o){var h=parseFloat(u.marginTop,10),v=parseFloat(u.marginLeft,10);m.top-=d-h,m.bottom-=d-h,m.left-=f-v,m.right-=f-v,m.marginTop=h,m.marginLeft=v}return(i&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(m=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=g(t,"top"),o=g(t,"left"),r=n?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=o*r,e.right+=o*r,e}(m,t)),m}function M(e){if(!e||!e.parentElement||p())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function P(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},u=o?M(e):h(e,c(t));if("viewport"===i)r=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=S(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:g(n),s=t?0:g(n,"left");return A({top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:o,height:r})}(u,o);else{var d=void 0;"scrollParent"===i?"BODY"===(d=l(s(t))).nodeName&&(d=e.ownerDocument.documentElement):d="window"===i?e.ownerDocument.documentElement:i;var p=S(d,u,o);if("HTML"!==d.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===a(t,"position"))return!0;var i=s(t);return!!i&&e(i)}(u))r=p;else{var f=b(e.ownerDocument),m=f.height,v=f.width;r.top+=p.top-p.marginTop,r.bottom=m+p.top,r.left+=p.left-p.marginLeft,r.right=v+p.left}}var _="number"==typeof(n=n||0);return r.left+=_?n:n.left||0,r.top+=_?n:n.top||0,r.right-=_?n:n.right||0,r.bottom-=_?n:n.bottom||0,r}function O(e,t,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=P(n,i,r,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){return k({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),c=l.filter(function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight}),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function T(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return S(n,i?M(t):h(t,c(n)),i)}function E(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function N(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function $(e,t,n){n=n.split("-")[0];var i=E(e),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),a=r?"top":"left",s=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[a]=t[a]+t[l]/2-i[l]/2,o[s]=n===s?t[s]-i[c]:t[N(s)],o}function j(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function q(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var i=j(e,function(e){return e[t]===n});return e.indexOf(i)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&r(n)&&(t.offsets.popper=A(t.offsets.popper),t.offsets.reference=A(t.offsets.reference),t=n(t,e))}),t}function L(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function F(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var o=t[i],r=o?""+o+n:e;if(void 0!==document.body.style[r])return r}return null}function D(e){var t=e.ownerDocument;return t?t.defaultView:window}function R(e,t,n,i){n.updateBound=i,D(e).addEventListener("resize",n.updateBound,{passive:!0});var o=l(e);return function e(t,n,i,o){var r="BODY"===t.nodeName,a=r?t.ownerDocument.defaultView:t;a.addEventListener(n,i,{passive:!0}),r||e(l(a.parentNode),n,i,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function z(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,D(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function B(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function I(e,t){Object.keys(t).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&B(t[n])&&(i="px"),e.style[n]=t[n]+i})}var H=n&&/Firefox/i.test(navigator.userAgent);function U(e,t,n){var i=j(e,function(e){return e.name===t}),o=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});if(!o){var r="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var V=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],W=V.slice(3);function Y(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=W.indexOf(e),i=W.slice(n+1).concat(W.slice(0,n));return t?i.reverse():i}var G={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function K(e,t,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(j(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map(function(e,i){var o=(1===i?!r:r)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,i){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];if(!r)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return A(s)[t]/100*r}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(e,o,t,n)})})).forEach(function(e,t){e.forEach(function(n,i){B(n)&&(o[t]+=n*("-"===e[i-1]?-1:1))})}),o}var J={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var o=e.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:x({},l,r[l]),end:x({},l,r[l]+r[c]-a[c])};e.offsets.popper=k({},a,u[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,o=e.offsets,r=o.popper,a=o.reference,s=i.split("-")[0],l=void 0;return l=B(+n)?[+n,0]:K(n,r,a,s),"left"===s?(r.top+=l[0],r.left-=l[1]):"right"===s?(r.top+=l[0],r.left+=l[1]):"top"===s?(r.left+=l[0],r.top-=l[1]):"bottom"===s&&(r.left+=l[0],r.top+=l[1]),e.popper=r,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||f(e.instance.popper);e.instance.reference===n&&(n=f(n));var i=F("transform"),o=e.instance.popper.style,r=o.top,a=o.left,s=o[i];o.top="",o.left="",o[i]="";var l=P(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=r,o.left=a,o[i]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),x({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(i=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),x({},n,i)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=k({},u,d[t](e))}),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,o=e.placement.split("-")[0],r=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<r(i[l])&&(e.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[s])&&(e.offsets.popper[l]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!U(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],r=e.offsets,s=r.popper,l=r.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",d=c?"Top":"Left",p=d.toLowerCase(),f=c?"left":"top",m=c?"bottom":"right",h=E(i)[u];l[m]-h<s[p]&&(e.offsets.popper[p]-=s[p]-(l[m]-h)),l[p]+h>s[m]&&(e.offsets.popper[p]+=l[p]+h-s[m]),e.offsets.popper=A(e.offsets.popper);var g=l[p]+l[u]/2-h/2,v=a(e.instance.popper),_=parseFloat(v["margin"+d],10),b=parseFloat(v["border"+d+"Width"],10),y=g-e.offsets.popper[p]-_-b;return y=Math.max(Math.min(s[u]-h,y),0),e.arrowElement=i,e.offsets.arrow=(x(n={},p,Math.round(y)),x(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(L(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=P(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],o=N(i),r=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case G.FLIP:a=[i,o];break;case G.CLOCKWISE:a=Y(i);break;case G.COUNTERCLOCKWISE:a=Y(i,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(i!==s||a.length===l+1)return e;i=e.placement.split("-")[0],o=N(i);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,p="left"===i&&d(c.right)>d(u.left)||"right"===i&&d(c.left)<d(u.right)||"top"===i&&d(c.bottom)>d(u.top)||"bottom"===i&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),m=d(c.right)>d(n.right),h=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),v="left"===i&&f||"right"===i&&m||"top"===i&&h||"bottom"===i&&g,_=-1!==["top","bottom"].indexOf(i),b=!!t.flipVariations&&(_&&"start"===r&&f||_&&"end"===r&&m||!_&&"start"===r&&h||!_&&"end"===r&&g),y=!!t.flipVariationsByContent&&(_&&"start"===r&&m||_&&"end"===r&&f||!_&&"start"===r&&g||!_&&"end"===r&&h),w=b||y;(p||v||w)&&(e.flipped=!0,(p||v)&&(i=a[l+1]),w&&(r=function(e){return"end"===e?"start":"start"===e?"end":e}(r)),e.placement=i+(r?"-"+r:""),e.offsets.popper=k({},e.offsets.popper,$(e.instance.popper,e.offsets.reference,e.placement)),e=q(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,o=i.popper,r=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=r[n]-(s?o[a?"width":"height"]:0),e.placement=N(t),e.offsets.popper=A(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!U(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=j(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,o=e.offsets.popper,r=j(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==r?r:t.gpuAcceleration,s=f(e.instance.popper),l=C(s),c={position:o.position},u=function(e,t){var n=e.offsets,i=n.popper,o=n.reference,r=Math.round,a=Math.floor,s=function(e){return e},l=r(o.width),c=r(i.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),p=t?u||d||l%2==c%2?r:a:s,f=t?r:s;return{left:p(l%2==1&&c%2==1&&!d&&t?i.left-1:i.left),top:f(i.top),bottom:f(i.bottom),right:p(i.right)}}(e,window.devicePixelRatio<2||!H),d="bottom"===n?"top":"bottom",p="right"===i?"left":"right",m=F("transform"),h=void 0,g=void 0;if(g="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,h="right"===p?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&m)c[m]="translate3d("+h+"px, "+g+"px, 0)",c[d]=0,c[p]=0,c.willChange="transform";else{var v="bottom"===d?-1:1,_="right"===p?-1:1;c[d]=g*v,c[p]=h*_,c.willChange=d+", "+p}var b={"x-placement":e.placement};return e.attributes=k({},b,e.attributes),e.styles=k({},c,e.styles),e.arrowStyles=k({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return I(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&I(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,o){var r=T(o,t,e,n.positionFixed),a=O(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),I(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},X=function(){function e(t,n){var i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};y(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=o(this.update.bind(this)),this.options=k({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(k({},e.Defaults.modifiers,a.modifiers)).forEach(function(t){i.options.modifiers[t]=k({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return k({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&r(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return w(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=T(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=O(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=$(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=q(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,L(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[F("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=R(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return z.call(this)}}]),e}();X.Utils=("undefined"!=typeof window?window:e).PopperUtils,X.placements=V,X.Defaults=J;function Z(){return(Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var Q="undefined"!=typeof window&&"undefined"!=typeof document,ee=Q?navigator.userAgent:"",te=/MSIE |Trident\//.test(ee),ne=/UCBrowser\//.test(ee),ie=Q&&/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,oe={a11y:!0,allowHTML:!0,animateFill:!0,animation:"shift-away",appendTo:function(){return document.body},aria:"describedby",arrow:!1,arrowType:"sharp",boundary:"scrollParent",content:"",delay:0,distance:10,duration:[325,275],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,followCursor:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:350,multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnInit:!1,size:"regular",sticky:!1,target:"",theme:"dark",touch:!0,touchHold:!1,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,wait:null,zIndex:9999},re=["arrow","arrowType","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"],ae=Q?Element.prototype:{},se=ae.matches||ae.matchesSelector||ae.webkitMatchesSelector||ae.mozMatchesSelector||ae.msMatchesSelector;function le(e){return[].slice.call(e)}function ce(e,t){return ue(e,function(e){return se.call(e,t)})}function ue(e,t){for(;e;){if(t(e))return e;e=e.parentElement}return null}var de={passive:!0},pe=4,fe="x-placement",me="x-out-of-boundaries",he="tippy-iOS",ge="tippy-active",ve="tippy-popper",_e="tippy-tooltip",be="tippy-content",ye="tippy-backdrop",we="tippy-arrow",xe="tippy-roundarrow",ke=".".concat(ve),Ae=".".concat(_e),Ce=".".concat(be),Se=".".concat(ye),Me=".".concat(we),Pe=".".concat(xe),Oe=!1;function Te(){Oe||(Oe=!0,ie&&document.body.classList.add(he),window.performance&&document.addEventListener("mousemove",Ne))}var Ee=0;function Ne(){var e=performance.now();e-Ee<20&&(Oe=!1,document.removeEventListener("mousemove",Ne),ie||document.body.classList.remove(he)),Ee=e}function $e(){var e=document.activeElement;e&&e.blur&&e._tippy&&e.blur()}var je=Object.keys(oe);function qe(e,t){return{}.hasOwnProperty.call(e,t)}function Le(e,t,n){if(Array.isArray(e)){var i=e[t];return null==i?n:i}return e}function Fe(e,t){return 0===t?e:function(i){clearTimeout(n),n=setTimeout(function(){e(i)},t)};var n}function De(e,t){return e&&e.modifiers&&e.modifiers[t]}function Re(e,t){return e.indexOf(t)>-1}function ze(e){return e instanceof Element}function Be(e){return!(!e||!qe(e,"isVirtual"))||ze(e)}function Ie(e,t){return"function"==typeof e?e.apply(null,t):e}function He(e,t){e.filter(function(e){return"flip"===e.name})[0].enabled=t}function Ue(){return document.createElement("div")}function Ve(e,t){e.forEach(function(e){e&&(e.style.transitionDuration="".concat(t,"ms"))})}function We(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Ye(e,t){var n=Z({},t,{content:Ie(t.content,[e])},t.ignoreAttributes?{}:function(e){return je.reduce(function(t,n){var i=(e.getAttribute("data-tippy-".concat(n))||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(e){t[n]=i}return t},{})}(e));return(n.arrow||ne)&&(n.animateFill=!1),n}function Ge(e,t){Object.keys(e).forEach(function(e){if(!qe(t,e))throw new Error("[tippy]: `".concat(e,"` is not a valid option"))})}function Ke(e,t){e.innerHTML=ze(t)?t.innerHTML:t}function Je(e,t){if(ze(t.content))Ke(e,""),e.appendChild(t.content);else if("function"!=typeof t.content){e[t.allowHTML?"innerHTML":"textContent"]=t.content}}function Xe(e){return{tooltip:e.querySelector(Ae),backdrop:e.querySelector(Se),content:e.querySelector(Ce),arrow:e.querySelector(Me)||e.querySelector(Pe)}}function Ze(e){e.setAttribute("data-inertia","")}function Qe(e){var t=Ue();return"round"===e?(t.className=xe,Ke(t,'<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>')):t.className=we,t}function et(){var e=Ue();return e.className=ye,e.setAttribute("data-state","hidden"),e}function tt(e,t){e.setAttribute("tabindex","-1"),t.setAttribute("data-interactive","")}function nt(e,t,n){var i=ne&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";e[t+"EventListener"](i,n)}function it(e){var t=e.getAttribute(fe);return t?t.split("-")[0]:""}function ot(e,t,n){n.split(" ").forEach(function(n){e.classList[t](n+"-theme")})}function rt(e,t){var n=Ue();n.className=ve,n.id="tippy-".concat(e),n.style.zIndex=""+t.zIndex,n.style.position="absolute",n.style.top="0",n.style.left="0",t.role&&n.setAttribute("role",t.role);var i=Ue();i.className=_e,i.style.maxWidth=t.maxWidth+("number"==typeof t.maxWidth?"px":""),i.setAttribute("data-size",t.size),i.setAttribute("data-animation",t.animation),i.setAttribute("data-state","hidden"),ot(i,"add",t.theme);var o=Ue();return o.className=be,o.setAttribute("data-state","hidden"),t.interactive&&tt(n,i),t.arrow&&i.appendChild(Qe(t.arrowType)),t.animateFill&&(i.appendChild(et()),i.setAttribute("data-animatefill","")),t.inertia&&Ze(i),Je(o,t),i.appendChild(o),n.appendChild(i),n}function at(e,t,n){var i=Xe(e),o=i.tooltip,r=i.content,a=i.backdrop,s=i.arrow;e.style.zIndex=""+n.zIndex,o.setAttribute("data-size",n.size),o.setAttribute("data-animation",n.animation),o.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),n.role?e.setAttribute("role",n.role):e.removeAttribute("role"),t.content!==n.content&&Je(r,n),!t.animateFill&&n.animateFill?(o.appendChild(et()),o.setAttribute("data-animatefill","")):t.animateFill&&!n.animateFill&&(o.removeChild(a),o.removeAttribute("data-animatefill")),!t.arrow&&n.arrow?o.appendChild(Qe(n.arrowType)):t.arrow&&!n.arrow&&o.removeChild(s),t.arrow&&n.arrow&&t.arrowType!==n.arrowType&&o.replaceChild(Qe(n.arrowType),s),!t.interactive&&n.interactive?tt(e,o):t.interactive&&!n.interactive&&function(e,t){e.removeAttribute("tabindex"),t.removeAttribute("data-interactive")}(e,o),!t.inertia&&n.inertia?Ze(o):t.inertia&&!n.inertia&&function(e){e.removeAttribute("data-inertia")}(o),t.theme!==n.theme&&(ot(o,"remove",t.theme),ot(o,"add",n.theme))}var st=1,lt=[];function ct(e,t){var n,i,o,r,a,s=Ye(e,t);if(!s.multiple&&e._tippy)return null;var l,c,u,d,p,f=!1,m=!1,h=!1,g=!1,v=[],_=Fe(L,s.interactiveDebounce),b=st++,y=rt(b,s),w=Xe(y),x={id:b,reference:e,popper:y,popperChildren:w,popperInstance:null,props:s,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:Y,set:G,setContent:function(e){G({content:e})},show:K,hide:J,enable:function(){x.state.isEnabled=!0},disable:function(){x.state.isEnabled=!1},destroy:function(t){if(x.state.isDestroyed)return;m=!0,x.state.isMounted&&J(0);$(),delete e._tippy;var n=x.props.target;n&&t&&ze(e)&&le(e.querySelectorAll(n)).forEach(function(e){e._tippy&&e._tippy.destroy()});x.popperInstance&&x.popperInstance.destroy();m=!1,x.state.isDestroyed=!0}};return e._tippy=x,y._tippy=x,N(),s.lazy||H(),s.showOnInit&&U(),!s.a11y||s.target||(!ze(p=C())||se.call(p,"a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]")&&!p.hasAttribute("disabled"))||C().setAttribute("tabindex","0"),y.addEventListener("mouseenter",function(e){x.props.interactive&&x.state.isVisible&&"mouseenter"===n&&U(e,!0)}),y.addEventListener("mouseleave",function(){x.props.interactive&&"mouseenter"===n&&document.addEventListener("mousemove",_)}),x;function k(){document.removeEventListener("mousemove",j)}function A(){document.body.removeEventListener("mouseleave",V),document.removeEventListener("mousemove",_),lt=lt.filter(function(e){return e!==_})}function C(){return x.props.triggerTarget||e}function S(){document.addEventListener("click",W,!0)}function M(){document.removeEventListener("click",W,!0)}function P(){return[x.popperChildren.tooltip,x.popperChildren.backdrop,x.popperChildren.content]}function O(){var e=x.props.followCursor;return e&&"focus"!==n||Oe&&"initial"===e}function T(e,t){var n=x.popperChildren.tooltip;function i(e){e.target===n&&(nt(n,"remove",i),t())}if(0===e)return t();nt(n,"remove",u),nt(n,"add",i),u=i}function E(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];C().addEventListener(e,t,n),v.push({eventType:e,handler:t,options:n})}function N(){x.props.touchHold&&!x.props.target&&(E("touchstart",q,de),E("touchend",F,de)),x.props.trigger.trim().split(" ").forEach(function(e){if("manual"!==e)if(x.props.target)switch(e){case"mouseenter":E("mouseover",R),E("mouseout",z);break;case"focus":E("focusin",R),E("focusout",z);break;case"click":E(e,R)}else switch(E(e,q),e){case"mouseenter":E("mouseleave",F);break;case"focus":E(te?"focusout":"blur",D)}})}function $(){v.forEach(function(e){var t=e.eventType,n=e.handler,i=e.options;C().removeEventListener(t,n,i)}),v=[]}function j(t){var n=i=t,o=n.clientX,r=n.clientY;if(d){var a=ue(t.target,function(t){return t===e}),s=e.getBoundingClientRect(),l=x.props.followCursor,c="horizontal"===l,u="vertical"===l,p=Re(["top","bottom"],it(y)),f=y.getAttribute(fe),m=!!f&&!!f.split("-")[1],h=p?y.offsetWidth:y.offsetHeight,g=h/2,v=p?0:m?h:g,_=p?m?h:g:0;!a&&x.props.interactive||(x.popperInstance.reference=Z({},x.popperInstance.reference,{referenceNode:e,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return{width:p?h:0,height:p?0:h,top:(c?s.top:r)-v,bottom:(c?s.bottom:r)+v,left:(u?s.left:o)-_,right:(u?s.right:o)+_}}}),x.popperInstance.update()),"initial"===l&&x.state.isVisible&&k()}}function q(e){x.state.isEnabled&&!B(e)&&(x.state.isVisible||(n=e.type,e instanceof MouseEvent&&(i=e,lt.forEach(function(t){return t(e)}))),"click"===e.type&&!1!==x.props.hideOnClick&&x.state.isVisible?V():U(e))}function L(t){var n=ce(t.target,ke)===y,i=ue(t.target,function(t){return t===e});n||i||function(e,t,n,i){if(!e)return!0;var o=n.clientX,r=n.clientY,a=i.interactiveBorder,s=i.distance,l=t.top-r>("top"===e?a+s:a),c=r-t.bottom>("bottom"===e?a+s:a),u=t.left-o>("left"===e?a+s:a),d=o-t.right>("right"===e?a+s:a);return l||c||u||d}(it(y),y.getBoundingClientRect(),t,x.props)&&(A(),V())}function F(e){if(!B(e))return x.props.interactive?(document.body.addEventListener("mouseleave",V),document.addEventListener("mousemove",_),void lt.push(_)):void V()}function D(e){e.target===C()&&(x.props.interactive&&e.relatedTarget&&y.contains(e.relatedTarget)||V())}function R(e){ce(e.target,x.props.target)&&U(e)}function z(e){ce(e.target,x.props.target)&&V()}function B(e){var t="ontouchstart"in window,n=Re(e.type,"touch"),i=x.props.touchHold;return t&&Oe&&i&&!n||Oe&&!i&&n}function I(){!g&&c&&(g=!0,function(e){e.offsetHeight}(y),c())}function H(){var t=x.props.popperOptions,n=x.popperChildren,i=n.tooltip,o=n.arrow,r=De(t,"preventOverflow");function a(e){x.props.flip&&!x.props.flipOnUpdate&&(e.flipped&&(x.popperInstance.options.placement=e.placement),He(x.popperInstance.modifiers,!1)),i.setAttribute(fe,e.placement),!1!==e.attributes[me]?i.setAttribute(me,""):i.removeAttribute(me),l&&l!==e.placement&&h&&(i.style.transition="none",requestAnimationFrame(function(){i.style.transition=""})),l=e.placement,h=x.state.isVisible;var t=it(y),n=i.style;n.top=n.bottom=n.left=n.right="",n[t]=-(x.props.distance-10)+"px";var o=r&&void 0!==r.padding?r.padding:pe,a="number"==typeof o,s=Z({top:a?o:o.top,bottom:a?o:o.bottom,left:a?o:o.left,right:a?o:o.right},!a&&o);s[t]=a?o+x.props.distance:(o[t]||0)+x.props.distance,x.popperInstance.modifiers.filter(function(e){return"preventOverflow"===e.name})[0].padding=s,d=s}var s=Z({eventsEnabled:!1,placement:x.props.placement},t,{modifiers:Z({},t?t.modifiers:{},{preventOverflow:Z({boundariesElement:x.props.boundary,padding:pe},r),arrow:Z({element:o,enabled:!!o},De(t,"arrow")),flip:Z({enabled:x.props.flip,padding:x.props.distance+pe,behavior:x.props.flipBehavior},De(t,"flip")),offset:Z({offset:x.props.offset},De(t,"offset"))}),onCreate:function(e){a(e),I(),t&&t.onCreate&&t.onCreate(e)},onUpdate:function(e){a(e),I(),t&&t.onUpdate&&t.onUpdate(e)}});x.popperInstance=new X(e,y,s)}function U(e,n){if(Y(),!x.state.isVisible){if(x.props.target)return function(e){if(e){var n=ce(e.target,x.props.target);n&&!n._tippy&&ct(n,Z({},x.props,{content:Ie(t.content,[n]),appendTo:t.appendTo,target:"",showOnInit:!0}))}}(e);if(f=!0,e&&!n&&x.props.onTrigger(x,e),x.props.wait)return x.props.wait(x,e);O()&&!x.state.isMounted&&(x.popperInstance||H(),document.addEventListener("mousemove",j)),S();var i=Le(x.props.delay,0,oe.delay);i?o=setTimeout(function(){K()},i):K()}}function V(){if(Y(),!x.state.isVisible)return k(),void M();f=!1;var e=Le(x.props.delay,1,oe.delay);e?r=setTimeout(function(){x.state.isVisible&&J()},e):a=requestAnimationFrame(function(){J()})}function W(e){if(!x.props.interactive||!y.contains(e.target)){if(C().contains(e.target)){if(Oe)return;if(x.state.isVisible&&Re(x.props.trigger,"click"))return}!0===x.props.hideOnClick&&(Y(),J())}}function Y(){clearTimeout(o),clearTimeout(r),cancelAnimationFrame(a)}function G(t){Ge(t=t||{},oe),$();var n=x.props,o=Ye(e,Z({},x.props,{},t,{ignoreAttributes:!0}));o.ignoreAttributes=qe(t,"ignoreAttributes")?t.ignoreAttributes||!1:n.ignoreAttributes,x.props=o,N(),A(),_=Fe(L,o.interactiveDebounce),at(y,n,o),x.popperChildren=Xe(y),x.popperInstance&&(re.some(function(e){return qe(t,e)&&t[e]!==n[e]})?(x.popperInstance.destroy(),H(),x.state.isVisible&&x.popperInstance.enableEventListeners(),x.props.followCursor&&i&&j(i)):x.popperInstance.update())}function K(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Le(x.props.duration,0,oe.duration[1]);if(!x.state.isDestroyed&&x.state.isEnabled&&(!Oe||x.props.touch)&&!C().hasAttribute("disabled")&&!1!==x.props.onShow(x)){S(),y.style.visibility="visible",x.state.isVisible=!0,x.props.interactive&&C().classList.add(ge);var n=P();Ve(n.concat(y),0),c=function(){if(x.state.isVisible){var o=O();o&&i?j(i):o||x.popperInstance.update(),x.popperChildren.backdrop&&(x.popperChildren.content.style.transitionDelay=Math.round(t/12)+"ms"),x.props.sticky&&function(){Ve([y],te?0:x.props.updateDuration);var t=e.getBoundingClientRect();!function n(){var i=e.getBoundingClientRect();t.top===i.top&&t.right===i.right&&t.bottom===i.bottom&&t.left===i.left||x.popperInstance.scheduleUpdate(),t=i,x.state.isMounted&&requestAnimationFrame(n)}()}(),Ve([y],x.props.updateDuration),Ve(n,t),We(n,"visible"),function(e,t){T(e,t)}(t,function(){x.props.aria&&C().setAttribute("aria-".concat(x.props.aria),y.id),x.props.onShown(x),x.state.isShown=!0})}},function(){g=!1;var t=O();x.popperInstance?(He(x.popperInstance.modifiers,x.props.flip),t||(x.popperInstance.reference=e,x.popperInstance.enableEventListeners()),x.popperInstance.scheduleUpdate()):(H(),t||x.popperInstance.enableEventListeners());var n=x.props.appendTo,i="parent"===n?e.parentNode:Ie(n,[e]);i.contains(y)||(i.appendChild(y),x.props.onMount(x),x.state.isMounted=!0)}()}}function J(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Le(x.props.duration,1,oe.duration[1]);if(!x.state.isDestroyed&&(x.state.isEnabled||m)&&(!1!==x.props.onHide(x)||m)){M(),y.style.visibility="hidden",x.state.isVisible=!1,x.state.isShown=!1,h=!1,x.props.interactive&&C().classList.remove(ge);var t=P();Ve(t,e),We(t,"hidden"),function(e,t){T(e,function(){!x.state.isVisible&&y.parentNode&&y.parentNode.contains(y)&&t()})}(e,function(){f||k(),x.props.aria&&C().removeAttribute("aria-".concat(x.props.aria)),x.popperInstance.disableEventListeners(),x.popperInstance.options.placement=x.props.placement,y.parentNode.removeChild(y),x.props.onHidden(x),x.state.isMounted=!1})}}}var ut=!1;function dt(e,t){Ge(t||{},oe),ut||(document.addEventListener("touchstart",Te,de),window.addEventListener("blur",$e),ut=!0);var n,i=Z({},oe,{},t);n=e,"[object Object]"!=={}.toString.call(n)||n.addEventListener||function(e){var t={isVirtual:!0,attributes:e.attributes||{},contains:function(){},setAttribute:function(t,n){e.attributes[t]=n},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var n in t)e[n]=t[n]}(e);var o=function(e){if(Be(e))return[e];if(e instanceof NodeList)return le(e);if(Array.isArray(e))return e;try{return le(document.querySelectorAll(e))}catch(e){return[]}}(e).reduce(function(e,t){var n=t&&ct(t,i);return n&&e.push(n),e},[]);return Be(e)?o[0]:o}dt.version="4.3.5",dt.defaults=oe,dt.setDefaults=function(e){Object.keys(e).forEach(function(t){oe[t]=e[t]})},dt.hideAll=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.exclude,n=e.duration;le(document.querySelectorAll(ke)).forEach(function(e){var i,o=e._tippy;if(o){var r=!1;t&&(r=(i=t)._tippy&&!se.call(i,ke)?o.reference===t:e===t.popper),r||o.hide(n)}})},dt.group=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.delay,i=void 0===n?e[0].props.delay:n,o=t.duration,r=void 0===o?0:o,a=!1;function s(e){a=e,d()}function l(t){t._originalProps.onShow(t),e.forEach(function(e){e.set({duration:r}),e.state.isVisible&&e.hide()}),s(!0)}function c(e){e._originalProps.onHide(e),s(!1)}function u(e){e._originalProps.onShown(e),e.set({duration:e._originalProps.duration})}function d(){e.forEach(function(e){e.set({onShow:l,onShown:u,onHide:c,delay:a?[0,Array.isArray(i)?i[1]:i]:i,duration:a?r:e._originalProps.duration})})}e.forEach(function(e){e._originalProps?e.set(e._originalProps):e._originalProps=Z({},e.props)}),d()},Q&&setTimeout(function(){le(document.querySelectorAll("[data-tippy]")).forEach(function(e){var t=e.getAttribute("data-tippy");t&&dt(e,{content:t})})}),function(e){if(Q){var t=document.createElement("style");t.type="text/css",t.textContent=e,t.setAttribute("data-tippy-stylesheet","");var n=document.head,i=n.querySelector("style,link");i?n.insertBefore(t,i):n.appendChild(t)}}('.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{transition-timing-function:cubic-bezier(.165,.84,.44,1);max-width:calc(100% - 8px);pointer-events:none;outline:0}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-7px;bottom:-6.5px;-webkit-transform-origin:50% 0;transform-origin:50% 0;margin:0 3px}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 3px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(-10px);transform:perspective(700px) translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateX(60deg);transform:perspective(700px) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=top] [data-animation=scale]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px) scale(.5);transform:translateY(-10px) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-7px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%;margin:0 3px}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 3px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(10px);transform:perspective(700px) translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateX(-60deg);transform:perspective(700px) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=scale]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px) scale(.5);transform:translateY(10px) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-12px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%;margin:3px 0}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(-10px);transform:perspective(700px) translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateY(-60deg);transform:perspective(700px) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=left] [data-animation=scale]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px) scale(.5);transform:translateX(-10px) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-12px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%;margin:3px 0}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(10px);transform:perspective(700px) translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateY(60deg);transform:perspective(700px) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=right] [data-animation=scale]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px) scale(.5);transform:translateX(10px) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;padding:.3125rem .5625rem;line-height:1.4;text-align:center;background-color:#333}.tippy-tooltip[data-size=small]{padding:.1875rem .375rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.375rem .75rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:initial}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] .tippy-roundarrow path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:18px;height:7px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}');var pt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};var ft,mt=(function(e){var t,n,i,o,r,a,s,l,c,u,d,p,f,m,h;t=pt,n=function(e,t,i){if(!l(t)||u(t)||d(t)||p(t)||s(t))return t;var o,r=0,a=0;if(c(t))for(o=[],a=t.length;r<a;r++)o.push(n(e,t[r],i));else for(var f in o={},t)Object.prototype.hasOwnProperty.call(t,f)&&(o[e(f,i)]=n(e,t[f],i));return o},i=function(e){return f(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})).substr(0,1).toLowerCase()+e.substr(1)},o=function(e){var t=i(e);return t.substr(0,1).toUpperCase()+t.substr(1)},r=function(e,t){return function(e,t){var n=(t=t||{}).separator||"_",i=t.split||/(?=[A-Z])/;return e.split(i).join(n)}(e,t).toLowerCase()},a=Object.prototype.toString,s=function(e){return"function"==typeof e},l=function(e){return e===Object(e)},c=function(e){return"[object Array]"==a.call(e)},u=function(e){return"[object Date]"==a.call(e)},d=function(e){return"[object RegExp]"==a.call(e)},p=function(e){return"[object Boolean]"==a.call(e)},f=function(e){return(e-=0)==e},m=function(e,t){var n=t&&"process"in t?t.process:t;return"function"!=typeof n?e:function(t,i){return n(t,e,i)}},h={camelize:i,decamelize:r,pascalize:o,depascalize:r,camelizeKeys:function(e,t){return n(m(i,t),e)},decamelizeKeys:function(e,t){return n(m(r,t),e,t)},pascalizeKeys:function(e,t){return n(m(o,t),e)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}},e.exports?e.exports=h:t.humps=h}(ft={exports:{}},ft.exports),ft.exports);function ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}var vt={a11y:!0,allowHTML:!0,animateFill:!0,arrow:!1,flip:!0,flipOnUpdate:!1,followCursor:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,lazy:!0,multiple:!1,showOnInit:!1,sticky:!1,touch:!0,touchHold:!1},_t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(n),!0).forEach(function(t){ht(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({animation:"shift-away",appendTo:function(){return document.body},aria:"describedby",arrowType:"sharp",boundary:"scrollParent",content:"",delay:0,distance:10,duration:[325,275],flipBehavior:"flip",interactiveBorder:2,interactiveDebounce:0,maxWidth:350,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},placement:"top",popperOptions:{},role:"tooltip",size:"regular",target:"",theme:"dark",trigger:"mouseenter focus",updateDuration:0,wait:null,zIndex:9999},vt),bt={props:["to","toSelector","toElement","content","enabled","visible","triggerTarget"],data:function(){return{tip:null,options:{}}},mounted:function(){var e=this.toElement;null==e&&(e=this.to?document.querySelector("[name='".concat(this.to,"']")):this.toSelector?document.querySelector(this.toSelector):this.$refs.trigger),this.tip=dt(e,this.getOptions()),this.$emit("onCreate",this.tip),this.$emit("init",this.tip),!1===this.enabled&&this.tip.disable(),this.isManualTrigger&&!0===this.visible&&this.tip.show()},watch:{content:function(){this.tip&&this.tip.set(this.getOptions())},enabled:function(e){this.tip&&(e?this.tip.enable():(this.tip.hide(),this.tip.disable()))},visible:function(e){this.tip&&(e?this.tip.show():this.tip.hide())}},updated:function(){this.tip&&!this.content&&this.tip.set(this.getOptions())},beforeDestroy:function(){this.tip&&this.tip.destroy()},computed:{isManualTrigger:function(){return"manual"===this.options.trigger}},methods:{tippy:function(){return this.tip},filterOptions:function(){for(var e=function(e,t){if(vt.hasOwnProperty(e)){if(""===t)return!0;if("false"===t)return!1;if("true"===t)return!0}return t},t=0,n=Object.keys(this.options);t<n.length;t++){var i=n[t];_t.hasOwnProperty(i)||delete this.options[i],this.options[i]=e(i,this.options[i])}return this.options},getOptions:function(){var e=this;return this.options=mt.camelizeKeys(this.$attrs),this.filterOptions(),!this.options.onShow&&this.$listeners&&this.$listeners.show&&(this.options.onShow=function(){var t;return(t=e.$listeners.show).fns.apply(t,arguments)}),this.options.onShown||(this.options.onShown=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.$emit.apply(e,["shown"].concat(n))}),this.options.onHidden||(this.options.onHidden=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.$emit.apply(e,["hidden"].concat(n))}),!this.options.onHide&&this.$listeners&&this.$listeners.hide&&(this.options.onHide=function(){var t;return(t=e.$listeners.hide).fns.apply(t,arguments)}),this.options.onMount||(this.options.onMount=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.$emit.apply(e,["mount"].concat(n))}),this.options.hasOwnProperty("content")||(this.options.content=this.content?this.content:this.$refs.content),this.options.triggerTarget=this.triggerTarget,this.options}}};"undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var yt=bt,wt=function(){var e=this.$createElement,t=this._self._c||e;return t("span",[t("span",{ref:"trigger"},[this._t("trigger")],2),this._v(" "),t("span",{ref:"content"},[this._t("default")],2)])};wt._withStripped=!0;var xt=function(e,t,n,i,o,r,a,s,l,c){"boolean"!=typeof a&&(l=s,s=a,a=!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,o&&(u.functional=!0)),i&&(u._scopeId=i),r?(d=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__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},u._ssrRegister=d):t&&(d=a?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}({render:wt,staticRenderFns:[]},void 0,yt,void 0,!1,void 0,!1,void 0,void 0,void 0),kt="tippy",At={install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};kt=t.directive||"tippy",dt.setDefaults(t||{}),e.directive(kt,{inserted:function(n,i,o){e.nextTick(function(){!function(n,i,o){var r=o.data&&o.data.on||o.componentOptions&&o.componentOptions.listeners,a=i.value||{};a=Object.assign({},t,a),r&&r.show&&(a.onShow=function(){var e;return(e=r.show).fns.apply(e,arguments)}),r&&r.shown&&(a.onShown=function(){var e;(e=r.shown).fns.apply(e,arguments)}),r&&r.hidden&&(a.onHidden=function(){var e;(e=r.hidden).fns.apply(e,arguments)}),r&&r.hide&&(a.onHide=function(){var e;return(e=r.hide).fns.apply(e,arguments)}),r&&r.mount&&(a.onMount=function(){var e;(e=r.mount).fns.apply(e,arguments)}),n.getAttribute("title")&&!a.content&&(a.content=n.getAttribute("title")),n.getAttribute("content")&&!a.content&&(a.content=n.getAttribute("content")),dt(n,a),a.showOnLoad&&n._tippy.show(),e.nextTick(function(){r&&r.init&&r.init.fns(n._tippy,n)})}(n,i,o)})},unbind:function(e){e._tippy&&e._tippy.destroy()},componentUpdated:function(e,t,n){if(e._tippy){var i=t.value||{};e.getAttribute("title")&&!i.content&&(i.content=e.getAttribute("title")),e.getAttribute("content")&&!i.content&&(i.content=e.getAttribute("content")),e._tippy.set(i)}}})}};"undefined"!=typeof window&&window.Vue&&(window.Vue.use(At),window.Vue.component("tippy",xt)),t.TippyComponent=xt,t.default=At,t.tippy=dt,Object.defineProperty(t,"__esModule",{value:!0})})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],176:[function(e,t,n){(function(e,n){"use strict";var i=Object.freeze({});function o(e){return null==e}function r(e){return null!=e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function u(e){return c.call(e).slice(8,-1)}function d(e){return"[object Object]"===c.call(e)}function p(e){return"[object RegExp]"===c.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function m(e){return r(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||d(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function g(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),i=e.split(","),o=0;o<i.length;o++)n[i[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var _=v("slot,component",!0),b=v("key,ref,slot,slot-scope,is");function y(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var w=Object.prototype.hasOwnProperty;function x(e,t){return w.call(e,t)}function k(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var A=/-(\w)/g,C=k(function(e){return e.replace(A,function(e,t){return t?t.toUpperCase():""})}),S=k(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),M=/\B([A-Z])/g,P=k(function(e){return e.replace(M,"-$1").toLowerCase()});var O=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function T(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function E(e,t){for(var n in t)e[n]=t[n];return e}function N(e){for(var t={},n=0;n<e.length;n++)e[n]&&E(t,e[n]);return t}function $(e,t,n){}var j=function(e,t,n){return!1},q=function(e){return e};function L(e,t){if(e===t)return!0;var n=l(e),i=l(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var o=Array.isArray(e),r=Array.isArray(t);if(o&&r)return e.length===t.length&&e.every(function(e,n){return L(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||r)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return L(e[n],t[n])})}catch(e){return!1}}function F(e,t){for(var n=0;n<e.length;n++)if(L(e[n],t))return n;return-1}function D(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var R="data-server-rendered",z=["component","directive","filter"],B=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],I={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!0,devtools:!0,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:j,isReservedAttr:j,isUnknownElement:j,getTagNamespace:$,parsePlatformTagName:q,mustUseProp:j,async:!0,_lifecycleHooks:B},H=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function U(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function V(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var W=new RegExp("[^"+H.source+".$_\\d]");var Y,G="__proto__"in{},K="undefined"!=typeof window,J="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,X=J&&WXEnvironment.platform.toLowerCase(),Z=K&&window.navigator.userAgent.toLowerCase(),Q=Z&&/msie|trident/.test(Z),ee=Z&&Z.indexOf("msie 9.0")>0,te=Z&&Z.indexOf("edge/")>0,ne=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===X),ie=(Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z),Z&&Z.match(/firefox\/(\d+)/)),oe={}.watch,re=!1;if(K)try{var ae={};Object.defineProperty(ae,"passive",{get:function(){re=!0}}),window.addEventListener("test-passive",null,ae)}catch(e){}var se=function(){return void 0===Y&&(Y=!K&&!J&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),Y},le=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"==typeof e&&/native code/.test(e.toString())}var ue,de="undefined"!=typeof Symbol&&ce(Symbol)&&"undefined"!=typeof Reflect&&ce(Reflect.ownKeys);ue="undefined"!=typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var pe=$,fe=$,me=$,he=$,ge="undefined"!=typeof console,ve=/(?:^|[-_])(\w)/g;pe=function(e,t){var n=t?me(t):"";I.warnHandler?I.warnHandler.call(null,e,t,n):ge&&!I.silent&&console.error("[Vue warn]: "+e+n)},fe=function(e,t){ge&&!I.silent&&console.warn("[Vue tip]: "+e+(t?me(t):""))},he=function(e,t){if(e.$root===e)return"<Root>";var n="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e,i=n.name||n._componentTag,o=n.__file;if(!i&&o){var r=o.match(/([^/\\]+)\.vue$/);i=r&&r[1]}return(i?"<"+i.replace(ve,function(e){return e.toUpperCase()}).replace(/[-_]/g,"")+">":"<Anonymous>")+(o&&!1!==t?" at "+o:"")};me=function(e){if(e._isVue&&e.$parent){for(var t=[],n=0;e;){if(t.length>0){var i=t[t.length-1];if(i.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[i,n],n=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map(function(e,t){return""+(0===t?"---\x3e ":function(e,t){for(var n="";t;)t%2==1&&(n+=e),t>1&&(e+=e),t>>=1;return n}(" ",5+2*t))+(Array.isArray(e)?he(e[0])+"... ("+e[1]+" recursive calls)":he(e))}).join("\n")}return"\n\n(found in "+he(e)+")"};var _e=0,be=function(){this.id=_e++,this.subs=[]};be.prototype.addSub=function(e){this.subs.push(e)},be.prototype.removeSub=function(e){y(this.subs,e)},be.prototype.depend=function(){be.target&&be.target.addDep(this)},be.prototype.notify=function(){var e=this.subs.slice();I.async||e.sort(function(e,t){return e.id-t.id});for(var t=0,n=e.length;t<n;t++)e[t].update()},be.target=null;var ye=[];function we(e){ye.push(e),be.target=e}function xe(){ye.pop(),be.target=ye[ye.length-1]}var ke=function(e,t,n,i,o,r,a,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=o,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Ae={child:{configurable:!0}};Ae.child.get=function(){return this.componentInstance},Object.defineProperties(ke.prototype,Ae);var Ce=function(e){void 0===e&&(e="");var t=new ke;return t.text=e,t.isComment=!0,t};function Se(e){return new ke(void 0,void 0,void 0,String(e))}function Me(e){var t=new ke(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Pe=Array.prototype,Oe=Object.create(Pe);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Pe[e];V(Oe,e,function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var o,r=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),r})});var Te=Object.getOwnPropertyNames(Oe),Ee=!0;function Ne(e){Ee=e}var $e=function(e){var t;this.value=e,this.dep=new be,this.vmCount=0,V(e,"__ob__",this),Array.isArray(e)?(G?(t=Oe,e.__proto__=t):function(e,t,n){for(var i=0,o=n.length;i<o;i++){var r=n[i];V(e,r,t[r])}}(e,Oe,Te),this.observeArray(e)):this.walk(e)};function je(e,t){var n;if(l(e)&&!(e instanceof ke))return x(e,"__ob__")&&e.__ob__ instanceof $e?n=e.__ob__:Ee&&!se()&&(Array.isArray(e)||d(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new $e(e)),t&&n&&n.vmCount++,n}function qe(e,t,n,i,o){var r=new be,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!o&&je(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return be.target&&(r.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,i=0,o=t.length;i<o;i++)(n=t[i])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var a=s?s.call(e):n;t===a||t!=t&&a!=a||(i&&i(),s&&!l||(l?l.call(e,t):n=t,c=!o&&je(t),r.notify()))}})}}function Le(e,t,n){if((o(e)||s(e))&&pe("Cannot set reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&f(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var i=e.__ob__;return e._isVue||i&&i.vmCount?(pe("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),n):i?(qe(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function Fe(e,t){if((o(e)||s(e))&&pe("Cannot delete reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&f(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount?pe("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):x(e,t)&&(delete e[t],n&&n.dep.notify())}}$e.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)qe(e,t[n])},$e.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)je(e[t])};var De=I.optionMergeStrategies;function Re(e,t){if(!t)return e;for(var n,i,o,r=de?Reflect.ownKeys(t):Object.keys(t),a=0;a<r.length;a++)"__ob__"!==(n=r[a])&&(i=e[n],o=t[n],x(e,n)?i!==o&&d(i)&&d(o)&&Re(i,o):Le(e,n,o));return e}function ze(e,t,n){return n?function(){var i="function"==typeof t?t.call(n,n):t,o="function"==typeof e?e.call(n,n):e;return i?Re(i,o):o}:t?e?function(){return Re("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Be(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Ie(e,t,n,i){var o=Object.create(e||null);return t?(Ve(i,t,n),E(o,t)):o}De.el=De.propsData=function(e,t,n,i){return n||pe('option "'+i+'" can only be used during instance creation with the `new` keyword.'),He(e,t)},De.data=function(e,t,n){return n?ze(e,t,n):t&&"function"!=typeof t?(pe('The "data" option should be a function that returns a per-instance value in component definitions.',n),e):ze(e,t)},B.forEach(function(e){De[e]=Be}),z.forEach(function(e){De[e+"s"]=Ie}),De.watch=function(e,t,n,i){if(e===oe&&(e=void 0),t===oe&&(t=void 0),!t)return Object.create(e||null);if(Ve(i,t,n),!e)return t;var o={};for(var r in E(o,e),t){var a=o[r],s=t[r];a&&!Array.isArray(a)&&(a=[a]),o[r]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},De.props=De.methods=De.inject=De.computed=function(e,t,n,i){if(t&&Ve(i,t,n),!e)return t;var o=Object.create(null);return E(o,e),t&&E(o,t),o},De.provide=ze;var He=function(e,t){return void 0===t?e:t};function Ue(e){new RegExp("^[a-zA-Z][\\-\\.0-9_"+H.source+"]*$").test(e)||pe('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(_(e)||I.isReservedTag(e))&&pe("Do not use built-in or reserved HTML elements as component id: "+e)}function Ve(e,t,n){d(t)||pe('Invalid value for option "'+e+'": expected an Object, but got '+u(t)+".",n)}function We(e,t,n){if(function(e){for(var t in e.components)Ue(t)}(t),"function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var i,o,r={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(o=n[i])?r[C(o)]={type:null}:pe("props must be strings when using array syntax.");else if(d(n))for(var a in n)o=n[a],r[C(a)]=d(o)?o:{type:o};else pe('Invalid value for option "props": expected an Array or an Object, but got '+u(n)+".",t);e.props=r}}(t,n),function(e,t){var n=e.inject;if(n){var i=e.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)i[n[o]]={from:n[o]};else if(d(n))for(var r in n){var a=n[r];i[r]=d(a)?E({from:r},a):{from:a}}else pe('Invalid value for option "inject": expected an Array or an Object, but got '+u(n)+".",t)}}(t,n),function(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"function"==typeof i&&(t[n]={bind:i,update:i})}}(t),!t._base&&(t.extends&&(e=We(e,t.extends,n)),t.mixins))for(var i=0,o=t.mixins.length;i<o;i++)e=We(e,t.mixins[i],n);var r,a={};for(r in e)s(r);for(r in t)x(e,r)||s(r);function s(i){var o=De[i]||He;a[i]=o(e[i],t[i],n,i)}return a}function Ye(e,t,n,i){if("string"==typeof n){var o=e[t];if(x(o,n))return o[n];var r=C(n);if(x(o,r))return o[r];var a=S(r);if(x(o,a))return o[a];var s=o[n]||o[r]||o[a];return i&&!s&&pe("Failed to resolve "+t.slice(0,-1)+": "+n,e),s}}function Ge(e,t,n,i){var o=t[e],r=!x(n,e),a=n[e],s=Qe(Boolean,o.type);if(s>-1)if(r&&!x(o,"default"))a=!1;else if(""===a||a===P(e)){var c=Qe(String,o.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!x(t,"default"))return;var i=t.default;l(i)&&pe('Invalid default value for prop "'+n+'": Props with type Object/Array must use a factory function to return the default value.',e);if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof i&&"Function"!==Xe(t.type)?i.call(e):i}(i,o,e);var d=Ee;Ne(!0),je(a),Ne(d)}return function(e,t,n,i,o){if(e.required&&o)return void pe('Missing required prop: "'+t+'"',i);if(null==n&&!e.required)return;var r=e.type,a=!r||!0===r,s=[];if(r){Array.isArray(r)||(r=[r]);for(var l=0;l<r.length&&!a;l++){var c=Je(n,r[l]);s.push(c.expectedType||""),a=c.valid}}if(!a)return void pe(function(e,t,n){var i='Invalid prop: type check failed for prop "'+e+'". Expected '+n.map(S).join(", "),o=n[0],r=u(t),a=et(t,o),s=et(t,r);1===n.length&&tt(o)&&!function(){var e=[],t=arguments.length;for(;t--;)e[t]=arguments[t];return e.some(function(e){return"boolean"===e.toLowerCase()})}(o,r)&&(i+=" with value "+a);i+=", got "+r+" ",tt(r)&&(i+="with value "+s+".");return i}(t,n,s),i);var d=e.validator;d&&(d(n)||pe('Invalid prop: custom validator check failed for prop "'+t+'".',i))}(o,e,a,i,r),a}var Ke=/^(String|Number|Boolean|Function|Symbol)$/;function Je(e,t){var n,i=Xe(t);if(Ke.test(i)){var o=typeof e;(n=o===i.toLowerCase())||"object"!==o||(n=e instanceof t)}else n="Object"===i?d(e):"Array"===i?Array.isArray(e):e instanceof t;return{valid:n,expectedType:i}}function Xe(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Ze(e,t){return Xe(e)===Xe(t)}function Qe(e,t){if(!Array.isArray(t))return Ze(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(Ze(t[n],e))return n;return-1}function et(e,t){return"String"===t?'"'+e+'"':"Number"===t?""+Number(e):""+e}function tt(e){return["string","number","boolean"].some(function(t){return e.toLowerCase()===t})}function nt(e,t,n){we();try{if(t)for(var i=t;i=i.$parent;){var o=i.$options.errorCaptured;if(o)for(var r=0;r<o.length;r++)try{if(!1===o[r].call(i,e,t,n))return}catch(e){ot(e,i,"errorCaptured hook")}}ot(e,t,n)}finally{xe()}}function it(e,t,n,i,o){var r;try{(r=n?e.apply(t,n):e.call(t))&&!r._isVue&&m(r)&&!r._handled&&(r.catch(function(e){return nt(e,i,o+" (Promise/async)")}),r._handled=!0)}catch(e){nt(e,i,o)}return r}function ot(e,t,n){if(I.errorHandler)try{return I.errorHandler.call(null,e,t,n)}catch(t){t!==e&&rt(t,null,"config.errorHandler")}rt(e,t,n)}function rt(e,t,n){if(pe("Error in "+n+': "'+e.toString()+'"',t),!K&&!J||"undefined"==typeof console)throw e;console.error(e)}var at,st,lt,ct=!1,ut=[],dt=!1;function pt(){dt=!1;var e=ut.slice(0);ut.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&ce(Promise)){var ft=Promise.resolve();at=function(){ft.then(pt),ne&&setTimeout($)},ct=!0}else if(Q||"undefined"==typeof MutationObserver||!ce(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())at=void 0!==n&&ce(n)?function(){n(pt)}:function(){setTimeout(pt,0)};else{var mt=1,ht=new MutationObserver(pt),gt=document.createTextNode(String(mt));ht.observe(gt,{characterData:!0}),at=function(){mt=(mt+1)%2,gt.data=String(mt)},ct=!0}function vt(e,t){var n;if(ut.push(function(){if(e)try{e.call(t)}catch(e){nt(e,t,"nextTick")}else n&&n(t)}),dt||(dt=!0,at()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var _t,bt=K&&window.performance;bt&&bt.mark&&bt.measure&&bt.clearMarks&&bt.clearMeasures&&(st=function(e){return bt.mark(e)},lt=function(e,t,n){bt.measure(e,t,n),bt.clearMarks(t),bt.clearMarks(n)});var yt=v("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,require"),wt=function(e,t){pe('Property or method "'+t+'" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',e)},xt=function(e,t){pe('Property "'+t+'" must be accessed with "$data.'+t+'" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://vuejs.org/v2/api/#data',e)},kt="undefined"!=typeof Proxy&&ce(Proxy);if(kt){var At=v("stop,prevent,self,ctrl,shift,alt,meta,exact");I.keyCodes=new Proxy(I.keyCodes,{set:function(e,t,n){return At(t)?(pe("Avoid overwriting built-in modifier in config.keyCodes: ."+t),!1):(e[t]=n,!0)}})}var Ct={has:function(e,t){var n=t in e,i=yt(t)||"string"==typeof t&&"_"===t.charAt(0)&&!(t in e.$data);return n||i||(t in e.$data?xt(e,t):wt(e,t)),n||!i}},St={get:function(e,t){return"string"!=typeof t||t in e||(t in e.$data?xt(e,t):wt(e,t)),e[t]}};_t=function(e){if(kt){var t=e.$options,n=t.render&&t.render._withStripped?St:Ct;e._renderProxy=new Proxy(e,n)}else e._renderProxy=e};var Mt=new ue;function Pt(e){!function e(t,n){var i,o;var r=Array.isArray(t);if(!r&&!l(t)||Object.isFrozen(t)||t instanceof ke)return;if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(r)for(i=t.length;i--;)e(t[i],n);else for(o=Object.keys(t),i=o.length;i--;)e(t[o[i]],n)}(e,Mt),Mt.clear()}var Ot=k(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),i="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=i?e.slice(1):e,once:n,capture:i,passive:t}});function Tt(e,t){function n(){var e=arguments,i=n.fns;if(!Array.isArray(i))return it(i,null,arguments,t,"v-on handler");for(var o=i.slice(),r=0;r<o.length;r++)it(o[r],null,e,t,"v-on handler")}return n.fns=e,n}function Et(e,t,n,i,r,s){var l,c,u,d;for(l in e)c=e[l],u=t[l],d=Ot(l),o(c)?pe('Invalid handler for event "'+d.name+'": got '+String(c),s):o(u)?(o(c.fns)&&(c=e[l]=Tt(c,s)),a(d.once)&&(c=e[l]=r(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u);for(l in t)o(e[l])&&i((d=Ot(l)).name,t[l],d.capture)}function Nt(e,t,n){var i;e instanceof ke&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function l(){n.apply(this,arguments),y(i.fns,l)}o(s)?i=Tt([l]):r(s.fns)&&a(s.merged)?(i=s).fns.push(l):i=Tt([s,l]),i.merged=!0,e[t]=i}function $t(e,t,n,i,o){if(r(t)){if(x(t,n))return e[n]=t[n],o||delete t[n],!0;if(x(t,i))return e[n]=t[i],o||delete t[i],!0}return!1}function jt(e){return s(e)?[Se(e)]:Array.isArray(e)?function e(t,n){var i=[];var l,c,u,d;for(l=0;l<t.length;l++)o(c=t[l])||"boolean"==typeof c||(u=i.length-1,d=i[u],Array.isArray(c)?c.length>0&&(qt((c=e(c,(n||"")+"_"+l))[0])&&qt(d)&&(i[u]=Se(d.text+c[0].text),c.shift()),i.push.apply(i,c)):s(c)?qt(d)?i[u]=Se(d.text+c):""!==c&&i.push(Se(c)):qt(c)&&qt(d)?i[u]=Se(d.text+c.text):(a(t._isVList)&&r(c.tag)&&o(c.key)&&r(n)&&(c.key="__vlist"+n+"_"+l+"__"),i.push(c)));return i}(e):void 0}function qt(e){return r(e)&&r(e.text)&&!1===e.isComment}function Lt(e,t){if(e){for(var n=Object.create(null),i=de?Reflect.ownKeys(e):Object.keys(e),o=0;o<i.length;o++){var r=i[o];if("__ob__"!==r){for(var a=e[r].from,s=t;s;){if(s._provided&&x(s._provided,a)){n[r]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[r]){var l=e[r].default;n[r]="function"==typeof l?l.call(t):l}else pe('Injection "'+r+'" not found',t)}}return n}}function Ft(e,t){if(!e||!e.length)return{};for(var n={},i=0,o=e.length;i<o;i++){var r=e[i],a=r.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,r.context!==t&&r.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(r);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===r.tag?l.push.apply(l,r.children||[]):l.push(r)}}for(var c in n)n[c].every(Dt)&&delete n[c];return n}function Dt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Rt(e,t,n){var o,r=Object.keys(t).length>0,a=e?!!e.$stable:!r,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==i&&s===n.$key&&!r&&!n.$hasNormal)return n;for(var l in o={},e)e[l]&&"$"!==l[0]&&(o[l]=zt(t,l,e[l]))}else o={};for(var c in t)c in o||(o[c]=Bt(t,c));return e&&Object.isExtensible(e)&&(e._normalized=o),V(o,"$stable",a),V(o,"$key",s),V(o,"$hasNormal",r),o}function zt(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:jt(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function Bt(e,t){return function(){return e[t]}}function It(e,t){var n,i,o,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,o=e.length;i<o;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(l(e))if(de&&e[Symbol.iterator]){n=[];for(var c=e[Symbol.iterator](),u=c.next();!u.done;)n.push(t(u.value,n.length)),u=c.next()}else for(a=Object.keys(e),n=new Array(a.length),i=0,o=a.length;i<o;i++)s=a[i],n[i]=t(e[s],s,i);return r(n)||(n=[]),n._isVList=!0,n}function Ht(e,t,n,i){var o,r=this.$scopedSlots[e];r?(n=n||{},i&&(l(i)||pe("slot v-bind without argument expects an Object",this),n=E(E({},i),n)),o=r(n)||t):o=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function Ut(e){return Ye(this.$options,"filters",e,!0)||q}function Vt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Wt(e,t,n,i,o){var r=I.keyCodes[t]||n;return o&&i&&!I.keyCodes[t]?Vt(o,i):r?Vt(r,e):i?P(i)!==t:void 0}function Yt(e,t,n,i,o){if(n)if(l(n)){var r;Array.isArray(n)&&(n=N(n));var a=function(a){if("class"===a||"style"===a||b(a))r=e;else{var s=e.attrs&&e.attrs.type;r=i||I.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=C(a),c=P(a);l in r||c in r||(r[a]=n[a],o&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var s in n)a(s)}else pe("v-bind without argument expects an Object or Array value",this);return e}function Gt(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t?i:(Jt(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i)}function Kt(e,t,n){return Jt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Jt(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&Xt(e[i],t+"_"+i,n);else Xt(e,t,n)}function Xt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Zt(e,t){if(t)if(d(t)){var n=e.on=e.on?E({},e.on):{};for(var i in t){var o=n[i],r=t[i];n[i]=o?[].concat(o,r):r}}else pe("v-on without argument expects an Object value",this);return e}function Qt(e,t,n,i){t=t||{$stable:!n};for(var o=0;o<e.length;o++){var r=e[o];Array.isArray(r)?Qt(r,t,n):r&&(r.proxy&&(r.fn.proxy=!0),t[r.key]=r.fn)}return i&&(t.$key=i),t}function en(e,t){for(var n=0;n<t.length;n+=2){var i=t[n];"string"==typeof i&&i?e[t[n]]=t[n+1]:""!==i&&null!==i&&pe("Invalid value for dynamic directive argument (expected string or null): "+i,this)}return e}function tn(e,t){return"string"==typeof e?t+e:e}function nn(e){e._o=Kt,e._n=g,e._s=h,e._l=It,e._t=Ht,e._q=L,e._i=F,e._m=Gt,e._f=Ut,e._k=Wt,e._b=Yt,e._v=Se,e._e=Ce,e._u=Qt,e._g=Zt,e._d=en,e._p=tn}function on(e,t,n,o,r){var s,l=this,c=r.options;x(o,"_uid")?(s=Object.create(o))._original=o:(s=o,o=o._original);var u=a(c._compiled),d=!u;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||i,this.injections=Lt(c.inject,o),this.slots=function(){return l.$slots||Rt(e.scopedSlots,l.$slots=Ft(n,o)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Rt(e.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Rt(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,i){var r=fn(s,e,t,n,i,d);return r&&!Array.isArray(r)&&(r.fnScopeId=c._scopeId,r.fnContext=o),r}:this._c=function(e,t,n,i){return fn(s,e,t,n,i,d)}}function rn(e,t,n,i,o){var r=Me(e);return r.fnContext=n,r.fnOptions=i,(r.devtoolsMeta=r.devtoolsMeta||{}).renderContext=o,t.slot&&((r.data||(r.data={})).slot=t.slot),r}function an(e,t){for(var n in t)e[C(n)]=t[n]}nn(on.prototype);var sn={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;sn.prepatch(n,n)}else{(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},i=e.data.inlineTemplate;r(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,kn)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,o,r){An=!0;var a=o.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==i&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),c=!!(r||e.$options._renderChildren||l);e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o);if(e.$options._renderChildren=r,e.$attrs=o.data.attrs||i,e.$listeners=n||i,t&&e.$options.props){Ne(!1);for(var u=e._props,d=e.$options._propKeys||[],p=0;p<d.length;p++){var f=d[p],m=e.$options.props;u[f]=Ge(f,m,t,e)}Ne(!0),e.$options.propsData=t}n=n||i;var h=e.$options._parentListeners;e.$options._parentListeners=n,xn(e,n,h),c&&(e.$slots=Ft(r,o.context),e.$forceUpdate());An=!1}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,i=e.componentInstance;i._isMounted||(i._isMounted=!0,Pn(i,"mounted")),e.data.keepAlive&&(n._isMounted?((t=i)._inactive=!1,En.push(t)):Mn(i,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(n&&(t._directInactive=!0,Sn(t)))return;if(!t._inactive){t._inactive=!0;for(var i=0;i<t.$children.length;i++)e(t.$children[i]);Pn(t,"deactivated")}}(t,!0):t.$destroy())}},ln=Object.keys(sn);function cn(e,t,n,s,c){if(!o(e)){var u=n.$options._base;if(l(e)&&(e=u.extend(e)),"function"==typeof e){var d;if(o(e.cid)&&void 0===(e=function(e,t){if(a(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;var n=hn;n&&r(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n);if(a(e.loading)&&r(e.loadingComp))return e.loadingComp;if(n&&!r(e.owners)){var i=e.owners=[n],s=!0,c=null,u=null;n.$on("hook:destroyed",function(){return y(i,n)});var d=function(e){for(var t=0,n=i.length;t<n;t++)i[t].$forceUpdate();e&&(i.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},p=D(function(n){e.resolved=gn(n,t),s?i.length=0:d(!0)}),f=D(function(t){pe("Failed to resolve async component: "+String(e)+(t?"\nReason: "+t:"")),r(e.errorComp)&&(e.error=!0,d(!0))}),h=e(p,f);return l(h)&&(m(h)?o(e.resolved)&&h.then(p,f):m(h.component)&&(h.component.then(p,f),r(h.error)&&(e.errorComp=gn(h.error,t)),r(h.loading)&&(e.loadingComp=gn(h.loading,t),0===h.delay?e.loading=!0:c=setTimeout(function(){c=null,o(e.resolved)&&o(e.error)&&(e.loading=!0,d(!1))},h.delay||200)),r(h.timeout)&&(u=setTimeout(function(){u=null,o(e.resolved)&&f("timeout ("+h.timeout+"ms)")},h.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}(d=e,u)))return function(e,t,n,i,o){var r=Ce();return r.asyncFactory=e,r.asyncMeta={data:t,context:n,children:i,tag:o},r}(d,t,n,s,c);t=t||{},Zn(e),r(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),a=o[i],s=t.model.callback;r(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[i]=[s].concat(a)):o[i]=s}(e.options,t);var p=function(e,t,n){var i=t.options.props;if(!o(i)){var a={},s=e.attrs,l=e.props;if(r(s)||r(l))for(var c in i){var u=P(c),d=c.toLowerCase();c!==d&&s&&x(s,d)&&fe('Prop "'+d+'" is passed to component '+he(n||t)+', but the declared prop name is "'+c+'". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "'+u+'" instead of "'+c+'".'),$t(a,l,c,u,!0)||$t(a,s,c,u,!1)}return a}}(t,e,c);if(a(e.options.functional))return function(e,t,n,o,a){var s=e.options,l={},c=s.props;if(r(c))for(var u in c)l[u]=Ge(u,c,t||i);else r(n.attrs)&&an(l,n.attrs),r(n.props)&&an(l,n.props);var d=new on(n,l,a,o,e),p=s.render.call(null,d._c,d);if(p instanceof ke)return rn(p,n,d.parent,s,d);if(Array.isArray(p)){for(var f=jt(p)||[],m=new Array(f.length),h=0;h<f.length;h++)m[h]=rn(f[h],n,d.parent,s,d);return m}}(e,p,t,n,s);var f=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var h=t.slot;t={},h&&(t.slot=h)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<ln.length;n++){var i=ln[n],o=t[i],r=sn[i];o===r||o&&o._merged||(t[i]=o?un(r,o):r)}}(t);var g=e.options.name||c;return new ke("vue-component-"+e.cid+(g?"-"+g:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:p,listeners:f,tag:c,children:s},d)}pe("Invalid Component definition: "+String(e),n)}}function un(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}var dn=1,pn=2;function fn(e,t,n,i,c,u){return(Array.isArray(n)||s(n))&&(c=i,i=n,n=void 0),a(u)&&(c=pn),function(e,t,n,i,c){if(r(n)&&r(n.__ob__))return pe("Avoid using observed data object as vnode data: "+JSON.stringify(n)+"\nAlways create fresh vnode data objects in each render!",e),Ce();r(n)&&r(n.is)&&(t=n.is);if(!t)return Ce();r(n)&&r(n.key)&&!s(n.key)&&pe("Avoid using non-primitive value as key, use string/number value instead.",e);Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0);c===pn?i=jt(i):c===dn&&(i=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(i));var u,d;if("string"==typeof t){var p;d=e.$vnode&&e.$vnode.ns||I.getTagNamespace(t),I.isReservedTag(t)?(r(n)&&r(n.nativeOn)&&pe("The .native modifier for v-on is only valid on components but it was used on <"+t+">.",e),u=new ke(I.parsePlatformTagName(t),n,i,void 0,void 0,e)):u=n&&n.pre||!r(p=Ye(e.$options,"components",t))?new ke(t,n,i,void 0,void 0,e):cn(p,n,e,i,t)}else u=cn(t,n,e,i);return Array.isArray(u)?u:r(u)?(r(d)&&function e(t,n,i){t.ns=n;"foreignObject"===t.tag&&(n=void 0,i=!0);if(r(t.children))for(var s=0,l=t.children.length;s<l;s++){var c=t.children[s];r(c.tag)&&(o(c.ns)||a(i)&&"svg"!==c.tag)&&e(c,n,i)}}(u,d),r(n)&&function(e){l(e.style)&&Pt(e.style);l(e.class)&&Pt(e.class)}(n),u):Ce()}(e,t,n,i,c)}var mn,hn=null;function gn(e,t){return(e.__esModule||de&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function vn(e){return e.isComment&&e.asyncFactory}function _n(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(r(n)&&(r(n.componentOptions)||vn(n)))return n}}function bn(e,t){mn.$on(e,t)}function yn(e,t){mn.$off(e,t)}function wn(e,t){var n=mn;return function i(){null!==t.apply(null,arguments)&&n.$off(e,i)}}function xn(e,t,n){mn=e,Et(t,n||{},bn,yn,wn,e),mn=void 0}var kn=null,An=!1;function Cn(e){var t=kn;return kn=e,function(){kn=t}}function Sn(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Mn(e,t){if(t){if(e._directInactive=!1,Sn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Mn(e.$children[n]);Pn(e,"activated")}}function Pn(e,t){we();var n=e.$options[t],i=t+" hook";if(n)for(var o=0,r=n.length;o<r;o++)it(n[o],e,null,e,i);e._hasHookEvent&&e.$emit("hook:"+t),xe()}var On=100,Tn=[],En=[],Nn={},$n={},jn=!1,qn=!1,Ln=0;var Fn=0,Dn=Date.now;if(K&&!Q){var Rn=window.performance;Rn&&"function"==typeof Rn.now&&Dn()>document.createEvent("Event").timeStamp&&(Dn=function(){return Rn.now()})}function zn(){var e,t;for(Fn=Dn(),qn=!0,Tn.sort(function(e,t){return e.id-t.id}),Ln=0;Ln<Tn.length;Ln++)if((e=Tn[Ln]).before&&e.before(),t=e.id,Nn[t]=null,e.run(),null!=Nn[t]&&($n[t]=($n[t]||0)+1,$n[t]>On)){pe("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var n=En.slice(),i=Tn.slice();Ln=Tn.length=En.length=0,Nn={},$n={},jn=qn=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Mn(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&Pn(i,"updated")}}(i),le&&I.devtools&&le.emit("flush")}var Bn=0,In=function(e,t,n,i,o){this.vm=e,o&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Bn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ue,this.newDepIds=new ue,this.expression=t.toString(),"function"==typeof t?this.getter=t:(this.getter=function(e){if(!W.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=$,pe('Failed watching path: "'+t+'" Watcher only accepts simple dot-delimited paths. For full control, use a function instead.',e))),this.value=this.lazy?void 0:this.get()};In.prototype.get=function(){var e;we(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;nt(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Pt(e),xe(),this.cleanupDeps()}return e},In.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},In.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},In.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==Nn[t]){if(Nn[t]=!0,qn){for(var n=Tn.length-1;n>Ln&&Tn[n].id>e.id;)n--;Tn.splice(n+1,0,e)}else Tn.push(e);if(!jn){if(jn=!0,!I.async)return void zn();vt(zn)}}}(this)},In.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){nt(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},In.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},In.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},In.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Hn={enumerable:!0,configurable:!0,get:$,set:$};function Un(e,t,n){Hn.get=function(){return this[t][n]},Hn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Hn)}function Vn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},i=e._props={},o=e.$options._propKeys=[],r=!e.$parent;r||Ne(!1);var a=function(a){o.push(a);var s=Ge(a,t,n,e),l=P(a);(b(l)||I.isReservedAttr(l))&&pe('"'+l+'" is a reserved attribute and cannot be used as component prop.',e),qe(i,a,s,function(){r||An||pe("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+a+'"',e)}),a in e||Un(e,"_props",a)};for(var s in t)a(s);Ne(!0)}(e,t.props),t.methods&&function(e,t){var n=e.$options.props;for(var i in t)"function"!=typeof t[i]&&pe('Method "'+i+'" has type "'+typeof t[i]+'" in the component definition. Did you reference the function correctly?',e),n&&x(n,i)&&pe('Method "'+i+'" has already been defined as a prop.',e),i in e&&U(i)&&pe('Method "'+i+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[i]="function"!=typeof t[i]?$:O(t[i],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;d(t=e._data="function"==typeof t?function(e,t){we();try{return e.call(t,t)}catch(e){return nt(e,t,"data()"),{}}finally{xe()}}(t,e):t||{})||(t={},pe("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));var n=Object.keys(t),i=e.$options.props,o=e.$options.methods,r=n.length;for(;r--;){var a=n[r];o&&x(o,a)&&pe('Method "'+a+'" has already been defined as a data property.',e),i&&x(i,a)?pe('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):U(a)||Un(e,"_data",a)}je(t,!0)}(e):je(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),i=se();for(var o in t){var r=t[o],a="function"==typeof r?r:r.get;null==a&&pe('Getter is missing for computed property "'+o+'".',e),i||(n[o]=new In(e,a||$,$,Wn)),o in e?o in e.$data?pe('The computed property "'+o+'" is already defined in data.',e):e.$options.props&&o in e.$options.props&&pe('The computed property "'+o+'" is already defined as a prop.',e):Yn(e,o,r)}}(e,t.computed),t.watch&&t.watch!==oe&&function(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var o=0;o<i.length;o++)Jn(e,n,i[o]);else Jn(e,n,i)}}(e,t.watch)}var Wn={lazy:!0};function Yn(e,t,n){var i=!se();"function"==typeof n?(Hn.get=i?Gn(t):Kn(n),Hn.set=$):(Hn.get=n.get?i&&!1!==n.cache?Gn(t):Kn(n.get):$,Hn.set=n.set||$),Hn.set===$&&(Hn.set=function(){pe('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,Hn)}function Gn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),be.target&&t.depend(),t.value}}function Kn(e){return function(){return e.call(this,this)}}function Jn(e,t,n,i){return d(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}var Xn=0;function Zn(e){var t=e.options;if(e.super){var n=Zn(e.super);if(n!==e.superOptions){e.superOptions=n;var i=function(e){var t,n=e.options,i=e.sealedOptions;for(var o in n)n[o]!==i[o]&&(t||(t={}),t[o]=n[o]);return t}(e);i&&E(e.extendOptions,i),(t=e.options=We(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Qn(e){this instanceof Qn||pe("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}function ei(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,o=e._Ctor||(e._Ctor={});if(o[i])return o[i];var r=e.name||n.options.name;r&&Ue(r);var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=We(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)Un(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Yn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,z.forEach(function(e){a[e]=n[e]}),r&&(a.options.components[r]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=E({},a.options),o[i]=a,a}}function ti(e){return e&&(e.Ctor.options.name||e.tag)}function ni(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!p(e)&&e.test(t)}function ii(e,t){var n=e.cache,i=e.keys,o=e._vnode;for(var r in n){var a=n[r];if(a){var s=ti(a.componentOptions);s&&!t(s)&&oi(n,r,i,o)}}}function oi(e,t,n,i){var o=e[t];!o||i&&o.tag===i.tag||o.componentInstance.$destroy(),e[t]=null,y(n,t)}!function(e){e.prototype._init=function(e){var t,n,o=this;o._uid=Xn++,I.performance&&st&&(t="vue-perf-start:"+o._uid,n="vue-perf-end:"+o._uid,st(t)),o._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),i=t._parentVnode;n.parent=t.parent,n._parentVnode=i;var o=i.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(o,e):o.$options=We(Zn(o.constructor),e||{},o),_t(o),o._self=o,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(o),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&xn(e,t)}(o),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=Ft(t._renderChildren,o),e.$scopedSlots=i,e._c=function(t,n,i,o){return fn(e,t,n,i,o,!1)},e.$createElement=function(t,n,i,o){return fn(e,t,n,i,o,!0)};var r=n&&n.data;qe(e,"$attrs",r&&r.attrs||i,function(){!An&&pe("$attrs is readonly.",e)},!0),qe(e,"$listeners",t._parentListeners||i,function(){!An&&pe("$listeners is readonly.",e)},!0)}(o),Pn(o,"beforeCreate"),function(e){var t=Lt(e.$options.inject,e);t&&(Ne(!1),Object.keys(t).forEach(function(n){qe(e,n,t[n],function(){pe('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+n+'"',e)})}),Ne(!0))}(o),Vn(o),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(o),Pn(o,"created"),I.performance&&st&&(o._name=he(o,!1),st(n),lt("vue "+o._name+" init",t,n)),o.$options.el&&o.$mount(o.$options.el)}}(Qn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};t.set=function(){pe("Avoid replacing instance root $data. Use nested data properties instead.",this)},n.set=function(){pe("$props is readonly.",this)},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Le,e.prototype.$delete=Fe,e.prototype.$watch=function(e,t,n){if(d(t))return Jn(this,e,t,n);(n=n||{}).user=!0;var i=new In(this,e,t,n);if(n.immediate)try{t.call(this,i.value)}catch(e){nt(e,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(Qn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var i=this;if(Array.isArray(e))for(var o=0,r=e.length;o<r;o++)i.$on(e[o],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var n=this;function i(){n.$off(e,i),t.apply(n,arguments)}return i.fn=t,n.$on(e,i),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var i=0,o=e.length;i<o;i++)n.$off(e[i],t);return n}var r,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((r=a[s])===t||r.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=e.toLowerCase();n!==e&&t._events[n]&&fe('Event "'+n+'" is emitted in component '+he(t)+' but the handler is registered for "'+e+'". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "'+P(e)+'" instead of "'+e+'".');var i=t._events[e];if(i){i=i.length>1?T(i):i;for(var o=T(arguments,1),r='event handler for "'+e+'"',a=0,s=i.length;a<s;a++)it(i[a],t,o,t,r)}return t}}(Qn),function(e){e.prototype._update=function(e,t){var n=this,i=n.$el,o=n._vnode,r=Cn(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),r(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Pn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||y(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Pn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Qn),function(e){nn(e.prototype),e.prototype.$nextTick=function(e){return vt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,o=n._parentVnode;o&&(t.$scopedSlots=Rt(o.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=o;try{hn=t,e=i.call(t._renderProxy,t.$createElement)}catch(n){if(nt(n,t,"render"),t.$options.renderError)try{e=t.$options.renderError.call(t._renderProxy,t.$createElement,n)}catch(n){nt(n,t,"renderError"),e=t._vnode}else e=t._vnode}finally{hn=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof ke||(Array.isArray(e)&&pe("Multiple root nodes returned from render function. Render function should return a single root node.",t),e=Ce()),e.parent=o,e}}(Qn);var ri=[String,RegExp,Array],ai={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:ri,exclude:ri,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)oi(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){ii(e,function(e){return ni(t,e)})}),this.$watch("exclude",function(t){ii(e,function(e){return!ni(t,e)})})},render:function(){var e=this.$slots.default,t=_n(e),n=t&&t.componentOptions;if(n){var i=ti(n),o=this.include,r=this.exclude;if(o&&(!i||!ni(o,i))||r&&i&&ni(r,i))return t;var a=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,y(s,l),s.push(l)):(a[l]=t,s.push(l),this.max&&s.length>parseInt(this.max)&&oi(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return I},set:function(){pe("Do not replace the Vue.config object, set individual fields instead.")}};Object.defineProperty(e,"config",t),e.util={warn:pe,extend:E,mergeOptions:We,defineReactive:qe},e.set=Le,e.delete=Fe,e.nextTick=vt,e.observable=function(e){return je(e),e},e.options=Object.create(null),z.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,E(e.options.components,ai),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=T(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=We(this.options,e),this}}(e),ei(e),function(e){z.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&Ue(e),"component"===t&&d(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(Qn),Object.defineProperty(Qn.prototype,"$isServer",{get:se}),Object.defineProperty(Qn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Qn,"FunctionalRenderContext",{value:on}),Qn.version="2.6.11";var si=v("style,class"),li=v("input,textarea,option,select,progress"),ci=function(e,t,n){return"value"===n&&li(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},ui=v("contenteditable,draggable,spellcheck"),di=v("events,caret,typing,plaintext-only"),pi=function(e,t){return vi(t)||"false"===t?"false":"contenteditable"===e&&di(t)?t:"true"},fi=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),mi="http://www.w3.org/1999/xlink",hi=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},gi=function(e){return hi(e)?e.slice(6,e.length):""},vi=function(e){return null==e||!1===e};function _i(e){for(var t=e.data,n=e,i=e;r(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=bi(i.data,t));for(;r(n=n.parent);)n&&n.data&&(t=bi(t,n.data));return function(e,t){if(r(e)||r(t))return yi(e,wi(t));return""}(t.staticClass,t.class)}function bi(e,t){return{staticClass:yi(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function yi(e,t){return e?t?e+" "+t:e:t||""}function wi(e){return Array.isArray(e)?function(e){for(var t,n="",i=0,o=e.length;i<o;i++)r(t=wi(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):l(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var xi={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ki=v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ai=v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ci=function(e){return ki(e)||Ai(e)};function Si(e){return Ai(e)?"svg":"math"===e?"math":void 0}var Mi=Object.create(null);var Pi=v("text,number,password,search,email,tel,url");function Oi(e){if("string"==typeof e){var t=document.querySelector(e);return t||(pe("Cannot find element: "+e),document.createElement("div"))}return e}var Ti=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(xi[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Ei={create:function(e,t){Ni(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Ni(e,!0),Ni(t))},destroy:function(e){Ni(e,!0)}};function Ni(e,t){var n=e.data.ref;if(r(n)){var i=e.context,o=e.componentInstance||e.elm,a=i.$refs;t?Array.isArray(a[n])?y(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var $i=new ke("",{},[]),ji=["create","activate","update","remove","destroy"];function qi(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,o=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===o||Pi(i)&&Pi(o)}(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&o(t.asyncFactory.error))}function Li(e,t,n){var i,o,a={};for(i=t;i<=n;++i)r(o=e[i].key)&&(a[o]=i);return a}var Fi={create:Di,update:Di,destroy:function(e){Di(e,$i)}};function Di(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,i,o,r=e===$i,a=t===$i,s=zi(e.data.directives,e.context),l=zi(t.data.directives,t.context),c=[],u=[];for(n in l)i=s[n],o=l[n],i?(o.oldValue=i.value,o.oldArg=i.arg,Ii(o,"update",t,e),o.def&&o.def.componentUpdated&&u.push(o)):(Ii(o,"bind",t,e),o.def&&o.def.inserted&&c.push(o));if(c.length){var d=function(){for(var n=0;n<c.length;n++)Ii(c[n],"inserted",t,e)};r?Nt(t,"insert",d):d()}u.length&&Nt(t,"postpatch",function(){for(var n=0;n<u.length;n++)Ii(u[n],"componentUpdated",t,e)});if(!r)for(n in s)l[n]||Ii(s[n],"unbind",e,e,a)}(e,t)}var Ri=Object.create(null);function zi(e,t){var n,i,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++)(i=e[n]).modifiers||(i.modifiers=Ri),o[Bi(i)]=i,i.def=Ye(t.$options,"directives",i.name,!0);return o}function Bi(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Ii(e,t,n,i,o){var r=e.def&&e.def[t];if(r)try{r(n.elm,e,n,i,o)}catch(i){nt(i,n.context,"directive "+e.name+" "+t+" hook")}}var Hi=[Ei,Fi];function Ui(e,t){var n=t.componentOptions;if(!(r(n)&&!1===n.Ctor.options.inheritAttrs||o(e.data.attrs)&&o(t.data.attrs))){var i,a,s=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};for(i in r(c.__ob__)&&(c=t.data.attrs=E({},c)),c)a=c[i],l[i]!==a&&Vi(s,i,a);for(i in(Q||te)&&c.value!==l.value&&Vi(s,"value",c.value),l)o(c[i])&&(hi(i)?s.removeAttributeNS(mi,gi(i)):ui(i)||s.removeAttribute(i))}}function Vi(e,t,n){e.tagName.indexOf("-")>-1?Wi(e,t,n):fi(t)?vi(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):ui(t)?e.setAttribute(t,pi(t,n)):hi(t)?vi(n)?e.removeAttributeNS(mi,gi(t)):e.setAttributeNS(mi,t,n):Wi(e,t,n)}function Wi(e,t,n){if(vi(n))e.removeAttribute(t);else{if(Q&&!ee&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var Yi={create:Ui,update:Ui};function Gi(e,t){var n=t.elm,i=t.data,a=e.data;if(!(o(i.staticClass)&&o(i.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=_i(t),l=n._transitionClasses;r(l)&&(s=yi(s,wi(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ki,Ji,Xi,Zi,Qi,eo,to,no={create:Gi,update:Gi},io=/[\w).+\-_$\]]/;function oo(e){var t,n,i,o,r,a=!1,s=!1,l=!1,c=!1,u=0,d=0,p=0,f=0;for(i=0;i<e.length;i++)if(n=t,t=e.charCodeAt(i),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(l)96===t&&92!==n&&(l=!1);else if(c)47===t&&92!==n&&(c=!1);else if(124!==t||124===e.charCodeAt(i+1)||124===e.charCodeAt(i-1)||u||d||p){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:l=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--}if(47===t){for(var m=i-1,h=void 0;m>=0&&" "===(h=e.charAt(m));m--);h&&io.test(h)||(c=!0)}}else void 0===o?(f=i+1,o=e.slice(0,i).trim()):g();function g(){(r||(r=[])).push(e.slice(f,i).trim()),f=i+1}if(void 0===o?o=e.slice(0,i).trim():0!==f&&g(),r)for(i=0;i<r.length;i++)o=ro(o,r[i]);return o}function ro(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var i=t.slice(0,n),o=t.slice(n+1);return'_f("'+i+'")('+e+(")"!==o?","+o:o)}function ao(e,t){console.error("[Vue compiler]: "+e)}function so(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function lo(e,t,n,i,o){(e.props||(e.props=[])).push(bo({name:t,value:n,dynamic:o},i)),e.plain=!1}function co(e,t,n,i,o){(o?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(bo({name:t,value:n,dynamic:o},i)),e.plain=!1}function uo(e,t,n,i){e.attrsMap[t]=n,e.attrsList.push(bo({name:t,value:n},i))}function po(e,t,n,i,o,r,a,s){(e.directives||(e.directives=[])).push(bo({name:t,rawName:n,value:i,arg:o,isDynamicArg:r,modifiers:a},s)),e.plain=!1}function fo(e,t,n){return n?"_p("+t+',"'+e+'")':e+t}function mo(e,t,n,o,r,a,s,l){var c;o=o||i,a&&o.prevent&&o.passive&&a("passive and prevent can't be used together. Passive handler can't prevent default event.",s),o.right?l?t="("+t+")==='click'?'contextmenu':("+t+")":"click"===t&&(t="contextmenu",delete o.right):o.middle&&(l?t="("+t+")==='click'?'mouseup':("+t+")":"click"===t&&(t="mouseup")),o.capture&&(delete o.capture,t=fo("!",t,l)),o.once&&(delete o.once,t=fo("~",t,l)),o.passive&&(delete o.passive,t=fo("&",t,l)),o.native?(delete o.native,c=e.nativeEvents||(e.nativeEvents={})):c=e.events||(e.events={});var u=bo({value:n.trim(),dynamic:l},s);o!==i&&(u.modifiers=o);var d=c[t];Array.isArray(d)?r?d.unshift(u):d.push(u):c[t]=d?r?[u,d]:[d,u]:u,e.plain=!1}function ho(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}function go(e,t,n){var i=vo(e,":"+t)||vo(e,"v-bind:"+t);if(null!=i)return oo(i);if(!1!==n){var o=vo(e,t);if(null!=o)return JSON.stringify(o)}}function vo(e,t,n){var i;if(null!=(i=e.attrsMap[t]))for(var o=e.attrsList,r=0,a=o.length;r<a;r++)if(o[r].name===t){o.splice(r,1);break}return n&&delete e.attrsMap[t],i}function _o(e,t){for(var n=e.attrsList,i=0,o=n.length;i<o;i++){var r=n[i];if(t.test(r.name))return n.splice(i,1),r}}function bo(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function yo(e,t,n){var i=n||{},o=i.number,r="$$v";i.trim&&(r="(typeof $$v === 'string'? $$v.trim(): $$v)"),o&&(r="_n("+r+")");var a=wo(t,r);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+a+"}"}}function wo(e,t){var n=function(e){if(e=e.trim(),Ki=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<Ki-1)return(Zi=e.lastIndexOf("."))>-1?{exp:e.slice(0,Zi),key:'"'+e.slice(Zi+1)+'"'}:{exp:e,key:null};Ji=e,Zi=Qi=eo=0;for(;!ko();)Ao(Xi=xo())?So(Xi):91===Xi&&Co(Xi);return{exp:e.slice(0,Qi),key:e.slice(Qi+1,eo)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function xo(){return Ji.charCodeAt(++Zi)}function ko(){return Zi>=Ki}function Ao(e){return 34===e||39===e}function Co(e){var t=1;for(Qi=Zi;!ko();)if(Ao(e=xo()))So(e);else if(91===e&&t++,93===e&&t--,0===t){eo=Zi;break}}function So(e){for(var t=e;!ko()&&(e=xo())!==t;);}var Mo,Po="__r",Oo="__c";function To(e,t,n){var i=Mo;return function o(){null!==t.apply(null,arguments)&&$o(e,o,n,i)}}var Eo=ct&&!(ie&&Number(ie[1])<=53);function No(e,t,n,i){if(Eo){var o=Fn,r=t;t=r._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return r.apply(this,arguments)}}Mo.addEventListener(e,t,re?{capture:n,passive:i}:n)}function $o(e,t,n,i){(i||Mo).removeEventListener(e,t._wrapper||t,n)}function jo(e,t){if(!o(e.data.on)||!o(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Mo=t.elm,function(e){if(r(e[Po])){var t=Q?"change":"input";e[t]=[].concat(e[Po],e[t]||[]),delete e[Po]}r(e[Oo])&&(e.change=[].concat(e[Oo],e.change||[]),delete e[Oo])}(n),Et(n,i,No,$o,To,t.context),Mo=void 0}}var qo,Lo={create:jo,update:jo};function Fo(e,t){if(!o(e.data.domProps)||!o(t.data.domProps)){var n,i,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in r(l.__ob__)&&(l=t.data.domProps=E({},l)),s)n in l||(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var c=o(i)?"":String(i);Do(a,c)&&(a.value=c)}else if("innerHTML"===n&&Ai(a.tagName)&&o(a.innerHTML)){(qo=qo||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var u=qo.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(i!==s[n])try{a[n]=i}catch(e){}}}}function Do(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,i=e._vModifiers;if(r(i)){if(i.number)return g(n)!==g(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Ro={create:Fo,update:Fo},zo=k(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var i=e.split(n);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t});function Bo(e){var t=Io(e.style);return e.staticStyle?E(e.staticStyle,t):t}function Io(e){return Array.isArray(e)?N(e):"string"==typeof e?zo(e):e}var Ho,Uo=/^--/,Vo=/\s*!important$/,Wo=function(e,t,n){if(Uo.test(t))e.style.setProperty(t,n);else if(Vo.test(n))e.style.setProperty(P(t),n.replace(Vo,""),"important");else{var i=Go(t);if(Array.isArray(n))for(var o=0,r=n.length;o<r;o++)e.style[i]=n[o];else e.style[i]=n}},Yo=["Webkit","Moz","ms"],Go=k(function(e){if(Ho=Ho||document.createElement("div").style,"filter"!==(e=C(e))&&e in Ho)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Yo.length;n++){var i=Yo[n]+t;if(i in Ho)return i}});function Ko(e,t){var n=t.data,i=e.data;if(!(o(n.staticStyle)&&o(n.style)&&o(i.staticStyle)&&o(i.style))){var a,s,l=t.elm,c=i.staticStyle,u=i.normalizedStyle||i.style||{},d=c||u,p=Io(t.data.style)||{};t.data.normalizedStyle=r(p.__ob__)?E({},p):p;var f=function(e,t){var n,i={};if(t)for(var o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=Bo(o.data))&&E(i,n);(n=Bo(e.data))&&E(i,n);for(var r=e;r=r.parent;)r.data&&(n=Bo(r.data))&&E(i,n);return i}(t,!0);for(s in d)o(f[s])&&Wo(l,s,"");for(s in f)(a=f[s])!==d[s]&&Wo(l,s,null==a?"":a)}}var Jo={create:Ko,update:Ko},Xo=/\s+/;function Zo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Xo).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Qo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Xo).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function er(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&E(t,tr(e.name||"v")),E(t,e),t}return"string"==typeof e?tr(e):void 0}}var tr=k(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),nr=K&&!ee,ir="transition",or="animation",rr="transition",ar="transitionend",sr="animation",lr="animationend";nr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(rr="WebkitTransition",ar="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(sr="WebkitAnimation",lr="webkitAnimationEnd"));var cr=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function ur(e){cr(function(){cr(e)})}function dr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Zo(e,t))}function pr(e,t){e._transitionClasses&&y(e._transitionClasses,t),Qo(e,t)}function fr(e,t,n){var i=hr(e,t),o=i.type,r=i.timeout,a=i.propCount;if(!o)return n();var s=o===ir?ar:lr,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l<a&&c()},r+1),e.addEventListener(s,u)}var mr=/\b(transform|all)(,|$)/;function hr(e,t){var n,i=window.getComputedStyle(e),o=(i[rr+"Delay"]||"").split(", "),r=(i[rr+"Duration"]||"").split(", "),a=gr(o,r),s=(i[sr+"Delay"]||"").split(", "),l=(i[sr+"Duration"]||"").split(", "),c=gr(s,l),u=0,d=0;return t===ir?a>0&&(n=ir,u=a,d=r.length):t===or?c>0&&(n=or,u=c,d=l.length):d=(n=(u=Math.max(a,c))>0?a>c?ir:or:null)?n===ir?r.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===ir&&mr.test(i[rr+"Property"])}}function gr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return vr(t)+vr(e[n])}))}function vr(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function _r(e,t){var n=e.elm;r(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=er(e.data.transition);if(!o(i)&&!r(n._enterCb)&&1===n.nodeType){for(var a=i.css,s=i.type,c=i.enterClass,u=i.enterToClass,d=i.enterActiveClass,p=i.appearClass,f=i.appearToClass,m=i.appearActiveClass,h=i.beforeEnter,v=i.enter,_=i.afterEnter,b=i.enterCancelled,y=i.beforeAppear,w=i.appear,x=i.afterAppear,k=i.appearCancelled,A=i.duration,C=kn,S=kn.$vnode;S&&S.parent;)C=S.context,S=S.parent;var M=!C._isMounted||!e.isRootInsert;if(!M||w||""===w){var P=M&&p?p:c,O=M&&m?m:d,T=M&&f?f:u,E=M&&y||h,N=M&&"function"==typeof w?w:v,$=M&&x||_,j=M&&k||b,q=g(l(A)?A.enter:A);null!=q&&yr(q,"enter",e);var L=!1!==a&&!ee,F=xr(N),R=n._enterCb=D(function(){L&&(pr(n,T),pr(n,O)),R.cancelled?(L&&pr(n,P),j&&j(n)):$&&$(n),n._enterCb=null});e.data.show||Nt(e,"insert",function(){var t=n.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),N&&N(n,R)}),E&&E(n),L&&(dr(n,P),dr(n,O),ur(function(){pr(n,P),R.cancelled||(dr(n,T),F||(wr(q)?setTimeout(R,q):fr(n,s,R)))})),e.data.show&&(t&&t(),N&&N(n,R)),L||F||R()}}}function br(e,t){var n=e.elm;r(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=er(e.data.transition);if(o(i)||1!==n.nodeType)return t();if(!r(n._leaveCb)){var a=i.css,s=i.type,c=i.leaveClass,u=i.leaveToClass,d=i.leaveActiveClass,p=i.beforeLeave,f=i.leave,m=i.afterLeave,h=i.leaveCancelled,v=i.delayLeave,_=i.duration,b=!1!==a&&!ee,y=xr(f),w=g(l(_)?_.leave:_);r(w)&&yr(w,"leave",e);var x=n._leaveCb=D(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&(pr(n,u),pr(n,d)),x.cancelled?(b&&pr(n,c),h&&h(n)):(t(),m&&m(n)),n._leaveCb=null});v?v(k):k()}function k(){x.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),p&&p(n),b&&(dr(n,c),dr(n,d),ur(function(){pr(n,c),x.cancelled||(dr(n,u),y||(wr(w)?setTimeout(x,w):fr(n,s,x)))})),f&&f(n,x),b||y||x())}}function yr(e,t,n){"number"!=typeof e?pe("<transition> explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",n.context):isNaN(e)&&pe("<transition> explicit "+t+" duration is NaN - the duration expression might be incorrect.",n.context)}function wr(e){return"number"==typeof e&&!isNaN(e)}function xr(e){if(o(e))return!1;var t=e.fns;return r(t)?xr(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function kr(e,t){!0!==t.data.show&&_r(t)}var Ar=function(e){var t,n,i={},l=e.modules,c=e.nodeOps;for(t=0;t<ji.length;++t)for(i[ji[t]]=[],n=0;n<l.length;++n)r(l[n][ji[t]])&&i[ji[t]].push(l[n][ji[t]]);function u(e){var t=c.parentNode(e);r(t)&&c.removeChild(t,e)}function d(e,t){return!t&&!e.ns&&!(I.ignoredElements.length&&I.ignoredElements.some(function(t){return p(t)?t.test(e.tag):t===e.tag}))&&I.isUnknownElement(e.tag)}var f=0;function m(e,t,n,o,s,l,u){if(r(e.elm)&&r(l)&&(e=l[u]=Me(e)),e.isRootInsert=!s,!function(e,t,n,o){var s=e.data;if(r(s)){var l=r(e.componentInstance)&&s.keepAlive;if(r(s=s.hook)&&r(s=s.init)&&s(e,!1),r(e.componentInstance))return h(e,t),g(n,e.elm,o),a(l)&&function(e,t,n,o){for(var a,s=e;s.componentInstance;)if(s=s.componentInstance._vnode,r(a=s.data)&&r(a=a.transition)){for(a=0;a<i.activate.length;++a)i.activate[a]($i,s);t.push(s);break}g(n,e.elm,o)}(e,t,n,o),!0}}(e,t,n,o)){var p=e.data,m=e.children,v=e.tag;r(v)?(p&&p.pre&&f++,d(e,f)&&pe("Unknown custom element: <"+v+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?c.createElementNS(e.ns,v):c.createElement(v,e),w(e),_(e,m,t),r(p)&&y(e,t),g(n,e.elm,o),p&&p.pre&&f--):a(e.isComment)?(e.elm=c.createComment(e.text),g(n,e.elm,o)):(e.elm=c.createTextNode(e.text),g(n,e.elm,o))}}function h(e,t){r(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,b(e)?(y(e,t),w(e)):(Ni(e),t.push(e))}function g(e,t,n){r(e)&&(r(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function _(e,t,n){if(Array.isArray(t)){S(t);for(var i=0;i<t.length;++i)m(t[i],n,e.elm,null,!0,t,i)}else s(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function b(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return r(e.tag)}function y(e,n){for(var o=0;o<i.create.length;++o)i.create[o]($i,e);r(t=e.data.hook)&&(r(t.create)&&t.create($i,e),r(t.insert)&&n.push(e))}function w(e){var t;if(r(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)r(t=n.context)&&r(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;r(t=kn)&&t!==e.context&&t!==e.fnContext&&r(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function x(e,t,n,i,o,r){for(;i<=o;++i)m(n[i],r,e,t,!1,n,i)}function k(e){var t,n,o=e.data;if(r(o))for(r(t=o.hook)&&r(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(r(t=e.children))for(n=0;n<e.children.length;++n)k(e.children[n])}function A(e,t,n){for(;t<=n;++t){var i=e[t];r(i)&&(r(i.tag)?(C(i),k(i)):u(i.elm))}}function C(e,t){if(r(t)||r(e.data)){var n,o=i.remove.length+1;for(r(t)?t.listeners+=o:t=function(e,t){function n(){0==--n.listeners&&u(e)}return n.listeners=t,n}(e.elm,o),r(n=e.componentInstance)&&r(n=n._vnode)&&r(n.data)&&C(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);r(n=e.data.hook)&&r(n=n.remove)?n(e,t):t()}else u(e.elm)}function S(e){for(var t={},n=0;n<e.length;n++){var i=e[n],o=i.key;r(o)&&(t[o]?pe("Duplicate keys detected: '"+o+"'. This may cause an update error.",i.context):t[o]=!0)}}function M(e,t,n,i){for(var o=n;o<i;o++){var a=t[o];if(r(a)&&qi(e,a))return o}}function P(e,t,n,s,l,u){if(e!==t){r(t.elm)&&r(s)&&(t=s[l]=Me(t));var d=t.elm=e.elm;if(a(e.isAsyncPlaceholder))r(t.asyncFactory.resolved)?N(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(a(t.isStatic)&&a(e.isStatic)&&t.key===e.key&&(a(t.isCloned)||a(t.isOnce)))t.componentInstance=e.componentInstance;else{var p,f=t.data;r(f)&&r(p=f.hook)&&r(p=p.prepatch)&&p(e,t);var h=e.children,g=t.children;if(r(f)&&b(t)){for(p=0;p<i.update.length;++p)i.update[p](e,t);r(p=f.hook)&&r(p=p.update)&&p(e,t)}o(t.text)?r(h)&&r(g)?h!==g&&function(e,t,n,i,a){var s,l,u,d=0,p=0,f=t.length-1,h=t[0],g=t[f],v=n.length-1,_=n[0],b=n[v],y=!a;for(S(n);d<=f&&p<=v;)o(h)?h=t[++d]:o(g)?g=t[--f]:qi(h,_)?(P(h,_,i,n,p),h=t[++d],_=n[++p]):qi(g,b)?(P(g,b,i,n,v),g=t[--f],b=n[--v]):qi(h,b)?(P(h,b,i,n,v),y&&c.insertBefore(e,h.elm,c.nextSibling(g.elm)),h=t[++d],b=n[--v]):qi(g,_)?(P(g,_,i,n,p),y&&c.insertBefore(e,g.elm,h.elm),g=t[--f],_=n[++p]):(o(s)&&(s=Li(t,d,f)),o(l=r(_.key)?s[_.key]:M(_,t,d,f))?m(_,i,e,h.elm,!1,n,p):qi(u=t[l],_)?(P(u,_,i,n,p),t[l]=void 0,y&&c.insertBefore(e,u.elm,h.elm)):m(_,i,e,h.elm,!1,n,p),_=n[++p]);d>f?x(e,o(n[v+1])?null:n[v+1].elm,n,p,v,i):p>v&&A(t,d,f)}(d,h,g,n,u):r(g)?(S(g),r(e.text)&&c.setTextContent(d,""),x(d,null,g,0,g.length-1,n)):r(h)?A(h,0,h.length-1):r(e.text)&&c.setTextContent(d,""):e.text!==t.text&&c.setTextContent(d,t.text),r(f)&&r(p=f.hook)&&r(p=p.postpatch)&&p(e,t)}}}function O(e,t,n){if(a(n)&&r(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var T=!1,E=v("attrs,class,staticClass,staticStyle,key");function N(e,t,n,i){var o,s=t.tag,l=t.data,c=t.children;if(i=i||l&&l.pre,t.elm=e,a(t.isComment)&&r(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(!function(e,t,n){return r(t.tag)?0===t.tag.indexOf("vue-component")||!d(t,n)&&t.tag.toLowerCase()===(e.tagName&&e.tagName.toLowerCase()):e.nodeType===(t.isComment?8:3)}(e,t,i))return!1;if(r(l)&&(r(o=l.hook)&&r(o=o.init)&&o(t,!0),r(o=t.componentInstance)))return h(t,n),!0;if(r(s)){if(r(c))if(e.hasChildNodes())if(r(o=l)&&r(o=o.domProps)&&r(o=o.innerHTML)){if(o!==e.innerHTML)return"undefined"==typeof console||T||(T=!0,console.warn("Parent: ",e),console.warn("server innerHTML: ",o),console.warn("client innerHTML: ",e.innerHTML)),!1}else{for(var u=!0,p=e.firstChild,f=0;f<c.length;f++){if(!p||!N(p,c[f],n,i)){u=!1;break}p=p.nextSibling}if(!u||p)return"undefined"==typeof console||T||(T=!0,console.warn("Parent: ",e),console.warn("Mismatching childNodes vs. VNodes: ",e.childNodes,c)),!1}else _(t,c,n);if(r(l)){var m=!1;for(var g in l)if(!E(g)){m=!0,y(t,n);break}!m&&l.class&&Pt(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s){if(!o(t)){var l,u=!1,d=[];if(o(e))u=!0,m(t,d);else{var p=r(e.nodeType);if(!p&&qi(e,t))P(e,t,d,null,null,s);else{if(p){if(1===e.nodeType&&e.hasAttribute(R)&&(e.removeAttribute(R),n=!0),a(n)){if(N(e,t,d))return O(t,d,!0),e;pe("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}l=e,e=new ke(c.tagName(l).toLowerCase(),{},[],void 0,l)}var f=e.elm,h=c.parentNode(f);if(m(t,d,f._leaveCb?null:h,c.nextSibling(f)),r(t.parent))for(var g=t.parent,v=b(t);g;){for(var _=0;_<i.destroy.length;++_)i.destroy[_](g);if(g.elm=t.elm,v){for(var y=0;y<i.create.length;++y)i.create[y]($i,g);var w=g.data.hook.insert;if(w.merged)for(var x=1;x<w.fns.length;x++)w.fns[x]()}else Ni(g);g=g.parent}r(h)?A([e],0,0):r(e.tag)&&k(e)}}return O(t,d,u),t.elm}r(e)&&k(e)}}({nodeOps:Ti,modules:[Yi,no,Lo,Ro,Jo,K?{create:kr,activate:kr,remove:function(e,t){!0!==e.data.show?br(e,t):t()}}:{}].concat(Hi)});ee&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Nr(e,"input")});var Cr={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Nt(n,"postpatch",function(){Cr.componentUpdated(e,t,n)}):Sr(e,t,n.context),e._vOptions=[].map.call(e.options,Or)):("textarea"===n.tag||Pi(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Tr),e.addEventListener("compositionend",Er),e.addEventListener("change",Er),ee&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Sr(e,t,n.context);var i=e._vOptions,o=e._vOptions=[].map.call(e.options,Or);if(o.some(function(e,t){return!L(e,i[t])}))(e.multiple?t.value.some(function(e){return Pr(e,o)}):t.value!==t.oldValue&&Pr(t.value,o))&&Nr(e,"change")}}};function Sr(e,t,n){Mr(e,t,n),(Q||te)&&setTimeout(function(){Mr(e,t,n)},0)}function Mr(e,t,n){var i=t.value,o=e.multiple;if(!o||Array.isArray(i)){for(var r,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],o)r=F(i,Or(a))>-1,a.selected!==r&&(a.selected=r);else if(L(Or(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}else pe('<select multiple v-model="'+t.expression+'"> expects an Array value for its binding, but got '+Object.prototype.toString.call(i).slice(8,-1),n)}function Pr(e,t){return t.every(function(t){return!L(t,e)})}function Or(e){return"_value"in e?e._value:e.value}function Tr(e){e.target.composing=!0}function Er(e){e.target.composing&&(e.target.composing=!1,Nr(e.target,"input"))}function Nr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function $r(e){return!e.componentInstance||e.data&&e.data.transition?e:$r(e.componentInstance._vnode)}var jr={model:Cr,show:{bind:function(e,t,n){var i=t.value,o=(n=$r(n)).data&&n.data.transition,r=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&o?(n.data.show=!0,_r(n,function(){e.style.display=r})):e.style.display=i?r:"none"},update:function(e,t,n){var i=t.value;!i!=!t.oldValue&&((n=$r(n)).data&&n.data.transition?(n.data.show=!0,i?_r(n,function(){e.style.display=e.__vOriginalDisplay}):br(n,function(){e.style.display="none"})):e.style.display=i?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,i,o){o||(e.style.display=e.__vOriginalDisplay)}}},qr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Lr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Lr(_n(t.children)):e}function Fr(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var o=n._parentListeners;for(var r in o)t[C(r)]=o[r];return t}function Dr(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Rr=function(e){return e.tag||vn(e)},zr=function(e){return"show"===e.name},Br={name:"transition",props:qr,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Rr)).length){n.length>1&&pe("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var i=this.mode;i&&"in-out"!==i&&"out-in"!==i&&pe("invalid <transition> mode: "+i,this.$parent);var o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var r=Lr(o);if(!r)return o;if(this._leaving)return Dr(e,o);var a="__transition-"+this._uid+"-";r.key=null==r.key?r.isComment?a+"comment":a+r.tag:s(r.key)?0===String(r.key).indexOf(a)?r.key:a+r.key:r.key;var l=(r.data||(r.data={})).transition=Fr(this),c=this._vnode,u=Lr(c);if(r.data.directives&&r.data.directives.some(zr)&&(r.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(r,u)&&!vn(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=E({},l);if("out-in"===i)return this._leaving=!0,Nt(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Dr(e,o);if("in-out"===i){if(vn(r))return c;var p,f=function(){p()};Nt(l,"afterEnter",f),Nt(l,"enterCancelled",f),Nt(d,"delayLeave",function(e){p=e})}}return o}}},Ir=E({tag:String,moveClass:String},qr);function Hr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ur(e){e.data.newPos=e.elm.getBoundingClientRect()}function Vr(e){var t=e.data.pos,n=e.data.newPos,i=t.left-n.left,o=t.top-n.top;if(i||o){e.data.moved=!0;var r=e.elm.style;r.transform=r.WebkitTransform="translate("+i+"px,"+o+"px)",r.transitionDuration="0s"}}delete Ir.mode;var Wr={Transition:Br,TransitionGroup:{props:Ir,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var o=Cn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,o=this.$slots.default||[],r=this.children=[],a=Fr(this),s=0;s<o.length;s++){var l=o[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))r.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a;else{var c=l.componentOptions,u=c?c.Ctor.options.name||c.tag||"":l.tag;pe("<transition-group> children must be keyed: <"+u+">")}}if(i){for(var d=[],p=[],f=0;f<i.length;f++){var m=i[f];m.data.transition=a,m.data.pos=m.elm.getBoundingClientRect(),n[m.key]?d.push(m):p.push(m)}this.kept=e(t,null,d),this.removed=p}return e(t,null,r)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Hr),e.forEach(Ur),e.forEach(Vr),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,i=n.style;dr(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(ar,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(ar,e),n._moveCb=null,pr(n,t))})}}))},methods:{hasMove:function(e,t){if(!nr)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){Qo(n,e)}),Zo(n,t),n.style.display="none",this.$el.appendChild(n);var i=hr(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};Qn.config.mustUseProp=ci,Qn.config.isReservedTag=Ci,Qn.config.isReservedAttr=si,Qn.config.getTagNamespace=Si,Qn.config.isUnknownElement=function(e){if(!K)return!0;if(Ci(e))return!1;if(e=e.toLowerCase(),null!=Mi[e])return Mi[e];var t=document.createElement(e);return e.indexOf("-")>-1?Mi[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Mi[e]=/HTMLUnknownElement/.test(t.toString())},E(Qn.options.directives,jr),E(Qn.options.components,Wr),Qn.prototype.__patch__=K?Ar:$,Qn.prototype.$mount=function(e,t){return function(e,t,n){var i;return e.$el=t,e.$options.render||(e.$options.render=Ce,e.$options.template&&"#"!==e.$options.template.charAt(0)||e.$options.el||t?pe("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):pe("Failed to mount component: template or render function not defined.",e)),Pn(e,"beforeMount"),i=I.performance&&st?function(){var t=e._name,i=e._uid,o="vue-perf-start:"+i,r="vue-perf-end:"+i;st(o);var a=e._render();st(r),lt("vue "+t+" render",o,r),st(o),e._update(a,n),st(r),lt("vue "+t+" patch",o,r)}:function(){e._update(e._render(),n)},new In(e,i,$,{before:function(){e._isMounted&&!e._isDestroyed&&Pn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Pn(e,"mounted")),e}(this,e=e&&K?Oi(e):void 0,t)},K&&setTimeout(function(){I.devtools&&(le?le.emit("init",Qn):console[console.info?"info":"log"]("Download the Vue Devtools extension for a better development experience:\nhttps://github.com/vuejs/vue-devtools")),!1!==I.productionTip&&"undefined"!=typeof console&&console[console.info?"info":"log"]("You are running Vue in development mode.\nMake sure to turn on production mode when deploying for production.\nSee more tips at https://vuejs.org/guide/deployment.html")},0);var Yr=/\{\{((?:.|\r?\n)+?)\}\}/g,Gr=/[-.*+?^${}()|[\]\/\\]/g,Kr=k(function(e){var t=e[0].replace(Gr,"\\$&"),n=e[1].replace(Gr,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});function Jr(e,t){var n=t?Kr(t):Yr;if(n.test(e)){for(var i,o,r,a=[],s=[],l=n.lastIndex=0;i=n.exec(e);){(o=i.index)>l&&(s.push(r=e.slice(l,o)),a.push(JSON.stringify(r)));var c=oo(i[1].trim());a.push("_s("+c+")"),s.push({"@binding":c}),l=o+i[0].length}return l<e.length&&(s.push(r=e.slice(l)),a.push(JSON.stringify(r))),{expression:a.join("+"),tokens:s}}}var Xr={staticKeys:["staticClass"],transformNode:function(e,t){var n=t.warn||ao,i=vo(e,"class");i&&Jr(i,t.delimiters)&&n('class="'+i+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div class="{{ val }}">, use <div :class="val">.',e.rawAttrsMap.class),i&&(e.staticClass=JSON.stringify(i));var o=go(e,"class",!1);o&&(e.classBinding=o)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var Zr,Qr={staticKeys:["staticStyle"],transformNode:function(e,t){var n=t.warn||ao,i=vo(e,"style");i&&(Jr(i,t.delimiters)&&n('style="'+i+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div style="{{ val }}">, use <div :style="val">.',e.rawAttrsMap.style),e.staticStyle=JSON.stringify(zo(i)));var o=go(e,"style",!1);o&&(e.styleBinding=o)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},ea=function(e){return(Zr=Zr||document.createElement("div")).innerHTML=e,Zr.textContent},ta=v("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),na=v("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ia=v("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),oa=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ra=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,aa="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+H.source+"]*",sa="((?:"+aa+"\\:)?"+aa+")",la=new RegExp("^<"+sa),ca=/^\s*(\/?)>/,ua=new RegExp("^<\\/"+sa+"[^>]*>"),da=/^<!DOCTYPE [^>]+>/i,pa=/^<!\--/,fa=/^<!\[/,ma=v("script,style,textarea",!0),ha={},ga={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},va=/&(?:lt|gt|quot|amp|#39);/g,_a=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,ba=v("pre,textarea",!0),ya=function(e,t){return e&&ba(e)&&"\n"===t[0]};function wa(e,t){var n=t?_a:va;return e.replace(n,function(e){return ga[e]})}var xa,ka,Aa,Ca,Sa,Ma,Pa,Oa,Ta,Ea=/^@|^v-on:/,Na=/^v-|^@|^:|^#/,$a=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ja=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,qa=/^\(|\)$/g,La=/^\[.*\]$/,Fa=/:(.*)$/,Da=/^:|^\.|^v-bind:/,Ra=/\.[^.\]]+(?=[^\]]*$)/g,za=/^v-slot(:|$)|^#/,Ba=/[\r\n]/,Ia=/\s+/g,Ha=/[\s"'<>\/=]/,Ua=k(ea),Va="_empty_";function Wa(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,i=e.length;n<i;n++)!t[e[n].name]||Q||te||xa("duplicate attribute: "+e[n].name,e[n]),t[e[n].name]=e[n].value;return t}(t),rawAttrsMap:{},parent:n,children:[]}}function Ya(e,t){xa=t.warn||ao,Ma=t.isPreTag||j,Pa=t.mustUseProp||j,Oa=t.getTagNamespace||j;var n=t.isReservedTag||j;Ta=function(e){return!!e.component||!n(e.tag)},Aa=so(t.modules,"transformNode"),Ca=so(t.modules,"preTransformNode"),Sa=so(t.modules,"postTransformNode"),ka=t.delimiters;var i,o,r=[],a=!1!==t.preserveWhitespace,s=t.whitespace,l=!1,c=!1,u=!1;function d(e,t){u||(u=!0,xa(e,t))}function p(e){if(f(e),l||e.processed||(e=Ga(e,t)),r.length||e===i||(i.if&&(e.elseif||e.else)?(m(e),Ja(i,{exp:e.elseif,block:e})):d("Component template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead.",{start:e.start})),o&&!e.forbidden)if(e.elseif||e.else)a=e,(s=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];" "!==e[t].text&&xa('text "'+e[t].text.trim()+'" between v-if and v-else(-if) will be ignored.',e[t]),e.pop()}}(o.children))&&s.if?Ja(s,{exp:a.elseif,block:a}):xa("v-"+(a.elseif?'else-if="'+a.elseif+'"':"else")+" used on element <"+a.tag+"> without corresponding v-if.",a.rawAttrsMap[a.elseif?"v-else-if":"v-else"]);else{if(e.slotScope){var n=e.slotTarget||'"default"';(o.scopedSlots||(o.scopedSlots={}))[n]=e}o.children.push(e),e.parent=o}var a,s;e.children=e.children.filter(function(e){return!e.slotScope}),f(e),e.pre&&(l=!1),Ma(e.tag)&&(c=!1);for(var u=0;u<Sa.length;u++)Sa[u](e,t)}function f(e){if(!c)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}function m(e){"slot"!==e.tag&&"template"!==e.tag||d("Cannot use <"+e.tag+"> as component root element because it may contain multiple nodes.",{start:e.start}),e.attrsMap.hasOwnProperty("v-for")&&d("Cannot use v-for on stateful component root element because it renders multiple elements.",e.rawAttrsMap["v-for"])}return function(e,t){for(var n,i,o=[],r=t.expectHTML,a=t.isUnaryTag||j,s=t.canBeLeftOpenTag||j,l=0;e;){if(n=e,i&&ma(i)){var c=0,u=i.toLowerCase(),d=ha[u]||(ha[u]=new RegExp("([\\s\\S]*?)(</"+u+"[^>]*>)","i")),p=e.replace(d,function(e,n,i){return c=i.length,ma(u)||"noscript"===u||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),ya(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});l+=e.length-p.length,e=p,S(u,l-c,l)}else{var f=e.indexOf("<");if(0===f){if(pa.test(e)){var m=e.indexOf("--\x3e");if(m>=0){t.shouldKeepComment&&t.comment(e.substring(4,m),l,l+m+3),k(m+3);continue}}if(fa.test(e)){var h=e.indexOf("]>");if(h>=0){k(h+2);continue}}var g=e.match(da);if(g){k(g[0].length);continue}var v=e.match(ua);if(v){var _=l;k(v[0].length),S(v[1],_,l);continue}var b=A();if(b){C(b),ya(b.tagName,e)&&k(1);continue}}var y=void 0,w=void 0,x=void 0;if(f>=0){for(w=e.slice(f);!(ua.test(w)||la.test(w)||pa.test(w)||fa.test(w)||(x=w.indexOf("<",1))<0);)f+=x,w=e.slice(f);y=e.substring(0,f)}f<0&&(y=e),y&&k(y.length),t.chars&&y&&t.chars(y,l-y.length,l)}if(e===n){t.chars&&t.chars(e),!o.length&&t.warn&&t.warn('Mal-formatted tag at end of template: "'+e+'"',{start:l+e.length});break}}function k(t){l+=t,e=e.substring(t)}function A(){var t=e.match(la);if(t){var n,i,o={tagName:t[1],attrs:[],start:l};for(k(t[0].length);!(n=e.match(ca))&&(i=e.match(ra)||e.match(oa));)i.start=l,k(i[0].length),i.end=l,o.attrs.push(i);if(n)return o.unarySlash=n[1],k(n[0].length),o.end=l,o}}function C(e){var n=e.tagName,l=e.unarySlash;r&&("p"===i&&ia(n)&&S(i),s(n)&&i===n&&S(n));for(var c=a(n)||!!l,u=e.attrs.length,d=new Array(u),p=0;p<u;p++){var f=e.attrs[p],m=f[3]||f[4]||f[5]||"",h="a"===n&&"href"===f[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;d[p]={name:f[1],value:wa(m,h)},t.outputSourceRange&&(d[p].start=f.start+f[0].match(/^\s*/).length,d[p].end=f.end)}c||(o.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d,start:e.start,end:e.end}),i=n),t.start&&t.start(n,d,c,e.start,e.end)}function S(e,n,r){var a,s;if(null==n&&(n=l),null==r&&(r=l),e)for(s=e.toLowerCase(),a=o.length-1;a>=0&&o[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=o.length-1;c>=a;c--)(c>a||!e&&t.warn)&&t.warn("tag <"+o[c].tag+"> has no matching end tag.",{start:o[c].start,end:o[c].end}),t.end&&t.end(o[c].tag,n,r);o.length=a,i=a&&o[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}S()}(e,{warn:xa,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,a,s,u){var d=o&&o.ns||Oa(e);Q&&"svg"===d&&(n=function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];Qa.test(i.name)||(i.name=i.name.replace(es,""),t.push(i))}return t}(n));var f,h=Wa(e,n,o);d&&(h.ns=d),t.outputSourceRange&&(h.start=s,h.end=u,h.rawAttrsMap=h.attrsList.reduce(function(e,t){return e[t.name]=t,e},{})),n.forEach(function(e){Ha.test(e.name)&&xa("Invalid dynamic argument expression: attribute names cannot contain spaces, quotes, <, >, / or =.",{start:e.start+e.name.indexOf("["),end:e.start+e.name.length})}),"style"!==(f=h).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||se()||(h.forbidden=!0,xa("Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <"+e+">, as they will not be parsed.",{start:h.start}));for(var g=0;g<Ca.length;g++)h=Ca[g](h,t)||h;l||(!function(e){null!=vo(e,"v-pre")&&(e.pre=!0)}(h),h.pre&&(l=!0)),Ma(h.tag)&&(c=!0),l?function(e){var t=e.attrsList,n=t.length;if(n)for(var i=e.attrs=new Array(n),o=0;o<n;o++)i[o]={name:t[o].name,value:JSON.stringify(t[o].value)},null!=t[o].start&&(i[o].start=t[o].start,i[o].end=t[o].end);else e.pre||(e.plain=!0)}(h):h.processed||(Ka(h),function(e){var t=vo(e,"v-if");if(t)e.if=t,Ja(e,{exp:t,block:e});else{null!=vo(e,"v-else")&&(e.else=!0);var n=vo(e,"v-else-if");n&&(e.elseif=n)}}(h),function(e){null!=vo(e,"v-once")&&(e.once=!0)}(h)),i||m(i=h),a?p(h):(o=h,r.push(h))},end:function(e,n,i){var a=r[r.length-1];r.length-=1,o=r[r.length-1],t.outputSourceRange&&(a.end=i),p(a)},chars:function(n,i,r){if(o){if(!Q||"textarea"!==o.tag||o.attrsMap.placeholder!==n){var u,p,f,m=o.children;if(n=c||n.trim()?"script"===(u=o).tag||"style"===u.tag?n:Ua(n):m.length?s?"condense"===s&&Ba.test(n)?"":" ":a?" ":"":"")c||"condense"!==s||(n=n.replace(Ia," ")),!l&&" "!==n&&(p=Jr(n,ka))?f={type:2,expression:p.expression,tokens:p.tokens,text:n}:" "===n&&m.length&&" "===m[m.length-1].text||(f={type:3,text:n}),f&&(t.outputSourceRange&&(f.start=i,f.end=r),m.push(f))}}else n===e?d("Component template requires a root element, rather than just text.",{start:i}):(n=n.trim())&&d('text "'+n+'" outside root element will be ignored.',{start:i})},comment:function(e,n,i){if(o){var r={type:3,text:e,isComment:!0};t.outputSourceRange&&(r.start=n,r.end=i),o.children.push(r)}}}),i}function Ga(e,t){var n,i;!function(e){var t=go(e,"key");if(t){if("template"===e.tag&&xa("<template> cannot be keyed. Place the key on real elements instead.",ho(e,"key")),e.for){var n=e.iterator2||e.iterator1,i=e.parent;n&&n===t&&i&&"transition-group"===i.tag&&xa("Do not use v-for index as key on <transition-group> children, this is the same as not using keys.",ho(e,"key"),!0)}e.key=t}}(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,(i=go(n=e,"ref"))&&(n.ref=i,n.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(n)),function(e){var t;"template"===e.tag?((t=vo(e,"scope"))&&xa('the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to <template> to denote scoped slots.',e.rawAttrsMap.scope,!0),e.slotScope=t||vo(e,"slot-scope")):(t=vo(e,"slot-scope"))&&(e.attrsMap["v-for"]&&xa("Ambiguous combined usage of slot-scope and v-for on <"+e.tag+"> (v-for takes higher priority). Use a wrapper <template> for the scoped slot to make it clearer.",e.rawAttrsMap["slot-scope"],!0),e.slotScope=t);var n=go(e,"slot");n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||co(e,"slot",n,ho(e,"slot")));if("template"===e.tag){var i=_o(e,za);if(i){(e.slotTarget||e.slotScope)&&xa("Unexpected mixed usage of different slot syntaxes.",e),e.parent&&!Ta(e.parent)&&xa("<template v-slot> can only appear at the root level inside the receiving component",e);var o=Xa(i),r=o.name,a=o.dynamic;e.slotTarget=r,e.slotTargetDynamic=a,e.slotScope=i.value||Va}}else{var s=_o(e,za);if(s){Ta(e)||xa("v-slot can only be used on components or <template>.",s),(e.slotScope||e.slotTarget)&&xa("Unexpected mixed usage of different slot syntaxes.",e),e.scopedSlots&&xa("To avoid scope ambiguity, the default slot should also use <template> syntax when there are other named slots.",s);var l=e.scopedSlots||(e.scopedSlots={}),c=Xa(s),u=c.name,d=c.dynamic,p=l[u]=Wa("template",[],e);p.slotTarget=u,p.slotTargetDynamic=d,p.children=e.children.filter(function(e){if(!e.slotScope)return e.parent=p,!0}),p.slotScope=s.value||Va,e.children=[],e.plain=!1}}}(e),function(e){"slot"===e.tag&&(e.slotName=go(e,"name"),e.key&&xa("`key` does not work on <slot> because slots are abstract outlets and can possibly expand into multiple elements. Use the key on a wrapping element instead.",ho(e,"key")))}(e),function(e){var t;(t=go(e,"is"))&&(e.component=t);null!=vo(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var o=0;o<Aa.length;o++)e=Aa[o](e,t)||e;return function(e){var t,n,i,o,r,a,s,l,c=e.attrsList;for(t=0,n=c.length;t<n;t++)if(i=o=c[t].name,r=c[t].value,Na.test(i))if(e.hasBindings=!0,(a=Za(i.replace(Na,"")))&&(i=i.replace(Ra,"")),Da.test(i))i=i.replace(Da,""),r=oo(r),(l=La.test(i))&&(i=i.slice(1,-1)),0===r.trim().length&&xa('The value for a v-bind expression cannot be empty. Found in "v-bind:'+i+'"'),a&&(a.prop&&!l&&"innerHtml"===(i=C(i))&&(i="innerHTML"),a.camel&&!l&&(i=C(i)),a.sync&&(s=wo(r,"$event"),l?mo(e,'"update:"+('+i+")",s,null,!1,xa,c[t],!0):(mo(e,"update:"+C(i),s,null,!1,xa,c[t]),P(i)!==C(i)&&mo(e,"update:"+P(i),s,null,!1,xa,c[t])))),a&&a.prop||!e.component&&Pa(e.tag,e.attrsMap.type,i)?lo(e,i,r,c[t],l):co(e,i,r,c[t],l);else if(Ea.test(i))i=i.replace(Ea,""),(l=La.test(i))&&(i=i.slice(1,-1)),mo(e,i,r,a,!1,xa,c[t],l);else{var u=(i=i.replace(Na,"")).match(Fa),d=u&&u[1];l=!1,d&&(i=i.slice(0,-(d.length+1)),La.test(d)&&(d=d.slice(1,-1),l=!0)),po(e,i,o,r,d,l,a,c[t]),"model"===i&&ts(e,r)}else{var p=Jr(r,ka);p&&xa(i+'="'+r+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div id="{{ val }}">, use <div :id="val">.',c[t]),co(e,i,JSON.stringify(r),c[t]),!e.component&&"muted"===i&&Pa(e.tag,e.attrsMap.type,i)&&lo(e,i,"true",c[t])}}(e),e}function Ka(e){var t;if(t=vo(e,"v-for")){var n=function(e){var t=e.match($a);if(!t)return;var n={};n.for=t[2].trim();var i=t[1].trim().replace(qa,""),o=i.match(ja);o?(n.alias=i.replace(ja,"").trim(),n.iterator1=o[1].trim(),o[2]&&(n.iterator2=o[2].trim())):n.alias=i;return n}(t);n?E(e,n):xa("Invalid v-for expression: "+t,e.rawAttrsMap["v-for"])}}function Ja(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Xa(e){var t=e.name.replace(za,"");return t||("#"!==e.name[0]?t="default":xa("v-slot shorthand syntax requires a slot name.",e)),La.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function Za(e){var t=e.match(Ra);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}var Qa=/^xmlns:NS\d+/,es=/^NS\d+:/;function ts(e,t){for(var n=e;n;)n.for&&n.alias===t&&xa("<"+e.tag+' v-model="'+t+'">: You are binding v-model directly to a v-for iteration alias. This will not be able to modify the v-for source array because writing to the alias is like modifying a function local variable. Consider using an array of objects and use v-model on an object property instead.',e.rawAttrsMap["v-model"]),n=n.parent}function ns(e){return Wa(e.tag,e.attrsList.slice(),e.parent)}var is=[Xr,Qr,{preTransformNode:function(e,t){if("input"===e.tag){var n,i=e.attrsMap;if(!i["v-model"])return;if((i[":type"]||i["v-bind:type"])&&(n=go(e,"type")),i.type||n||!i["v-bind"]||(n="("+i["v-bind"]+").type"),n){var o=vo(e,"v-if",!0),r=o?"&&("+o+")":"",a=null!=vo(e,"v-else",!0),s=vo(e,"v-else-if",!0),l=ns(e);Ka(l),uo(l,"type","checkbox"),Ga(l,t),l.processed=!0,l.if="("+n+")==='checkbox'"+r,Ja(l,{exp:l.if,block:l});var c=ns(e);vo(c,"v-for",!0),uo(c,"type","radio"),Ga(c,t),Ja(l,{exp:"("+n+")==='radio'"+r,block:c});var u=ns(e);return vo(u,"v-for",!0),uo(u,":type",n),Ga(u,t),Ja(l,{exp:o,block:u}),a?l.else=!0:s&&(l.elseif=s),l}}}}];var os,rs,as={expectHTML:!0,modules:is,directives:{model:function(e,t,n){to=n;var i=t.value,o=t.modifiers,r=e.tag,a=e.attrsMap.type;if("input"===r&&"file"===a&&to("<"+e.tag+' v-model="'+i+'" type="file">:\nFile inputs are read only. Use a v-on:change listener instead.',e.rawAttrsMap["v-model"]),e.component)return yo(e,i,o),!1;if("select"===r)!function(e,t,n){var i='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";i=i+" "+wo(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),mo(e,"change",i,null,!0)}(e,i,o);else if("input"===r&&"checkbox"===a)!function(e,t,n){var i=n&&n.number,o=go(e,"value")||"null",r=go(e,"true-value")||"true",a=go(e,"false-value")||"false";lo(e,"checked","Array.isArray("+t+")?_i("+t+","+o+")>-1"+("true"===r?":("+t+")":":_q("+t+","+r+")")),mo(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+r+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+wo(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+wo(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+wo(t,"$$c")+"}",null,!0)}(e,i,o);else if("input"===r&&"radio"===a)!function(e,t,n){var i=n&&n.number,o=go(e,"value")||"null";lo(e,"checked","_q("+t+","+(o=i?"_n("+o+")":o)+")"),mo(e,"change",wo(t,o),null,!0)}(e,i,o);else if("input"===r||"textarea"===r)!function(e,t,n){var i=e.attrsMap.type,o=e.attrsMap["v-bind:value"]||e.attrsMap[":value"],r=e.attrsMap["v-bind:type"]||e.attrsMap[":type"];if(o&&!r){var a=e.attrsMap["v-bind:value"]?"v-bind:value":":value";to(a+'="'+o+'" conflicts with v-model on the same element because the latter already expands to a value binding internally',e.rawAttrsMap[a])}var s=n||{},l=s.lazy,c=s.number,u=s.trim,d=!l&&"range"!==i,p=l?"change":"range"===i?Po:"input",f="$event.target.value";u&&(f="$event.target.value.trim()"),c&&(f="_n("+f+")");var m=wo(t,f);d&&(m="if($event.target.composing)return;"+m),lo(e,"value","("+t+")"),mo(e,p,m,null,!0),(u||c)&&mo(e,"blur","$forceUpdate()")}(e,i,o);else{if(!I.isReservedTag(r))return yo(e,i,o),!1;to("<"+e.tag+' v-model="'+i+"\">: v-model is not supported on this element type. If you are working with contenteditable, it's recommended to wrap a library dedicated for that purpose inside a custom component.",e.rawAttrsMap["v-model"])}return!0},text:function(e,t){t.value&&lo(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&lo(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:ta,mustUseProp:ci,canBeLeftOpenTag:na,isReservedTag:Ci,getTagNamespace:Si,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(is)},ss=k(function(e){return v("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function ls(e,t){e&&(os=ss(t.staticKeys||""),rs=t.isReservedTag||j,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||_(e.tag)||!rs(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(os)))}(t);if(1===t.type){if(!rs(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,i=t.children.length;n<i;n++){var o=t.children[n];e(o),o.static||(t.static=!1)}if(t.ifConditions)for(var r=1,a=t.ifConditions.length;r<a;r++){var s=t.ifConditions[r].block;e(s),s.static||(t.static=!1)}}}(e),function e(t,n){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=n),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var i=0,o=t.children.length;i<o;i++)e(t.children[i],n||!!t.for);if(t.ifConditions)for(var r=1,a=t.ifConditions.length;r<a;r++)e(t.ifConditions[r].block,n)}}(e,!1))}var cs=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,us=/\([^)]*?\);*$/,ds=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ps={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},fs={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},ms=function(e){return"if("+e+")return null;"},hs={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ms("$event.target !== $event.currentTarget"),ctrl:ms("!$event.ctrlKey"),shift:ms("!$event.shiftKey"),alt:ms("!$event.altKey"),meta:ms("!$event.metaKey"),left:ms("'button' in $event && $event.button !== 0"),middle:ms("'button' in $event && $event.button !== 1"),right:ms("'button' in $event && $event.button !== 2")};function gs(e,t){var n=t?"nativeOn:":"on:",i="",o="";for(var r in e){var a=vs(e[r]);e[r]&&e[r].dynamic?o+=r+","+a+",":i+='"'+r+'":'+a+","}return i="{"+i.slice(0,-1)+"}",o?n+"_d("+i+",["+o.slice(0,-1)+"])":n+i}function vs(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return vs(e)}).join(",")+"]";var t=ds.test(e.value),n=cs.test(e.value),i=ds.test(e.value.replace(us,""));if(e.modifiers){var o="",r="",a=[];for(var s in e.modifiers)if(hs[s])r+=hs[s],ps[s]&&a.push(s);else if("exact"===s){var l=e.modifiers;r+=ms(["ctrl","shift","alt","meta"].filter(function(e){return!l[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(o+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(_s).join("&&")+")return null;"}(a)),r&&(o+=r),"function($event){"+o+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":i?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(i?"return "+e.value:e.value)+"}"}function _s(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=ps[e],i=fs[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}var bs={on:function(e,t){t.modifiers&&pe("v-on without argument does not support modifiers."),e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:$},ys=function(e){this.options=e,this.warn=e.warn||ao,this.transforms=so(e.modules,"transformCode"),this.dataGenFns=so(e.modules,"genData"),this.directives=E(E({},bs),e.directives);var t=e.isReservedTag||j;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function ws(e,t){var n=new ys(t);return{render:"with(this){return "+(e?xs(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function xs(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return ks(e,t);if(e.once&&!e.onceProcessed)return As(e,t);if(e.for&&!e.forProcessed)return Ss(e,t);if(e.if&&!e.ifProcessed)return Cs(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',i=Ts(e,t),o="_t("+n+(i?","+i:""),r=e.attrs||e.dynamicAttrs?$s((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:C(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];!r&&!a||i||(o+=",null");r&&(o+=","+r);a&&(o+=(r?"":",null")+","+a);return o+")"}(e,t);var n;if(e.component)n=function(e,t,n){var i=t.inlineTemplate?null:Ts(t,n,!0);return"_c("+e+","+Ms(t,n)+(i?","+i:"")+")"}(e.component,e,t);else{var i;(!e.plain||e.pre&&t.maybeComponent(e))&&(i=Ms(e,t));var o=e.inlineTemplate?null:Ts(e,t,!0);n="_c('"+e.tag+"'"+(i?","+i:"")+(o?","+o:"")+")"}for(var r=0;r<t.transforms.length;r++)n=t.transforms[r](e,n);return n}return Ts(e,t)||"void 0"}function ks(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+xs(e,t)+"}"),t.pre=n,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function As(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Cs(e,t);if(e.staticInFor){for(var n="",i=e.parent;i;){if(i.for){n=i.key;break}i=i.parent}return n?"_o("+xs(e,t)+","+t.onceId+++","+n+")":(t.warn("v-once can only be used inside v-for that is keyed. ",e.rawAttrsMap["v-once"]),xs(e,t))}return ks(e,t)}function Cs(e,t,n,i){return e.ifProcessed=!0,function e(t,n,i,o){if(!t.length)return o||"_e()";var r=t.shift();return r.exp?"("+r.exp+")?"+a(r.block)+":"+e(t,n,i,o):""+a(r.block);function a(e){return i?i(e,n):e.once?As(e,n):xs(e,n)}}(e.ifConditions.slice(),t,n,i)}function Ss(e,t,n,i){var o=e.for,r=e.alias,a=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return t.maybeComponent(e)&&"slot"!==e.tag&&"template"!==e.tag&&!e.key&&t.warn("<"+e.tag+' v-for="'+r+" in "+o+'">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.',e.rawAttrsMap["v-for"],!0),e.forProcessed=!0,(i||"_l")+"(("+o+"),function("+r+a+s+"){return "+(n||xs)(e,t)+"})"}function Ms(e,t){var n="{",i=function(e,t){var n=e.directives;if(!n)return;var i,o,r,a,s="directives:[",l=!1;for(i=0,o=n.length;i<o;i++){r=n[i],a=!0;var c=t.directives[r.name];c&&(a=!!c(e,r,t.warn)),a&&(l=!0,s+='{name:"'+r.name+'",rawName:"'+r.rawName+'"'+(r.value?",value:("+r.value+"),expression:"+JSON.stringify(r.value):"")+(r.arg?",arg:"+(r.isDynamicArg?r.arg:'"'+r.arg+'"'):"")+(r.modifiers?",modifiers:"+JSON.stringify(r.modifiers):"")+"},")}if(l)return s.slice(0,-1)+"]"}(e,t);i&&(n+=i+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var o=0;o<t.dataGenFns.length;o++)n+=t.dataGenFns[o](e);if(e.attrs&&(n+="attrs:"+$s(e.attrs)+","),e.props&&(n+="domProps:"+$s(e.props)+","),e.events&&(n+=gs(e.events,!1)+","),e.nativeEvents&&(n+=gs(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=function(e,t,n){var i=e.for||Object.keys(t).some(function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||Ps(n)}),o=!!e.if;if(!i)for(var r=e.parent;r;){if(r.slotScope&&r.slotScope!==Va||r.for){i=!0;break}r.if&&(o=!0),r=r.parent}var a=Object.keys(t).map(function(e){return Os(t[e],n)}).join(",");return"scopedSlots:_u(["+a+"]"+(i?",null,true":"")+(!i&&o?",null,false,"+function(e){var t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return t>>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var r=function(e,t){var n=e.children[0];1===e.children.length&&1===n.type||t.warn("Inline-template components must have exactly one child element.",{start:e.start});if(n&&1===n.type){var i=ws(n,t.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);r&&(n+=r+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+$s(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ps(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ps))}function Os(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Cs(e,t,Os,"null");if(e.for&&!e.forProcessed)return Ss(e,t,Os);var i=e.slotScope===Va?"":String(e.slotScope),o="function("+i+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Ts(e,t)||"undefined")+":undefined":Ts(e,t)||"undefined":xs(e,t))+"}",r=i?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+o+r+"}"}function Ts(e,t,n,i,o){var r=e.children;if(r.length){var a=r[0];if(1===r.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(i||xs)(a,t)+s}var l=n?function(e,t){for(var n=0,i=0;i<e.length;i++){var o=e[i];if(1===o.type){if(Es(o)||o.ifConditions&&o.ifConditions.some(function(e){return Es(e.block)})){n=2;break}(t(o)||o.ifConditions&&o.ifConditions.some(function(e){return t(e.block)}))&&(n=1)}}return n}(r,t.maybeComponent):0,c=o||Ns;return"["+r.map(function(e){return c(e,t)}).join(",")+"]"+(l?","+l:"")}}function Es(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function Ns(e,t){return 1===e.type?xs(e,t):3===e.type&&e.isComment?(i=e,"_e("+JSON.stringify(i.text)+")"):"_v("+(2===(n=e).type?n.expression:js(JSON.stringify(n.text)))+")";var n,i}function $s(e){for(var t="",n="",i=0;i<e.length;i++){var o=e[i],r=js(o.value);o.dynamic?n+=o.name+","+r+",":t+='"'+o.name+'":'+r+","}return t="{"+t.slice(0,-1)+"}",n?"_d("+t+",["+n.slice(0,-1)+"])":t}function js(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}var qs=new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),Ls=new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),Fs=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function Ds(e,t){e&&function e(t,n){if(1===t.type){for(var i in t.attrsMap)if(Na.test(i)){var o=t.attrsMap[i];if(o){var r=t.rawAttrsMap[i];"v-for"===i?zs(t,'v-for="'+o+'"',n,r):"v-slot"===i||"#"===i[0]?Hs(o,i+'="'+o+'"',n,r):Ea.test(i)?Rs(o,i+'="'+o+'"',n,r):Is(o,i+'="'+o+'"',n,r)}}if(t.children)for(var a=0;a<t.children.length;a++)e(t.children[a],n)}else 2===t.type&&Is(t.expression,t.text,n,t)}(e,t)}function Rs(e,t,n,i){var o=e.replace(Fs,""),r=o.match(Ls);r&&"$"!==o.charAt(r.index-1)&&n('avoid using JavaScript unary operator as property name: "'+r[0]+'" in expression '+t.trim(),i),Is(e,t,n,i)}function zs(e,t,n,i){Is(e.for||"",t,n,i),Bs(e.alias,"v-for alias",t,n,i),Bs(e.iterator1,"v-for iterator",t,n,i),Bs(e.iterator2,"v-for iterator",t,n,i)}function Bs(e,t,n,i,o){if("string"==typeof e)try{new Function("var "+e+"=_")}catch(r){i("invalid "+t+' "'+e+'" in expression: '+n.trim(),o)}}function Is(e,t,n,i){try{new Function("return "+e)}catch(r){var o=e.replace(Fs,"").match(qs);n(o?'avoid using JavaScript keyword as property name: "'+o[0]+'"\n Raw expression: '+t.trim():"invalid expression: "+r.message+" in\n\n "+e+"\n\n Raw expression: "+t.trim()+"\n",i)}}function Hs(e,t,n,i){try{new Function(e,"")}catch(o){n("invalid function parameter expression: "+o.message+" in\n\n "+e+"\n\n Raw expression: "+t.trim()+"\n",i)}}var Us=2;function Vs(e,t){var n="";if(t>0)for(;1&t&&(n+=e),!((t>>>=1)<=0);)e+=e;return n}function Ws(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),$}}function Ys(e){var t=Object.create(null);return function(n,i,o){var r=(i=E({},i)).warn||pe;delete i.warn;try{new Function("return 1")}catch(e){e.toString().match(/unsafe-eval|CSP/)&&r("It seems you are using the standalone build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. The template compiler cannot work in this environment. Consider relaxing the policy to allow unsafe-eval or pre-compiling your templates into render functions.")}var a=i.delimiters?String(i.delimiters)+n:n;if(t[a])return t[a];var s=e(n,i);s.errors&&s.errors.length&&(i.outputSourceRange?s.errors.forEach(function(e){r("Error compiling template:\n\n"+e.msg+"\n\n"+function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var i=e.split(/\r?\n/),o=0,r=[],a=0;a<i.length;a++)if((o+=i[a].length+1)>=t){for(var s=a-Us;s<=a+Us||n>o;s++)if(!(s<0||s>=i.length)){r.push(""+(s+1)+Vs(" ",3-String(s+1).length)+"| "+i[s]);var l=i[s].length;if(s===a){var c=t-(o-l)+1,u=n>o?l-c:n-t;r.push(" | "+Vs(" ",c)+Vs("^",u))}else if(s>a){if(n>o){var d=Math.min(n-o,l);r.push(" | "+Vs("^",d))}o+=l+1}}break}return r.join("\n")}(n,e.start,e.end),o)}):r("Error compiling template:\n\n"+n+"\n\n"+s.errors.map(function(e){return"- "+e}).join("\n")+"\n",o)),s.tips&&s.tips.length&&(i.outputSourceRange?s.tips.forEach(function(e){return fe(e.msg,o)}):s.tips.forEach(function(e){return fe(e,o)}));var l={},c=[];return l.render=Ws(s.render,c),l.staticRenderFns=s.staticRenderFns.map(function(e){return Ws(e,c)}),s.errors&&s.errors.length||!c.length||r("Failed to generate render function:\n\n"+c.map(function(e){var t=e.err,n=e.code;return t.toString()+" in\n\n"+n+"\n"}).join("\n"),o),t[a]=l}}var Gs,Ks,Js=(Gs=function(e,t){var n=Ya(e.trim(),t);!1!==t.optimize&&ls(n,t);var i=ws(n,t);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}},function(e){function t(t,n){var i=Object.create(e),o=[],r=[],a=function(e,t,n){(n?r:o).push(e)};if(n){if(n.outputSourceRange){var s=t.match(/^\s*/)[0].length;a=function(e,t,n){var i={msg:e};t&&(null!=t.start&&(i.start=t.start+s),null!=t.end&&(i.end=t.end+s)),(n?r:o).push(i)}}for(var l in n.modules&&(i.modules=(e.modules||[]).concat(n.modules)),n.directives&&(i.directives=E(Object.create(e.directives||null),n.directives)),n)"modules"!==l&&"directives"!==l&&(i[l]=n[l])}i.warn=a;var c=Gs(t.trim(),i);return Ds(c.ast,a),c.errors=o,c.tips=r,c}return{compile:t,compileToFunctions:Ys(t)}})(as),Xs=(Js.compile,Js.compileToFunctions);function Zs(e){return(Ks=Ks||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Ks.innerHTML.indexOf(" ")>0}var Qs=!!K&&Zs(!1),el=!!K&&Zs(!0),tl=k(function(e){var t=Oi(e);return t&&t.innerHTML}),nl=Qn.prototype.$mount;Qn.prototype.$mount=function(e,t){if((e=e&&Oi(e))===document.body||e===document.documentElement)return pe("Do not mount Vue to <html> or <body> - mount to normal elements instead."),this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&((i=tl(i))||pe("Template element not found or is empty: "+n.template,this));else{if(!i.nodeType)return pe("invalid template option:"+i,this),this;i=i.innerHTML}else e&&(i=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(i){I.performance&&st&&st("compile");var o=Xs(i,{outputSourceRange:!0,shouldDecodeNewlines:Qs,shouldDecodeNewlinesForHref:el,delimiters:n.delimiters,comments:n.comments},this),r=o.render,a=o.staticRenderFns;n.render=r,n.staticRenderFns=a,I.performance&&st&&(st("compile end"),lt("vue "+this._name+" compile","compile","compile end"))}}return nl.call(this,e,t)},Qn.compile=Xs,t.exports=Qn}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{timers:168}],177:[function(e,t,n){t.exports=e("./vue.common.prod.js")},{"./vue.common.dev.js":176,"./vue.common.prod.js":178}],178:[function(e,t,n){(function(e,n){"use strict";var i=Object.freeze({});function o(e){return null==e}function r(e){return null!=e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function d(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return r(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var n=Object.create(null),i=e.split(","),o=0;o<i.length;o++)n[i[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var g=h("slot,component",!0),v=h("key,ref,slot,slot-scope,is");function _(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function y(e,t){return b.call(e,t)}function w(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var x=/-(\w)/g,k=w(function(e){return e.replace(x,function(e,t){return t?t.toUpperCase():""})}),A=w(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),C=/\B([A-Z])/g,S=w(function(e){return e.replace(C,"-$1").toLowerCase()}),M=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function P(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function O(e,t){for(var n in t)e[n]=t[n];return e}function T(e){for(var t={},n=0;n<e.length;n++)e[n]&&O(t,e[n]);return t}function E(e,t,n){}var N=function(e,t,n){return!1},$=function(e){return e};function j(e,t){if(e===t)return!0;var n=l(e),i=l(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var o=Array.isArray(e),r=Array.isArray(t);if(o&&r)return e.length===t.length&&e.every(function(e,n){return j(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||r)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return j(e[n],t[n])})}catch(e){return!1}}function q(e,t){for(var n=0;n<e.length;n++)if(j(e[n],t))return n;return-1}function L(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var F="data-server-rendered",D=["component","directive","filter"],R=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],z={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:N,isReservedAttr:N,isUnknownElement:N,getTagNamespace:E,parsePlatformTagName:$,mustUseProp:N,async:!0,_lifecycleHooks:R},B=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function I(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var H,U=new RegExp("[^"+B.source+".$_\\d]"),V="__proto__"in{},W="undefined"!=typeof window,Y="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,G=Y&&WXEnvironment.platform.toLowerCase(),K=W&&window.navigator.userAgent.toLowerCase(),J=K&&/msie|trident/.test(K),X=K&&K.indexOf("msie 9.0")>0,Z=K&&K.indexOf("edge/")>0,Q=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===G),ee=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),K&&K.match(/firefox\/(\d+)/)),te={}.watch,ne=!1;if(W)try{var ie={};Object.defineProperty(ie,"passive",{get:function(){ne=!0}}),window.addEventListener("test-passive",null,ie)}catch(i){}var oe=function(){return void 0===H&&(H=!W&&!Y&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),H},re=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ae(e){return"function"==typeof e&&/native code/.test(e.toString())}var se,le="undefined"!=typeof Symbol&&ae(Symbol)&&"undefined"!=typeof Reflect&&ae(Reflect.ownKeys);se="undefined"!=typeof Set&&ae(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ce=E,ue=0,de=function(){this.id=ue++,this.subs=[]};de.prototype.addSub=function(e){this.subs.push(e)},de.prototype.removeSub=function(e){_(this.subs,e)},de.prototype.depend=function(){de.target&&de.target.addDep(this)},de.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},de.target=null;var pe=[];function fe(e){pe.push(e),de.target=e}function me(){pe.pop(),de.target=pe[pe.length-1]}var he=function(e,t,n,i,o,r,a,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=o,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ge={child:{configurable:!0}};ge.child.get=function(){return this.componentInstance},Object.defineProperties(he.prototype,ge);var ve=function(e){void 0===e&&(e="");var t=new he;return t.text=e,t.isComment=!0,t};function _e(e){return new he(void 0,void 0,void 0,String(e))}function be(e){var t=new he(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var ye=Array.prototype,we=Object.create(ye);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=ye[e];I(we,e,function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var o,r=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),r})});var xe=Object.getOwnPropertyNames(we),ke=!0;function Ae(e){ke=e}var Ce=function(e){var t;this.value=e,this.dep=new de,this.vmCount=0,I(e,"__ob__",this),Array.isArray(e)?(V?(t=we,e.__proto__=t):function(e,t,n){for(var i=0,o=n.length;i<o;i++){var r=n[i];I(e,r,t[r])}}(e,we,xe),this.observeArray(e)):this.walk(e)};function Se(e,t){var n;if(l(e)&&!(e instanceof he))return y(e,"__ob__")&&e.__ob__ instanceof Ce?n=e.__ob__:ke&&!oe()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ce(e)),t&&n&&n.vmCount++,n}function Me(e,t,n,i,o){var r=new de,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!o&&Se(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return de.target&&(r.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,i=0,o=t.length;i<o;i++)(n=t[i])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var i=s?s.call(e):n;t===i||t!=t&&i!=i||s&&!l||(l?l.call(e,t):n=t,c=!o&&Se(t),r.notify())}})}}function Pe(e,t,n){if(Array.isArray(e)&&d(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var i=e.__ob__;return e._isVue||i&&i.vmCount?n:i?(Me(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function Oe(e,t){if(Array.isArray(e)&&d(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||y(e,t)&&(delete e[t],n&&n.dep.notify())}}Ce.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Me(e,t[n])},Ce.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Se(e[t])};var Te=z.optionMergeStrategies;function Ee(e,t){if(!t)return e;for(var n,i,o,r=le?Reflect.ownKeys(t):Object.keys(t),a=0;a<r.length;a++)"__ob__"!==(n=r[a])&&(i=e[n],o=t[n],y(e,n)?i!==o&&u(i)&&u(o)&&Ee(i,o):Pe(e,n,o));return e}function Ne(e,t,n){return n?function(){var i="function"==typeof t?t.call(n,n):t,o="function"==typeof e?e.call(n,n):e;return i?Ee(i,o):o}:t?e?function(){return Ee("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function $e(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function je(e,t,n,i){var o=Object.create(e||null);return t?O(o,t):o}Te.data=function(e,t,n){return n?Ne(e,t,n):t&&"function"!=typeof t?e:Ne(e,t)},R.forEach(function(e){Te[e]=$e}),D.forEach(function(e){Te[e+"s"]=je}),Te.watch=function(e,t,n,i){if(e===te&&(e=void 0),t===te&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var o={};for(var r in O(o,e),t){var a=o[r],s=t[r];a&&!Array.isArray(a)&&(a=[a]),o[r]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Te.props=Te.methods=Te.inject=Te.computed=function(e,t,n,i){if(!e)return t;var o=Object.create(null);return O(o,e),t&&O(o,t),o},Te.provide=Ne;var qe=function(e,t){return void 0===t?e:t};function Le(e,t,n){if("function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var i,o,r={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(o=n[i])&&(r[k(o)]={type:null});else if(u(n))for(var a in n)o=n[a],r[k(a)]=u(o)?o:{type:o};e.props=r}}(t),function(e,t){var n=e.inject;if(n){var i=e.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)i[n[o]]={from:n[o]};else if(u(n))for(var r in n){var a=n[r];i[r]=u(a)?O({from:r},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"function"==typeof i&&(t[n]={bind:i,update:i})}}(t),!t._base&&(t.extends&&(e=Le(e,t.extends,n)),t.mixins))for(var i=0,o=t.mixins.length;i<o;i++)e=Le(e,t.mixins[i],n);var r,a={};for(r in e)s(r);for(r in t)y(e,r)||s(r);function s(i){var o=Te[i]||qe;a[i]=o(e[i],t[i],n,i)}return a}function Fe(e,t,n,i){if("string"==typeof n){var o=e[t];if(y(o,n))return o[n];var r=k(n);if(y(o,r))return o[r];var a=A(r);return y(o,a)?o[a]:o[n]||o[r]||o[a]}}function De(e,t,n,i){var o=t[e],r=!y(n,e),a=n[e],s=Be(Boolean,o.type);if(s>-1)if(r&&!y(o,"default"))a=!1;else if(""===a||a===S(e)){var l=Be(String,o.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(y(t,"default")){var i=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof i&&"Function"!==Re(t.type)?i.call(e):i}}(i,o,e);var c=ke;Ae(!0),Se(a),Ae(c)}return a}function Re(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function ze(e,t){return Re(e)===Re(t)}function Be(e,t){if(!Array.isArray(t))return ze(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(ze(t[n],e))return n;return-1}function Ie(e,t,n){fe();try{if(t)for(var i=t;i=i.$parent;){var o=i.$options.errorCaptured;if(o)for(var r=0;r<o.length;r++)try{if(!1===o[r].call(i,e,t,n))return}catch(e){Ue(e,i,"errorCaptured hook")}}Ue(e,t,n)}finally{me()}}function He(e,t,n,i,o){var r;try{(r=n?e.apply(t,n):e.call(t))&&!r._isVue&&p(r)&&!r._handled&&(r.catch(function(e){return Ie(e,i,o+" (Promise/async)")}),r._handled=!0)}catch(e){Ie(e,i,o)}return r}function Ue(e,t,n){if(z.errorHandler)try{return z.errorHandler.call(null,e,t,n)}catch(t){t!==e&&Ve(t,null,"config.errorHandler")}Ve(e,t,n)}function Ve(e,t,n){if(!W&&!Y||"undefined"==typeof console)throw e;console.error(e)}var We,Ye=!1,Ge=[],Ke=!1;function Je(){Ke=!1;var e=Ge.slice(0);Ge.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&ae(Promise)){var Xe=Promise.resolve();We=function(){Xe.then(Je),Q&&setTimeout(E)},Ye=!0}else if(J||"undefined"==typeof MutationObserver||!ae(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())We=void 0!==n&&ae(n)?function(){n(Je)}:function(){setTimeout(Je,0)};else{var Ze=1,Qe=new MutationObserver(Je),et=document.createTextNode(String(Ze));Qe.observe(et,{characterData:!0}),We=function(){Ze=(Ze+1)%2,et.data=String(Ze)},Ye=!0}function tt(e,t){var n;if(Ge.push(function(){if(e)try{e.call(t)}catch(e){Ie(e,t,"nextTick")}else n&&n(t)}),Ke||(Ke=!0,We()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var nt=new se;function it(e){!function e(t,n){var i,o,r=Array.isArray(t);if(!(!r&&!l(t)||Object.isFrozen(t)||t instanceof he)){if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(r)for(i=t.length;i--;)e(t[i],n);else for(i=(o=Object.keys(t)).length;i--;)e(t[o[i]],n)}}(e,nt),nt.clear()}var ot=w(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),i="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=i?e.slice(1):e,once:n,capture:i,passive:t}});function rt(e,t){function n(){var e=arguments,i=n.fns;if(!Array.isArray(i))return He(i,null,arguments,t,"v-on handler");for(var o=i.slice(),r=0;r<o.length;r++)He(o[r],null,e,t,"v-on handler")}return n.fns=e,n}function at(e,t,n,i,r,s){var l,c,u,d;for(l in e)c=e[l],u=t[l],d=ot(l),o(c)||(o(u)?(o(c.fns)&&(c=e[l]=rt(c,s)),a(d.once)&&(c=e[l]=r(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u));for(l in t)o(e[l])&&i((d=ot(l)).name,t[l],d.capture)}function st(e,t,n){var i;e instanceof he&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function l(){n.apply(this,arguments),_(i.fns,l)}o(s)?i=rt([l]):r(s.fns)&&a(s.merged)?(i=s).fns.push(l):i=rt([s,l]),i.merged=!0,e[t]=i}function lt(e,t,n,i,o){if(r(t)){if(y(t,n))return e[n]=t[n],o||delete t[n],!0;if(y(t,i))return e[n]=t[i],o||delete t[i],!0}return!1}function ct(e){return s(e)?[_e(e)]:Array.isArray(e)?function e(t,n){var i,l,c,u,d=[];for(i=0;i<t.length;i++)o(l=t[i])||"boolean"==typeof l||(u=d[c=d.length-1],Array.isArray(l)?l.length>0&&(ut((l=e(l,(n||"")+"_"+i))[0])&&ut(u)&&(d[c]=_e(u.text+l[0].text),l.shift()),d.push.apply(d,l)):s(l)?ut(u)?d[c]=_e(u.text+l):""!==l&&d.push(_e(l)):ut(l)&&ut(u)?d[c]=_e(u.text+l.text):(a(t._isVList)&&r(l.tag)&&o(l.key)&&r(n)&&(l.key="__vlist"+n+"_"+i+"__"),d.push(l)));return d}(e):void 0}function ut(e){return r(e)&&r(e.text)&&!1===e.isComment}function dt(e,t){if(e){for(var n=Object.create(null),i=le?Reflect.ownKeys(e):Object.keys(e),o=0;o<i.length;o++){var r=i[o];if("__ob__"!==r){for(var a=e[r].from,s=t;s;){if(s._provided&&y(s._provided,a)){n[r]=s._provided[a];break}s=s.$parent}if(!s&&"default"in e[r]){var l=e[r].default;n[r]="function"==typeof l?l.call(t):l}}}return n}}function pt(e,t){if(!e||!e.length)return{};for(var n={},i=0,o=e.length;i<o;i++){var r=e[i],a=r.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,r.context!==t&&r.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(r);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===r.tag?l.push.apply(l,r.children||[]):l.push(r)}}for(var c in n)n[c].every(ft)&&delete n[c];return n}function ft(e){return e.isComment&&!e.asyncFactory||" "===e.text}function mt(e,t,n){var o,r=Object.keys(t).length>0,a=e?!!e.$stable:!r,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==i&&s===n.$key&&!r&&!n.$hasNormal)return n;for(var l in o={},e)e[l]&&"$"!==l[0]&&(o[l]=ht(t,l,e[l]))}else o={};for(var c in t)c in o||(o[c]=gt(t,c));return e&&Object.isExtensible(e)&&(e._normalized=o),I(o,"$stable",a),I(o,"$key",s),I(o,"$hasNormal",r),o}function ht(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ct(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function gt(e,t){return function(){return e[t]}}function vt(e,t){var n,i,o,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,o=e.length;i<o;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(l(e))if(le&&e[Symbol.iterator]){n=[];for(var c=e[Symbol.iterator](),u=c.next();!u.done;)n.push(t(u.value,n.length)),u=c.next()}else for(a=Object.keys(e),n=new Array(a.length),i=0,o=a.length;i<o;i++)s=a[i],n[i]=t(e[s],s,i);return r(n)||(n=[]),n._isVList=!0,n}function _t(e,t,n,i){var o,r=this.$scopedSlots[e];r?(n=n||{},i&&(n=O(O({},i),n)),o=r(n)||t):o=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function bt(e){return Fe(this.$options,"filters",e)||$}function yt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function wt(e,t,n,i,o){var r=z.keyCodes[t]||n;return o&&i&&!z.keyCodes[t]?yt(o,i):r?yt(r,e):i?S(i)!==t:void 0}function xt(e,t,n,i,o){if(n&&l(n)){var r;Array.isArray(n)&&(n=T(n));var a=function(a){if("class"===a||"style"===a||v(a))r=e;else{var s=e.attrs&&e.attrs.type;r=i||z.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=k(a),c=S(a);l in r||c in r||(r[a]=n[a],o&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var s in n)a(s)}return e}function kt(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t?i:(Ct(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i)}function At(e,t,n){return Ct(e,"__once__"+t+(n?"_"+n:""),!0),e}function Ct(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&St(e[i],t+"_"+i,n);else St(e,t,n)}function St(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Mt(e,t){if(t&&u(t)){var n=e.on=e.on?O({},e.on):{};for(var i in t){var o=n[i],r=t[i];n[i]=o?[].concat(o,r):r}}return e}function Pt(e,t,n,i){t=t||{$stable:!n};for(var o=0;o<e.length;o++){var r=e[o];Array.isArray(r)?Pt(r,t,n):r&&(r.proxy&&(r.fn.proxy=!0),t[r.key]=r.fn)}return i&&(t.$key=i),t}function Ot(e,t){for(var n=0;n<t.length;n+=2){var i=t[n];"string"==typeof i&&i&&(e[t[n]]=t[n+1])}return e}function Tt(e,t){return"string"==typeof e?t+e:e}function Et(e){e._o=At,e._n=m,e._s=f,e._l=vt,e._t=_t,e._q=j,e._i=q,e._m=kt,e._f=bt,e._k=wt,e._b=xt,e._v=_e,e._e=ve,e._u=Pt,e._g=Mt,e._d=Ot,e._p=Tt}function Nt(e,t,n,o,r){var s,l=this,c=r.options;y(o,"_uid")?(s=Object.create(o))._original=o:(s=o,o=o._original);var u=a(c._compiled),d=!u;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||i,this.injections=dt(c.inject,o),this.slots=function(){return l.$slots||mt(e.scopedSlots,l.$slots=pt(n,o)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return mt(e.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=mt(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,i){var r=Bt(s,e,t,n,i,d);return r&&!Array.isArray(r)&&(r.fnScopeId=c._scopeId,r.fnContext=o),r}:this._c=function(e,t,n,i){return Bt(s,e,t,n,i,d)}}function $t(e,t,n,i,o){var r=be(e);return r.fnContext=n,r.fnOptions=i,t.slot&&((r.data||(r.data={})).slot=t.slot),r}function jt(e,t){for(var n in t)e[k(n)]=t[n]}Et(Nt.prototype);var qt={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;qt.prepatch(n,n)}else(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:Xt},i=e.data.inlineTemplate;return r(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new e.componentOptions.Ctor(n)}(e)).$mount(t?e.elm:void 0,t)},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,o,r){var a=o.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==i&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),c=!!(r||e.$options._renderChildren||l);if(e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o),e.$options._renderChildren=r,e.$attrs=o.data.attrs||i,e.$listeners=n||i,t&&e.$options.props){Ae(!1);for(var u=e._props,d=e.$options._propKeys||[],p=0;p<d.length;p++){var f=d[p],m=e.$options.props;u[f]=De(f,m,t,e)}Ae(!0),e.$options.propsData=t}n=n||i;var h=e.$options._parentListeners;e.$options._parentListeners=n,Jt(e,n,h),c&&(e.$slots=pt(r,o.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,i=e.componentInstance;i._isMounted||(i._isMounted=!0,tn(i,"mounted")),e.data.keepAlive&&(n._isMounted?((t=i)._inactive=!1,on.push(t)):en(i,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(!(n&&(t._directInactive=!0,Qt(t))||t._inactive)){t._inactive=!0;for(var i=0;i<t.$children.length;i++)e(t.$children[i]);tn(t,"deactivated")}}(t,!0):t.$destroy())}},Lt=Object.keys(qt);function Ft(e,t,n,s,c){if(!o(e)){var u=n.$options._base;if(l(e)&&(e=u.extend(e)),"function"==typeof e){var d;if(o(e.cid)&&void 0===(e=function(e,t){if(a(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;var n=Ht;if(n&&r(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),a(e.loading)&&r(e.loadingComp))return e.loadingComp;if(n&&!r(e.owners)){var i=e.owners=[n],s=!0,c=null,u=null;n.$on("hook:destroyed",function(){return _(i,n)});var d=function(e){for(var t=0,n=i.length;t<n;t++)i[t].$forceUpdate();e&&(i.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},f=L(function(n){e.resolved=Ut(n,t),s?i.length=0:d(!0)}),m=L(function(t){r(e.errorComp)&&(e.error=!0,d(!0))}),h=e(f,m);return l(h)&&(p(h)?o(e.resolved)&&h.then(f,m):p(h.component)&&(h.component.then(f,m),r(h.error)&&(e.errorComp=Ut(h.error,t)),r(h.loading)&&(e.loadingComp=Ut(h.loading,t),0===h.delay?e.loading=!0:c=setTimeout(function(){c=null,o(e.resolved)&&o(e.error)&&(e.loading=!0,d(!1))},h.delay||200)),r(h.timeout)&&(u=setTimeout(function(){u=null,o(e.resolved)&&m(null)},h.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}(d=e,u)))return function(e,t,n,i,o){var r=ve();return r.asyncFactory=e,r.asyncMeta={data:t,context:n,children:i,tag:o},r}(d,t,n,s,c);t=t||{},kn(e),r(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),a=o[i],s=t.model.callback;r(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[i]=[s].concat(a)):o[i]=s}(e.options,t);var f=function(e,t,n){var i=t.options.props;if(!o(i)){var a={},s=e.attrs,l=e.props;if(r(s)||r(l))for(var c in i){var u=S(c);lt(a,l,c,u,!0)||lt(a,s,c,u,!1)}return a}}(t,e);if(a(e.options.functional))return function(e,t,n,o,a){var s=e.options,l={},c=s.props;if(r(c))for(var u in c)l[u]=De(u,c,t||i);else r(n.attrs)&&jt(l,n.attrs),r(n.props)&&jt(l,n.props);var d=new Nt(n,l,a,o,e),p=s.render.call(null,d._c,d);if(p instanceof he)return $t(p,n,d.parent,s);if(Array.isArray(p)){for(var f=ct(p)||[],m=new Array(f.length),h=0;h<f.length;h++)m[h]=$t(f[h],n,d.parent,s);return m}}(e,f,t,n,s);var m=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var h=t.slot;t={},h&&(t.slot=h)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<Lt.length;n++){var i=Lt[n],o=t[i],r=qt[i];o===r||o&&o._merged||(t[i]=o?Dt(r,o):r)}}(t);var g=e.options.name||c;return new he("vue-component-"+e.cid+(g?"-"+g:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:m,tag:c,children:s},d)}}}function Dt(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}var Rt=1,zt=2;function Bt(e,t,n,i,c,u){return(Array.isArray(n)||s(n))&&(c=i,i=n,n=void 0),a(u)&&(c=zt),function(e,t,n,i,s){if(r(n)&&r(n.__ob__))return ve();if(r(n)&&r(n.is)&&(t=n.is),!t)return ve();var c,u,d;(Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0),s===zt?i=ct(i):s===Rt&&(i=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(i)),"string"==typeof t)?(u=e.$vnode&&e.$vnode.ns||z.getTagNamespace(t),c=z.isReservedTag(t)?new he(z.parsePlatformTagName(t),n,i,void 0,void 0,e):n&&n.pre||!r(d=Fe(e.$options,"components",t))?new he(t,n,i,void 0,void 0,e):Ft(d,n,e,i,t)):c=Ft(t,n,e,i);return Array.isArray(c)?c:r(c)?(r(u)&&function e(t,n,i){if(t.ns=n,"foreignObject"===t.tag&&(n=void 0,i=!0),r(t.children))for(var s=0,l=t.children.length;s<l;s++){var c=t.children[s];r(c.tag)&&(o(c.ns)||a(i)&&"svg"!==c.tag)&&e(c,n,i)}}(c,u),r(n)&&function(e){l(e.style)&&it(e.style),l(e.class)&&it(e.class)}(n),c):ve()}(e,t,n,i,c)}var It,Ht=null;function Ut(e,t){return(e.__esModule||le&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function Vt(e){return e.isComment&&e.asyncFactory}function Wt(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(r(n)&&(r(n.componentOptions)||Vt(n)))return n}}function Yt(e,t){It.$on(e,t)}function Gt(e,t){It.$off(e,t)}function Kt(e,t){var n=It;return function i(){null!==t.apply(null,arguments)&&n.$off(e,i)}}function Jt(e,t,n){It=e,at(t,n||{},Yt,Gt,Kt,e),It=void 0}var Xt=null;function Zt(e){var t=Xt;return Xt=e,function(){Xt=t}}function Qt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function en(e,t){if(t){if(e._directInactive=!1,Qt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)en(e.$children[n]);tn(e,"activated")}}function tn(e,t){fe();var n=e.$options[t],i=t+" hook";if(n)for(var o=0,r=n.length;o<r;o++)He(n[o],e,null,e,i);e._hasHookEvent&&e.$emit("hook:"+t),me()}var nn=[],on=[],rn={},an=!1,sn=!1,ln=0,cn=0,un=Date.now;if(W&&!J){var dn=window.performance;dn&&"function"==typeof dn.now&&un()>document.createEvent("Event").timeStamp&&(un=function(){return dn.now()})}function pn(){var e,t;for(cn=un(),sn=!0,nn.sort(function(e,t){return e.id-t.id}),ln=0;ln<nn.length;ln++)(e=nn[ln]).before&&e.before(),t=e.id,rn[t]=null,e.run();var n=on.slice(),i=nn.slice();ln=nn.length=on.length=0,rn={},an=sn=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,en(e[t],!0)}(n),function(e){for(var t=e.length;t--;){var n=e[t],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&tn(i,"updated")}}(i),re&&z.devtools&&re.emit("flush")}var fn=0,mn=function(e,t,n,i,o){this.vm=e,o&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++fn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new se,this.newDepIds=new se,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!U.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=E)),this.value=this.lazy?void 0:this.get()};mn.prototype.get=function(){var e;fe(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;Ie(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&it(e),me(),this.cleanupDeps()}return e},mn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},mn.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},mn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==rn[t]){if(rn[t]=!0,sn){for(var n=nn.length-1;n>ln&&nn[n].id>e.id;)n--;nn.splice(n+1,0,e)}else nn.push(e);an||(an=!0,tt(pn))}}(this)},mn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Ie(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},mn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},mn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},mn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var hn={enumerable:!0,configurable:!0,get:E,set:E};function gn(e,t,n){hn.get=function(){return this[t][n]},hn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,hn)}var vn={lazy:!0};function _n(e,t,n){var i=!oe();"function"==typeof n?(hn.get=i?bn(t):yn(n),hn.set=E):(hn.get=n.get?i&&!1!==n.cache?bn(t):yn(n.get):E,hn.set=n.set||E),Object.defineProperty(e,t,hn)}function bn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),de.target&&t.depend(),t.value}}function yn(e){return function(){return e.call(this,this)}}function wn(e,t,n,i){return u(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}var xn=0;function kn(e){var t=e.options;if(e.super){var n=kn(e.super);if(n!==e.superOptions){e.superOptions=n;var i=function(e){var t,n=e.options,i=e.sealedOptions;for(var o in n)n[o]!==i[o]&&(t||(t={}),t[o]=n[o]);return t}(e);i&&O(e.extendOptions,i),(t=e.options=Le(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function An(e){this._init(e)}function Cn(e){return e&&(e.Ctor.options.name||e.tag)}function Sn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===c.call(n)&&e.test(t));var n}function Mn(e,t){var n=e.cache,i=e.keys,o=e._vnode;for(var r in n){var a=n[r];if(a){var s=Cn(a.componentOptions);s&&!t(s)&&Pn(n,r,i,o)}}}function Pn(e,t,n,i){var o=e[t];!o||i&&o.tag===i.tag||o.componentInstance.$destroy(),e[t]=null,_(n,t)}An.prototype._init=function(e){var t=this;t._uid=xn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),i=t._parentVnode;n.parent=t.parent,n._parentVnode=i;var o=i.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Le(kn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Jt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=pt(t._renderChildren,o),e.$scopedSlots=i,e._c=function(t,n,i,o){return Bt(e,t,n,i,o,!1)},e.$createElement=function(t,n,i,o){return Bt(e,t,n,i,o,!0)};var r=n&&n.data;Me(e,"$attrs",r&&r.attrs||i,null,!0),Me(e,"$listeners",t._parentListeners||i,null,!0)}(t),tn(t,"beforeCreate"),function(e){var t=dt(e.$options.inject,e);t&&(Ae(!1),Object.keys(t).forEach(function(n){Me(e,n,t[n])}),Ae(!0))}(t),function(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},i=e._props={},o=e.$options._propKeys=[];e.$parent&&Ae(!1);var r=function(r){o.push(r);var a=De(r,t,n,e);Me(i,r,a),r in e||gn(e,"_props",r)};for(var a in t)r(a);Ae(!0)}(e,t.props),t.methods&&function(e,t){for(var n in e.$options.props,t)e[n]="function"!=typeof t[n]?E:M(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){fe();try{return e.call(t,t)}catch(e){return Ie(e,t,"data()"),{}}finally{me()}}(t,e):t||{})||(t={});for(var n,i=Object.keys(t),o=e.$options.props,r=(e.$options.methods,i.length);r--;){var a=i[r];o&&y(o,a)||36!==(n=(a+"").charCodeAt(0))&&95!==n&&gn(e,"_data",a)}Se(t,!0)}(e):Se(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),i=oe();for(var o in t){var r=t[o],a="function"==typeof r?r:r.get;i||(n[o]=new mn(e,a||E,E,vn)),o in e||_n(e,o,r)}}(e,t.computed),t.watch&&t.watch!==te&&function(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var o=0;o<i.length;o++)wn(e,n,i[o]);else wn(e,n,i)}}(e,t.watch)}(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),tn(t,"created"),t.$options.el&&t.$mount(t.$options.el)},function(e){Object.defineProperty(e.prototype,"$data",{get:function(){return this._data}}),Object.defineProperty(e.prototype,"$props",{get:function(){return this._props}}),e.prototype.$set=Pe,e.prototype.$delete=Oe,e.prototype.$watch=function(e,t,n){if(u(t))return wn(this,e,t,n);(n=n||{}).user=!0;var i=new mn(this,e,t,n);if(n.immediate)try{t.call(this,i.value)}catch(e){Ie(e,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(An),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var i=this;if(Array.isArray(e))for(var o=0,r=e.length;o<r;o++)i.$on(e[o],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var n=this;function i(){n.$off(e,i),t.apply(n,arguments)}return i.fn=t,n.$on(e,i),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var i=0,o=e.length;i<o;i++)n.$off(e[i],t);return n}var r,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((r=a[s])===t||r.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this._events[e];if(t){t=t.length>1?P(t):t;for(var n=P(arguments,1),i='event handler for "'+e+'"',o=0,r=t.length;o<r;o++)He(t[o],this,n,this,i)}return this}}(An),function(e){e.prototype._update=function(e,t){var n=this,i=n.$el,o=n._vnode,r=Zt(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),r(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){tn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||_(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),tn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(An),function(e){Et(e.prototype),e.prototype.$nextTick=function(e){return tt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,o=n._parentVnode;o&&(t.$scopedSlots=mt(o.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=o;try{Ht=t,e=i.call(t._renderProxy,t.$createElement)}catch(n){Ie(n,t,"render"),e=t._vnode}finally{Ht=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof he||(e=ve()),e.parent=o,e}}(An);var On=[String,RegExp,Array],Tn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:On,exclude:On,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Pn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){Mn(e,function(e){return Sn(t,e)})}),this.$watch("exclude",function(t){Mn(e,function(e){return!Sn(t,e)})})},render:function(){var e=this.$slots.default,t=Wt(e),n=t&&t.componentOptions;if(n){var i=Cn(n),o=this.include,r=this.exclude;if(o&&(!i||!Sn(o,i))||r&&i&&Sn(r,i))return t;var a=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,_(s,l),s.push(l)):(a[l]=t,s.push(l),this.max&&s.length>parseInt(this.max)&&Pn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return z}};Object.defineProperty(e,"config",t),e.util={warn:ce,extend:O,mergeOptions:Le,defineReactive:Me},e.set=Pe,e.delete=Oe,e.nextTick=tt,e.observable=function(e){return Se(e),e},e.options=Object.create(null),D.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,O(e.options.components,Tn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=P(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Le(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,o=e._Ctor||(e._Ctor={});if(o[i])return o[i];var r=e.name||n.options.name,a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=Le(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)gn(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)_n(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,D.forEach(function(e){a[e]=n[e]}),r&&(a.options.components[r]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=O({},a.options),o[i]=a,a}}(e),function(e){D.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(An),Object.defineProperty(An.prototype,"$isServer",{get:oe}),Object.defineProperty(An.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(An,"FunctionalRenderContext",{value:Nt}),An.version="2.6.11";var En=h("style,class"),Nn=h("input,textarea,option,select,progress"),$n=function(e,t,n){return"value"===n&&Nn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},jn=h("contenteditable,draggable,spellcheck"),qn=h("events,caret,typing,plaintext-only"),Ln=function(e,t){return Bn(t)||"false"===t?"false":"contenteditable"===e&&qn(t)?t:"true"},Fn=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Dn="http://www.w3.org/1999/xlink",Rn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},zn=function(e){return Rn(e)?e.slice(6,e.length):""},Bn=function(e){return null==e||!1===e};function In(e,t){return{staticClass:Hn(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Hn(e,t){return e?t?e+" "+t:e:t||""}function Un(e){return Array.isArray(e)?function(e){for(var t,n="",i=0,o=e.length;i<o;i++)r(t=Un(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):l(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Vn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Wn=h("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Yn=h("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Gn=function(e){return Wn(e)||Yn(e)};function Kn(e){return Yn(e)?"svg":"math"===e?"math":void 0}var Jn=Object.create(null),Xn=h("text,number,password,search,email,tel,url");function Zn(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}var Qn=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(Vn[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),ei={create:function(e,t){ti(t)},update:function(e,t){e.data.ref!==t.data.ref&&(ti(e,!0),ti(t))},destroy:function(e){ti(e,!0)}};function ti(e,t){var n=e.data.ref;if(r(n)){var i=e.context,o=e.componentInstance||e.elm,a=i.$refs;t?Array.isArray(a[n])?_(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var ni=new he("",{},[]),ii=["create","activate","update","remove","destroy"];function oi(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,o=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===o||Xn(i)&&Xn(o)}(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&o(t.asyncFactory.error))}function ri(e,t,n){var i,o,a={};for(i=t;i<=n;++i)r(o=e[i].key)&&(a[o]=i);return a}var ai={create:si,update:si,destroy:function(e){si(e,ni)}};function si(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,i,o,r=e===ni,a=t===ni,s=ci(e.data.directives,e.context),l=ci(t.data.directives,t.context),c=[],u=[];for(n in l)i=s[n],o=l[n],i?(o.oldValue=i.value,o.oldArg=i.arg,di(o,"update",t,e),o.def&&o.def.componentUpdated&&u.push(o)):(di(o,"bind",t,e),o.def&&o.def.inserted&&c.push(o));if(c.length){var d=function(){for(var n=0;n<c.length;n++)di(c[n],"inserted",t,e)};r?st(t,"insert",d):d()}if(u.length&&st(t,"postpatch",function(){for(var n=0;n<u.length;n++)di(u[n],"componentUpdated",t,e)}),!r)for(n in s)l[n]||di(s[n],"unbind",e,e,a)}(e,t)}var li=Object.create(null);function ci(e,t){var n,i,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++)(i=e[n]).modifiers||(i.modifiers=li),o[ui(i)]=i,i.def=Fe(t.$options,"directives",i.name);return o}function ui(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function di(e,t,n,i,o){var r=e.def&&e.def[t];if(r)try{r(n.elm,e,n,i,o)}catch(i){Ie(i,n.context,"directive "+e.name+" "+t+" hook")}}var pi=[ei,ai];function fi(e,t){var n=t.componentOptions;if(!(r(n)&&!1===n.Ctor.options.inheritAttrs||o(e.data.attrs)&&o(t.data.attrs))){var i,a,s=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};for(i in r(c.__ob__)&&(c=t.data.attrs=O({},c)),c)a=c[i],l[i]!==a&&mi(s,i,a);for(i in(J||Z)&&c.value!==l.value&&mi(s,"value",c.value),l)o(c[i])&&(Rn(i)?s.removeAttributeNS(Dn,zn(i)):jn(i)||s.removeAttribute(i))}}function mi(e,t,n){e.tagName.indexOf("-")>-1?hi(e,t,n):Fn(t)?Bn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):jn(t)?e.setAttribute(t,Ln(t,n)):Rn(t)?Bn(n)?e.removeAttributeNS(Dn,zn(t)):e.setAttributeNS(Dn,t,n):hi(e,t,n)}function hi(e,t,n){if(Bn(n))e.removeAttribute(t);else{if(J&&!X&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var gi={create:fi,update:fi};function vi(e,t){var n=t.elm,i=t.data,a=e.data;if(!(o(i.staticClass)&&o(i.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=function(e){for(var t=e.data,n=e,i=e;r(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=In(i.data,t));for(;r(n=n.parent);)n&&n.data&&(t=In(t,n.data));return function(e,t){return r(e)||r(t)?Hn(e,Un(t)):""}(t.staticClass,t.class)}(t),l=n._transitionClasses;r(l)&&(s=Hn(s,Un(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var _i,bi,yi,wi,xi,ki,Ai={create:vi,update:vi},Ci=/[\w).+\-_$\]]/;function Si(e){var t,n,i,o,r,a=!1,s=!1,l=!1,c=!1,u=0,d=0,p=0,f=0;for(i=0;i<e.length;i++)if(n=t,t=e.charCodeAt(i),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(l)96===t&&92!==n&&(l=!1);else if(c)47===t&&92!==n&&(c=!1);else if(124!==t||124===e.charCodeAt(i+1)||124===e.charCodeAt(i-1)||u||d||p){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:l=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--}if(47===t){for(var m=i-1,h=void 0;m>=0&&" "===(h=e.charAt(m));m--);h&&Ci.test(h)||(c=!0)}}else void 0===o?(f=i+1,o=e.slice(0,i).trim()):g();function g(){(r||(r=[])).push(e.slice(f,i).trim()),f=i+1}if(void 0===o?o=e.slice(0,i).trim():0!==f&&g(),r)for(i=0;i<r.length;i++)o=Mi(o,r[i]);return o}function Mi(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var i=t.slice(0,n),o=t.slice(n+1);return'_f("'+i+'")('+e+(")"!==o?","+o:o)}function Pi(e,t){console.error("[Vue compiler]: "+e)}function Oi(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function Ti(e,t,n,i,o){(e.props||(e.props=[])).push(Ri({name:t,value:n,dynamic:o},i)),e.plain=!1}function Ei(e,t,n,i,o){(o?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(Ri({name:t,value:n,dynamic:o},i)),e.plain=!1}function Ni(e,t,n,i){e.attrsMap[t]=n,e.attrsList.push(Ri({name:t,value:n},i))}function $i(e,t,n,i,o,r,a,s){(e.directives||(e.directives=[])).push(Ri({name:t,rawName:n,value:i,arg:o,isDynamicArg:r,modifiers:a},s)),e.plain=!1}function ji(e,t,n){return n?"_p("+t+',"'+e+'")':e+t}function qi(e,t,n,o,r,a,s,l){var c;(o=o||i).right?l?t="("+t+")==='click'?'contextmenu':("+t+")":"click"===t&&(t="contextmenu",delete o.right):o.middle&&(l?t="("+t+")==='click'?'mouseup':("+t+")":"click"===t&&(t="mouseup")),o.capture&&(delete o.capture,t=ji("!",t,l)),o.once&&(delete o.once,t=ji("~",t,l)),o.passive&&(delete o.passive,t=ji("&",t,l)),o.native?(delete o.native,c=e.nativeEvents||(e.nativeEvents={})):c=e.events||(e.events={});var u=Ri({value:n.trim(),dynamic:l},s);o!==i&&(u.modifiers=o);var d=c[t];Array.isArray(d)?r?d.unshift(u):d.push(u):c[t]=d?r?[u,d]:[d,u]:u,e.plain=!1}function Li(e,t,n){var i=Fi(e,":"+t)||Fi(e,"v-bind:"+t);if(null!=i)return Si(i);if(!1!==n){var o=Fi(e,t);if(null!=o)return JSON.stringify(o)}}function Fi(e,t,n){var i;if(null!=(i=e.attrsMap[t]))for(var o=e.attrsList,r=0,a=o.length;r<a;r++)if(o[r].name===t){o.splice(r,1);break}return n&&delete e.attrsMap[t],i}function Di(e,t){for(var n=e.attrsList,i=0,o=n.length;i<o;i++){var r=n[i];if(t.test(r.name))return n.splice(i,1),r}}function Ri(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function zi(e,t,n){var i=n||{},o=i.number,r="$$v";i.trim&&(r="(typeof $$v === 'string'? $$v.trim(): $$v)"),o&&(r="_n("+r+")");var a=Bi(t,r);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+a+"}"}}function Bi(e,t){var n=function(e){if(e=e.trim(),_i=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<_i-1)return(wi=e.lastIndexOf("."))>-1?{exp:e.slice(0,wi),key:'"'+e.slice(wi+1)+'"'}:{exp:e,key:null};for(bi=e,wi=xi=ki=0;!Hi();)Ui(yi=Ii())?Wi(yi):91===yi&&Vi(yi);return{exp:e.slice(0,xi),key:e.slice(xi+1,ki)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Ii(){return bi.charCodeAt(++wi)}function Hi(){return wi>=_i}function Ui(e){return 34===e||39===e}function Vi(e){var t=1;for(xi=wi;!Hi();)if(Ui(e=Ii()))Wi(e);else if(91===e&&t++,93===e&&t--,0===t){ki=wi;break}}function Wi(e){for(var t=e;!Hi()&&(e=Ii())!==t;);}var Yi,Gi="__r",Ki="__c";function Ji(e,t,n){var i=Yi;return function o(){null!==t.apply(null,arguments)&&Qi(e,o,n,i)}}var Xi=Ye&&!(ee&&Number(ee[1])<=53);function Zi(e,t,n,i){if(Xi){var o=cn,r=t;t=r._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return r.apply(this,arguments)}}Yi.addEventListener(e,t,ne?{capture:n,passive:i}:n)}function Qi(e,t,n,i){(i||Yi).removeEventListener(e,t._wrapper||t,n)}function eo(e,t){if(!o(e.data.on)||!o(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Yi=t.elm,function(e){if(r(e[Gi])){var t=J?"change":"input";e[t]=[].concat(e[Gi],e[t]||[]),delete e[Gi]}r(e[Ki])&&(e.change=[].concat(e[Ki],e.change||[]),delete e[Ki])}(n),at(n,i,Zi,Qi,Ji,t.context),Yi=void 0}}var to,no={create:eo,update:eo};function io(e,t){if(!o(e.data.domProps)||!o(t.data.domProps)){var n,i,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in r(l.__ob__)&&(l=t.data.domProps=O({},l)),s)n in l||(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var c=o(i)?"":String(i);oo(a,c)&&(a.value=c)}else if("innerHTML"===n&&Yn(a.tagName)&&o(a.innerHTML)){(to=to||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var u=to.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(i!==s[n])try{a[n]=i}catch(e){}}}}function oo(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,i=e._vModifiers;if(r(i)){if(i.number)return m(n)!==m(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var ro={create:io,update:io},ao=w(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var i=e.split(n);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t});function so(e){var t=lo(e.style);return e.staticStyle?O(e.staticStyle,t):t}function lo(e){return Array.isArray(e)?T(e):"string"==typeof e?ao(e):e}var co,uo=/^--/,po=/\s*!important$/,fo=function(e,t,n){if(uo.test(t))e.style.setProperty(t,n);else if(po.test(n))e.style.setProperty(S(t),n.replace(po,""),"important");else{var i=ho(t);if(Array.isArray(n))for(var o=0,r=n.length;o<r;o++)e.style[i]=n[o];else e.style[i]=n}},mo=["Webkit","Moz","ms"],ho=w(function(e){if(co=co||document.createElement("div").style,"filter"!==(e=k(e))&&e in co)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<mo.length;n++){var i=mo[n]+t;if(i in co)return i}});function go(e,t){var n=t.data,i=e.data;if(!(o(n.staticStyle)&&o(n.style)&&o(i.staticStyle)&&o(i.style))){var a,s,l=t.elm,c=i.staticStyle,u=i.normalizedStyle||i.style||{},d=c||u,p=lo(t.data.style)||{};t.data.normalizedStyle=r(p.__ob__)?O({},p):p;var f=function(e,t){for(var n,i={},o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=so(o.data))&&O(i,n);(n=so(e.data))&&O(i,n);for(var r=e;r=r.parent;)r.data&&(n=so(r.data))&&O(i,n);return i}(t);for(s in d)o(f[s])&&fo(l,s,"");for(s in f)(a=f[s])!==d[s]&&fo(l,s,null==a?"":a)}}var vo={create:go,update:go},_o=/\s+/;function bo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(_o).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function yo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(_o).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function wo(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&O(t,xo(e.name||"v")),O(t,e),t}return"string"==typeof e?xo(e):void 0}}var xo=w(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),ko=W&&!X,Ao="transition",Co="animation",So="transition",Mo="transitionend",Po="animation",Oo="animationend";ko&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(So="WebkitTransition",Mo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Po="WebkitAnimation",Oo="webkitAnimationEnd"));var To=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Eo(e){To(function(){To(e)})}function No(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),bo(e,t))}function $o(e,t){e._transitionClasses&&_(e._transitionClasses,t),yo(e,t)}function jo(e,t,n){var i=Lo(e,t),o=i.type,r=i.timeout,a=i.propCount;if(!o)return n();var s=o===Ao?Mo:Oo,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l<a&&c()},r+1),e.addEventListener(s,u)}var qo=/\b(transform|all)(,|$)/;function Lo(e,t){var n,i=window.getComputedStyle(e),o=(i[So+"Delay"]||"").split(", "),r=(i[So+"Duration"]||"").split(", "),a=Fo(o,r),s=(i[Po+"Delay"]||"").split(", "),l=(i[Po+"Duration"]||"").split(", "),c=Fo(s,l),u=0,d=0;return t===Ao?a>0&&(n=Ao,u=a,d=r.length):t===Co?c>0&&(n=Co,u=c,d=l.length):d=(n=(u=Math.max(a,c))>0?a>c?Ao:Co:null)?n===Ao?r.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===Ao&&qo.test(i[So+"Property"])}}function Fo(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return Do(t)+Do(e[n])}))}function Do(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Ro(e,t){var n=e.elm;r(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=wo(e.data.transition);if(!o(i)&&!r(n._enterCb)&&1===n.nodeType){for(var a=i.css,s=i.type,c=i.enterClass,u=i.enterToClass,d=i.enterActiveClass,p=i.appearClass,f=i.appearToClass,h=i.appearActiveClass,g=i.beforeEnter,v=i.enter,_=i.afterEnter,b=i.enterCancelled,y=i.beforeAppear,w=i.appear,x=i.afterAppear,k=i.appearCancelled,A=i.duration,C=Xt,S=Xt.$vnode;S&&S.parent;)C=S.context,S=S.parent;var M=!C._isMounted||!e.isRootInsert;if(!M||w||""===w){var P=M&&p?p:c,O=M&&h?h:d,T=M&&f?f:u,E=M&&y||g,N=M&&"function"==typeof w?w:v,$=M&&x||_,j=M&&k||b,q=m(l(A)?A.enter:A),F=!1!==a&&!X,D=Io(N),R=n._enterCb=L(function(){F&&($o(n,T),$o(n,O)),R.cancelled?(F&&$o(n,P),j&&j(n)):$&&$(n),n._enterCb=null});e.data.show||st(e,"insert",function(){var t=n.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),N&&N(n,R)}),E&&E(n),F&&(No(n,P),No(n,O),Eo(function(){$o(n,P),R.cancelled||(No(n,T),D||(Bo(q)?setTimeout(R,q):jo(n,s,R)))})),e.data.show&&(t&&t(),N&&N(n,R)),F||D||R()}}}function zo(e,t){var n=e.elm;r(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=wo(e.data.transition);if(o(i)||1!==n.nodeType)return t();if(!r(n._leaveCb)){var a=i.css,s=i.type,c=i.leaveClass,u=i.leaveToClass,d=i.leaveActiveClass,p=i.beforeLeave,f=i.leave,h=i.afterLeave,g=i.leaveCancelled,v=i.delayLeave,_=i.duration,b=!1!==a&&!X,y=Io(f),w=m(l(_)?_.leave:_),x=n._leaveCb=L(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&($o(n,u),$o(n,d)),x.cancelled?(b&&$o(n,c),g&&g(n)):(t(),h&&h(n)),n._leaveCb=null});v?v(k):k()}function k(){x.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),p&&p(n),b&&(No(n,c),No(n,d),Eo(function(){$o(n,c),x.cancelled||(No(n,u),y||(Bo(w)?setTimeout(x,w):jo(n,s,x)))})),f&&f(n,x),b||y||x())}}function Bo(e){return"number"==typeof e&&!isNaN(e)}function Io(e){if(o(e))return!1;var t=e.fns;return r(t)?Io(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Ho(e,t){!0!==t.data.show&&Ro(t)}var Uo=function(e){var t,n,i={},l=e.modules,c=e.nodeOps;for(t=0;t<ii.length;++t)for(i[ii[t]]=[],n=0;n<l.length;++n)r(l[n][ii[t]])&&i[ii[t]].push(l[n][ii[t]]);function u(e){var t=c.parentNode(e);r(t)&&c.removeChild(t,e)}function d(e,t,n,o,s,l,u){if(r(e.elm)&&r(l)&&(e=l[u]=be(e)),e.isRootInsert=!s,!function(e,t,n,o){var s=e.data;if(r(s)){var l=r(e.componentInstance)&&s.keepAlive;if(r(s=s.hook)&&r(s=s.init)&&s(e,!1),r(e.componentInstance))return p(e,t),f(n,e.elm,o),a(l)&&function(e,t,n,o){for(var a,s=e;s.componentInstance;)if(r(a=(s=s.componentInstance._vnode).data)&&r(a=a.transition)){for(a=0;a<i.activate.length;++a)i.activate[a](ni,s);t.push(s);break}f(n,e.elm,o)}(e,t,n,o),!0}}(e,t,n,o)){var d=e.data,h=e.children,g=e.tag;r(g)?(e.elm=e.ns?c.createElementNS(e.ns,g):c.createElement(g,e),_(e),m(e,h,t),r(d)&&v(e,t),f(n,e.elm,o)):a(e.isComment)?(e.elm=c.createComment(e.text),f(n,e.elm,o)):(e.elm=c.createTextNode(e.text),f(n,e.elm,o))}}function p(e,t){r(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,g(e)?(v(e,t),_(e)):(ti(e),t.push(e))}function f(e,t,n){r(e)&&(r(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function m(e,t,n){if(Array.isArray(t))for(var i=0;i<t.length;++i)d(t[i],n,e.elm,null,!0,t,i);else s(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function g(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return r(e.tag)}function v(e,n){for(var o=0;o<i.create.length;++o)i.create[o](ni,e);r(t=e.data.hook)&&(r(t.create)&&t.create(ni,e),r(t.insert)&&n.push(e))}function _(e){var t;if(r(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)r(t=n.context)&&r(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;r(t=Xt)&&t!==e.context&&t!==e.fnContext&&r(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function b(e,t,n,i,o,r){for(;i<=o;++i)d(n[i],r,e,t,!1,n,i)}function y(e){var t,n,o=e.data;if(r(o))for(r(t=o.hook)&&r(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(r(t=e.children))for(n=0;n<e.children.length;++n)y(e.children[n])}function w(e,t,n){for(;t<=n;++t){var i=e[t];r(i)&&(r(i.tag)?(x(i),y(i)):u(i.elm))}}function x(e,t){if(r(t)||r(e.data)){var n,o=i.remove.length+1;for(r(t)?t.listeners+=o:t=function(e,t){function n(){0==--n.listeners&&u(e)}return n.listeners=t,n}(e.elm,o),r(n=e.componentInstance)&&r(n=n._vnode)&&r(n.data)&&x(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);r(n=e.data.hook)&&r(n=n.remove)?n(e,t):t()}else u(e.elm)}function k(e,t,n,i){for(var o=n;o<i;o++){var a=t[o];if(r(a)&&oi(e,a))return o}}function A(e,t,n,s,l,u){if(e!==t){r(t.elm)&&r(s)&&(t=s[l]=be(t));var p=t.elm=e.elm;if(a(e.isAsyncPlaceholder))r(t.asyncFactory.resolved)?M(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(a(t.isStatic)&&a(e.isStatic)&&t.key===e.key&&(a(t.isCloned)||a(t.isOnce)))t.componentInstance=e.componentInstance;else{var f,m=t.data;r(m)&&r(f=m.hook)&&r(f=f.prepatch)&&f(e,t);var h=e.children,v=t.children;if(r(m)&&g(t)){for(f=0;f<i.update.length;++f)i.update[f](e,t);r(f=m.hook)&&r(f=f.update)&&f(e,t)}o(t.text)?r(h)&&r(v)?h!==v&&function(e,t,n,i,a){for(var s,l,u,p=0,f=0,m=t.length-1,h=t[0],g=t[m],v=n.length-1,_=n[0],y=n[v],x=!a;p<=m&&f<=v;)o(h)?h=t[++p]:o(g)?g=t[--m]:oi(h,_)?(A(h,_,i,n,f),h=t[++p],_=n[++f]):oi(g,y)?(A(g,y,i,n,v),g=t[--m],y=n[--v]):oi(h,y)?(A(h,y,i,n,v),x&&c.insertBefore(e,h.elm,c.nextSibling(g.elm)),h=t[++p],y=n[--v]):oi(g,_)?(A(g,_,i,n,f),x&&c.insertBefore(e,g.elm,h.elm),g=t[--m],_=n[++f]):(o(s)&&(s=ri(t,p,m)),o(l=r(_.key)?s[_.key]:k(_,t,p,m))?d(_,i,e,h.elm,!1,n,f):oi(u=t[l],_)?(A(u,_,i,n,f),t[l]=void 0,x&&c.insertBefore(e,u.elm,h.elm)):d(_,i,e,h.elm,!1,n,f),_=n[++f]);p>m?b(e,o(n[v+1])?null:n[v+1].elm,n,f,v,i):f>v&&w(t,p,m)}(p,h,v,n,u):r(v)?(r(e.text)&&c.setTextContent(p,""),b(p,null,v,0,v.length-1,n)):r(h)?w(h,0,h.length-1):r(e.text)&&c.setTextContent(p,""):e.text!==t.text&&c.setTextContent(p,t.text),r(m)&&r(f=m.hook)&&r(f=f.postpatch)&&f(e,t)}}}function C(e,t,n){if(a(n)&&r(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var S=h("attrs,class,staticClass,staticStyle,key");function M(e,t,n,i){var o,s=t.tag,l=t.data,c=t.children;if(i=i||l&&l.pre,t.elm=e,a(t.isComment)&&r(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(r(l)&&(r(o=l.hook)&&r(o=o.init)&&o(t,!0),r(o=t.componentInstance)))return p(t,n),!0;if(r(s)){if(r(c))if(e.hasChildNodes())if(r(o=l)&&r(o=o.domProps)&&r(o=o.innerHTML)){if(o!==e.innerHTML)return!1}else{for(var u=!0,d=e.firstChild,f=0;f<c.length;f++){if(!d||!M(d,c[f],n,i)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else m(t,c,n);if(r(l)){var h=!1;for(var g in l)if(!S(g)){h=!0,v(t,n);break}!h&&l.class&&it(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s){if(!o(t)){var l,u=!1,p=[];if(o(e))u=!0,d(t,p);else{var f=r(e.nodeType);if(!f&&oi(e,t))A(e,t,p,null,null,s);else{if(f){if(1===e.nodeType&&e.hasAttribute(F)&&(e.removeAttribute(F),n=!0),a(n)&&M(e,t,p))return C(t,p,!0),e;l=e,e=new he(c.tagName(l).toLowerCase(),{},[],void 0,l)}var m=e.elm,h=c.parentNode(m);if(d(t,p,m._leaveCb?null:h,c.nextSibling(m)),r(t.parent))for(var v=t.parent,_=g(t);v;){for(var b=0;b<i.destroy.length;++b)i.destroy[b](v);if(v.elm=t.elm,_){for(var x=0;x<i.create.length;++x)i.create[x](ni,v);var k=v.data.hook.insert;if(k.merged)for(var S=1;S<k.fns.length;S++)k.fns[S]()}else ti(v);v=v.parent}r(h)?w([e],0,0):r(e.tag)&&y(e)}}return C(t,p,u),t.elm}r(e)&&y(e)}}({nodeOps:Qn,modules:[gi,Ai,no,ro,vo,W?{create:Ho,activate:Ho,remove:function(e,t){!0!==e.data.show?zo(e,t):t()}}:{}].concat(pi)});X&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Zo(e,"input")});var Vo={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?st(n,"postpatch",function(){Vo.componentUpdated(e,t,n)}):Wo(e,t,n.context),e._vOptions=[].map.call(e.options,Ko)):("textarea"===n.tag||Xn(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Jo),e.addEventListener("compositionend",Xo),e.addEventListener("change",Xo),X&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Wo(e,t,n.context);var i=e._vOptions,o=e._vOptions=[].map.call(e.options,Ko);o.some(function(e,t){return!j(e,i[t])})&&(e.multiple?t.value.some(function(e){return Go(e,o)}):t.value!==t.oldValue&&Go(t.value,o))&&Zo(e,"change")}}};function Wo(e,t,n){Yo(e,t,n),(J||Z)&&setTimeout(function(){Yo(e,t,n)},0)}function Yo(e,t,n){var i=t.value,o=e.multiple;if(!o||Array.isArray(i)){for(var r,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],o)r=q(i,Ko(a))>-1,a.selected!==r&&(a.selected=r);else if(j(Ko(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function Go(e,t){return t.every(function(t){return!j(t,e)})}function Ko(e){return"_value"in e?e._value:e.value}function Jo(e){e.target.composing=!0}function Xo(e){e.target.composing&&(e.target.composing=!1,Zo(e.target,"input"))}function Zo(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Qo(e){return!e.componentInstance||e.data&&e.data.transition?e:Qo(e.componentInstance._vnode)}var er={model:Vo,show:{bind:function(e,t,n){var i=t.value,o=(n=Qo(n)).data&&n.data.transition,r=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&o?(n.data.show=!0,Ro(n,function(){e.style.display=r})):e.style.display=i?r:"none"},update:function(e,t,n){var i=t.value;!i!=!t.oldValue&&((n=Qo(n)).data&&n.data.transition?(n.data.show=!0,i?Ro(n,function(){e.style.display=e.__vOriginalDisplay}):zo(n,function(){e.style.display="none"})):e.style.display=i?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,i,o){o||(e.style.display=e.__vOriginalDisplay)}}},tr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function nr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?nr(Wt(t.children)):e}function ir(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var o=n._parentListeners;for(var r in o)t[k(r)]=o[r];return t}function or(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var rr=function(e){return e.tag||Vt(e)},ar=function(e){return"show"===e.name},sr={name:"transition",props:tr,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(rr)).length){var i=this.mode,o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var r=nr(o);if(!r)return o;if(this._leaving)return or(e,o);var a="__transition-"+this._uid+"-";r.key=null==r.key?r.isComment?a+"comment":a+r.tag:s(r.key)?0===String(r.key).indexOf(a)?r.key:a+r.key:r.key;var l=(r.data||(r.data={})).transition=ir(this),c=this._vnode,u=nr(c);if(r.data.directives&&r.data.directives.some(ar)&&(r.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(r,u)&&!Vt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=O({},l);if("out-in"===i)return this._leaving=!0,st(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),or(e,o);if("in-out"===i){if(Vt(r))return c;var p,f=function(){p()};st(l,"afterEnter",f),st(l,"enterCancelled",f),st(d,"delayLeave",function(e){p=e})}}return o}}},lr=O({tag:String,moveClass:String},tr);function cr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function ur(e){e.data.newPos=e.elm.getBoundingClientRect()}function dr(e){var t=e.data.pos,n=e.data.newPos,i=t.left-n.left,o=t.top-n.top;if(i||o){e.data.moved=!0;var r=e.elm.style;r.transform=r.WebkitTransform="translate("+i+"px,"+o+"px)",r.transitionDuration="0s"}}delete lr.mode;var pr={Transition:sr,TransitionGroup:{props:lr,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var o=Zt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,o=this.$slots.default||[],r=this.children=[],a=ir(this),s=0;s<o.length;s++){var l=o[s];l.tag&&null!=l.key&&0!==String(l.key).indexOf("__vlist")&&(r.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a)}if(i){for(var c=[],u=[],d=0;d<i.length;d++){var p=i[d];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?c.push(p):u.push(p)}this.kept=e(t,null,c),this.removed=u}return e(t,null,r)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(cr),e.forEach(ur),e.forEach(dr),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,i=n.style;No(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Mo,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Mo,e),n._moveCb=null,$o(n,t))})}}))},methods:{hasMove:function(e,t){if(!ko)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){yo(n,e)}),bo(n,t),n.style.display="none",this.$el.appendChild(n);var i=Lo(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};An.config.mustUseProp=$n,An.config.isReservedTag=Gn,An.config.isReservedAttr=En,An.config.getTagNamespace=Kn,An.config.isUnknownElement=function(e){if(!W)return!0;if(Gn(e))return!1;if(e=e.toLowerCase(),null!=Jn[e])return Jn[e];var t=document.createElement(e);return e.indexOf("-")>-1?Jn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Jn[e]=/HTMLUnknownElement/.test(t.toString())},O(An.options.directives,er),O(An.options.components,pr),An.prototype.__patch__=W?Uo:E,An.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=ve),tn(e,"beforeMount"),new mn(e,function(){e._update(e._render(),n)},E,{before:function(){e._isMounted&&!e._isDestroyed&&tn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,tn(e,"mounted")),e}(this,e=e&&W?Zn(e):void 0,t)},W&&setTimeout(function(){z.devtools&&re&&re.emit("init",An)},0);var fr,mr=/\{\{((?:.|\r?\n)+?)\}\}/g,hr=/[-.*+?^${}()|[\]\/\\]/g,gr=w(function(e){var t=e[0].replace(hr,"\\$&"),n=e[1].replace(hr,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),vr={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Fi(e,"class");n&&(e.staticClass=JSON.stringify(n));var i=Li(e,"class",!1);i&&(e.classBinding=i)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},_r={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Fi(e,"style");n&&(e.staticStyle=JSON.stringify(ao(n)));var i=Li(e,"style",!1);i&&(e.styleBinding=i)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},br=h("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),yr=h("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),wr=h("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),xr=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,kr=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ar="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+B.source+"]*",Cr="((?:"+Ar+"\\:)?"+Ar+")",Sr=new RegExp("^<"+Cr),Mr=/^\s*(\/?)>/,Pr=new RegExp("^<\\/"+Cr+"[^>]*>"),Or=/^<!DOCTYPE [^>]+>/i,Tr=/^<!\--/,Er=/^<!\[/,Nr=h("script,style,textarea",!0),$r={},jr={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},qr=/&(?:lt|gt|quot|amp|#39);/g,Lr=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Fr=h("pre,textarea",!0),Dr=function(e,t){return e&&Fr(e)&&"\n"===t[0]};function Rr(e,t){var n=t?Lr:qr;return e.replace(n,function(e){return jr[e]})}var zr,Br,Ir,Hr,Ur,Vr,Wr,Yr,Gr=/^@|^v-on:/,Kr=/^v-|^@|^:|^#/,Jr=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Xr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Zr=/^\(|\)$/g,Qr=/^\[.*\]$/,ea=/:(.*)$/,ta=/^:|^\.|^v-bind:/,na=/\.[^.\]]+(?=[^\]]*$)/g,ia=/^v-slot(:|$)|^#/,oa=/[\r\n]/,ra=/\s+/g,aa=w(function(e){return(fr=fr||document.createElement("div")).innerHTML=e,fr.textContent}),sa="_empty_";function la(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,i=e.length;n<i;n++)t[e[n].name]=e[n].value;return t}(t),rawAttrsMap:{},parent:n,children:[]}}function ca(e,t){var n,i;(i=Li(n=e,"key"))&&(n.key=i),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=Li(e,"ref");t&&(e.ref=t,e.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?(t=Fi(e,"scope"),e.slotScope=t||Fi(e,"slot-scope")):(t=Fi(e,"slot-scope"))&&(e.slotScope=t);var n=Li(e,"slot");if(n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||Ei(e,"slot",n,function(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}(e,"slot"))),"template"===e.tag){var i=Di(e,ia);if(i){var o=pa(i),r=o.name,a=o.dynamic;e.slotTarget=r,e.slotTargetDynamic=a,e.slotScope=i.value||sa}}else{var s=Di(e,ia);if(s){var l=e.scopedSlots||(e.scopedSlots={}),c=pa(s),u=c.name,d=c.dynamic,p=l[u]=la("template",[],e);p.slotTarget=u,p.slotTargetDynamic=d,p.children=e.children.filter(function(e){if(!e.slotScope)return e.parent=p,!0}),p.slotScope=s.value||sa,e.children=[],e.plain=!1}}}(e),function(e){"slot"===e.tag&&(e.slotName=Li(e,"name"))}(e),function(e){var t;(t=Li(e,"is"))&&(e.component=t),null!=Fi(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var o=0;o<Ir.length;o++)e=Ir[o](e,t)||e;return function(e){var t,n,i,o,r,a,s,l,c=e.attrsList;for(t=0,n=c.length;t<n;t++)if(i=o=c[t].name,r=c[t].value,Kr.test(i))if(e.hasBindings=!0,(a=fa(i.replace(Kr,"")))&&(i=i.replace(na,"")),ta.test(i))i=i.replace(ta,""),r=Si(r),(l=Qr.test(i))&&(i=i.slice(1,-1)),a&&(a.prop&&!l&&"innerHtml"===(i=k(i))&&(i="innerHTML"),a.camel&&!l&&(i=k(i)),a.sync&&(s=Bi(r,"$event"),l?qi(e,'"update:"+('+i+")",s,null,!1,0,c[t],!0):(qi(e,"update:"+k(i),s,null,!1,0,c[t]),S(i)!==k(i)&&qi(e,"update:"+S(i),s,null,!1,0,c[t])))),a&&a.prop||!e.component&&Wr(e.tag,e.attrsMap.type,i)?Ti(e,i,r,c[t],l):Ei(e,i,r,c[t],l);else if(Gr.test(i))i=i.replace(Gr,""),(l=Qr.test(i))&&(i=i.slice(1,-1)),qi(e,i,r,a,!1,0,c[t],l);else{var u=(i=i.replace(Kr,"")).match(ea),d=u&&u[1];l=!1,d&&(i=i.slice(0,-(d.length+1)),Qr.test(d)&&(d=d.slice(1,-1),l=!0)),$i(e,i,o,r,d,l,a,c[t])}else Ei(e,i,JSON.stringify(r),c[t]),!e.component&&"muted"===i&&Wr(e.tag,e.attrsMap.type,i)&&Ti(e,i,"true",c[t])}(e),e}function ua(e){var t;if(t=Fi(e,"v-for")){var n=function(e){var t=e.match(Jr);if(t){var n={};n.for=t[2].trim();var i=t[1].trim().replace(Zr,""),o=i.match(Xr);return o?(n.alias=i.replace(Xr,"").trim(),n.iterator1=o[1].trim(),o[2]&&(n.iterator2=o[2].trim())):n.alias=i,n}}(t);n&&O(e,n)}}function da(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function pa(e){var t=e.name.replace(ia,"");return t||"#"!==e.name[0]&&(t="default"),Qr.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function fa(e){var t=e.match(na);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}var ma=/^xmlns:NS\d+/,ha=/^NS\d+:/;function ga(e){return la(e.tag,e.attrsList.slice(),e.parent)}var va,_a,ba=[vr,_r,{preTransformNode:function(e,t){if("input"===e.tag){var n,i=e.attrsMap;if(!i["v-model"])return;if((i[":type"]||i["v-bind:type"])&&(n=Li(e,"type")),i.type||n||!i["v-bind"]||(n="("+i["v-bind"]+").type"),n){var o=Fi(e,"v-if",!0),r=o?"&&("+o+")":"",a=null!=Fi(e,"v-else",!0),s=Fi(e,"v-else-if",!0),l=ga(e);ua(l),Ni(l,"type","checkbox"),ca(l,t),l.processed=!0,l.if="("+n+")==='checkbox'"+r,da(l,{exp:l.if,block:l});var c=ga(e);Fi(c,"v-for",!0),Ni(c,"type","radio"),ca(c,t),da(l,{exp:"("+n+")==='radio'"+r,block:c});var u=ga(e);return Fi(u,"v-for",!0),Ni(u,":type",n),ca(u,t),da(l,{exp:o,block:u}),a?l.else=!0:s&&(l.elseif=s),l}}}}],ya={expectHTML:!0,modules:ba,directives:{model:function(e,t,n){var i=t.value,o=t.modifiers,r=e.tag,a=e.attrsMap.type;if(e.component)return zi(e,i,o),!1;if("select"===r)!function(e,t,n){var i='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(o&&o.number?"_n(val)":"val")+"});";qi(e,"change",i=i+" "+Bi(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),null,!0)}(e,i);else if("input"===r&&"checkbox"===a)!function(e,t,n){var i=n&&n.number,o=Li(e,"value")||"null",r=Li(e,"true-value")||"true",a=Li(e,"false-value")||"false";Ti(e,"checked","Array.isArray("+t+")?_i("+t+","+o+")>-1"+("true"===r?":("+t+")":":_q("+t+","+r+")")),qi(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+r+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Bi(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Bi(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Bi(t,"$$c")+"}",null,!0)}(e,i,o);else if("input"===r&&"radio"===a)!function(e,t,n){var i=n&&n.number,o=Li(e,"value")||"null";Ti(e,"checked","_q("+t+","+(o=i?"_n("+o+")":o)+")"),qi(e,"change",Bi(t,o),null,!0)}(e,i,o);else if("input"===r||"textarea"===r)!function(e,t,n){var i=e.attrsMap.type,o=n||{},r=o.lazy,a=o.number,s=o.trim,l=!r&&"range"!==i,c=r?"change":"range"===i?Gi:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var d=Bi(t,u);l&&(d="if($event.target.composing)return;"+d),Ti(e,"value","("+t+")"),qi(e,c,d,null,!0),(s||a)&&qi(e,"blur","$forceUpdate()")}(e,i,o);else if(!z.isReservedTag(r))return zi(e,i,o),!1;return!0},text:function(e,t){t.value&&Ti(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Ti(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:br,mustUseProp:$n,canBeLeftOpenTag:yr,isReservedTag:Gn,getTagNamespace:Kn,staticKeys:ba.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")},wa=w(function(e){return h("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});var xa=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,ka=/\([^)]*?\);*$/,Aa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ca={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Sa={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Ma=function(e){return"if("+e+")return null;"},Pa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Ma("$event.target !== $event.currentTarget"),ctrl:Ma("!$event.ctrlKey"),shift:Ma("!$event.shiftKey"),alt:Ma("!$event.altKey"),meta:Ma("!$event.metaKey"),left:Ma("'button' in $event && $event.button !== 0"),middle:Ma("'button' in $event && $event.button !== 1"),right:Ma("'button' in $event && $event.button !== 2")};function Oa(e,t){var n=t?"nativeOn:":"on:",i="",o="";for(var r in e){var a=Ta(e[r]);e[r]&&e[r].dynamic?o+=r+","+a+",":i+='"'+r+'":'+a+","}return i="{"+i.slice(0,-1)+"}",o?n+"_d("+i+",["+o.slice(0,-1)+"])":n+i}function Ta(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Ta(e)}).join(",")+"]";var t=Aa.test(e.value),n=xa.test(e.value),i=Aa.test(e.value.replace(ka,""));if(e.modifiers){var o="",r="",a=[];for(var s in e.modifiers)if(Pa[s])r+=Pa[s],Ca[s]&&a.push(s);else if("exact"===s){var l=e.modifiers;r+=Ma(["ctrl","shift","alt","meta"].filter(function(e){return!l[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(o+="if(!$event.type.indexOf('key')&&"+a.map(Ea).join("&&")+")return null;"),r&&(o+=r),"function($event){"+o+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":i?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(i?"return "+e.value:e.value)+"}"}function Ea(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ca[e],i=Sa[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}var Na={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:E},$a=function(e){this.options=e,this.warn=e.warn||Pi,this.transforms=Oi(e.modules,"transformCode"),this.dataGenFns=Oi(e.modules,"genData"),this.directives=O(O({},Na),e.directives);var t=e.isReservedTag||N;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function ja(e,t){var n=new $a(t);return{render:"with(this){return "+(e?qa(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function qa(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return La(e,t);if(e.once&&!e.onceProcessed)return Fa(e,t);if(e.for&&!e.forProcessed)return Ra(e,t);if(e.if&&!e.ifProcessed)return Da(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',i=Ha(e,t),o="_t("+n+(i?","+i:""),r=e.attrs||e.dynamicAttrs?Wa((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:k(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];return!r&&!a||i||(o+=",null"),r&&(o+=","+r),a&&(o+=(r?"":",null")+","+a),o+")"}(e,t);var n;if(e.component)n=function(e,t,n){var i=t.inlineTemplate?null:Ha(t,n,!0);return"_c("+e+","+za(t,n)+(i?","+i:"")+")"}(e.component,e,t);else{var i;(!e.plain||e.pre&&t.maybeComponent(e))&&(i=za(e,t));var o=e.inlineTemplate?null:Ha(e,t,!0);n="_c('"+e.tag+"'"+(i?","+i:"")+(o?","+o:"")+")"}for(var r=0;r<t.transforms.length;r++)n=t.transforms[r](e,n);return n}return Ha(e,t)||"void 0"}function La(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+qa(e,t)+"}"),t.pre=n,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function Fa(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Da(e,t);if(e.staticInFor){for(var n="",i=e.parent;i;){if(i.for){n=i.key;break}i=i.parent}return n?"_o("+qa(e,t)+","+t.onceId+++","+n+")":qa(e,t)}return La(e,t)}function Da(e,t,n,i){return e.ifProcessed=!0,function e(t,n,i,o){if(!t.length)return o||"_e()";var r=t.shift();return r.exp?"("+r.exp+")?"+a(r.block)+":"+e(t,n,i,o):""+a(r.block);function a(e){return i?i(e,n):e.once?Fa(e,n):qa(e,n)}}(e.ifConditions.slice(),t,n,i)}function Ra(e,t,n,i){var o=e.for,r=e.alias,a=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,(i||"_l")+"(("+o+"),function("+r+a+s+"){return "+(n||qa)(e,t)+"})"}function za(e,t){var n="{",i=function(e,t){var n=e.directives;if(n){var i,o,r,a,s="directives:[",l=!1;for(i=0,o=n.length;i<o;i++){r=n[i],a=!0;var c=t.directives[r.name];c&&(a=!!c(e,r,t.warn)),a&&(l=!0,s+='{name:"'+r.name+'",rawName:"'+r.rawName+'"'+(r.value?",value:("+r.value+"),expression:"+JSON.stringify(r.value):"")+(r.arg?",arg:"+(r.isDynamicArg?r.arg:'"'+r.arg+'"'):"")+(r.modifiers?",modifiers:"+JSON.stringify(r.modifiers):"")+"},")}return l?s.slice(0,-1)+"]":void 0}}(e,t);i&&(n+=i+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var o=0;o<t.dataGenFns.length;o++)n+=t.dataGenFns[o](e);if(e.attrs&&(n+="attrs:"+Wa(e.attrs)+","),e.props&&(n+="domProps:"+Wa(e.props)+","),e.events&&(n+=Oa(e.events,!1)+","),e.nativeEvents&&(n+=Oa(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=function(e,t,n){var i=e.for||Object.keys(t).some(function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||Ba(n)}),o=!!e.if;if(!i)for(var r=e.parent;r;){if(r.slotScope&&r.slotScope!==sa||r.for){i=!0;break}r.if&&(o=!0),r=r.parent}var a=Object.keys(t).map(function(e){return Ia(t[e],n)}).join(",");return"scopedSlots:_u(["+a+"]"+(i?",null,true":"")+(!i&&o?",null,false,"+function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var r=function(e,t){var n=e.children[0];if(n&&1===n.type){var i=ja(n,t.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);r&&(n+=r+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Wa(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ba(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ba))}function Ia(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Da(e,t,Ia,"null");if(e.for&&!e.forProcessed)return Ra(e,t,Ia);var i=e.slotScope===sa?"":String(e.slotScope),o="function("+i+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Ha(e,t)||"undefined")+":undefined":Ha(e,t)||"undefined":qa(e,t))+"}",r=i?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+o+r+"}"}function Ha(e,t,n,i,o){var r=e.children;if(r.length){var a=r[0];if(1===r.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(i||qa)(a,t)+s}var l=n?function(e,t){for(var n=0,i=0;i<e.length;i++){var o=e[i];if(1===o.type){if(Ua(o)||o.ifConditions&&o.ifConditions.some(function(e){return Ua(e.block)})){n=2;break}(t(o)||o.ifConditions&&o.ifConditions.some(function(e){return t(e.block)}))&&(n=1)}}return n}(r,t.maybeComponent):0,c=o||Va;return"["+r.map(function(e){return c(e,t)}).join(",")+"]"+(l?","+l:"")}}function Ua(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function Va(e,t){return 1===e.type?qa(e,t):3===e.type&&e.isComment?(i=e,"_e("+JSON.stringify(i.text)+")"):"_v("+(2===(n=e).type?n.expression:Ya(JSON.stringify(n.text)))+")";var n,i}function Wa(e){for(var t="",n="",i=0;i<e.length;i++){var o=e[i],r=Ya(o.value);o.dynamic?n+=o.name+","+r+",":t+='"'+o.name+'":'+r+","}return t="{"+t.slice(0,-1)+"}",n?"_d("+t+",["+n.slice(0,-1)+"])":t}function Ya(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function Ga(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),E}}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b");var Ka,Ja,Xa=(Ka=function(e,t){var n=function(e,t){zr=t.warn||Pi,Vr=t.isPreTag||N,Wr=t.mustUseProp||N,Yr=t.getTagNamespace||N,t.isReservedTag,Ir=Oi(t.modules,"transformNode"),Hr=Oi(t.modules,"preTransformNode"),Ur=Oi(t.modules,"postTransformNode"),Br=t.delimiters;var n,i,o=[],r=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,l=!1;function c(e){if(u(e),s||e.processed||(e=ca(e,t)),o.length||e===n||n.if&&(e.elseif||e.else)&&da(n,{exp:e.elseif,block:e}),i&&!e.forbidden)if(e.elseif||e.else)a=e,(c=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(i.children))&&c.if&&da(c,{exp:a.elseif,block:a});else{if(e.slotScope){var r=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[r]=e}i.children.push(e),e.parent=i}var a,c;e.children=e.children.filter(function(e){return!e.slotScope}),u(e),e.pre&&(s=!1),Vr(e.tag)&&(l=!1);for(var d=0;d<Ur.length;d++)Ur[d](e,t)}function u(e){if(!l)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return function(e,t){for(var n,i,o=[],r=t.expectHTML,a=t.isUnaryTag||N,s=t.canBeLeftOpenTag||N,l=0;e;){if(n=e,i&&Nr(i)){var c=0,u=i.toLowerCase(),d=$r[u]||($r[u]=new RegExp("([\\s\\S]*?)(</"+u+"[^>]*>)","i")),p=e.replace(d,function(e,n,i){return c=i.length,Nr(u)||"noscript"===u||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Dr(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});l+=e.length-p.length,e=p,S(u,l-c,l)}else{var f=e.indexOf("<");if(0===f){if(Tr.test(e)){var m=e.indexOf("--\x3e");if(m>=0){t.shouldKeepComment&&t.comment(e.substring(4,m),l,l+m+3),k(m+3);continue}}if(Er.test(e)){var h=e.indexOf("]>");if(h>=0){k(h+2);continue}}var g=e.match(Or);if(g){k(g[0].length);continue}var v=e.match(Pr);if(v){var _=l;k(v[0].length),S(v[1],_,l);continue}var b=A();if(b){C(b),Dr(b.tagName,e)&&k(1);continue}}var y=void 0,w=void 0,x=void 0;if(f>=0){for(w=e.slice(f);!(Pr.test(w)||Sr.test(w)||Tr.test(w)||Er.test(w)||(x=w.indexOf("<",1))<0);)f+=x,w=e.slice(f);y=e.substring(0,f)}f<0&&(y=e),y&&k(y.length),t.chars&&y&&t.chars(y,l-y.length,l)}if(e===n){t.chars&&t.chars(e);break}}function k(t){l+=t,e=e.substring(t)}function A(){var t=e.match(Sr);if(t){var n,i,o={tagName:t[1],attrs:[],start:l};for(k(t[0].length);!(n=e.match(Mr))&&(i=e.match(kr)||e.match(xr));)i.start=l,k(i[0].length),i.end=l,o.attrs.push(i);if(n)return o.unarySlash=n[1],k(n[0].length),o.end=l,o}}function C(e){var n=e.tagName,l=e.unarySlash;r&&("p"===i&&wr(n)&&S(i),s(n)&&i===n&&S(n));for(var c=a(n)||!!l,u=e.attrs.length,d=new Array(u),p=0;p<u;p++){var f=e.attrs[p],m=f[3]||f[4]||f[5]||"",h="a"===n&&"href"===f[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;d[p]={name:f[1],value:Rr(m,h)}}c||(o.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d,start:e.start,end:e.end}),i=n),t.start&&t.start(n,d,c,e.start,e.end)}function S(e,n,r){var a,s;if(null==n&&(n=l),null==r&&(r=l),e)for(s=e.toLowerCase(),a=o.length-1;a>=0&&o[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=o.length-1;c>=a;c--)t.end&&t.end(o[c].tag,n,r);o.length=a,i=a&&o[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}S()}(e,{warn:zr,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,r,a,u,d){var p=i&&i.ns||Yr(e);J&&"svg"===p&&(r=function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];ma.test(i.name)||(i.name=i.name.replace(ha,""),t.push(i))}return t}(r));var f,m=la(e,r,i);p&&(m.ns=p),"style"!==(f=m).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||oe()||(m.forbidden=!0);for(var h=0;h<Hr.length;h++)m=Hr[h](m,t)||m;s||(function(e){null!=Fi(e,"v-pre")&&(e.pre=!0)}(m),m.pre&&(s=!0)),Vr(m.tag)&&(l=!0),s?function(e){var t=e.attrsList,n=t.length;if(n)for(var i=e.attrs=new Array(n),o=0;o<n;o++)i[o]={name:t[o].name,value:JSON.stringify(t[o].value)},null!=t[o].start&&(i[o].start=t[o].start,i[o].end=t[o].end);else e.pre||(e.plain=!0)}(m):m.processed||(ua(m),function(e){var t=Fi(e,"v-if");if(t)e.if=t,da(e,{exp:t,block:e});else{null!=Fi(e,"v-else")&&(e.else=!0);var n=Fi(e,"v-else-if");n&&(e.elseif=n)}}(m),function(e){null!=Fi(e,"v-once")&&(e.once=!0)}(m)),n||(n=m),a?c(m):(i=m,o.push(m))},end:function(e,t,n){var r=o[o.length-1];o.length-=1,i=o[o.length-1],c(r)},chars:function(e,t,n){if(i&&(!J||"textarea"!==i.tag||i.attrsMap.placeholder!==e)){var o,c,u,d=i.children;(e=l||e.trim()?"script"===(o=i).tag||"style"===o.tag?e:aa(e):d.length?a?"condense"===a&&oa.test(e)?"":" ":r?" ":"":"")&&(l||"condense"!==a||(e=e.replace(ra," ")),!s&&" "!==e&&(c=function(e,t){var n=Br?gr(Br):mr;if(n.test(e)){for(var i,o,r,a=[],s=[],l=n.lastIndex=0;i=n.exec(e);){(o=i.index)>l&&(s.push(r=e.slice(l,o)),a.push(JSON.stringify(r)));var c=Si(i[1].trim());a.push("_s("+c+")"),s.push({"@binding":c}),l=o+i[0].length}return l<e.length&&(s.push(r=e.slice(l)),a.push(JSON.stringify(r))),{expression:a.join("+"),tokens:s}}}(e))?u={type:2,expression:c.expression,tokens:c.tokens,text:e}:" "===e&&d.length&&" "===d[d.length-1].text||(u={type:3,text:e}),u&&d.push(u))}},comment:function(e,t,n){if(i){var o={type:3,text:e,isComment:!0};i.children.push(o)}}}),n}(e.trim(),t);!1!==t.optimize&&function(e,t){e&&(va=wa(t.staticKeys||""),_a=t.isReservedTag||N,function e(t){if(t.static=function(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||g(e.tag)||!_a(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(va))))}(t),1===t.type){if(!_a(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,i=t.children.length;n<i;n++){var o=t.children[n];e(o),o.static||(t.static=!1)}if(t.ifConditions)for(var r=1,a=t.ifConditions.length;r<a;r++){var s=t.ifConditions[r].block;e(s),s.static||(t.static=!1)}}}(e),function e(t,n){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=n),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var i=0,o=t.children.length;i<o;i++)e(t.children[i],n||!!t.for);if(t.ifConditions)for(var r=1,a=t.ifConditions.length;r<a;r++)e(t.ifConditions[r].block,n)}}(e,!1))}(n,t);var i=ja(n,t);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}},function(e){function t(t,n){var i=Object.create(e),o=[],r=[];if(n)for(var a in n.modules&&(i.modules=(e.modules||[]).concat(n.modules)),n.directives&&(i.directives=O(Object.create(e.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(i[a]=n[a]);i.warn=function(e,t,n){(n?r:o).push(e)};var s=Ka(t.trim(),i);return s.errors=o,s.tips=r,s}return{compile:t,compileToFunctions:function(e){var t=Object.create(null);return function(n,i,o){(i=O({},i)).warn,delete i.warn;var r=i.delimiters?String(i.delimiters)+n:n;if(t[r])return t[r];var a=e(n,i),s={},l=[];return s.render=Ga(a.render,l),s.staticRenderFns=a.staticRenderFns.map(function(e){return Ga(e,l)}),t[r]=s}}(t)}})(ya),Za=(Xa.compile,Xa.compileToFunctions);function Qa(e){return(Ja=Ja||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Ja.innerHTML.indexOf(" ")>0}var es=!!W&&Qa(!1),ts=!!W&&Qa(!0),ns=w(function(e){var t=Zn(e);return t&&t.innerHTML}),is=An.prototype.$mount;An.prototype.$mount=function(e,t){if((e=e&&Zn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=ns(i));else{if(!i.nodeType)return this;i=i.innerHTML}else e&&(i=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(i){var o=Za(i,{outputSourceRange:!1,shouldDecodeNewlines:es,shouldDecodeNewlinesForHref:ts,delimiters:n.delimiters,comments:n.comments},this),r=o.render,a=o.staticRenderFns;n.render=r,n.staticRenderFns=a}}return is.call(this,e,t)},An.compile=Za,t.exports=An}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{timers:168}],179:[function(e,t,n){(function(e,n){"use strict";var i=Object.freeze({});function o(e){return null==e}function r(e){return null!=e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function u(e){return c.call(e).slice(8,-1)}function d(e){return"[object Object]"===c.call(e)}function p(e){return"[object RegExp]"===c.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function m(e){return r(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||d(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function g(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),i=e.split(","),o=0;o<i.length;o++)n[i[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var _=v("slot,component",!0),b=v("key,ref,slot,slot-scope,is");function y(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var w=Object.prototype.hasOwnProperty;function x(e,t){return w.call(e,t)}function k(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var A=/-(\w)/g,C=k(function(e){return e.replace(A,function(e,t){return t?t.toUpperCase():""})}),S=k(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),M=/\B([A-Z])/g,P=k(function(e){return e.replace(M,"-$1").toLowerCase()});var O=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function T(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function E(e,t){for(var n in t)e[n]=t[n];return e}function N(e){for(var t={},n=0;n<e.length;n++)e[n]&&E(t,e[n]);return t}function $(e,t,n){}var j=function(e,t,n){return!1},q=function(e){return e};function L(e,t){if(e===t)return!0;var n=l(e),i=l(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var o=Array.isArray(e),r=Array.isArray(t);if(o&&r)return e.length===t.length&&e.every(function(e,n){return L(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||r)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return L(e[n],t[n])})}catch(e){return!1}}function F(e,t){for(var n=0;n<e.length;n++)if(L(e[n],t))return n;return-1}function D(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var R="data-server-rendered",z=["component","directive","filter"],B=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],I={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!0,devtools:!0,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:j,isReservedAttr:j,isUnknownElement:j,getTagNamespace:$,parsePlatformTagName:q,mustUseProp:j,async:!0,_lifecycleHooks:B},H=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function U(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function V(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var W=new RegExp("[^"+H.source+".$_\\d]");var Y,G="__proto__"in{},K="undefined"!=typeof window,J="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,X=J&&WXEnvironment.platform.toLowerCase(),Z=K&&window.navigator.userAgent.toLowerCase(),Q=Z&&/msie|trident/.test(Z),ee=Z&&Z.indexOf("msie 9.0")>0,te=Z&&Z.indexOf("edge/")>0,ne=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===X),ie=(Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z),Z&&Z.match(/firefox\/(\d+)/)),oe={}.watch,re=!1;if(K)try{var ae={};Object.defineProperty(ae,"passive",{get:function(){re=!0}}),window.addEventListener("test-passive",null,ae)}catch(e){}var se=function(){return void 0===Y&&(Y=!K&&!J&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),Y},le=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"==typeof e&&/native code/.test(e.toString())}var ue,de="undefined"!=typeof Symbol&&ce(Symbol)&&"undefined"!=typeof Reflect&&ce(Reflect.ownKeys);ue="undefined"!=typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var pe=$,fe=$,me=$,he=$,ge="undefined"!=typeof console,ve=/(?:^|[-_])(\w)/g;pe=function(e,t){var n=t?me(t):"";I.warnHandler?I.warnHandler.call(null,e,t,n):ge&&!I.silent&&console.error("[Vue warn]: "+e+n)},fe=function(e,t){ge&&!I.silent&&console.warn("[Vue tip]: "+e+(t?me(t):""))},he=function(e,t){if(e.$root===e)return"<Root>";var n="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e,i=n.name||n._componentTag,o=n.__file;if(!i&&o){var r=o.match(/([^/\\]+)\.vue$/);i=r&&r[1]}return(i?"<"+i.replace(ve,function(e){return e.toUpperCase()}).replace(/[-_]/g,"")+">":"<Anonymous>")+(o&&!1!==t?" at "+o:"")};me=function(e){if(e._isVue&&e.$parent){for(var t=[],n=0;e;){if(t.length>0){var i=t[t.length-1];if(i.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[i,n],n=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map(function(e,t){return""+(0===t?"---\x3e ":function(e,t){for(var n="";t;)t%2==1&&(n+=e),t>1&&(e+=e),t>>=1;return n}(" ",5+2*t))+(Array.isArray(e)?he(e[0])+"... ("+e[1]+" recursive calls)":he(e))}).join("\n")}return"\n\n(found in "+he(e)+")"};var _e=0,be=function(){this.id=_e++,this.subs=[]};be.prototype.addSub=function(e){this.subs.push(e)},be.prototype.removeSub=function(e){y(this.subs,e)},be.prototype.depend=function(){be.target&&be.target.addDep(this)},be.prototype.notify=function(){var e=this.subs.slice();I.async||e.sort(function(e,t){return e.id-t.id});for(var t=0,n=e.length;t<n;t++)e[t].update()},be.target=null;var ye=[];function we(e){ye.push(e),be.target=e}function xe(){ye.pop(),be.target=ye[ye.length-1]}var ke=function(e,t,n,i,o,r,a,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=o,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Ae={child:{configurable:!0}};Ae.child.get=function(){return this.componentInstance},Object.defineProperties(ke.prototype,Ae);var Ce=function(e){void 0===e&&(e="");var t=new ke;return t.text=e,t.isComment=!0,t};function Se(e){return new ke(void 0,void 0,void 0,String(e))}function Me(e){var t=new ke(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Pe=Array.prototype,Oe=Object.create(Pe);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Pe[e];V(Oe,e,function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var o,r=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),r})});var Te=Object.getOwnPropertyNames(Oe),Ee=!0;function Ne(e){Ee=e}var $e=function(e){var t;this.value=e,this.dep=new be,this.vmCount=0,V(e,"__ob__",this),Array.isArray(e)?(G?(t=Oe,e.__proto__=t):function(e,t,n){for(var i=0,o=n.length;i<o;i++){var r=n[i];V(e,r,t[r])}}(e,Oe,Te),this.observeArray(e)):this.walk(e)};function je(e,t){var n;if(l(e)&&!(e instanceof ke))return x(e,"__ob__")&&e.__ob__ instanceof $e?n=e.__ob__:Ee&&!se()&&(Array.isArray(e)||d(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new $e(e)),t&&n&&n.vmCount++,n}function qe(e,t,n,i,o){var r=new be,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!o&&je(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return be.target&&(r.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,i=0,o=t.length;i<o;i++)(n=t[i])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var a=s?s.call(e):n;t===a||t!=t&&a!=a||(i&&i(),s&&!l||(l?l.call(e,t):n=t,c=!o&&je(t),r.notify()))}})}}function Le(e,t,n){if((o(e)||s(e))&&pe("Cannot set reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&f(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var i=e.__ob__;return e._isVue||i&&i.vmCount?(pe("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),n):i?(qe(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function Fe(e,t){if((o(e)||s(e))&&pe("Cannot delete reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&f(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount?pe("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):x(e,t)&&(delete e[t],n&&n.dep.notify())}}$e.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)qe(e,t[n])},$e.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)je(e[t])};var De=I.optionMergeStrategies;function Re(e,t){if(!t)return e;for(var n,i,o,r=de?Reflect.ownKeys(t):Object.keys(t),a=0;a<r.length;a++)"__ob__"!==(n=r[a])&&(i=e[n],o=t[n],x(e,n)?i!==o&&d(i)&&d(o)&&Re(i,o):Le(e,n,o));return e}function ze(e,t,n){return n?function(){var i="function"==typeof t?t.call(n,n):t,o="function"==typeof e?e.call(n,n):e;return i?Re(i,o):o}:t?e?function(){return Re("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Be(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Ie(e,t,n,i){var o=Object.create(e||null);return t?(Ve(i,t,n),E(o,t)):o}De.el=De.propsData=function(e,t,n,i){return n||pe('option "'+i+'" can only be used during instance creation with the `new` keyword.'),He(e,t)},De.data=function(e,t,n){return n?ze(e,t,n):t&&"function"!=typeof t?(pe('The "data" option should be a function that returns a per-instance value in component definitions.',n),e):ze(e,t)},B.forEach(function(e){De[e]=Be}),z.forEach(function(e){De[e+"s"]=Ie}),De.watch=function(e,t,n,i){if(e===oe&&(e=void 0),t===oe&&(t=void 0),!t)return Object.create(e||null);if(Ve(i,t,n),!e)return t;var o={};for(var r in E(o,e),t){var a=o[r],s=t[r];a&&!Array.isArray(a)&&(a=[a]),o[r]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},De.props=De.methods=De.inject=De.computed=function(e,t,n,i){if(t&&Ve(i,t,n),!e)return t;var o=Object.create(null);return E(o,e),t&&E(o,t),o},De.provide=ze;var He=function(e,t){return void 0===t?e:t};function Ue(e){new RegExp("^[a-zA-Z][\\-\\.0-9_"+H.source+"]*$").test(e)||pe('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(_(e)||I.isReservedTag(e))&&pe("Do not use built-in or reserved HTML elements as component id: "+e)}function Ve(e,t,n){d(t)||pe('Invalid value for option "'+e+'": expected an Object, but got '+u(t)+".",n)}function We(e,t,n){if(function(e){for(var t in e.components)Ue(t)}(t),"function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var i,o,r={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(o=n[i])?r[C(o)]={type:null}:pe("props must be strings when using array syntax.");else if(d(n))for(var a in n)o=n[a],r[C(a)]=d(o)?o:{type:o};else pe('Invalid value for option "props": expected an Array or an Object, but got '+u(n)+".",t);e.props=r}}(t,n),function(e,t){var n=e.inject;if(n){var i=e.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)i[n[o]]={from:n[o]};else if(d(n))for(var r in n){var a=n[r];i[r]=d(a)?E({from:r},a):{from:a}}else pe('Invalid value for option "inject": expected an Array or an Object, but got '+u(n)+".",t)}}(t,n),function(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"function"==typeof i&&(t[n]={bind:i,update:i})}}(t),!t._base&&(t.extends&&(e=We(e,t.extends,n)),t.mixins))for(var i=0,o=t.mixins.length;i<o;i++)e=We(e,t.mixins[i],n);var r,a={};for(r in e)s(r);for(r in t)x(e,r)||s(r);function s(i){var o=De[i]||He;a[i]=o(e[i],t[i],n,i)}return a}function Ye(e,t,n,i){if("string"==typeof n){var o=e[t];if(x(o,n))return o[n];var r=C(n);if(x(o,r))return o[r];var a=S(r);if(x(o,a))return o[a];var s=o[n]||o[r]||o[a];return i&&!s&&pe("Failed to resolve "+t.slice(0,-1)+": "+n,e),s}}function Ge(e,t,n,i){var o=t[e],r=!x(n,e),a=n[e],s=Qe(Boolean,o.type);if(s>-1)if(r&&!x(o,"default"))a=!1;else if(""===a||a===P(e)){var c=Qe(String,o.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!x(t,"default"))return;var i=t.default;l(i)&&pe('Invalid default value for prop "'+n+'": Props with type Object/Array must use a factory function to return the default value.',e);if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof i&&"Function"!==Xe(t.type)?i.call(e):i}(i,o,e);var d=Ee;Ne(!0),je(a),Ne(d)}return function(e,t,n,i,o){if(e.required&&o)return void pe('Missing required prop: "'+t+'"',i);if(null==n&&!e.required)return;var r=e.type,a=!r||!0===r,s=[];if(r){Array.isArray(r)||(r=[r]);for(var l=0;l<r.length&&!a;l++){var c=Je(n,r[l]);s.push(c.expectedType||""),a=c.valid}}if(!a)return void pe(function(e,t,n){var i='Invalid prop: type check failed for prop "'+e+'". Expected '+n.map(S).join(", "),o=n[0],r=u(t),a=et(t,o),s=et(t,r);1===n.length&&tt(o)&&!function(){var e=[],t=arguments.length;for(;t--;)e[t]=arguments[t];return e.some(function(e){return"boolean"===e.toLowerCase()})}(o,r)&&(i+=" with value "+a);i+=", got "+r+" ",tt(r)&&(i+="with value "+s+".");return i}(t,n,s),i);var d=e.validator;d&&(d(n)||pe('Invalid prop: custom validator check failed for prop "'+t+'".',i))}(o,e,a,i,r),a}var Ke=/^(String|Number|Boolean|Function|Symbol)$/;function Je(e,t){var n,i=Xe(t);if(Ke.test(i)){var o=typeof e;(n=o===i.toLowerCase())||"object"!==o||(n=e instanceof t)}else n="Object"===i?d(e):"Array"===i?Array.isArray(e):e instanceof t;return{valid:n,expectedType:i}}function Xe(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Ze(e,t){return Xe(e)===Xe(t)}function Qe(e,t){if(!Array.isArray(t))return Ze(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(Ze(t[n],e))return n;return-1}function et(e,t){return"String"===t?'"'+e+'"':"Number"===t?""+Number(e):""+e}function tt(e){return["string","number","boolean"].some(function(t){return e.toLowerCase()===t})}function nt(e,t,n){we();try{if(t)for(var i=t;i=i.$parent;){var o=i.$options.errorCaptured;if(o)for(var r=0;r<o.length;r++)try{if(!1===o[r].call(i,e,t,n))return}catch(e){ot(e,i,"errorCaptured hook")}}ot(e,t,n)}finally{xe()}}function it(e,t,n,i,o){var r;try{(r=n?e.apply(t,n):e.call(t))&&!r._isVue&&m(r)&&!r._handled&&(r.catch(function(e){return nt(e,i,o+" (Promise/async)")}),r._handled=!0)}catch(e){nt(e,i,o)}return r}function ot(e,t,n){if(I.errorHandler)try{return I.errorHandler.call(null,e,t,n)}catch(t){t!==e&&rt(t,null,"config.errorHandler")}rt(e,t,n)}function rt(e,t,n){if(pe("Error in "+n+': "'+e.toString()+'"',t),!K&&!J||"undefined"==typeof console)throw e;console.error(e)}var at,st,lt=!1,ct=[],ut=!1;function dt(){ut=!1;var e=ct.slice(0);ct.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&ce(Promise)){var pt=Promise.resolve();at=function(){pt.then(dt),ne&&setTimeout($)},lt=!0}else if(Q||"undefined"==typeof MutationObserver||!ce(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())at=void 0!==n&&ce(n)?function(){n(dt)}:function(){setTimeout(dt,0)};else{var ft=1,mt=new MutationObserver(dt),ht=document.createTextNode(String(ft));mt.observe(ht,{characterData:!0}),at=function(){ft=(ft+1)%2,ht.data=String(ft)},lt=!0}function gt(e,t){var n;if(ct.push(function(){if(e)try{e.call(t)}catch(e){nt(e,t,"nextTick")}else n&&n(t)}),ut||(ut=!0,at()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var vt=v("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,require"),_t=function(e,t){pe('Property or method "'+t+'" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',e)},bt=function(e,t){pe('Property "'+t+'" must be accessed with "$data.'+t+'" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://vuejs.org/v2/api/#data',e)},yt="undefined"!=typeof Proxy&&ce(Proxy);if(yt){var wt=v("stop,prevent,self,ctrl,shift,alt,meta,exact");I.keyCodes=new Proxy(I.keyCodes,{set:function(e,t,n){return wt(t)?(pe("Avoid overwriting built-in modifier in config.keyCodes: ."+t),!1):(e[t]=n,!0)}})}var xt={has:function(e,t){var n=t in e,i=vt(t)||"string"==typeof t&&"_"===t.charAt(0)&&!(t in e.$data);return n||i||(t in e.$data?bt(e,t):_t(e,t)),n||!i}},kt={get:function(e,t){return"string"!=typeof t||t in e||(t in e.$data?bt(e,t):_t(e,t)),e[t]}};st=function(e){if(yt){var t=e.$options,n=t.render&&t.render._withStripped?kt:xt;e._renderProxy=new Proxy(e,n)}else e._renderProxy=e};var At,Ct,St=new ue;function Mt(e){!function e(t,n){var i,o;var r=Array.isArray(t);if(!r&&!l(t)||Object.isFrozen(t)||t instanceof ke)return;if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(r)for(i=t.length;i--;)e(t[i],n);else for(o=Object.keys(t),i=o.length;i--;)e(t[o[i]],n)}(e,St),St.clear()}var Pt=K&&window.performance;Pt&&Pt.mark&&Pt.measure&&Pt.clearMarks&&Pt.clearMeasures&&(At=function(e){return Pt.mark(e)},Ct=function(e,t,n){Pt.measure(e,t,n),Pt.clearMarks(t),Pt.clearMarks(n)});var Ot=k(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),i="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=i?e.slice(1):e,once:n,capture:i,passive:t}});function Tt(e,t){function n(){var e=arguments,i=n.fns;if(!Array.isArray(i))return it(i,null,arguments,t,"v-on handler");for(var o=i.slice(),r=0;r<o.length;r++)it(o[r],null,e,t,"v-on handler")}return n.fns=e,n}function Et(e,t,n,i,r,s){var l,c,u,d;for(l in e)c=e[l],u=t[l],d=Ot(l),o(c)?pe('Invalid handler for event "'+d.name+'": got '+String(c),s):o(u)?(o(c.fns)&&(c=e[l]=Tt(c,s)),a(d.once)&&(c=e[l]=r(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u);for(l in t)o(e[l])&&i((d=Ot(l)).name,t[l],d.capture)}function Nt(e,t,n){var i;e instanceof ke&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function l(){n.apply(this,arguments),y(i.fns,l)}o(s)?i=Tt([l]):r(s.fns)&&a(s.merged)?(i=s).fns.push(l):i=Tt([s,l]),i.merged=!0,e[t]=i}function $t(e,t,n,i,o){if(r(t)){if(x(t,n))return e[n]=t[n],o||delete t[n],!0;if(x(t,i))return e[n]=t[i],o||delete t[i],!0}return!1}function jt(e){return s(e)?[Se(e)]:Array.isArray(e)?function e(t,n){var i=[];var l,c,u,d;for(l=0;l<t.length;l++)o(c=t[l])||"boolean"==typeof c||(u=i.length-1,d=i[u],Array.isArray(c)?c.length>0&&(qt((c=e(c,(n||"")+"_"+l))[0])&&qt(d)&&(i[u]=Se(d.text+c[0].text),c.shift()),i.push.apply(i,c)):s(c)?qt(d)?i[u]=Se(d.text+c):""!==c&&i.push(Se(c)):qt(c)&&qt(d)?i[u]=Se(d.text+c.text):(a(t._isVList)&&r(c.tag)&&o(c.key)&&r(n)&&(c.key="__vlist"+n+"_"+l+"__"),i.push(c)));return i}(e):void 0}function qt(e){return r(e)&&r(e.text)&&!1===e.isComment}function Lt(e,t){if(e){for(var n=Object.create(null),i=de?Reflect.ownKeys(e):Object.keys(e),o=0;o<i.length;o++){var r=i[o];if("__ob__"!==r){for(var a=e[r].from,s=t;s;){if(s._provided&&x(s._provided,a)){n[r]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[r]){var l=e[r].default;n[r]="function"==typeof l?l.call(t):l}else pe('Injection "'+r+'" not found',t)}}return n}}function Ft(e,t){if(!e||!e.length)return{};for(var n={},i=0,o=e.length;i<o;i++){var r=e[i],a=r.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,r.context!==t&&r.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(r);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===r.tag?l.push.apply(l,r.children||[]):l.push(r)}}for(var c in n)n[c].every(Dt)&&delete n[c];return n}function Dt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Rt(e,t,n){var o,r=Object.keys(t).length>0,a=e?!!e.$stable:!r,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==i&&s===n.$key&&!r&&!n.$hasNormal)return n;for(var l in o={},e)e[l]&&"$"!==l[0]&&(o[l]=zt(t,l,e[l]))}else o={};for(var c in t)c in o||(o[c]=Bt(t,c));return e&&Object.isExtensible(e)&&(e._normalized=o),V(o,"$stable",a),V(o,"$key",s),V(o,"$hasNormal",r),o}function zt(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:jt(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function Bt(e,t){return function(){return e[t]}}function It(e,t){var n,i,o,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,o=e.length;i<o;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(l(e))if(de&&e[Symbol.iterator]){n=[];for(var c=e[Symbol.iterator](),u=c.next();!u.done;)n.push(t(u.value,n.length)),u=c.next()}else for(a=Object.keys(e),n=new Array(a.length),i=0,o=a.length;i<o;i++)s=a[i],n[i]=t(e[s],s,i);return r(n)||(n=[]),n._isVList=!0,n}function Ht(e,t,n,i){var o,r=this.$scopedSlots[e];r?(n=n||{},i&&(l(i)||pe("slot v-bind without argument expects an Object",this),n=E(E({},i),n)),o=r(n)||t):o=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function Ut(e){return Ye(this.$options,"filters",e,!0)||q}function Vt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Wt(e,t,n,i,o){var r=I.keyCodes[t]||n;return o&&i&&!I.keyCodes[t]?Vt(o,i):r?Vt(r,e):i?P(i)!==t:void 0}function Yt(e,t,n,i,o){if(n)if(l(n)){var r;Array.isArray(n)&&(n=N(n));var a=function(a){if("class"===a||"style"===a||b(a))r=e;else{var s=e.attrs&&e.attrs.type;r=i||I.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=C(a),c=P(a);l in r||c in r||(r[a]=n[a],o&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var s in n)a(s)}else pe("v-bind without argument expects an Object or Array value",this);return e}function Gt(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t?i:(Jt(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i)}function Kt(e,t,n){return Jt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Jt(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&Xt(e[i],t+"_"+i,n);else Xt(e,t,n)}function Xt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Zt(e,t){if(t)if(d(t)){var n=e.on=e.on?E({},e.on):{};for(var i in t){var o=n[i],r=t[i];n[i]=o?[].concat(o,r):r}}else pe("v-on without argument expects an Object value",this);return e}function Qt(e,t,n,i){t=t||{$stable:!n};for(var o=0;o<e.length;o++){var r=e[o];Array.isArray(r)?Qt(r,t,n):r&&(r.proxy&&(r.fn.proxy=!0),t[r.key]=r.fn)}return i&&(t.$key=i),t}function en(e,t){for(var n=0;n<t.length;n+=2){var i=t[n];"string"==typeof i&&i?e[t[n]]=t[n+1]:""!==i&&null!==i&&pe("Invalid value for dynamic directive argument (expected string or null): "+i,this)}return e}function tn(e,t){return"string"==typeof e?t+e:e}function nn(e){e._o=Kt,e._n=g,e._s=h,e._l=It,e._t=Ht,e._q=L,e._i=F,e._m=Gt,e._f=Ut,e._k=Wt,e._b=Yt,e._v=Se,e._e=Ce,e._u=Qt,e._g=Zt,e._d=en,e._p=tn}function on(e,t,n,o,r){var s,l=this,c=r.options;x(o,"_uid")?(s=Object.create(o))._original=o:(s=o,o=o._original);var u=a(c._compiled),d=!u;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||i,this.injections=Lt(c.inject,o),this.slots=function(){return l.$slots||Rt(e.scopedSlots,l.$slots=Ft(n,o)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Rt(e.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Rt(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,i){var r=fn(s,e,t,n,i,d);return r&&!Array.isArray(r)&&(r.fnScopeId=c._scopeId,r.fnContext=o),r}:this._c=function(e,t,n,i){return fn(s,e,t,n,i,d)}}function rn(e,t,n,i,o){var r=Me(e);return r.fnContext=n,r.fnOptions=i,(r.devtoolsMeta=r.devtoolsMeta||{}).renderContext=o,t.slot&&((r.data||(r.data={})).slot=t.slot),r}function an(e,t){for(var n in t)e[C(n)]=t[n]}nn(on.prototype);var sn={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;sn.prepatch(n,n)}else{(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},i=e.data.inlineTemplate;r(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,kn)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,o,r){An=!0;var a=o.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==i&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),c=!!(r||e.$options._renderChildren||l);e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o);if(e.$options._renderChildren=r,e.$attrs=o.data.attrs||i,e.$listeners=n||i,t&&e.$options.props){Ne(!1);for(var u=e._props,d=e.$options._propKeys||[],p=0;p<d.length;p++){var f=d[p],m=e.$options.props;u[f]=Ge(f,m,t,e)}Ne(!0),e.$options.propsData=t}n=n||i;var h=e.$options._parentListeners;e.$options._parentListeners=n,xn(e,n,h),c&&(e.$slots=Ft(r,o.context),e.$forceUpdate());An=!1}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,i=e.componentInstance;i._isMounted||(i._isMounted=!0,Pn(i,"mounted")),e.data.keepAlive&&(n._isMounted?((t=i)._inactive=!1,En.push(t)):Mn(i,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(n&&(t._directInactive=!0,Sn(t)))return;if(!t._inactive){t._inactive=!0;for(var i=0;i<t.$children.length;i++)e(t.$children[i]);Pn(t,"deactivated")}}(t,!0):t.$destroy())}},ln=Object.keys(sn);function cn(e,t,n,s,c){if(!o(e)){var u=n.$options._base;if(l(e)&&(e=u.extend(e)),"function"==typeof e){var d;if(o(e.cid)&&void 0===(e=function(e,t){if(a(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;var n=hn;n&&r(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n);if(a(e.loading)&&r(e.loadingComp))return e.loadingComp;if(n&&!r(e.owners)){var i=e.owners=[n],s=!0,c=null,u=null;n.$on("hook:destroyed",function(){return y(i,n)});var d=function(e){for(var t=0,n=i.length;t<n;t++)i[t].$forceUpdate();e&&(i.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},p=D(function(n){e.resolved=gn(n,t),s?i.length=0:d(!0)}),f=D(function(t){pe("Failed to resolve async component: "+String(e)+(t?"\nReason: "+t:"")),r(e.errorComp)&&(e.error=!0,d(!0))}),h=e(p,f);return l(h)&&(m(h)?o(e.resolved)&&h.then(p,f):m(h.component)&&(h.component.then(p,f),r(h.error)&&(e.errorComp=gn(h.error,t)),r(h.loading)&&(e.loadingComp=gn(h.loading,t),0===h.delay?e.loading=!0:c=setTimeout(function(){c=null,o(e.resolved)&&o(e.error)&&(e.loading=!0,d(!1))},h.delay||200)),r(h.timeout)&&(u=setTimeout(function(){u=null,o(e.resolved)&&f("timeout ("+h.timeout+"ms)")},h.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}(d=e,u)))return function(e,t,n,i,o){var r=Ce();return r.asyncFactory=e,r.asyncMeta={data:t,context:n,children:i,tag:o},r}(d,t,n,s,c);t=t||{},Zn(e),r(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),a=o[i],s=t.model.callback;r(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[i]=[s].concat(a)):o[i]=s}(e.options,t);var p=function(e,t,n){var i=t.options.props;if(!o(i)){var a={},s=e.attrs,l=e.props;if(r(s)||r(l))for(var c in i){var u=P(c),d=c.toLowerCase();c!==d&&s&&x(s,d)&&fe('Prop "'+d+'" is passed to component '+he(n||t)+', but the declared prop name is "'+c+'". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "'+u+'" instead of "'+c+'".'),$t(a,l,c,u,!0)||$t(a,s,c,u,!1)}return a}}(t,e,c);if(a(e.options.functional))return function(e,t,n,o,a){var s=e.options,l={},c=s.props;if(r(c))for(var u in c)l[u]=Ge(u,c,t||i);else r(n.attrs)&&an(l,n.attrs),r(n.props)&&an(l,n.props);var d=new on(n,l,a,o,e),p=s.render.call(null,d._c,d);if(p instanceof ke)return rn(p,n,d.parent,s,d);if(Array.isArray(p)){for(var f=jt(p)||[],m=new Array(f.length),h=0;h<f.length;h++)m[h]=rn(f[h],n,d.parent,s,d);return m}}(e,p,t,n,s);var f=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var h=t.slot;t={},h&&(t.slot=h)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<ln.length;n++){var i=ln[n],o=t[i],r=sn[i];o===r||o&&o._merged||(t[i]=o?un(r,o):r)}}(t);var g=e.options.name||c;return new ke("vue-component-"+e.cid+(g?"-"+g:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:p,listeners:f,tag:c,children:s},d)}pe("Invalid Component definition: "+String(e),n)}}function un(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}var dn=1,pn=2;function fn(e,t,n,i,c,u){return(Array.isArray(n)||s(n))&&(c=i,i=n,n=void 0),a(u)&&(c=pn),function(e,t,n,i,c){if(r(n)&&r(n.__ob__))return pe("Avoid using observed data object as vnode data: "+JSON.stringify(n)+"\nAlways create fresh vnode data objects in each render!",e),Ce();r(n)&&r(n.is)&&(t=n.is);if(!t)return Ce();r(n)&&r(n.key)&&!s(n.key)&&pe("Avoid using non-primitive value as key, use string/number value instead.",e);Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0);c===pn?i=jt(i):c===dn&&(i=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(i));var u,d;if("string"==typeof t){var p;d=e.$vnode&&e.$vnode.ns||I.getTagNamespace(t),I.isReservedTag(t)?(r(n)&&r(n.nativeOn)&&pe("The .native modifier for v-on is only valid on components but it was used on <"+t+">.",e),u=new ke(I.parsePlatformTagName(t),n,i,void 0,void 0,e)):u=n&&n.pre||!r(p=Ye(e.$options,"components",t))?new ke(t,n,i,void 0,void 0,e):cn(p,n,e,i,t)}else u=cn(t,n,e,i);return Array.isArray(u)?u:r(u)?(r(d)&&function e(t,n,i){t.ns=n;"foreignObject"===t.tag&&(n=void 0,i=!0);if(r(t.children))for(var s=0,l=t.children.length;s<l;s++){var c=t.children[s];r(c.tag)&&(o(c.ns)||a(i)&&"svg"!==c.tag)&&e(c,n,i)}}(u,d),r(n)&&function(e){l(e.style)&&Mt(e.style);l(e.class)&&Mt(e.class)}(n),u):Ce()}(e,t,n,i,c)}var mn,hn=null;function gn(e,t){return(e.__esModule||de&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function vn(e){return e.isComment&&e.asyncFactory}function _n(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(r(n)&&(r(n.componentOptions)||vn(n)))return n}}function bn(e,t){mn.$on(e,t)}function yn(e,t){mn.$off(e,t)}function wn(e,t){var n=mn;return function i(){null!==t.apply(null,arguments)&&n.$off(e,i)}}function xn(e,t,n){mn=e,Et(t,n||{},bn,yn,wn,e),mn=void 0}var kn=null,An=!1;function Cn(e){var t=kn;return kn=e,function(){kn=t}}function Sn(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Mn(e,t){if(t){if(e._directInactive=!1,Sn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Mn(e.$children[n]);Pn(e,"activated")}}function Pn(e,t){we();var n=e.$options[t],i=t+" hook";if(n)for(var o=0,r=n.length;o<r;o++)it(n[o],e,null,e,i);e._hasHookEvent&&e.$emit("hook:"+t),xe()}var On=100,Tn=[],En=[],Nn={},$n={},jn=!1,qn=!1,Ln=0;var Fn=0,Dn=Date.now;if(K&&!Q){var Rn=window.performance;Rn&&"function"==typeof Rn.now&&Dn()>document.createEvent("Event").timeStamp&&(Dn=function(){return Rn.now()})}function zn(){var e,t;for(Fn=Dn(),qn=!0,Tn.sort(function(e,t){return e.id-t.id}),Ln=0;Ln<Tn.length;Ln++)if((e=Tn[Ln]).before&&e.before(),t=e.id,Nn[t]=null,e.run(),null!=Nn[t]&&($n[t]=($n[t]||0)+1,$n[t]>On)){pe("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var n=En.slice(),i=Tn.slice();Ln=Tn.length=En.length=0,Nn={},$n={},jn=qn=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Mn(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&Pn(i,"updated")}}(i),le&&I.devtools&&le.emit("flush")}var Bn=0,In=function(e,t,n,i,o){this.vm=e,o&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Bn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ue,this.newDepIds=new ue,this.expression=t.toString(),"function"==typeof t?this.getter=t:(this.getter=function(e){if(!W.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=$,pe('Failed watching path: "'+t+'" Watcher only accepts simple dot-delimited paths. For full control, use a function instead.',e))),this.value=this.lazy?void 0:this.get()};In.prototype.get=function(){var e;we(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;nt(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Mt(e),xe(),this.cleanupDeps()}return e},In.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},In.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},In.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==Nn[t]){if(Nn[t]=!0,qn){for(var n=Tn.length-1;n>Ln&&Tn[n].id>e.id;)n--;Tn.splice(n+1,0,e)}else Tn.push(e);if(!jn){if(jn=!0,!I.async)return void zn();gt(zn)}}}(this)},In.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){nt(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},In.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},In.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},In.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Hn={enumerable:!0,configurable:!0,get:$,set:$};function Un(e,t,n){Hn.get=function(){return this[t][n]},Hn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Hn)}function Vn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},i=e._props={},o=e.$options._propKeys=[],r=!e.$parent;r||Ne(!1);var a=function(a){o.push(a);var s=Ge(a,t,n,e),l=P(a);(b(l)||I.isReservedAttr(l))&&pe('"'+l+'" is a reserved attribute and cannot be used as component prop.',e),qe(i,a,s,function(){r||An||pe("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+a+'"',e)}),a in e||Un(e,"_props",a)};for(var s in t)a(s);Ne(!0)}(e,t.props),t.methods&&function(e,t){var n=e.$options.props;for(var i in t)"function"!=typeof t[i]&&pe('Method "'+i+'" has type "'+typeof t[i]+'" in the component definition. Did you reference the function correctly?',e),n&&x(n,i)&&pe('Method "'+i+'" has already been defined as a prop.',e),i in e&&U(i)&&pe('Method "'+i+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[i]="function"!=typeof t[i]?$:O(t[i],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;d(t=e._data="function"==typeof t?function(e,t){we();try{return e.call(t,t)}catch(e){return nt(e,t,"data()"),{}}finally{xe()}}(t,e):t||{})||(t={},pe("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));var n=Object.keys(t),i=e.$options.props,o=e.$options.methods,r=n.length;for(;r--;){var a=n[r];o&&x(o,a)&&pe('Method "'+a+'" has already been defined as a data property.',e),i&&x(i,a)?pe('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):U(a)||Un(e,"_data",a)}je(t,!0)}(e):je(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),i=se();for(var o in t){var r=t[o],a="function"==typeof r?r:r.get;null==a&&pe('Getter is missing for computed property "'+o+'".',e),i||(n[o]=new In(e,a||$,$,Wn)),o in e?o in e.$data?pe('The computed property "'+o+'" is already defined in data.',e):e.$options.props&&o in e.$options.props&&pe('The computed property "'+o+'" is already defined as a prop.',e):Yn(e,o,r)}}(e,t.computed),t.watch&&t.watch!==oe&&function(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var o=0;o<i.length;o++)Jn(e,n,i[o]);else Jn(e,n,i)}}(e,t.watch)}var Wn={lazy:!0};function Yn(e,t,n){var i=!se();"function"==typeof n?(Hn.get=i?Gn(t):Kn(n),Hn.set=$):(Hn.get=n.get?i&&!1!==n.cache?Gn(t):Kn(n.get):$,Hn.set=n.set||$),Hn.set===$&&(Hn.set=function(){pe('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,Hn)}function Gn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),be.target&&t.depend(),t.value}}function Kn(e){return function(){return e.call(this,this)}}function Jn(e,t,n,i){return d(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}var Xn=0;function Zn(e){var t=e.options;if(e.super){var n=Zn(e.super);if(n!==e.superOptions){e.superOptions=n;var i=function(e){var t,n=e.options,i=e.sealedOptions;for(var o in n)n[o]!==i[o]&&(t||(t={}),t[o]=n[o]);return t}(e);i&&E(e.extendOptions,i),(t=e.options=We(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Qn(e){this instanceof Qn||pe("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}function ei(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,o=e._Ctor||(e._Ctor={});if(o[i])return o[i];var r=e.name||n.options.name;r&&Ue(r);var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=We(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)Un(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Yn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,z.forEach(function(e){a[e]=n[e]}),r&&(a.options.components[r]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=E({},a.options),o[i]=a,a}}function ti(e){return e&&(e.Ctor.options.name||e.tag)}function ni(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!p(e)&&e.test(t)}function ii(e,t){var n=e.cache,i=e.keys,o=e._vnode;for(var r in n){var a=n[r];if(a){var s=ti(a.componentOptions);s&&!t(s)&&oi(n,r,i,o)}}}function oi(e,t,n,i){var o=e[t];!o||i&&o.tag===i.tag||o.componentInstance.$destroy(),e[t]=null,y(n,t)}!function(e){e.prototype._init=function(e){var t,n,o=this;o._uid=Xn++,I.performance&&At&&(t="vue-perf-start:"+o._uid,n="vue-perf-end:"+o._uid,At(t)),o._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),i=t._parentVnode;n.parent=t.parent,n._parentVnode=i;var o=i.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(o,e):o.$options=We(Zn(o.constructor),e||{},o),st(o),o._self=o,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(o),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&xn(e,t)}(o),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=Ft(t._renderChildren,o),e.$scopedSlots=i,e._c=function(t,n,i,o){return fn(e,t,n,i,o,!1)},e.$createElement=function(t,n,i,o){return fn(e,t,n,i,o,!0)};var r=n&&n.data;qe(e,"$attrs",r&&r.attrs||i,function(){!An&&pe("$attrs is readonly.",e)},!0),qe(e,"$listeners",t._parentListeners||i,function(){!An&&pe("$listeners is readonly.",e)},!0)}(o),Pn(o,"beforeCreate"),function(e){var t=Lt(e.$options.inject,e);t&&(Ne(!1),Object.keys(t).forEach(function(n){qe(e,n,t[n],function(){pe('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+n+'"',e)})}),Ne(!0))}(o),Vn(o),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(o),Pn(o,"created"),I.performance&&At&&(o._name=he(o,!1),At(n),Ct("vue "+o._name+" init",t,n)),o.$options.el&&o.$mount(o.$options.el)}}(Qn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};t.set=function(){pe("Avoid replacing instance root $data. Use nested data properties instead.",this)},n.set=function(){pe("$props is readonly.",this)},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Le,e.prototype.$delete=Fe,e.prototype.$watch=function(e,t,n){if(d(t))return Jn(this,e,t,n);(n=n||{}).user=!0;var i=new In(this,e,t,n);if(n.immediate)try{t.call(this,i.value)}catch(e){nt(e,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(Qn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var i=this;if(Array.isArray(e))for(var o=0,r=e.length;o<r;o++)i.$on(e[o],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var n=this;function i(){n.$off(e,i),t.apply(n,arguments)}return i.fn=t,n.$on(e,i),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var i=0,o=e.length;i<o;i++)n.$off(e[i],t);return n}var r,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((r=a[s])===t||r.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=e.toLowerCase();n!==e&&t._events[n]&&fe('Event "'+n+'" is emitted in component '+he(t)+' but the handler is registered for "'+e+'". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "'+P(e)+'" instead of "'+e+'".');var i=t._events[e];if(i){i=i.length>1?T(i):i;for(var o=T(arguments,1),r='event handler for "'+e+'"',a=0,s=i.length;a<s;a++)it(i[a],t,o,t,r)}return t}}(Qn),function(e){e.prototype._update=function(e,t){var n=this,i=n.$el,o=n._vnode,r=Cn(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),r(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Pn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||y(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Pn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Qn),function(e){nn(e.prototype),e.prototype.$nextTick=function(e){return gt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,o=n._parentVnode;o&&(t.$scopedSlots=Rt(o.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=o;try{hn=t,e=i.call(t._renderProxy,t.$createElement)}catch(n){if(nt(n,t,"render"),t.$options.renderError)try{e=t.$options.renderError.call(t._renderProxy,t.$createElement,n)}catch(n){nt(n,t,"renderError"),e=t._vnode}else e=t._vnode}finally{hn=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof ke||(Array.isArray(e)&&pe("Multiple root nodes returned from render function. Render function should return a single root node.",t),e=Ce()),e.parent=o,e}}(Qn);var ri=[String,RegExp,Array],ai={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:ri,exclude:ri,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)oi(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){ii(e,function(e){return ni(t,e)})}),this.$watch("exclude",function(t){ii(e,function(e){return!ni(t,e)})})},render:function(){var e=this.$slots.default,t=_n(e),n=t&&t.componentOptions;if(n){var i=ti(n),o=this.include,r=this.exclude;if(o&&(!i||!ni(o,i))||r&&i&&ni(r,i))return t;var a=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,y(s,l),s.push(l)):(a[l]=t,s.push(l),this.max&&s.length>parseInt(this.max)&&oi(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return I},set:function(){pe("Do not replace the Vue.config object, set individual fields instead.")}};Object.defineProperty(e,"config",t),e.util={warn:pe,extend:E,mergeOptions:We,defineReactive:qe},e.set=Le,e.delete=Fe,e.nextTick=gt,e.observable=function(e){return je(e),e},e.options=Object.create(null),z.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,E(e.options.components,ai),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=T(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=We(this.options,e),this}}(e),ei(e),function(e){z.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&Ue(e),"component"===t&&d(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(Qn),Object.defineProperty(Qn.prototype,"$isServer",{get:se}),Object.defineProperty(Qn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Qn,"FunctionalRenderContext",{value:on}),Qn.version="2.6.11";var si=v("style,class"),li=v("input,textarea,option,select,progress"),ci=v("contenteditable,draggable,spellcheck"),ui=v("events,caret,typing,plaintext-only"),di=function(e,t){return gi(t)||"false"===t?"false":"contenteditable"===e&&ui(t)?t:"true"},pi=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),fi="http://www.w3.org/1999/xlink",mi=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},hi=function(e){return mi(e)?e.slice(6,e.length):""},gi=function(e){return null==e||!1===e};function vi(e){for(var t=e.data,n=e,i=e;r(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=_i(i.data,t));for(;r(n=n.parent);)n&&n.data&&(t=_i(t,n.data));return function(e,t){if(r(e)||r(t))return bi(e,yi(t));return""}(t.staticClass,t.class)}function _i(e,t){return{staticClass:bi(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function bi(e,t){return e?t?e+" "+t:e:t||""}function yi(e){return Array.isArray(e)?function(e){for(var t,n="",i=0,o=e.length;i<o;i++)r(t=yi(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):l(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var wi={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},xi=v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ki=v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ai=function(e){return xi(e)||ki(e)};var Ci=Object.create(null);var Si=v("text,number,password,search,email,tel,url");var Mi=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(wi[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Pi={create:function(e,t){Oi(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Oi(e,!0),Oi(t))},destroy:function(e){Oi(e,!0)}};function Oi(e,t){var n=e.data.ref;if(r(n)){var i=e.context,o=e.componentInstance||e.elm,a=i.$refs;t?Array.isArray(a[n])?y(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var Ti=new ke("",{},[]),Ei=["create","activate","update","remove","destroy"];function Ni(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,o=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===o||Si(i)&&Si(o)}(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&o(t.asyncFactory.error))}function $i(e,t,n){var i,o,a={};for(i=t;i<=n;++i)r(o=e[i].key)&&(a[o]=i);return a}var ji={create:qi,update:qi,destroy:function(e){qi(e,Ti)}};function qi(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,i,o,r=e===Ti,a=t===Ti,s=Fi(e.data.directives,e.context),l=Fi(t.data.directives,t.context),c=[],u=[];for(n in l)i=s[n],o=l[n],i?(o.oldValue=i.value,o.oldArg=i.arg,Ri(o,"update",t,e),o.def&&o.def.componentUpdated&&u.push(o)):(Ri(o,"bind",t,e),o.def&&o.def.inserted&&c.push(o));if(c.length){var d=function(){for(var n=0;n<c.length;n++)Ri(c[n],"inserted",t,e)};r?Nt(t,"insert",d):d()}u.length&&Nt(t,"postpatch",function(){for(var n=0;n<u.length;n++)Ri(u[n],"componentUpdated",t,e)});if(!r)for(n in s)l[n]||Ri(s[n],"unbind",e,e,a)}(e,t)}var Li=Object.create(null);function Fi(e,t){var n,i,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++)(i=e[n]).modifiers||(i.modifiers=Li),o[Di(i)]=i,i.def=Ye(t.$options,"directives",i.name,!0);return o}function Di(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Ri(e,t,n,i,o){var r=e.def&&e.def[t];if(r)try{r(n.elm,e,n,i,o)}catch(i){nt(i,n.context,"directive "+e.name+" "+t+" hook")}}var zi=[Pi,ji];function Bi(e,t){var n=t.componentOptions;if(!(r(n)&&!1===n.Ctor.options.inheritAttrs||o(e.data.attrs)&&o(t.data.attrs))){var i,a,s=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};for(i in r(c.__ob__)&&(c=t.data.attrs=E({},c)),c)a=c[i],l[i]!==a&&Ii(s,i,a);for(i in(Q||te)&&c.value!==l.value&&Ii(s,"value",c.value),l)o(c[i])&&(mi(i)?s.removeAttributeNS(fi,hi(i)):ci(i)||s.removeAttribute(i))}}function Ii(e,t,n){e.tagName.indexOf("-")>-1?Hi(e,t,n):pi(t)?gi(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):ci(t)?e.setAttribute(t,di(t,n)):mi(t)?gi(n)?e.removeAttributeNS(fi,hi(t)):e.setAttributeNS(fi,t,n):Hi(e,t,n)}function Hi(e,t,n){if(gi(n))e.removeAttribute(t);else{if(Q&&!ee&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var Ui={create:Bi,update:Bi};function Vi(e,t){var n=t.elm,i=t.data,a=e.data;if(!(o(i.staticClass)&&o(i.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=vi(t),l=n._transitionClasses;r(l)&&(s=bi(s,yi(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Wi,Yi={create:Vi,update:Vi},Gi="__r",Ki="__c";function Ji(e,t,n){var i=Wi;return function o(){null!==t.apply(null,arguments)&&Qi(e,o,n,i)}}var Xi=lt&&!(ie&&Number(ie[1])<=53);function Zi(e,t,n,i){if(Xi){var o=Fn,r=t;t=r._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return r.apply(this,arguments)}}Wi.addEventListener(e,t,re?{capture:n,passive:i}:n)}function Qi(e,t,n,i){(i||Wi).removeEventListener(e,t._wrapper||t,n)}function eo(e,t){if(!o(e.data.on)||!o(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Wi=t.elm,function(e){if(r(e[Gi])){var t=Q?"change":"input";e[t]=[].concat(e[Gi],e[t]||[]),delete e[Gi]}r(e[Ki])&&(e.change=[].concat(e[Ki],e.change||[]),delete e[Ki])}(n),Et(n,i,Zi,Qi,Ji,t.context),Wi=void 0}}var to,no={create:eo,update:eo};function io(e,t){if(!o(e.data.domProps)||!o(t.data.domProps)){var n,i,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in r(l.__ob__)&&(l=t.data.domProps=E({},l)),s)n in l||(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var c=o(i)?"":String(i);oo(a,c)&&(a.value=c)}else if("innerHTML"===n&&ki(a.tagName)&&o(a.innerHTML)){(to=to||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var u=to.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(i!==s[n])try{a[n]=i}catch(e){}}}}function oo(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,i=e._vModifiers;if(r(i)){if(i.number)return g(n)!==g(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var ro={create:io,update:io},ao=k(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var i=e.split(n);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t});function so(e){var t=lo(e.style);return e.staticStyle?E(e.staticStyle,t):t}function lo(e){return Array.isArray(e)?N(e):"string"==typeof e?ao(e):e}var co,uo=/^--/,po=/\s*!important$/,fo=function(e,t,n){if(uo.test(t))e.style.setProperty(t,n);else if(po.test(n))e.style.setProperty(P(t),n.replace(po,""),"important");else{var i=ho(t);if(Array.isArray(n))for(var o=0,r=n.length;o<r;o++)e.style[i]=n[o];else e.style[i]=n}},mo=["Webkit","Moz","ms"],ho=k(function(e){if(co=co||document.createElement("div").style,"filter"!==(e=C(e))&&e in co)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<mo.length;n++){var i=mo[n]+t;if(i in co)return i}});function go(e,t){var n=t.data,i=e.data;if(!(o(n.staticStyle)&&o(n.style)&&o(i.staticStyle)&&o(i.style))){var a,s,l=t.elm,c=i.staticStyle,u=i.normalizedStyle||i.style||{},d=c||u,p=lo(t.data.style)||{};t.data.normalizedStyle=r(p.__ob__)?E({},p):p;var f=function(e,t){var n,i={};if(t)for(var o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=so(o.data))&&E(i,n);(n=so(e.data))&&E(i,n);for(var r=e;r=r.parent;)r.data&&(n=so(r.data))&&E(i,n);return i}(t,!0);for(s in d)o(f[s])&&fo(l,s,"");for(s in f)(a=f[s])!==d[s]&&fo(l,s,null==a?"":a)}}var vo={create:go,update:go},_o=/\s+/;function bo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(_o).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function yo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(_o).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function wo(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&E(t,xo(e.name||"v")),E(t,e),t}return"string"==typeof e?xo(e):void 0}}var xo=k(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),ko=K&&!ee,Ao="transition",Co="animation",So="transition",Mo="transitionend",Po="animation",Oo="animationend";ko&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(So="WebkitTransition",Mo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Po="WebkitAnimation",Oo="webkitAnimationEnd"));var To=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Eo(e){To(function(){To(e)})}function No(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),bo(e,t))}function $o(e,t){e._transitionClasses&&y(e._transitionClasses,t),yo(e,t)}function jo(e,t,n){var i=Lo(e,t),o=i.type,r=i.timeout,a=i.propCount;if(!o)return n();var s=o===Ao?Mo:Oo,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l<a&&c()},r+1),e.addEventListener(s,u)}var qo=/\b(transform|all)(,|$)/;function Lo(e,t){var n,i=window.getComputedStyle(e),o=(i[So+"Delay"]||"").split(", "),r=(i[So+"Duration"]||"").split(", "),a=Fo(o,r),s=(i[Po+"Delay"]||"").split(", "),l=(i[Po+"Duration"]||"").split(", "),c=Fo(s,l),u=0,d=0;return t===Ao?a>0&&(n=Ao,u=a,d=r.length):t===Co?c>0&&(n=Co,u=c,d=l.length):d=(n=(u=Math.max(a,c))>0?a>c?Ao:Co:null)?n===Ao?r.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===Ao&&qo.test(i[So+"Property"])}}function Fo(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return Do(t)+Do(e[n])}))}function Do(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Ro(e,t){var n=e.elm;r(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=wo(e.data.transition);if(!o(i)&&!r(n._enterCb)&&1===n.nodeType){for(var a=i.css,s=i.type,c=i.enterClass,u=i.enterToClass,d=i.enterActiveClass,p=i.appearClass,f=i.appearToClass,m=i.appearActiveClass,h=i.beforeEnter,v=i.enter,_=i.afterEnter,b=i.enterCancelled,y=i.beforeAppear,w=i.appear,x=i.afterAppear,k=i.appearCancelled,A=i.duration,C=kn,S=kn.$vnode;S&&S.parent;)C=S.context,S=S.parent;var M=!C._isMounted||!e.isRootInsert;if(!M||w||""===w){var P=M&&p?p:c,O=M&&m?m:d,T=M&&f?f:u,E=M&&y||h,N=M&&"function"==typeof w?w:v,$=M&&x||_,j=M&&k||b,q=g(l(A)?A.enter:A);null!=q&&Bo(q,"enter",e);var L=!1!==a&&!ee,F=Ho(N),R=n._enterCb=D(function(){L&&($o(n,T),$o(n,O)),R.cancelled?(L&&$o(n,P),j&&j(n)):$&&$(n),n._enterCb=null});e.data.show||Nt(e,"insert",function(){var t=n.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),N&&N(n,R)}),E&&E(n),L&&(No(n,P),No(n,O),Eo(function(){$o(n,P),R.cancelled||(No(n,T),F||(Io(q)?setTimeout(R,q):jo(n,s,R)))})),e.data.show&&(t&&t(),N&&N(n,R)),L||F||R()}}}function zo(e,t){var n=e.elm;r(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=wo(e.data.transition);if(o(i)||1!==n.nodeType)return t();if(!r(n._leaveCb)){var a=i.css,s=i.type,c=i.leaveClass,u=i.leaveToClass,d=i.leaveActiveClass,p=i.beforeLeave,f=i.leave,m=i.afterLeave,h=i.leaveCancelled,v=i.delayLeave,_=i.duration,b=!1!==a&&!ee,y=Ho(f),w=g(l(_)?_.leave:_);r(w)&&Bo(w,"leave",e);var x=n._leaveCb=D(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&($o(n,u),$o(n,d)),x.cancelled?(b&&$o(n,c),h&&h(n)):(t(),m&&m(n)),n._leaveCb=null});v?v(k):k()}function k(){x.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),p&&p(n),b&&(No(n,c),No(n,d),Eo(function(){$o(n,c),x.cancelled||(No(n,u),y||(Io(w)?setTimeout(x,w):jo(n,s,x)))})),f&&f(n,x),b||y||x())}}function Bo(e,t,n){"number"!=typeof e?pe("<transition> explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",n.context):isNaN(e)&&pe("<transition> explicit "+t+" duration is NaN - the duration expression might be incorrect.",n.context)}function Io(e){return"number"==typeof e&&!isNaN(e)}function Ho(e){if(o(e))return!1;var t=e.fns;return r(t)?Ho(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Uo(e,t){!0!==t.data.show&&Ro(t)}var Vo=function(e){var t,n,i={},l=e.modules,c=e.nodeOps;for(t=0;t<Ei.length;++t)for(i[Ei[t]]=[],n=0;n<l.length;++n)r(l[n][Ei[t]])&&i[Ei[t]].push(l[n][Ei[t]]);function u(e){var t=c.parentNode(e);r(t)&&c.removeChild(t,e)}function d(e,t){return!t&&!e.ns&&!(I.ignoredElements.length&&I.ignoredElements.some(function(t){return p(t)?t.test(e.tag):t===e.tag}))&&I.isUnknownElement(e.tag)}var f=0;function m(e,t,n,o,s,l,u){if(r(e.elm)&&r(l)&&(e=l[u]=Me(e)),e.isRootInsert=!s,!function(e,t,n,o){var s=e.data;if(r(s)){var l=r(e.componentInstance)&&s.keepAlive;if(r(s=s.hook)&&r(s=s.init)&&s(e,!1),r(e.componentInstance))return h(e,t),g(n,e.elm,o),a(l)&&function(e,t,n,o){for(var a,s=e;s.componentInstance;)if(s=s.componentInstance._vnode,r(a=s.data)&&r(a=a.transition)){for(a=0;a<i.activate.length;++a)i.activate[a](Ti,s);t.push(s);break}g(n,e.elm,o)}(e,t,n,o),!0}}(e,t,n,o)){var p=e.data,m=e.children,v=e.tag;r(v)?(p&&p.pre&&f++,d(e,f)&&pe("Unknown custom element: <"+v+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?c.createElementNS(e.ns,v):c.createElement(v,e),w(e),_(e,m,t),r(p)&&y(e,t),g(n,e.elm,o),p&&p.pre&&f--):a(e.isComment)?(e.elm=c.createComment(e.text),g(n,e.elm,o)):(e.elm=c.createTextNode(e.text),g(n,e.elm,o))}}function h(e,t){r(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,b(e)?(y(e,t),w(e)):(Oi(e),t.push(e))}function g(e,t,n){r(e)&&(r(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function _(e,t,n){if(Array.isArray(t)){S(t);for(var i=0;i<t.length;++i)m(t[i],n,e.elm,null,!0,t,i)}else s(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function b(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return r(e.tag)}function y(e,n){for(var o=0;o<i.create.length;++o)i.create[o](Ti,e);r(t=e.data.hook)&&(r(t.create)&&t.create(Ti,e),r(t.insert)&&n.push(e))}function w(e){var t;if(r(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)r(t=n.context)&&r(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;r(t=kn)&&t!==e.context&&t!==e.fnContext&&r(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function x(e,t,n,i,o,r){for(;i<=o;++i)m(n[i],r,e,t,!1,n,i)}function k(e){var t,n,o=e.data;if(r(o))for(r(t=o.hook)&&r(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(r(t=e.children))for(n=0;n<e.children.length;++n)k(e.children[n])}function A(e,t,n){for(;t<=n;++t){var i=e[t];r(i)&&(r(i.tag)?(C(i),k(i)):u(i.elm))}}function C(e,t){if(r(t)||r(e.data)){var n,o=i.remove.length+1;for(r(t)?t.listeners+=o:t=function(e,t){function n(){0==--n.listeners&&u(e)}return n.listeners=t,n}(e.elm,o),r(n=e.componentInstance)&&r(n=n._vnode)&&r(n.data)&&C(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);r(n=e.data.hook)&&r(n=n.remove)?n(e,t):t()}else u(e.elm)}function S(e){for(var t={},n=0;n<e.length;n++){var i=e[n],o=i.key;r(o)&&(t[o]?pe("Duplicate keys detected: '"+o+"'. This may cause an update error.",i.context):t[o]=!0)}}function M(e,t,n,i){for(var o=n;o<i;o++){var a=t[o];if(r(a)&&Ni(e,a))return o}}function P(e,t,n,s,l,u){if(e!==t){r(t.elm)&&r(s)&&(t=s[l]=Me(t));var d=t.elm=e.elm;if(a(e.isAsyncPlaceholder))r(t.asyncFactory.resolved)?N(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(a(t.isStatic)&&a(e.isStatic)&&t.key===e.key&&(a(t.isCloned)||a(t.isOnce)))t.componentInstance=e.componentInstance;else{var p,f=t.data;r(f)&&r(p=f.hook)&&r(p=p.prepatch)&&p(e,t);var h=e.children,g=t.children;if(r(f)&&b(t)){for(p=0;p<i.update.length;++p)i.update[p](e,t);r(p=f.hook)&&r(p=p.update)&&p(e,t)}o(t.text)?r(h)&&r(g)?h!==g&&function(e,t,n,i,a){var s,l,u,d=0,p=0,f=t.length-1,h=t[0],g=t[f],v=n.length-1,_=n[0],b=n[v],y=!a;for(S(n);d<=f&&p<=v;)o(h)?h=t[++d]:o(g)?g=t[--f]:Ni(h,_)?(P(h,_,i,n,p),h=t[++d],_=n[++p]):Ni(g,b)?(P(g,b,i,n,v),g=t[--f],b=n[--v]):Ni(h,b)?(P(h,b,i,n,v),y&&c.insertBefore(e,h.elm,c.nextSibling(g.elm)),h=t[++d],b=n[--v]):Ni(g,_)?(P(g,_,i,n,p),y&&c.insertBefore(e,g.elm,h.elm),g=t[--f],_=n[++p]):(o(s)&&(s=$i(t,d,f)),o(l=r(_.key)?s[_.key]:M(_,t,d,f))?m(_,i,e,h.elm,!1,n,p):Ni(u=t[l],_)?(P(u,_,i,n,p),t[l]=void 0,y&&c.insertBefore(e,u.elm,h.elm)):m(_,i,e,h.elm,!1,n,p),_=n[++p]);d>f?x(e,o(n[v+1])?null:n[v+1].elm,n,p,v,i):p>v&&A(t,d,f)}(d,h,g,n,u):r(g)?(S(g),r(e.text)&&c.setTextContent(d,""),x(d,null,g,0,g.length-1,n)):r(h)?A(h,0,h.length-1):r(e.text)&&c.setTextContent(d,""):e.text!==t.text&&c.setTextContent(d,t.text),r(f)&&r(p=f.hook)&&r(p=p.postpatch)&&p(e,t)}}}function O(e,t,n){if(a(n)&&r(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var T=!1,E=v("attrs,class,staticClass,staticStyle,key");function N(e,t,n,i){var o,s=t.tag,l=t.data,c=t.children;if(i=i||l&&l.pre,t.elm=e,a(t.isComment)&&r(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(!function(e,t,n){return r(t.tag)?0===t.tag.indexOf("vue-component")||!d(t,n)&&t.tag.toLowerCase()===(e.tagName&&e.tagName.toLowerCase()):e.nodeType===(t.isComment?8:3)}(e,t,i))return!1;if(r(l)&&(r(o=l.hook)&&r(o=o.init)&&o(t,!0),r(o=t.componentInstance)))return h(t,n),!0;if(r(s)){if(r(c))if(e.hasChildNodes())if(r(o=l)&&r(o=o.domProps)&&r(o=o.innerHTML)){if(o!==e.innerHTML)return"undefined"==typeof console||T||(T=!0,console.warn("Parent: ",e),console.warn("server innerHTML: ",o),console.warn("client innerHTML: ",e.innerHTML)),!1}else{for(var u=!0,p=e.firstChild,f=0;f<c.length;f++){if(!p||!N(p,c[f],n,i)){u=!1;break}p=p.nextSibling}if(!u||p)return"undefined"==typeof console||T||(T=!0,console.warn("Parent: ",e),console.warn("Mismatching childNodes vs. VNodes: ",e.childNodes,c)),!1}else _(t,c,n);if(r(l)){var m=!1;for(var g in l)if(!E(g)){m=!0,y(t,n);break}!m&&l.class&&Mt(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s){if(!o(t)){var l,u=!1,d=[];if(o(e))u=!0,m(t,d);else{var p=r(e.nodeType);if(!p&&Ni(e,t))P(e,t,d,null,null,s);else{if(p){if(1===e.nodeType&&e.hasAttribute(R)&&(e.removeAttribute(R),n=!0),a(n)){if(N(e,t,d))return O(t,d,!0),e;pe("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}l=e,e=new ke(c.tagName(l).toLowerCase(),{},[],void 0,l)}var f=e.elm,h=c.parentNode(f);if(m(t,d,f._leaveCb?null:h,c.nextSibling(f)),r(t.parent))for(var g=t.parent,v=b(t);g;){for(var _=0;_<i.destroy.length;++_)i.destroy[_](g);if(g.elm=t.elm,v){for(var y=0;y<i.create.length;++y)i.create[y](Ti,g);var w=g.data.hook.insert;if(w.merged)for(var x=1;x<w.fns.length;x++)w.fns[x]()}else Oi(g);g=g.parent}r(h)?A([e],0,0):r(e.tag)&&k(e)}}return O(t,d,u),t.elm}r(e)&&k(e)}}({nodeOps:Mi,modules:[Ui,Yi,no,ro,vo,K?{create:Uo,activate:Uo,remove:function(e,t){!0!==e.data.show?zo(e,t):t()}}:{}].concat(zi)});ee&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Qo(e,"input")});var Wo={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Nt(n,"postpatch",function(){Wo.componentUpdated(e,t,n)}):Yo(e,t,n.context),e._vOptions=[].map.call(e.options,Jo)):("textarea"===n.tag||Si(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Xo),e.addEventListener("compositionend",Zo),e.addEventListener("change",Zo),ee&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Yo(e,t,n.context);var i=e._vOptions,o=e._vOptions=[].map.call(e.options,Jo);if(o.some(function(e,t){return!L(e,i[t])}))(e.multiple?t.value.some(function(e){return Ko(e,o)}):t.value!==t.oldValue&&Ko(t.value,o))&&Qo(e,"change")}}};function Yo(e,t,n){Go(e,t,n),(Q||te)&&setTimeout(function(){Go(e,t,n)},0)}function Go(e,t,n){var i=t.value,o=e.multiple;if(!o||Array.isArray(i)){for(var r,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],o)r=F(i,Jo(a))>-1,a.selected!==r&&(a.selected=r);else if(L(Jo(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}else pe('<select multiple v-model="'+t.expression+'"> expects an Array value for its binding, but got '+Object.prototype.toString.call(i).slice(8,-1),n)}function Ko(e,t){return t.every(function(t){return!L(t,e)})}function Jo(e){return"_value"in e?e._value:e.value}function Xo(e){e.target.composing=!0}function Zo(e){e.target.composing&&(e.target.composing=!1,Qo(e.target,"input"))}function Qo(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function er(e){return!e.componentInstance||e.data&&e.data.transition?e:er(e.componentInstance._vnode)}var tr={model:Wo,show:{bind:function(e,t,n){var i=t.value,o=(n=er(n)).data&&n.data.transition,r=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&o?(n.data.show=!0,Ro(n,function(){e.style.display=r})):e.style.display=i?r:"none"},update:function(e,t,n){var i=t.value;!i!=!t.oldValue&&((n=er(n)).data&&n.data.transition?(n.data.show=!0,i?Ro(n,function(){e.style.display=e.__vOriginalDisplay}):zo(n,function(){e.style.display="none"})):e.style.display=i?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,i,o){o||(e.style.display=e.__vOriginalDisplay)}}},nr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ir(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ir(_n(t.children)):e}function or(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var o=n._parentListeners;for(var r in o)t[C(r)]=o[r];return t}function rr(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var ar=function(e){return e.tag||vn(e)},sr=function(e){return"show"===e.name},lr={name:"transition",props:nr,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(ar)).length){n.length>1&&pe("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var i=this.mode;i&&"in-out"!==i&&"out-in"!==i&&pe("invalid <transition> mode: "+i,this.$parent);var o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var r=ir(o);if(!r)return o;if(this._leaving)return rr(e,o);var a="__transition-"+this._uid+"-";r.key=null==r.key?r.isComment?a+"comment":a+r.tag:s(r.key)?0===String(r.key).indexOf(a)?r.key:a+r.key:r.key;var l=(r.data||(r.data={})).transition=or(this),c=this._vnode,u=ir(c);if(r.data.directives&&r.data.directives.some(sr)&&(r.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(r,u)&&!vn(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=E({},l);if("out-in"===i)return this._leaving=!0,Nt(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),rr(e,o);if("in-out"===i){if(vn(r))return c;var p,f=function(){p()};Nt(l,"afterEnter",f),Nt(l,"enterCancelled",f),Nt(d,"delayLeave",function(e){p=e})}}return o}}},cr=E({tag:String,moveClass:String},nr);function ur(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function dr(e){e.data.newPos=e.elm.getBoundingClientRect()}function pr(e){var t=e.data.pos,n=e.data.newPos,i=t.left-n.left,o=t.top-n.top;if(i||o){e.data.moved=!0;var r=e.elm.style;r.transform=r.WebkitTransform="translate("+i+"px,"+o+"px)",r.transitionDuration="0s"}}delete cr.mode;var fr={Transition:lr,TransitionGroup:{props:cr,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var o=Cn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,o=this.$slots.default||[],r=this.children=[],a=or(this),s=0;s<o.length;s++){var l=o[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))r.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a;else{var c=l.componentOptions,u=c?c.Ctor.options.name||c.tag||"":l.tag;pe("<transition-group> children must be keyed: <"+u+">")}}if(i){for(var d=[],p=[],f=0;f<i.length;f++){var m=i[f];m.data.transition=a,m.data.pos=m.elm.getBoundingClientRect(),n[m.key]?d.push(m):p.push(m)}this.kept=e(t,null,d),this.removed=p}return e(t,null,r)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(ur),e.forEach(dr),e.forEach(pr),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,i=n.style;No(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Mo,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Mo,e),n._moveCb=null,$o(n,t))})}}))},methods:{hasMove:function(e,t){if(!ko)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){yo(n,e)}),bo(n,t),n.style.display="none",this.$el.appendChild(n);var i=Lo(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};Qn.config.mustUseProp=function(e,t,n){return"value"===n&&li(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Qn.config.isReservedTag=Ai,Qn.config.isReservedAttr=si,Qn.config.getTagNamespace=function(e){return ki(e)?"svg":"math"===e?"math":void 0},Qn.config.isUnknownElement=function(e){if(!K)return!0;if(Ai(e))return!1;if(e=e.toLowerCase(),null!=Ci[e])return Ci[e];var t=document.createElement(e);return e.indexOf("-")>-1?Ci[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Ci[e]=/HTMLUnknownElement/.test(t.toString())},E(Qn.options.directives,tr),E(Qn.options.components,fr),Qn.prototype.__patch__=K?Vo:$,Qn.prototype.$mount=function(e,t){return function(e,t,n){var i;return e.$el=t,e.$options.render||(e.$options.render=Ce,e.$options.template&&"#"!==e.$options.template.charAt(0)||e.$options.el||t?pe("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):pe("Failed to mount component: template or render function not defined.",e)),Pn(e,"beforeMount"),i=I.performance&&At?function(){var t=e._name,i=e._uid,o="vue-perf-start:"+i,r="vue-perf-end:"+i;At(o);var a=e._render();At(r),Ct("vue "+t+" render",o,r),At(o),e._update(a,n),At(r),Ct("vue "+t+" patch",o,r)}:function(){e._update(e._render(),n)},new In(e,i,$,{before:function(){e._isMounted&&!e._isDestroyed&&Pn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Pn(e,"mounted")),e}(this,e=e&&K?function(e){if("string"==typeof e){var t=document.querySelector(e);return t||(pe("Cannot find element: "+e),document.createElement("div"))}return e}(e):void 0,t)},K&&setTimeout(function(){I.devtools&&(le?le.emit("init",Qn):console[console.info?"info":"log"]("Download the Vue Devtools extension for a better development experience:\nhttps://github.com/vuejs/vue-devtools")),!1!==I.productionTip&&"undefined"!=typeof console&&console[console.info?"info":"log"]("You are running Vue in development mode.\nMake sure to turn on production mode when deploying for production.\nSee more tips at https://vuejs.org/guide/deployment.html")},0),t.exports=Qn}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{timers:168}],180:[function(e,t,n){t.exports=e("./vue.runtime.common.prod.js")},{"./vue.runtime.common.dev.js":179,"./vue.runtime.common.prod.js":181}],181:[function(e,t,n){(function(e,n){"use strict";var i=Object.freeze({});function o(e){return null==e}function r(e){return null!=e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function d(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return r(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var n=Object.create(null),i=e.split(","),o=0;o<i.length;o++)n[i[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var g=h("key,ref,slot,slot-scope,is");function v(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function b(e,t){return _.call(e,t)}function y(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var w=/-(\w)/g,x=y(function(e){return e.replace(w,function(e,t){return t?t.toUpperCase():""})}),k=y(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),A=/\B([A-Z])/g,C=y(function(e){return e.replace(A,"-$1").toLowerCase()}),S=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function M(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function P(e,t){for(var n in t)e[n]=t[n];return e}function O(e){for(var t={},n=0;n<e.length;n++)e[n]&&P(t,e[n]);return t}function T(e,t,n){}var E=function(e,t,n){return!1},N=function(e){return e};function $(e,t){if(e===t)return!0;var n=l(e),i=l(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var o=Array.isArray(e),r=Array.isArray(t);if(o&&r)return e.length===t.length&&e.every(function(e,n){return $(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||r)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return $(e[n],t[n])})}catch(e){return!1}}function j(e,t){for(var n=0;n<e.length;n++)if($(e[n],t))return n;return-1}function q(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var L="data-server-rendered",F=["component","directive","filter"],D=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],R={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:E,isReservedAttr:E,isUnknownElement:E,getTagNamespace:T,parsePlatformTagName:N,mustUseProp:E,async:!0,_lifecycleHooks:D};function z(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var B,I=new RegExp("[^"+/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/.source+".$_\\d]"),H="__proto__"in{},U="undefined"!=typeof window,V="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,W=V&&WXEnvironment.platform.toLowerCase(),Y=U&&window.navigator.userAgent.toLowerCase(),G=Y&&/msie|trident/.test(Y),K=Y&&Y.indexOf("msie 9.0")>0,J=Y&&Y.indexOf("edge/")>0,X=(Y&&Y.indexOf("android"),Y&&/iphone|ipad|ipod|ios/.test(Y)||"ios"===W),Z=(Y&&/chrome\/\d+/.test(Y),Y&&/phantomjs/.test(Y),Y&&Y.match(/firefox\/(\d+)/)),Q={}.watch,ee=!1;if(U)try{var te={};Object.defineProperty(te,"passive",{get:function(){ee=!0}}),window.addEventListener("test-passive",null,te)}catch(i){}var ne=function(){return void 0===B&&(B=!U&&!V&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),B},ie=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function oe(e){return"function"==typeof e&&/native code/.test(e.toString())}var re,ae="undefined"!=typeof Symbol&&oe(Symbol)&&"undefined"!=typeof Reflect&&oe(Reflect.ownKeys);re="undefined"!=typeof Set&&oe(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var se=T,le=0,ce=function(){this.id=le++,this.subs=[]};ce.prototype.addSub=function(e){this.subs.push(e)},ce.prototype.removeSub=function(e){v(this.subs,e)},ce.prototype.depend=function(){ce.target&&ce.target.addDep(this)},ce.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},ce.target=null;var ue=[];function de(e){ue.push(e),ce.target=e}function pe(){ue.pop(),ce.target=ue[ue.length-1]}var fe=function(e,t,n,i,o,r,a,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=o,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},me={child:{configurable:!0}};me.child.get=function(){return this.componentInstance},Object.defineProperties(fe.prototype,me);var he=function(e){void 0===e&&(e="");var t=new fe;return t.text=e,t.isComment=!0,t};function ge(e){return new fe(void 0,void 0,void 0,String(e))}function ve(e){var t=new fe(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var _e=Array.prototype,be=Object.create(_e);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=_e[e];z(be,e,function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var o,r=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),r})});var ye=Object.getOwnPropertyNames(be),we=!0;function xe(e){we=e}var ke=function(e){var t;this.value=e,this.dep=new ce,this.vmCount=0,z(e,"__ob__",this),Array.isArray(e)?(H?(t=be,e.__proto__=t):function(e,t,n){for(var i=0,o=n.length;i<o;i++){var r=n[i];z(e,r,t[r])}}(e,be,ye),this.observeArray(e)):this.walk(e)};function Ae(e,t){var n;if(l(e)&&!(e instanceof fe))return b(e,"__ob__")&&e.__ob__ instanceof ke?n=e.__ob__:we&&!ne()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new ke(e)),t&&n&&n.vmCount++,n}function Ce(e,t,n,i,o){var r=new ce,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!o&&Ae(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ce.target&&(r.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,i=0,o=t.length;i<o;i++)(n=t[i])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var i=s?s.call(e):n;t===i||t!=t&&i!=i||s&&!l||(l?l.call(e,t):n=t,c=!o&&Ae(t),r.notify())}})}}function Se(e,t,n){if(Array.isArray(e)&&d(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var i=e.__ob__;return e._isVue||i&&i.vmCount?n:i?(Ce(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function Me(e,t){if(Array.isArray(e)&&d(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||b(e,t)&&(delete e[t],n&&n.dep.notify())}}ke.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Ce(e,t[n])},ke.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Ae(e[t])};var Pe=R.optionMergeStrategies;function Oe(e,t){if(!t)return e;for(var n,i,o,r=ae?Reflect.ownKeys(t):Object.keys(t),a=0;a<r.length;a++)"__ob__"!==(n=r[a])&&(i=e[n],o=t[n],b(e,n)?i!==o&&u(i)&&u(o)&&Oe(i,o):Se(e,n,o));return e}function Te(e,t,n){return n?function(){var i="function"==typeof t?t.call(n,n):t,o="function"==typeof e?e.call(n,n):e;return i?Oe(i,o):o}:t?e?function(){return Oe("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Ee(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Ne(e,t,n,i){var o=Object.create(e||null);return t?P(o,t):o}Pe.data=function(e,t,n){return n?Te(e,t,n):t&&"function"!=typeof t?e:Te(e,t)},D.forEach(function(e){Pe[e]=Ee}),F.forEach(function(e){Pe[e+"s"]=Ne}),Pe.watch=function(e,t,n,i){if(e===Q&&(e=void 0),t===Q&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var o={};for(var r in P(o,e),t){var a=o[r],s=t[r];a&&!Array.isArray(a)&&(a=[a]),o[r]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Pe.props=Pe.methods=Pe.inject=Pe.computed=function(e,t,n,i){if(!e)return t;var o=Object.create(null);return P(o,e),t&&P(o,t),o},Pe.provide=Te;var $e=function(e,t){return void 0===t?e:t};function je(e,t,n){if("function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var i,o,r={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(o=n[i])&&(r[x(o)]={type:null});else if(u(n))for(var a in n)o=n[a],r[x(a)]=u(o)?o:{type:o};e.props=r}}(t),function(e,t){var n=e.inject;if(n){var i=e.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)i[n[o]]={from:n[o]};else if(u(n))for(var r in n){var a=n[r];i[r]=u(a)?P({from:r},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"function"==typeof i&&(t[n]={bind:i,update:i})}}(t),!t._base&&(t.extends&&(e=je(e,t.extends,n)),t.mixins))for(var i=0,o=t.mixins.length;i<o;i++)e=je(e,t.mixins[i],n);var r,a={};for(r in e)s(r);for(r in t)b(e,r)||s(r);function s(i){var o=Pe[i]||$e;a[i]=o(e[i],t[i],n,i)}return a}function qe(e,t,n,i){if("string"==typeof n){var o=e[t];if(b(o,n))return o[n];var r=x(n);if(b(o,r))return o[r];var a=k(r);return b(o,a)?o[a]:o[n]||o[r]||o[a]}}function Le(e,t,n,i){var o=t[e],r=!b(n,e),a=n[e],s=Re(Boolean,o.type);if(s>-1)if(r&&!b(o,"default"))a=!1;else if(""===a||a===C(e)){var l=Re(String,o.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(b(t,"default")){var i=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof i&&"Function"!==Fe(t.type)?i.call(e):i}}(i,o,e);var c=we;xe(!0),Ae(a),xe(c)}return a}function Fe(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function De(e,t){return Fe(e)===Fe(t)}function Re(e,t){if(!Array.isArray(t))return De(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(De(t[n],e))return n;return-1}function ze(e,t,n){de();try{if(t)for(var i=t;i=i.$parent;){var o=i.$options.errorCaptured;if(o)for(var r=0;r<o.length;r++)try{if(!1===o[r].call(i,e,t,n))return}catch(e){Ie(e,i,"errorCaptured hook")}}Ie(e,t,n)}finally{pe()}}function Be(e,t,n,i,o){var r;try{(r=n?e.apply(t,n):e.call(t))&&!r._isVue&&p(r)&&!r._handled&&(r.catch(function(e){return ze(e,i,o+" (Promise/async)")}),r._handled=!0)}catch(e){ze(e,i,o)}return r}function Ie(e,t,n){if(R.errorHandler)try{return R.errorHandler.call(null,e,t,n)}catch(t){t!==e&&He(t,null,"config.errorHandler")}He(e,t,n)}function He(e,t,n){if(!U&&!V||"undefined"==typeof console)throw e;console.error(e)}var Ue,Ve=!1,We=[],Ye=!1;function Ge(){Ye=!1;var e=We.slice(0);We.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&oe(Promise)){var Ke=Promise.resolve();Ue=function(){Ke.then(Ge),X&&setTimeout(T)},Ve=!0}else if(G||"undefined"==typeof MutationObserver||!oe(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ue=void 0!==n&&oe(n)?function(){n(Ge)}:function(){setTimeout(Ge,0)};else{var Je=1,Xe=new MutationObserver(Ge),Ze=document.createTextNode(String(Je));Xe.observe(Ze,{characterData:!0}),Ue=function(){Je=(Je+1)%2,Ze.data=String(Je)},Ve=!0}function Qe(e,t){var n;if(We.push(function(){if(e)try{e.call(t)}catch(e){ze(e,t,"nextTick")}else n&&n(t)}),Ye||(Ye=!0,Ue()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var et=new re;function tt(e){!function e(t,n){var i,o,r=Array.isArray(t);if(!(!r&&!l(t)||Object.isFrozen(t)||t instanceof fe)){if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(r)for(i=t.length;i--;)e(t[i],n);else for(i=(o=Object.keys(t)).length;i--;)e(t[o[i]],n)}}(e,et),et.clear()}var nt=y(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),i="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=i?e.slice(1):e,once:n,capture:i,passive:t}});function it(e,t){function n(){var e=arguments,i=n.fns;if(!Array.isArray(i))return Be(i,null,arguments,t,"v-on handler");for(var o=i.slice(),r=0;r<o.length;r++)Be(o[r],null,e,t,"v-on handler")}return n.fns=e,n}function ot(e,t,n,i,r,s){var l,c,u,d;for(l in e)c=e[l],u=t[l],d=nt(l),o(c)||(o(u)?(o(c.fns)&&(c=e[l]=it(c,s)),a(d.once)&&(c=e[l]=r(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u));for(l in t)o(e[l])&&i((d=nt(l)).name,t[l],d.capture)}function rt(e,t,n){var i;e instanceof fe&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function l(){n.apply(this,arguments),v(i.fns,l)}o(s)?i=it([l]):r(s.fns)&&a(s.merged)?(i=s).fns.push(l):i=it([s,l]),i.merged=!0,e[t]=i}function at(e,t,n,i,o){if(r(t)){if(b(t,n))return e[n]=t[n],o||delete t[n],!0;if(b(t,i))return e[n]=t[i],o||delete t[i],!0}return!1}function st(e){return s(e)?[ge(e)]:Array.isArray(e)?function e(t,n){var i,l,c,u,d=[];for(i=0;i<t.length;i++)o(l=t[i])||"boolean"==typeof l||(u=d[c=d.length-1],Array.isArray(l)?l.length>0&&(lt((l=e(l,(n||"")+"_"+i))[0])&<(u)&&(d[c]=ge(u.text+l[0].text),l.shift()),d.push.apply(d,l)):s(l)?lt(u)?d[c]=ge(u.text+l):""!==l&&d.push(ge(l)):lt(l)&<(u)?d[c]=ge(u.text+l.text):(a(t._isVList)&&r(l.tag)&&o(l.key)&&r(n)&&(l.key="__vlist"+n+"_"+i+"__"),d.push(l)));return d}(e):void 0}function lt(e){return r(e)&&r(e.text)&&!1===e.isComment}function ct(e,t){if(e){for(var n=Object.create(null),i=ae?Reflect.ownKeys(e):Object.keys(e),o=0;o<i.length;o++){var r=i[o];if("__ob__"!==r){for(var a=e[r].from,s=t;s;){if(s._provided&&b(s._provided,a)){n[r]=s._provided[a];break}s=s.$parent}if(!s&&"default"in e[r]){var l=e[r].default;n[r]="function"==typeof l?l.call(t):l}}}return n}}function ut(e,t){if(!e||!e.length)return{};for(var n={},i=0,o=e.length;i<o;i++){var r=e[i],a=r.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,r.context!==t&&r.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(r);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===r.tag?l.push.apply(l,r.children||[]):l.push(r)}}for(var c in n)n[c].every(dt)&&delete n[c];return n}function dt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function pt(e,t,n){var o,r=Object.keys(t).length>0,a=e?!!e.$stable:!r,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==i&&s===n.$key&&!r&&!n.$hasNormal)return n;for(var l in o={},e)e[l]&&"$"!==l[0]&&(o[l]=ft(t,l,e[l]))}else o={};for(var c in t)c in o||(o[c]=mt(t,c));return e&&Object.isExtensible(e)&&(e._normalized=o),z(o,"$stable",a),z(o,"$key",s),z(o,"$hasNormal",r),o}function ft(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:st(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function mt(e,t){return function(){return e[t]}}function ht(e,t){var n,i,o,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,o=e.length;i<o;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(l(e))if(ae&&e[Symbol.iterator]){n=[];for(var c=e[Symbol.iterator](),u=c.next();!u.done;)n.push(t(u.value,n.length)),u=c.next()}else for(a=Object.keys(e),n=new Array(a.length),i=0,o=a.length;i<o;i++)s=a[i],n[i]=t(e[s],s,i);return r(n)||(n=[]),n._isVList=!0,n}function gt(e,t,n,i){var o,r=this.$scopedSlots[e];r?(n=n||{},i&&(n=P(P({},i),n)),o=r(n)||t):o=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function vt(e){return qe(this.$options,"filters",e)||N}function _t(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function bt(e,t,n,i,o){var r=R.keyCodes[t]||n;return o&&i&&!R.keyCodes[t]?_t(o,i):r?_t(r,e):i?C(i)!==t:void 0}function yt(e,t,n,i,o){if(n&&l(n)){var r;Array.isArray(n)&&(n=O(n));var a=function(a){if("class"===a||"style"===a||g(a))r=e;else{var s=e.attrs&&e.attrs.type;r=i||R.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=x(a),c=C(a);l in r||c in r||(r[a]=n[a],o&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var s in n)a(s)}return e}function wt(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t?i:(kt(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i)}function xt(e,t,n){return kt(e,"__once__"+t+(n?"_"+n:""),!0),e}function kt(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&At(e[i],t+"_"+i,n);else At(e,t,n)}function At(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Ct(e,t){if(t&&u(t)){var n=e.on=e.on?P({},e.on):{};for(var i in t){var o=n[i],r=t[i];n[i]=o?[].concat(o,r):r}}return e}function St(e,t,n,i){t=t||{$stable:!n};for(var o=0;o<e.length;o++){var r=e[o];Array.isArray(r)?St(r,t,n):r&&(r.proxy&&(r.fn.proxy=!0),t[r.key]=r.fn)}return i&&(t.$key=i),t}function Mt(e,t){for(var n=0;n<t.length;n+=2){var i=t[n];"string"==typeof i&&i&&(e[t[n]]=t[n+1])}return e}function Pt(e,t){return"string"==typeof e?t+e:e}function Ot(e){e._o=xt,e._n=m,e._s=f,e._l=ht,e._t=gt,e._q=$,e._i=j,e._m=wt,e._f=vt,e._k=bt,e._b=yt,e._v=ge,e._e=he,e._u=St,e._g=Ct,e._d=Mt,e._p=Pt}function Tt(e,t,n,o,r){var s,l=this,c=r.options;b(o,"_uid")?(s=Object.create(o))._original=o:(s=o,o=o._original);var u=a(c._compiled),d=!u;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||i,this.injections=ct(c.inject,o),this.slots=function(){return l.$slots||pt(e.scopedSlots,l.$slots=ut(n,o)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return pt(e.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=pt(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,i){var r=Rt(s,e,t,n,i,d);return r&&!Array.isArray(r)&&(r.fnScopeId=c._scopeId,r.fnContext=o),r}:this._c=function(e,t,n,i){return Rt(s,e,t,n,i,d)}}function Et(e,t,n,i,o){var r=ve(e);return r.fnContext=n,r.fnOptions=i,t.slot&&((r.data||(r.data={})).slot=t.slot),r}function Nt(e,t){for(var n in t)e[x(n)]=t[n]}Ot(Tt.prototype);var $t={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;$t.prepatch(n,n)}else(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:Kt},i=e.data.inlineTemplate;return r(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new e.componentOptions.Ctor(n)}(e)).$mount(t?e.elm:void 0,t)},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,o,r){var a=o.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==i&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),c=!!(r||e.$options._renderChildren||l);if(e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o),e.$options._renderChildren=r,e.$attrs=o.data.attrs||i,e.$listeners=n||i,t&&e.$options.props){xe(!1);for(var u=e._props,d=e.$options._propKeys||[],p=0;p<d.length;p++){var f=d[p],m=e.$options.props;u[f]=Le(f,m,t,e)}xe(!0),e.$options.propsData=t}n=n||i;var h=e.$options._parentListeners;e.$options._parentListeners=n,Gt(e,n,h),c&&(e.$slots=ut(r,o.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,i=e.componentInstance;i._isMounted||(i._isMounted=!0,Qt(i,"mounted")),e.data.keepAlive&&(n._isMounted?((t=i)._inactive=!1,tn.push(t)):Zt(i,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(!(n&&(t._directInactive=!0,Xt(t))||t._inactive)){t._inactive=!0;for(var i=0;i<t.$children.length;i++)e(t.$children[i]);Qt(t,"deactivated")}}(t,!0):t.$destroy())}},jt=Object.keys($t);function qt(e,t,n,s,c){if(!o(e)){var u=n.$options._base;if(l(e)&&(e=u.extend(e)),"function"==typeof e){var d;if(o(e.cid)&&void 0===(e=function(e,t){if(a(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;var n=Bt;if(n&&r(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),a(e.loading)&&r(e.loadingComp))return e.loadingComp;if(n&&!r(e.owners)){var i=e.owners=[n],s=!0,c=null,u=null;n.$on("hook:destroyed",function(){return v(i,n)});var d=function(e){for(var t=0,n=i.length;t<n;t++)i[t].$forceUpdate();e&&(i.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},f=q(function(n){e.resolved=It(n,t),s?i.length=0:d(!0)}),m=q(function(t){r(e.errorComp)&&(e.error=!0,d(!0))}),h=e(f,m);return l(h)&&(p(h)?o(e.resolved)&&h.then(f,m):p(h.component)&&(h.component.then(f,m),r(h.error)&&(e.errorComp=It(h.error,t)),r(h.loading)&&(e.loadingComp=It(h.loading,t),0===h.delay?e.loading=!0:c=setTimeout(function(){c=null,o(e.resolved)&&o(e.error)&&(e.loading=!0,d(!1))},h.delay||200)),r(h.timeout)&&(u=setTimeout(function(){u=null,o(e.resolved)&&m(null)},h.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}(d=e,u)))return function(e,t,n,i,o){var r=he();return r.asyncFactory=e,r.asyncMeta={data:t,context:n,children:i,tag:o},r}(d,t,n,s,c);t=t||{},wn(e),r(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),a=o[i],s=t.model.callback;r(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[i]=[s].concat(a)):o[i]=s}(e.options,t);var f=function(e,t,n){var i=t.options.props;if(!o(i)){var a={},s=e.attrs,l=e.props;if(r(s)||r(l))for(var c in i){var u=C(c);at(a,l,c,u,!0)||at(a,s,c,u,!1)}return a}}(t,e);if(a(e.options.functional))return function(e,t,n,o,a){var s=e.options,l={},c=s.props;if(r(c))for(var u in c)l[u]=Le(u,c,t||i);else r(n.attrs)&&Nt(l,n.attrs),r(n.props)&&Nt(l,n.props);var d=new Tt(n,l,a,o,e),p=s.render.call(null,d._c,d);if(p instanceof fe)return Et(p,n,d.parent,s);if(Array.isArray(p)){for(var f=st(p)||[],m=new Array(f.length),h=0;h<f.length;h++)m[h]=Et(f[h],n,d.parent,s);return m}}(e,f,t,n,s);var m=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var h=t.slot;t={},h&&(t.slot=h)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<jt.length;n++){var i=jt[n],o=t[i],r=$t[i];o===r||o&&o._merged||(t[i]=o?Lt(r,o):r)}}(t);var g=e.options.name||c;return new fe("vue-component-"+e.cid+(g?"-"+g:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:m,tag:c,children:s},d)}}}function Lt(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}var Ft=1,Dt=2;function Rt(e,t,n,i,c,u){return(Array.isArray(n)||s(n))&&(c=i,i=n,n=void 0),a(u)&&(c=Dt),function(e,t,n,i,s){if(r(n)&&r(n.__ob__))return he();if(r(n)&&r(n.is)&&(t=n.is),!t)return he();var c,u,d;(Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0),s===Dt?i=st(i):s===Ft&&(i=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(i)),"string"==typeof t)?(u=e.$vnode&&e.$vnode.ns||R.getTagNamespace(t),c=R.isReservedTag(t)?new fe(R.parsePlatformTagName(t),n,i,void 0,void 0,e):n&&n.pre||!r(d=qe(e.$options,"components",t))?new fe(t,n,i,void 0,void 0,e):qt(d,n,e,i,t)):c=qt(t,n,e,i);return Array.isArray(c)?c:r(c)?(r(u)&&function e(t,n,i){if(t.ns=n,"foreignObject"===t.tag&&(n=void 0,i=!0),r(t.children))for(var s=0,l=t.children.length;s<l;s++){var c=t.children[s];r(c.tag)&&(o(c.ns)||a(i)&&"svg"!==c.tag)&&e(c,n,i)}}(c,u),r(n)&&function(e){l(e.style)&&tt(e.style),l(e.class)&&tt(e.class)}(n),c):he()}(e,t,n,i,c)}var zt,Bt=null;function It(e,t){return(e.__esModule||ae&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function Ht(e){return e.isComment&&e.asyncFactory}function Ut(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(r(n)&&(r(n.componentOptions)||Ht(n)))return n}}function Vt(e,t){zt.$on(e,t)}function Wt(e,t){zt.$off(e,t)}function Yt(e,t){var n=zt;return function i(){null!==t.apply(null,arguments)&&n.$off(e,i)}}function Gt(e,t,n){zt=e,ot(t,n||{},Vt,Wt,Yt,e),zt=void 0}var Kt=null;function Jt(e){var t=Kt;return Kt=e,function(){Kt=t}}function Xt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Zt(e,t){if(t){if(e._directInactive=!1,Xt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Zt(e.$children[n]);Qt(e,"activated")}}function Qt(e,t){de();var n=e.$options[t],i=t+" hook";if(n)for(var o=0,r=n.length;o<r;o++)Be(n[o],e,null,e,i);e._hasHookEvent&&e.$emit("hook:"+t),pe()}var en=[],tn=[],nn={},on=!1,rn=!1,an=0,sn=0,ln=Date.now;if(U&&!G){var cn=window.performance;cn&&"function"==typeof cn.now&&ln()>document.createEvent("Event").timeStamp&&(ln=function(){return cn.now()})}function un(){var e,t;for(sn=ln(),rn=!0,en.sort(function(e,t){return e.id-t.id}),an=0;an<en.length;an++)(e=en[an]).before&&e.before(),t=e.id,nn[t]=null,e.run();var n=tn.slice(),i=en.slice();an=en.length=tn.length=0,nn={},on=rn=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Zt(e[t],!0)}(n),function(e){for(var t=e.length;t--;){var n=e[t],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&Qt(i,"updated")}}(i),ie&&R.devtools&&ie.emit("flush")}var dn=0,pn=function(e,t,n,i,o){this.vm=e,o&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++dn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new re,this.newDepIds=new re,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!I.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=T)),this.value=this.lazy?void 0:this.get()};pn.prototype.get=function(){var e;de(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;ze(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&tt(e),pe(),this.cleanupDeps()}return e},pn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},pn.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},pn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==nn[t]){if(nn[t]=!0,rn){for(var n=en.length-1;n>an&&en[n].id>e.id;)n--;en.splice(n+1,0,e)}else en.push(e);on||(on=!0,Qe(un))}}(this)},pn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){ze(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},pn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},pn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},pn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var fn={enumerable:!0,configurable:!0,get:T,set:T};function mn(e,t,n){fn.get=function(){return this[t][n]},fn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,fn)}var hn={lazy:!0};function gn(e,t,n){var i=!ne();"function"==typeof n?(fn.get=i?vn(t):_n(n),fn.set=T):(fn.get=n.get?i&&!1!==n.cache?vn(t):_n(n.get):T,fn.set=n.set||T),Object.defineProperty(e,t,fn)}function vn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ce.target&&t.depend(),t.value}}function _n(e){return function(){return e.call(this,this)}}function bn(e,t,n,i){return u(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}var yn=0;function wn(e){var t=e.options;if(e.super){var n=wn(e.super);if(n!==e.superOptions){e.superOptions=n;var i=function(e){var t,n=e.options,i=e.sealedOptions;for(var o in n)n[o]!==i[o]&&(t||(t={}),t[o]=n[o]);return t}(e);i&&P(e.extendOptions,i),(t=e.options=je(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function xn(e){this._init(e)}function kn(e){return e&&(e.Ctor.options.name||e.tag)}function An(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===c.call(n)&&e.test(t));var n}function Cn(e,t){var n=e.cache,i=e.keys,o=e._vnode;for(var r in n){var a=n[r];if(a){var s=kn(a.componentOptions);s&&!t(s)&&Sn(n,r,i,o)}}}function Sn(e,t,n,i){var o=e[t];!o||i&&o.tag===i.tag||o.componentInstance.$destroy(),e[t]=null,v(n,t)}xn.prototype._init=function(e){var t=this;t._uid=yn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),i=t._parentVnode;n.parent=t.parent,n._parentVnode=i;var o=i.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=je(wn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Gt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=ut(t._renderChildren,o),e.$scopedSlots=i,e._c=function(t,n,i,o){return Rt(e,t,n,i,o,!1)},e.$createElement=function(t,n,i,o){return Rt(e,t,n,i,o,!0)};var r=n&&n.data;Ce(e,"$attrs",r&&r.attrs||i,null,!0),Ce(e,"$listeners",t._parentListeners||i,null,!0)}(t),Qt(t,"beforeCreate"),function(e){var t=ct(e.$options.inject,e);t&&(xe(!1),Object.keys(t).forEach(function(n){Ce(e,n,t[n])}),xe(!0))}(t),function(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},i=e._props={},o=e.$options._propKeys=[];e.$parent&&xe(!1);var r=function(r){o.push(r);var a=Le(r,t,n,e);Ce(i,r,a),r in e||mn(e,"_props",r)};for(var a in t)r(a);xe(!0)}(e,t.props),t.methods&&function(e,t){for(var n in e.$options.props,t)e[n]="function"!=typeof t[n]?T:S(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){de();try{return e.call(t,t)}catch(e){return ze(e,t,"data()"),{}}finally{pe()}}(t,e):t||{})||(t={});for(var n,i=Object.keys(t),o=e.$options.props,r=(e.$options.methods,i.length);r--;){var a=i[r];o&&b(o,a)||36!==(n=(a+"").charCodeAt(0))&&95!==n&&mn(e,"_data",a)}Ae(t,!0)}(e):Ae(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),i=ne();for(var o in t){var r=t[o],a="function"==typeof r?r:r.get;i||(n[o]=new pn(e,a||T,T,hn)),o in e||gn(e,o,r)}}(e,t.computed),t.watch&&t.watch!==Q&&function(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var o=0;o<i.length;o++)bn(e,n,i[o]);else bn(e,n,i)}}(e,t.watch)}(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),Qt(t,"created"),t.$options.el&&t.$mount(t.$options.el)},function(e){Object.defineProperty(e.prototype,"$data",{get:function(){return this._data}}),Object.defineProperty(e.prototype,"$props",{get:function(){return this._props}}),e.prototype.$set=Se,e.prototype.$delete=Me,e.prototype.$watch=function(e,t,n){if(u(t))return bn(this,e,t,n);(n=n||{}).user=!0;var i=new pn(this,e,t,n);if(n.immediate)try{t.call(this,i.value)}catch(e){ze(e,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(xn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var i=this;if(Array.isArray(e))for(var o=0,r=e.length;o<r;o++)i.$on(e[o],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var n=this;function i(){n.$off(e,i),t.apply(n,arguments)}return i.fn=t,n.$on(e,i),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var i=0,o=e.length;i<o;i++)n.$off(e[i],t);return n}var r,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((r=a[s])===t||r.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this._events[e];if(t){t=t.length>1?M(t):t;for(var n=M(arguments,1),i='event handler for "'+e+'"',o=0,r=t.length;o<r;o++)Be(t[o],this,n,this,i)}return this}}(xn),function(e){e.prototype._update=function(e,t){var n=this,i=n.$el,o=n._vnode,r=Jt(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),r(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Qt(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||v(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Qt(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(xn),function(e){Ot(e.prototype),e.prototype.$nextTick=function(e){return Qe(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,o=n._parentVnode;o&&(t.$scopedSlots=pt(o.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=o;try{Bt=t,e=i.call(t._renderProxy,t.$createElement)}catch(n){ze(n,t,"render"),e=t._vnode}finally{Bt=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof fe||(e=he()),e.parent=o,e}}(xn);var Mn=[String,RegExp,Array],Pn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Mn,exclude:Mn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Sn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){Cn(e,function(e){return An(t,e)})}),this.$watch("exclude",function(t){Cn(e,function(e){return!An(t,e)})})},render:function(){var e=this.$slots.default,t=Ut(e),n=t&&t.componentOptions;if(n){var i=kn(n),o=this.include,r=this.exclude;if(o&&(!i||!An(o,i))||r&&i&&An(r,i))return t;var a=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,v(s,l),s.push(l)):(a[l]=t,s.push(l),this.max&&s.length>parseInt(this.max)&&Sn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return R}};Object.defineProperty(e,"config",t),e.util={warn:se,extend:P,mergeOptions:je,defineReactive:Ce},e.set=Se,e.delete=Me,e.nextTick=Qe,e.observable=function(e){return Ae(e),e},e.options=Object.create(null),F.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,P(e.options.components,Pn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=M(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=je(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,o=e._Ctor||(e._Ctor={});if(o[i])return o[i];var r=e.name||n.options.name,a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=je(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)mn(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)gn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,F.forEach(function(e){a[e]=n[e]}),r&&(a.options.components[r]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=P({},a.options),o[i]=a,a}}(e),function(e){F.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(xn),Object.defineProperty(xn.prototype,"$isServer",{get:ne}),Object.defineProperty(xn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(xn,"FunctionalRenderContext",{value:Tt}),xn.version="2.6.11";var On=h("style,class"),Tn=h("input,textarea,option,select,progress"),En=h("contenteditable,draggable,spellcheck"),Nn=h("events,caret,typing,plaintext-only"),$n=function(e,t){return Dn(t)||"false"===t?"false":"contenteditable"===e&&Nn(t)?t:"true"},jn=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),qn="http://www.w3.org/1999/xlink",Ln=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Fn=function(e){return Ln(e)?e.slice(6,e.length):""},Dn=function(e){return null==e||!1===e};function Rn(e,t){return{staticClass:zn(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function zn(e,t){return e?t?e+" "+t:e:t||""}function Bn(e){return Array.isArray(e)?function(e){for(var t,n="",i=0,o=e.length;i<o;i++)r(t=Bn(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):l(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var In={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Hn=h("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Un=h("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Vn=function(e){return Hn(e)||Un(e)},Wn=Object.create(null),Yn=h("text,number,password,search,email,tel,url"),Gn=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(In[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Kn={create:function(e,t){Jn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Jn(e,!0),Jn(t))},destroy:function(e){Jn(e,!0)}};function Jn(e,t){var n=e.data.ref;if(r(n)){var i=e.context,o=e.componentInstance||e.elm,a=i.$refs;t?Array.isArray(a[n])?v(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var Xn=new fe("",{},[]),Zn=["create","activate","update","remove","destroy"];function Qn(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,o=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===o||Yn(i)&&Yn(o)}(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&o(t.asyncFactory.error))}function ei(e,t,n){var i,o,a={};for(i=t;i<=n;++i)r(o=e[i].key)&&(a[o]=i);return a}var ti={create:ni,update:ni,destroy:function(e){ni(e,Xn)}};function ni(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,i,o,r=e===Xn,a=t===Xn,s=oi(e.data.directives,e.context),l=oi(t.data.directives,t.context),c=[],u=[];for(n in l)i=s[n],o=l[n],i?(o.oldValue=i.value,o.oldArg=i.arg,ai(o,"update",t,e),o.def&&o.def.componentUpdated&&u.push(o)):(ai(o,"bind",t,e),o.def&&o.def.inserted&&c.push(o));if(c.length){var d=function(){for(var n=0;n<c.length;n++)ai(c[n],"inserted",t,e)};r?rt(t,"insert",d):d()}if(u.length&&rt(t,"postpatch",function(){for(var n=0;n<u.length;n++)ai(u[n],"componentUpdated",t,e)}),!r)for(n in s)l[n]||ai(s[n],"unbind",e,e,a)}(e,t)}var ii=Object.create(null);function oi(e,t){var n,i,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++)(i=e[n]).modifiers||(i.modifiers=ii),o[ri(i)]=i,i.def=qe(t.$options,"directives",i.name);return o}function ri(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function ai(e,t,n,i,o){var r=e.def&&e.def[t];if(r)try{r(n.elm,e,n,i,o)}catch(i){ze(i,n.context,"directive "+e.name+" "+t+" hook")}}var si=[Kn,ti];function li(e,t){var n=t.componentOptions;if(!(r(n)&&!1===n.Ctor.options.inheritAttrs||o(e.data.attrs)&&o(t.data.attrs))){var i,a,s=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};for(i in r(c.__ob__)&&(c=t.data.attrs=P({},c)),c)a=c[i],l[i]!==a&&ci(s,i,a);for(i in(G||J)&&c.value!==l.value&&ci(s,"value",c.value),l)o(c[i])&&(Ln(i)?s.removeAttributeNS(qn,Fn(i)):En(i)||s.removeAttribute(i))}}function ci(e,t,n){e.tagName.indexOf("-")>-1?ui(e,t,n):jn(t)?Dn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):En(t)?e.setAttribute(t,$n(t,n)):Ln(t)?Dn(n)?e.removeAttributeNS(qn,Fn(t)):e.setAttributeNS(qn,t,n):ui(e,t,n)}function ui(e,t,n){if(Dn(n))e.removeAttribute(t);else{if(G&&!K&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var di={create:li,update:li};function pi(e,t){var n=t.elm,i=t.data,a=e.data;if(!(o(i.staticClass)&&o(i.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=function(e){for(var t=e.data,n=e,i=e;r(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Rn(i.data,t));for(;r(n=n.parent);)n&&n.data&&(t=Rn(t,n.data));return function(e,t){return r(e)||r(t)?zn(e,Bn(t)):""}(t.staticClass,t.class)}(t),l=n._transitionClasses;r(l)&&(s=zn(s,Bn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var fi,mi={create:pi,update:pi},hi="__r",gi="__c";function vi(e,t,n){var i=fi;return function o(){null!==t.apply(null,arguments)&&yi(e,o,n,i)}}var _i=Ve&&!(Z&&Number(Z[1])<=53);function bi(e,t,n,i){if(_i){var o=sn,r=t;t=r._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return r.apply(this,arguments)}}fi.addEventListener(e,t,ee?{capture:n,passive:i}:n)}function yi(e,t,n,i){(i||fi).removeEventListener(e,t._wrapper||t,n)}function wi(e,t){if(!o(e.data.on)||!o(t.data.on)){var n=t.data.on||{},i=e.data.on||{};fi=t.elm,function(e){if(r(e[hi])){var t=G?"change":"input";e[t]=[].concat(e[hi],e[t]||[]),delete e[hi]}r(e[gi])&&(e.change=[].concat(e[gi],e.change||[]),delete e[gi])}(n),ot(n,i,bi,yi,vi,t.context),fi=void 0}}var xi,ki={create:wi,update:wi};function Ai(e,t){if(!o(e.data.domProps)||!o(t.data.domProps)){var n,i,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in r(l.__ob__)&&(l=t.data.domProps=P({},l)),s)n in l||(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var c=o(i)?"":String(i);Ci(a,c)&&(a.value=c)}else if("innerHTML"===n&&Un(a.tagName)&&o(a.innerHTML)){(xi=xi||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var u=xi.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(i!==s[n])try{a[n]=i}catch(e){}}}}function Ci(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,i=e._vModifiers;if(r(i)){if(i.number)return m(n)!==m(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Si={create:Ai,update:Ai},Mi=y(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var i=e.split(n);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t});function Pi(e){var t=Oi(e.style);return e.staticStyle?P(e.staticStyle,t):t}function Oi(e){return Array.isArray(e)?O(e):"string"==typeof e?Mi(e):e}var Ti,Ei=/^--/,Ni=/\s*!important$/,$i=function(e,t,n){if(Ei.test(t))e.style.setProperty(t,n);else if(Ni.test(n))e.style.setProperty(C(t),n.replace(Ni,""),"important");else{var i=qi(t);if(Array.isArray(n))for(var o=0,r=n.length;o<r;o++)e.style[i]=n[o];else e.style[i]=n}},ji=["Webkit","Moz","ms"],qi=y(function(e){if(Ti=Ti||document.createElement("div").style,"filter"!==(e=x(e))&&e in Ti)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<ji.length;n++){var i=ji[n]+t;if(i in Ti)return i}});function Li(e,t){var n=t.data,i=e.data;if(!(o(n.staticStyle)&&o(n.style)&&o(i.staticStyle)&&o(i.style))){var a,s,l=t.elm,c=i.staticStyle,u=i.normalizedStyle||i.style||{},d=c||u,p=Oi(t.data.style)||{};t.data.normalizedStyle=r(p.__ob__)?P({},p):p;var f=function(e,t){for(var n,i={},o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=Pi(o.data))&&P(i,n);(n=Pi(e.data))&&P(i,n);for(var r=e;r=r.parent;)r.data&&(n=Pi(r.data))&&P(i,n);return i}(t);for(s in d)o(f[s])&&$i(l,s,"");for(s in f)(a=f[s])!==d[s]&&$i(l,s,null==a?"":a)}}var Fi={create:Li,update:Li},Di=/\s+/;function Ri(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Di).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function zi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Di).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Bi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&P(t,Ii(e.name||"v")),P(t,e),t}return"string"==typeof e?Ii(e):void 0}}var Ii=y(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),Hi=U&&!K,Ui="transition",Vi="animation",Wi="transition",Yi="transitionend",Gi="animation",Ki="animationend";Hi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Wi="WebkitTransition",Yi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Gi="WebkitAnimation",Ki="webkitAnimationEnd"));var Ji=U?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Xi(e){Ji(function(){Ji(e)})}function Zi(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Ri(e,t))}function Qi(e,t){e._transitionClasses&&v(e._transitionClasses,t),zi(e,t)}function eo(e,t,n){var i=no(e,t),o=i.type,r=i.timeout,a=i.propCount;if(!o)return n();var s=o===Ui?Yi:Ki,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l<a&&c()},r+1),e.addEventListener(s,u)}var to=/\b(transform|all)(,|$)/;function no(e,t){var n,i=window.getComputedStyle(e),o=(i[Wi+"Delay"]||"").split(", "),r=(i[Wi+"Duration"]||"").split(", "),a=io(o,r),s=(i[Gi+"Delay"]||"").split(", "),l=(i[Gi+"Duration"]||"").split(", "),c=io(s,l),u=0,d=0;return t===Ui?a>0&&(n=Ui,u=a,d=r.length):t===Vi?c>0&&(n=Vi,u=c,d=l.length):d=(n=(u=Math.max(a,c))>0?a>c?Ui:Vi:null)?n===Ui?r.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===Ui&&to.test(i[Wi+"Property"])}}function io(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return oo(t)+oo(e[n])}))}function oo(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ro(e,t){var n=e.elm;r(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=Bi(e.data.transition);if(!o(i)&&!r(n._enterCb)&&1===n.nodeType){for(var a=i.css,s=i.type,c=i.enterClass,u=i.enterToClass,d=i.enterActiveClass,p=i.appearClass,f=i.appearToClass,h=i.appearActiveClass,g=i.beforeEnter,v=i.enter,_=i.afterEnter,b=i.enterCancelled,y=i.beforeAppear,w=i.appear,x=i.afterAppear,k=i.appearCancelled,A=i.duration,C=Kt,S=Kt.$vnode;S&&S.parent;)C=S.context,S=S.parent;var M=!C._isMounted||!e.isRootInsert;if(!M||w||""===w){var P=M&&p?p:c,O=M&&h?h:d,T=M&&f?f:u,E=M&&y||g,N=M&&"function"==typeof w?w:v,$=M&&x||_,j=M&&k||b,L=m(l(A)?A.enter:A),F=!1!==a&&!K,D=lo(N),R=n._enterCb=q(function(){F&&(Qi(n,T),Qi(n,O)),R.cancelled?(F&&Qi(n,P),j&&j(n)):$&&$(n),n._enterCb=null});e.data.show||rt(e,"insert",function(){var t=n.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),N&&N(n,R)}),E&&E(n),F&&(Zi(n,P),Zi(n,O),Xi(function(){Qi(n,P),R.cancelled||(Zi(n,T),D||(so(L)?setTimeout(R,L):eo(n,s,R)))})),e.data.show&&(t&&t(),N&&N(n,R)),F||D||R()}}}function ao(e,t){var n=e.elm;r(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=Bi(e.data.transition);if(o(i)||1!==n.nodeType)return t();if(!r(n._leaveCb)){var a=i.css,s=i.type,c=i.leaveClass,u=i.leaveToClass,d=i.leaveActiveClass,p=i.beforeLeave,f=i.leave,h=i.afterLeave,g=i.leaveCancelled,v=i.delayLeave,_=i.duration,b=!1!==a&&!K,y=lo(f),w=m(l(_)?_.leave:_),x=n._leaveCb=q(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&(Qi(n,u),Qi(n,d)),x.cancelled?(b&&Qi(n,c),g&&g(n)):(t(),h&&h(n)),n._leaveCb=null});v?v(k):k()}function k(){x.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),p&&p(n),b&&(Zi(n,c),Zi(n,d),Xi(function(){Qi(n,c),x.cancelled||(Zi(n,u),y||(so(w)?setTimeout(x,w):eo(n,s,x)))})),f&&f(n,x),b||y||x())}}function so(e){return"number"==typeof e&&!isNaN(e)}function lo(e){if(o(e))return!1;var t=e.fns;return r(t)?lo(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function co(e,t){!0!==t.data.show&&ro(t)}var uo=function(e){var t,n,i={},l=e.modules,c=e.nodeOps;for(t=0;t<Zn.length;++t)for(i[Zn[t]]=[],n=0;n<l.length;++n)r(l[n][Zn[t]])&&i[Zn[t]].push(l[n][Zn[t]]);function u(e){var t=c.parentNode(e);r(t)&&c.removeChild(t,e)}function d(e,t,n,o,s,l,u){if(r(e.elm)&&r(l)&&(e=l[u]=ve(e)),e.isRootInsert=!s,!function(e,t,n,o){var s=e.data;if(r(s)){var l=r(e.componentInstance)&&s.keepAlive;if(r(s=s.hook)&&r(s=s.init)&&s(e,!1),r(e.componentInstance))return p(e,t),f(n,e.elm,o),a(l)&&function(e,t,n,o){for(var a,s=e;s.componentInstance;)if(r(a=(s=s.componentInstance._vnode).data)&&r(a=a.transition)){for(a=0;a<i.activate.length;++a)i.activate[a](Xn,s);t.push(s);break}f(n,e.elm,o)}(e,t,n,o),!0}}(e,t,n,o)){var d=e.data,h=e.children,g=e.tag;r(g)?(e.elm=e.ns?c.createElementNS(e.ns,g):c.createElement(g,e),_(e),m(e,h,t),r(d)&&v(e,t),f(n,e.elm,o)):a(e.isComment)?(e.elm=c.createComment(e.text),f(n,e.elm,o)):(e.elm=c.createTextNode(e.text),f(n,e.elm,o))}}function p(e,t){r(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,g(e)?(v(e,t),_(e)):(Jn(e),t.push(e))}function f(e,t,n){r(e)&&(r(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function m(e,t,n){if(Array.isArray(t))for(var i=0;i<t.length;++i)d(t[i],n,e.elm,null,!0,t,i);else s(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function g(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return r(e.tag)}function v(e,n){for(var o=0;o<i.create.length;++o)i.create[o](Xn,e);r(t=e.data.hook)&&(r(t.create)&&t.create(Xn,e),r(t.insert)&&n.push(e))}function _(e){var t;if(r(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)r(t=n.context)&&r(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;r(t=Kt)&&t!==e.context&&t!==e.fnContext&&r(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function b(e,t,n,i,o,r){for(;i<=o;++i)d(n[i],r,e,t,!1,n,i)}function y(e){var t,n,o=e.data;if(r(o))for(r(t=o.hook)&&r(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(r(t=e.children))for(n=0;n<e.children.length;++n)y(e.children[n])}function w(e,t,n){for(;t<=n;++t){var i=e[t];r(i)&&(r(i.tag)?(x(i),y(i)):u(i.elm))}}function x(e,t){if(r(t)||r(e.data)){var n,o=i.remove.length+1;for(r(t)?t.listeners+=o:t=function(e,t){function n(){0==--n.listeners&&u(e)}return n.listeners=t,n}(e.elm,o),r(n=e.componentInstance)&&r(n=n._vnode)&&r(n.data)&&x(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);r(n=e.data.hook)&&r(n=n.remove)?n(e,t):t()}else u(e.elm)}function k(e,t,n,i){for(var o=n;o<i;o++){var a=t[o];if(r(a)&&Qn(e,a))return o}}function A(e,t,n,s,l,u){if(e!==t){r(t.elm)&&r(s)&&(t=s[l]=ve(t));var p=t.elm=e.elm;if(a(e.isAsyncPlaceholder))r(t.asyncFactory.resolved)?M(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(a(t.isStatic)&&a(e.isStatic)&&t.key===e.key&&(a(t.isCloned)||a(t.isOnce)))t.componentInstance=e.componentInstance;else{var f,m=t.data;r(m)&&r(f=m.hook)&&r(f=f.prepatch)&&f(e,t);var h=e.children,v=t.children;if(r(m)&&g(t)){for(f=0;f<i.update.length;++f)i.update[f](e,t);r(f=m.hook)&&r(f=f.update)&&f(e,t)}o(t.text)?r(h)&&r(v)?h!==v&&function(e,t,n,i,a){for(var s,l,u,p=0,f=0,m=t.length-1,h=t[0],g=t[m],v=n.length-1,_=n[0],y=n[v],x=!a;p<=m&&f<=v;)o(h)?h=t[++p]:o(g)?g=t[--m]:Qn(h,_)?(A(h,_,i,n,f),h=t[++p],_=n[++f]):Qn(g,y)?(A(g,y,i,n,v),g=t[--m],y=n[--v]):Qn(h,y)?(A(h,y,i,n,v),x&&c.insertBefore(e,h.elm,c.nextSibling(g.elm)),h=t[++p],y=n[--v]):Qn(g,_)?(A(g,_,i,n,f),x&&c.insertBefore(e,g.elm,h.elm),g=t[--m],_=n[++f]):(o(s)&&(s=ei(t,p,m)),o(l=r(_.key)?s[_.key]:k(_,t,p,m))?d(_,i,e,h.elm,!1,n,f):Qn(u=t[l],_)?(A(u,_,i,n,f),t[l]=void 0,x&&c.insertBefore(e,u.elm,h.elm)):d(_,i,e,h.elm,!1,n,f),_=n[++f]);p>m?b(e,o(n[v+1])?null:n[v+1].elm,n,f,v,i):f>v&&w(t,p,m)}(p,h,v,n,u):r(v)?(r(e.text)&&c.setTextContent(p,""),b(p,null,v,0,v.length-1,n)):r(h)?w(h,0,h.length-1):r(e.text)&&c.setTextContent(p,""):e.text!==t.text&&c.setTextContent(p,t.text),r(m)&&r(f=m.hook)&&r(f=f.postpatch)&&f(e,t)}}}function C(e,t,n){if(a(n)&&r(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var S=h("attrs,class,staticClass,staticStyle,key");function M(e,t,n,i){var o,s=t.tag,l=t.data,c=t.children;if(i=i||l&&l.pre,t.elm=e,a(t.isComment)&&r(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(r(l)&&(r(o=l.hook)&&r(o=o.init)&&o(t,!0),r(o=t.componentInstance)))return p(t,n),!0;if(r(s)){if(r(c))if(e.hasChildNodes())if(r(o=l)&&r(o=o.domProps)&&r(o=o.innerHTML)){if(o!==e.innerHTML)return!1}else{for(var u=!0,d=e.firstChild,f=0;f<c.length;f++){if(!d||!M(d,c[f],n,i)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else m(t,c,n);if(r(l)){var h=!1;for(var g in l)if(!S(g)){h=!0,v(t,n);break}!h&&l.class&&tt(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s){if(!o(t)){var l,u=!1,p=[];if(o(e))u=!0,d(t,p);else{var f=r(e.nodeType);if(!f&&Qn(e,t))A(e,t,p,null,null,s);else{if(f){if(1===e.nodeType&&e.hasAttribute(L)&&(e.removeAttribute(L),n=!0),a(n)&&M(e,t,p))return C(t,p,!0),e;l=e,e=new fe(c.tagName(l).toLowerCase(),{},[],void 0,l)}var m=e.elm,h=c.parentNode(m);if(d(t,p,m._leaveCb?null:h,c.nextSibling(m)),r(t.parent))for(var v=t.parent,_=g(t);v;){for(var b=0;b<i.destroy.length;++b)i.destroy[b](v);if(v.elm=t.elm,_){for(var x=0;x<i.create.length;++x)i.create[x](Xn,v);var k=v.data.hook.insert;if(k.merged)for(var S=1;S<k.fns.length;S++)k.fns[S]()}else Jn(v);v=v.parent}r(h)?w([e],0,0):r(e.tag)&&y(e)}}return C(t,p,u),t.elm}r(e)&&y(e)}}({nodeOps:Gn,modules:[di,mi,ki,Si,Fi,U?{create:co,activate:co,remove:function(e,t){!0!==e.data.show?ao(e,t):t()}}:{}].concat(si)});K&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&bo(e,"input")});var po={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?rt(n,"postpatch",function(){po.componentUpdated(e,t,n)}):fo(e,t,n.context),e._vOptions=[].map.call(e.options,go)):("textarea"===n.tag||Yn(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",vo),e.addEventListener("compositionend",_o),e.addEventListener("change",_o),K&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){fo(e,t,n.context);var i=e._vOptions,o=e._vOptions=[].map.call(e.options,go);o.some(function(e,t){return!$(e,i[t])})&&(e.multiple?t.value.some(function(e){return ho(e,o)}):t.value!==t.oldValue&&ho(t.value,o))&&bo(e,"change")}}};function fo(e,t,n){mo(e,t,n),(G||J)&&setTimeout(function(){mo(e,t,n)},0)}function mo(e,t,n){var i=t.value,o=e.multiple;if(!o||Array.isArray(i)){for(var r,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],o)r=j(i,go(a))>-1,a.selected!==r&&(a.selected=r);else if($(go(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function ho(e,t){return t.every(function(t){return!$(t,e)})}function go(e){return"_value"in e?e._value:e.value}function vo(e){e.target.composing=!0}function _o(e){e.target.composing&&(e.target.composing=!1,bo(e.target,"input"))}function bo(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function yo(e){return!e.componentInstance||e.data&&e.data.transition?e:yo(e.componentInstance._vnode)}var wo={model:po,show:{bind:function(e,t,n){var i=t.value,o=(n=yo(n)).data&&n.data.transition,r=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&o?(n.data.show=!0,ro(n,function(){e.style.display=r})):e.style.display=i?r:"none"},update:function(e,t,n){var i=t.value;!i!=!t.oldValue&&((n=yo(n)).data&&n.data.transition?(n.data.show=!0,i?ro(n,function(){e.style.display=e.__vOriginalDisplay}):ao(n,function(){e.style.display="none"})):e.style.display=i?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,i,o){o||(e.style.display=e.__vOriginalDisplay)}}},xo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ko(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ko(Ut(t.children)):e}function Ao(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var o=n._parentListeners;for(var r in o)t[x(r)]=o[r];return t}function Co(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var So=function(e){return e.tag||Ht(e)},Mo=function(e){return"show"===e.name},Po={name:"transition",props:xo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(So)).length){var i=this.mode,o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var r=ko(o);if(!r)return o;if(this._leaving)return Co(e,o);var a="__transition-"+this._uid+"-";r.key=null==r.key?r.isComment?a+"comment":a+r.tag:s(r.key)?0===String(r.key).indexOf(a)?r.key:a+r.key:r.key;var l=(r.data||(r.data={})).transition=Ao(this),c=this._vnode,u=ko(c);if(r.data.directives&&r.data.directives.some(Mo)&&(r.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(r,u)&&!Ht(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=P({},l);if("out-in"===i)return this._leaving=!0,rt(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Co(e,o);if("in-out"===i){if(Ht(r))return c;var p,f=function(){p()};rt(l,"afterEnter",f),rt(l,"enterCancelled",f),rt(d,"delayLeave",function(e){p=e})}}return o}}},Oo=P({tag:String,moveClass:String},xo);function To(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Eo(e){e.data.newPos=e.elm.getBoundingClientRect()}function No(e){var t=e.data.pos,n=e.data.newPos,i=t.left-n.left,o=t.top-n.top;if(i||o){e.data.moved=!0;var r=e.elm.style;r.transform=r.WebkitTransform="translate("+i+"px,"+o+"px)",r.transitionDuration="0s"}}delete Oo.mode;var $o={Transition:Po,TransitionGroup:{props:Oo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var o=Jt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,o=this.$slots.default||[],r=this.children=[],a=Ao(this),s=0;s<o.length;s++){var l=o[s];l.tag&&null!=l.key&&0!==String(l.key).indexOf("__vlist")&&(r.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a)}if(i){for(var c=[],u=[],d=0;d<i.length;d++){var p=i[d];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?c.push(p):u.push(p)}this.kept=e(t,null,c),this.removed=u}return e(t,null,r)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(To),e.forEach(Eo),e.forEach(No),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,i=n.style;Zi(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Yi,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Yi,e),n._moveCb=null,Qi(n,t))})}}))},methods:{hasMove:function(e,t){if(!Hi)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){zi(n,e)}),Ri(n,t),n.style.display="none",this.$el.appendChild(n);var i=no(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};xn.config.mustUseProp=function(e,t,n){return"value"===n&&Tn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},xn.config.isReservedTag=Vn,xn.config.isReservedAttr=On,xn.config.getTagNamespace=function(e){return Un(e)?"svg":"math"===e?"math":void 0},xn.config.isUnknownElement=function(e){if(!U)return!0;if(Vn(e))return!1;if(e=e.toLowerCase(),null!=Wn[e])return Wn[e];var t=document.createElement(e);return e.indexOf("-")>-1?Wn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Wn[e]=/HTMLUnknownElement/.test(t.toString())},P(xn.options.directives,wo),P(xn.options.components,$o),xn.prototype.__patch__=U?uo:T,xn.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=he),Qt(e,"beforeMount"),new pn(e,function(){e._update(e._render(),n)},T,{before:function(){e._isMounted&&!e._isDestroyed&&Qt(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Qt(e,"mounted")),e}(this,e=e&&U?function(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}(e):void 0,t)},U&&setTimeout(function(){R.devtools&&ie&&ie.emit("init",xn)},0),t.exports=xn}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{timers:168}],182:[function(e,t,n){var i=n.cache={};function o(){}n.insert=function(e){if(i[e])return o;i[e]=!0;var t=document.createElement("style");return t.setAttribute("type","text/css"),"textContent"in t?t.textContent=e:t.styleSheet.cssText=e,document.getElementsByTagName("head")[0].appendChild(t),function(){document.getElementsByTagName("head")[0].removeChild(t),i[e]=!1}}},{}],183:[function(e,t,n){"use strict";!function(){var n=e("./utils").log,i=e("./utils").browserDetails;t.exports.browserDetails=i,t.exports.extractVersion=e("./utils").extractVersion,t.exports.disableLog=e("./utils").disableLog;var o=e("./chrome/chrome_shim")||null,r=e("./edge/edge_shim")||null,a=e("./firefox/firefox_shim")||null,s=e("./safari/safari_shim")||null;switch(i.browser){case"opera":case"chrome":if(!o||!o.shimPeerConnection)return void n("Chrome shim is not included in this adapter release.");n("adapter.js shimming chrome."),t.exports.browserShim=o,o.shimGetUserMedia(),o.shimMediaStream(),o.shimSourceObject(),o.shimPeerConnection(),o.shimOnTrack();break;case"firefox":if(!a||!a.shimPeerConnection)return void n("Firefox shim is not included in this adapter release.");n("adapter.js shimming firefox."),t.exports.browserShim=a,a.shimGetUserMedia(),a.shimSourceObject(),a.shimPeerConnection(),a.shimOnTrack();break;case"edge":if(!r||!r.shimPeerConnection)return void n("MS edge shim is not included in this adapter release.");n("adapter.js shimming edge."),t.exports.browserShim=r,r.shimGetUserMedia(),r.shimPeerConnection();break;case"safari":if(!s)return void n("Safari shim is not included in this adapter release.");n("adapter.js shimming safari."),t.exports.browserShim=s,s.shimGetUserMedia();break;default:n("Unsupported browser!")}}()},{"./chrome/chrome_shim":184,"./edge/edge_shim":186,"./firefox/firefox_shim":188,"./safari/safari_shim":190,"./utils":191}],184:[function(e,t,n){"use strict";var i=e("../utils.js").log,o=e("../utils.js").browserDetails,r={shimMediaStream:function(){window.MediaStream=window.MediaStream||window.webkitMediaStream},shimOnTrack:function(){"object"!=typeof window||!window.RTCPeerConnection||"ontrack"in window.RTCPeerConnection.prototype||Object.defineProperty(window.RTCPeerConnection.prototype,"ontrack",{get:function(){return this._ontrack},set:function(e){var t=this;this._ontrack&&(this.removeEventListener("track",this._ontrack),this.removeEventListener("addstream",this._ontrackpoly)),this.addEventListener("track",this._ontrack=e),this.addEventListener("addstream",this._ontrackpoly=function(e){e.stream.addEventListener("addtrack",function(n){var i=new Event("track");i.track=n.track,i.receiver={track:n.track},i.streams=[e.stream],t.dispatchEvent(i)}),e.stream.getTracks().forEach(function(t){var n=new Event("track");n.track=t,n.receiver={track:t},n.streams=[e.stream],this.dispatchEvent(n)}.bind(this))}.bind(this))}})},shimSourceObject:function(){"object"==typeof window&&(!window.HTMLMediaElement||"srcObject"in window.HTMLMediaElement.prototype||Object.defineProperty(window.HTMLMediaElement.prototype,"srcObject",{get:function(){return this._srcObject},set:function(e){var t=this;this._srcObject=e,this.src&&URL.revokeObjectURL(this.src),e?(this.src=URL.createObjectURL(e),e.addEventListener("addtrack",function(){t.src&&URL.revokeObjectURL(t.src),t.src=URL.createObjectURL(e)}),e.addEventListener("removetrack",function(){t.src&&URL.revokeObjectURL(t.src),t.src=URL.createObjectURL(e)})):this.src=""}}))},shimPeerConnection:function(){window.RTCPeerConnection=function(e,t){i("PeerConnection"),e&&e.iceTransportPolicy&&(e.iceTransports=e.iceTransportPolicy);var n=new webkitRTCPeerConnection(e,t),o=n.getStats.bind(n);return n.getStats=function(e,t,n){var i=this,r=arguments;if(arguments.length>0&&"function"==typeof e)return o(e,t);var a=function(e){var t={};return e.result().forEach(function(e){var n={id:e.id,timestamp:e.timestamp,type:e.type};e.names().forEach(function(t){n[t]=e.stat(t)}),t[n.id]=n}),t},s=function(e,t){var n=new Map(Object.keys(e).map(function(t){return[t,e[t]]}));return t=t||e,Object.keys(t).forEach(function(e){n[e]=t[e]}),n};if(arguments.length>=2){return o.apply(this,[function(e){r[1](s(a(e)))},arguments[0]])}return new Promise(function(t,n){1===r.length&&"object"==typeof e?o.apply(i,[function(e){t(s(a(e)))},n]):o.apply(i,[function(e){t(s(a(e),e.result()))},n])}).then(t,n)},n},window.RTCPeerConnection.prototype=webkitRTCPeerConnection.prototype,webkitRTCPeerConnection.generateCertificate&&Object.defineProperty(window.RTCPeerConnection,"generateCertificate",{get:function(){return webkitRTCPeerConnection.generateCertificate}}),["createOffer","createAnswer"].forEach(function(e){var t=webkitRTCPeerConnection.prototype[e];webkitRTCPeerConnection.prototype[e]=function(){var e=this;if(arguments.length<1||1===arguments.length&&"object"==typeof arguments[0]){var n=1===arguments.length?arguments[0]:void 0;return new Promise(function(i,o){t.apply(e,[i,o,n])})}return t.apply(this,arguments)}}),o.version<51&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){var t=webkitRTCPeerConnection.prototype[e];webkitRTCPeerConnection.prototype[e]=function(){var e=arguments,n=this,i=new Promise(function(i,o){t.apply(n,[e[0],i,o])});return e.length<2?i:i.then(function(){e[1].apply(null,[])},function(t){e.length>=3&&e[2].apply(null,[t])})}});var e=RTCPeerConnection.prototype.addIceCandidate;RTCPeerConnection.prototype.addIceCandidate=function(){return null===arguments[0]?Promise.resolve():e.apply(this,arguments)},["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){var t=webkitRTCPeerConnection.prototype[e];webkitRTCPeerConnection.prototype[e]=function(){return arguments[0]=new("addIceCandidate"===e?RTCIceCandidate:RTCSessionDescription)(arguments[0]),t.apply(this,arguments)}})},attachMediaStream:function(e,t){i("DEPRECATED, attachMediaStream will soon be removed."),o.version>=43?e.srcObject=t:void 0!==e.src?e.src=URL.createObjectURL(t):i("Error attaching stream to element.")},reattachMediaStream:function(e,t){i("DEPRECATED, reattachMediaStream will soon be removed."),o.version>=43?e.srcObject=t.srcObject:e.src=t.src}};t.exports={shimMediaStream:r.shimMediaStream,shimOnTrack:r.shimOnTrack,shimSourceObject:r.shimSourceObject,shimPeerConnection:r.shimPeerConnection,shimGetUserMedia:e("./getusermedia"),attachMediaStream:r.attachMediaStream,reattachMediaStream:r.reattachMediaStream}},{"../utils.js":191,"./getusermedia":185}],185:[function(e,t,n){"use strict";var i=e("../utils.js").log;t.exports=function(){var e=function(e){if("object"!=typeof e||e.mandatory||e.optional)return e;var t={};return Object.keys(e).forEach(function(n){if("require"!==n&&"advanced"!==n&&"mediaSource"!==n){var i="object"==typeof e[n]?e[n]:{ideal:e[n]};void 0!==i.exact&&"number"==typeof i.exact&&(i.min=i.max=i.exact);var o=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==i.ideal){t.optional=t.optional||[];var r={};"number"==typeof i.ideal?(r[o("min",n)]=i.ideal,t.optional.push(r),(r={})[o("max",n)]=i.ideal,t.optional.push(r)):(r[o("",n)]=i.ideal,t.optional.push(r))}void 0!==i.exact&&"number"!=typeof i.exact?(t.mandatory=t.mandatory||{},t.mandatory[o("",n)]=i.exact):["min","max"].forEach(function(e){void 0!==i[e]&&(t.mandatory=t.mandatory||{},t.mandatory[o(e,n)]=i[e])})}}),e.advanced&&(t.optional=(t.optional||[]).concat(e.advanced)),t},t=function(t,n){if((t=JSON.parse(JSON.stringify(t)))&&t.audio&&(t.audio=e(t.audio)),t&&"object"==typeof t.video){var o=t.video.facingMode;if((o=o&&("object"==typeof o?o:{ideal:o}))&&("user"===o.exact||"environment"===o.exact||"user"===o.ideal||"environment"===o.ideal)&&(!navigator.mediaDevices.getSupportedConstraints||!navigator.mediaDevices.getSupportedConstraints().facingMode)&&(delete t.video.facingMode,"environment"===o.exact||"environment"===o.ideal))return navigator.mediaDevices.enumerateDevices().then(function(r){var a=(r=r.filter(function(e){return"videoinput"===e.kind})).find(function(e){return-1!==e.label.toLowerCase().indexOf("back")})||r.length&&r[r.length-1];return a&&(t.video.deviceId=o.exact?{exact:a.deviceId}:{ideal:a.deviceId}),t.video=e(t.video),i("chrome: "+JSON.stringify(t)),n(t)});t.video=e(t.video)}return i("chrome: "+JSON.stringify(t)),n(t)},n=function(e){return{name:{PermissionDeniedError:"NotAllowedError",ConstraintNotSatisfiedError:"OverconstrainedError"}[e.name]||e.name,message:e.message,constraint:e.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}};navigator.getUserMedia=function(e,i,o){t(e,function(e){navigator.webkitGetUserMedia(e,i,function(e){o(n(e))})})};var o=function(e){return new Promise(function(t,n){navigator.getUserMedia(e,t,n)})};if(navigator.mediaDevices||(navigator.mediaDevices={getUserMedia:o,enumerateDevices:function(){return new Promise(function(e){var t={audio:"audioinput",video:"videoinput"};return MediaStreamTrack.getSources(function(n){e(n.map(function(e){return{label:e.label,kind:t[e.kind],deviceId:e.id,groupId:""}}))})})}}),navigator.mediaDevices.getUserMedia){var r=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(e){return t(e,function(e){return r(e).catch(function(e){return Promise.reject(n(e))})})}}else navigator.mediaDevices.getUserMedia=function(e){return o(e)};void 0===navigator.mediaDevices.addEventListener&&(navigator.mediaDevices.addEventListener=function(){i("Dummy mediaDevices.addEventListener called.")}),void 0===navigator.mediaDevices.removeEventListener&&(navigator.mediaDevices.removeEventListener=function(){i("Dummy mediaDevices.removeEventListener called.")})}},{"../utils.js":191}],186:[function(e,t,n){"use strict";var i=e("sdp"),o=e("../utils").log,r={shimPeerConnection:function(){window.RTCIceGatherer&&(window.RTCIceCandidate||(window.RTCIceCandidate=function(e){return e}),window.RTCSessionDescription||(window.RTCSessionDescription=function(e){return e})),window.RTCPeerConnection=function(e){var t=this,n=document.createDocumentFragment();if(["addEventListener","removeEventListener","dispatchEvent"].forEach(function(e){t[e]=n[e].bind(n)}),this.onicecandidate=null,this.onaddstream=null,this.ontrack=null,this.onremovestream=null,this.onsignalingstatechange=null,this.oniceconnectionstatechange=null,this.onnegotiationneeded=null,this.ondatachannel=null,this.localStreams=[],this.remoteStreams=[],this.getLocalStreams=function(){return t.localStreams},this.getRemoteStreams=function(){return t.remoteStreams},this.localDescription=new RTCSessionDescription({type:"",sdp:""}),this.remoteDescription=new RTCSessionDescription({type:"",sdp:""}),this.signalingState="stable",this.iceConnectionState="new",this.iceGatheringState="new",this.iceOptions={gatherPolicy:"all",iceServers:[]},e&&e.iceTransportPolicy)switch(e.iceTransportPolicy){case"all":case"relay":this.iceOptions.gatherPolicy=e.iceTransportPolicy;break;case"none":throw new TypeError('iceTransportPolicy "none" not supported')}if(this.usingBundle=e&&"max-bundle"===e.bundlePolicy,e&&e.iceServers){var i=JSON.parse(JSON.stringify(e.iceServers));this.iceOptions.iceServers=i.filter(function(e){if(e&&e.urls){var t=e.urls;return"string"==typeof t&&(t=[t]),!!(t=t.filter(function(e){return 0===e.indexOf("turn:")&&-1!==e.indexOf("transport=udp")})[0])}return!1})}this.transceivers=[],this._localIceCandidatesBuffer=[]},window.RTCPeerConnection.prototype._emitBufferedCandidates=function(){var e=this,t=i.splitSections(e.localDescription.sdp);this._localIceCandidatesBuffer.forEach(function(n){if(!n.candidate||0===Object.keys(n.candidate).length)for(var i=1;i<t.length;i++)-1===t[i].indexOf("\r\na=end-of-candidates\r\n")&&(t[i]+="a=end-of-candidates\r\n");else-1===n.candidate.candidate.indexOf("typ endOfCandidates")&&(t[n.candidate.sdpMLineIndex+1]+="a="+n.candidate.candidate+"\r\n");(e.localDescription.sdp=t.join(""),e.dispatchEvent(n),null!==e.onicecandidate&&e.onicecandidate(n),n.candidate||"complete"===e.iceGatheringState)||e.transceivers.every(function(e){return e.iceGatherer&&"completed"===e.iceGatherer.state})&&(e.iceGatheringState="complete")}),this._localIceCandidatesBuffer=[]},window.RTCPeerConnection.prototype.addStream=function(e){this.localStreams.push(e.clone()),this._maybeFireNegotiationNeeded()},window.RTCPeerConnection.prototype.removeStream=function(e){var t=this.localStreams.indexOf(e);t>-1&&(this.localStreams.splice(t,1),this._maybeFireNegotiationNeeded())},window.RTCPeerConnection.prototype.getSenders=function(){return this.transceivers.filter(function(e){return!!e.rtpSender}).map(function(e){return e.rtpSender})},window.RTCPeerConnection.prototype.getReceivers=function(){return this.transceivers.filter(function(e){return!!e.rtpReceiver}).map(function(e){return e.rtpReceiver})},window.RTCPeerConnection.prototype._getCommonCapabilities=function(e,t){var n={codecs:[],headerExtensions:[],fecMechanisms:[]};return e.codecs.forEach(function(e){for(var i=0;i<t.codecs.length;i++){var o=t.codecs[i];if(e.name.toLowerCase()===o.name.toLowerCase()&&e.clockRate===o.clockRate&&e.numChannels===o.numChannels){n.codecs.push(o);break}}}),e.headerExtensions.forEach(function(e){for(var i=0;i<t.headerExtensions.length;i++){var o=t.headerExtensions[i];if(e.uri===o.uri){n.headerExtensions.push(o);break}}}),n},window.RTCPeerConnection.prototype._createIceAndDtlsTransports=function(e,t){var n=this,o=new RTCIceGatherer(n.iceOptions),r=new RTCIceTransport(o);o.onlocalcandidate=function(a){var s=new Event("icecandidate");s.candidate={sdpMid:e,sdpMLineIndex:t};var l=a.candidate,c=!l||0===Object.keys(l).length;c?(void 0===o.state&&(o.state="completed"),s.candidate.candidate="candidate:1 1 udp 1 0.0.0.0 9 typ endOfCandidates"):(l.component="RTCP"===r.component?2:1,s.candidate.candidate=i.writeCandidate(l));var u=i.splitSections(n.localDescription.sdp);-1===s.candidate.candidate.indexOf("typ endOfCandidates")?u[s.candidate.sdpMLineIndex+1]+="a="+s.candidate.candidate+"\r\n":u[s.candidate.sdpMLineIndex+1]+="a=end-of-candidates\r\n",n.localDescription.sdp=u.join("");var d=n.transceivers.every(function(e){return e.iceGatherer&&"completed"===e.iceGatherer.state});switch(n.iceGatheringState){case"new":n._localIceCandidatesBuffer.push(s),c&&d&&n._localIceCandidatesBuffer.push(new Event("icecandidate"));break;case"gathering":n._emitBufferedCandidates(),n.dispatchEvent(s),null!==n.onicecandidate&&n.onicecandidate(s),d&&(n.dispatchEvent(new Event("icecandidate")),null!==n.onicecandidate&&n.onicecandidate(new Event("icecandidate")),n.iceGatheringState="complete")}},r.onicestatechange=function(){n._updateConnectionState()};var a=new RTCDtlsTransport(r);return a.ondtlsstatechange=function(){n._updateConnectionState()},a.onerror=function(){a.state="failed",n._updateConnectionState()},{iceGatherer:o,iceTransport:r,dtlsTransport:a}},window.RTCPeerConnection.prototype._transceive=function(e,t,n){var o=this._getCommonCapabilities(e.localCapabilities,e.remoteCapabilities);t&&e.rtpSender&&(o.encodings=e.sendEncodingParameters,o.rtcp={cname:i.localCName},e.recvEncodingParameters.length&&(o.rtcp.ssrc=e.recvEncodingParameters[0].ssrc),e.rtpSender.send(o)),n&&e.rtpReceiver&&(o.encodings=e.recvEncodingParameters,o.rtcp={cname:e.cname},e.sendEncodingParameters.length&&(o.rtcp.ssrc=e.sendEncodingParameters[0].ssrc),e.rtpReceiver.receive(o))},window.RTCPeerConnection.prototype.setLocalDescription=function(e){var t,n,o=this;if("offer"===e.type)this._pendingOffer&&(t=i.splitSections(e.sdp),n=t.shift(),t.forEach(function(e,t){var n=i.parseRtpParameters(e);o._pendingOffer[t].localCapabilities=n}),this.transceivers=this._pendingOffer,delete this._pendingOffer);else if("answer"===e.type){t=i.splitSections(o.remoteDescription.sdp),n=t.shift();var r=i.matchPrefix(n,"a=ice-lite").length>0;t.forEach(function(e,t){var a=o.transceivers[t],s=a.iceGatherer,l=a.iceTransport,c=a.dtlsTransport,u=a.localCapabilities,d=a.remoteCapabilities;if(!("0"===e.split("\n",1)[0].split(" ",2)[1])){var p=i.getIceParameters(e,n);if(r){var f=i.matchPrefix(e,"a=candidate:").map(function(e){return i.parseCandidate(e)}).filter(function(e){return"1"===e.component});f.length&&l.setRemoteCandidates(f)}var m=i.getDtlsParameters(e,n);r&&(m.role="server"),o.usingBundle&&0!==t||(l.start(s,p,r?"controlling":"controlled"),c.start(m));var h=o._getCommonCapabilities(u,d);o._transceive(a,h.codecs.length>0,!1)}})}switch(this.localDescription={type:e.type,sdp:e.sdp},e.type){case"offer":this._updateSignalingState("have-local-offer");break;case"answer":this._updateSignalingState("stable");break;default:throw new TypeError('unsupported type "'+e.type+'"')}var a=arguments.length>1&&"function"==typeof arguments[1];if(a){var s=arguments[1];window.setTimeout(function(){s(),"new"===o.iceGatheringState&&(o.iceGatheringState="gathering"),o._emitBufferedCandidates()},0)}var l=Promise.resolve();return l.then(function(){a||("new"===o.iceGatheringState&&(o.iceGatheringState="gathering"),window.setTimeout(o._emitBufferedCandidates.bind(o),500))}),l},window.RTCPeerConnection.prototype.setRemoteDescription=function(e){var t=this,n=new MediaStream,o=[],r=i.splitSections(e.sdp),a=r.shift(),s=i.matchPrefix(a,"a=ice-lite").length>0;switch(this.usingBundle=i.matchPrefix(a,"a=group:BUNDLE ").length>0,r.forEach(function(r,l){var c,u,d,p,f,m,h,g,v,_,b,y,w=i.splitLines(r)[0].substr(2).split(" "),x=w[0],k="0"===w[1],A=i.getDirection(r,a),C=i.parseRtpParameters(r);k||(b=i.getIceParameters(r,a),(y=i.getDtlsParameters(r,a)).role="client"),g=i.parseRtpEncodingParameters(r);var S,M=i.matchPrefix(r,"a=mid:");M=M.length?M[0].substr(6):i.generateIdentifier();var P=i.matchPrefix(r,"a=ssrc:").map(function(e){return i.parseSsrcMedia(e)}).filter(function(e){return"cname"===e.attribute})[0];P&&(S=P.value);var O=i.matchPrefix(r,"a=end-of-candidates").length>0,T=i.matchPrefix(r,"a=candidate:").map(function(e){return i.parseCandidate(e)}).filter(function(e){return"1"===e.component});if("offer"!==e.type||k)"answer"!==e.type||k||(u=(c=t.transceivers[l]).iceGatherer,d=c.iceTransport,p=c.dtlsTransport,f=c.rtpSender,m=c.rtpReceiver,h=c.sendEncodingParameters,v=c.localCapabilities,t.transceivers[l].recvEncodingParameters=g,t.transceivers[l].remoteCapabilities=C,t.transceivers[l].cname=S,(s||O)&&T.length&&d.setRemoteCandidates(T),t.usingBundle&&0!==l||(d.start(u,b,"controlling"),p.start(y)),t._transceive(c,"sendrecv"===A||"recvonly"===A,"sendrecv"===A||"sendonly"===A),!m||"sendrecv"!==A&&"sendonly"!==A?delete c.rtpReceiver:(_=m.track,o.push([_,m]),n.addTrack(_)));else{var E=t.usingBundle&&l>0?{iceGatherer:t.transceivers[0].iceGatherer,iceTransport:t.transceivers[0].iceTransport,dtlsTransport:t.transceivers[0].dtlsTransport}:t._createIceAndDtlsTransports(M,l);if(O&&E.iceTransport.setRemoteCandidates(T),v=RTCRtpReceiver.getCapabilities(x),h=[{ssrc:1001*(2*l+2)}],_=(m=new RTCRtpReceiver(E.dtlsTransport,x)).track,o.push([_,m]),n.addTrack(_),t.localStreams.length>0&&t.localStreams[0].getTracks().length>=l){var N=t.localStreams[0].getTracks()[l];f=new RTCRtpSender(N,E.dtlsTransport)}t.transceivers[l]={iceGatherer:E.iceGatherer,iceTransport:E.iceTransport,dtlsTransport:E.dtlsTransport,localCapabilities:v,remoteCapabilities:C,rtpSender:f,rtpReceiver:m,kind:x,mid:M,cname:S,sendEncodingParameters:h,recvEncodingParameters:g},t._transceive(t.transceivers[l],!1,"sendrecv"===A||"sendonly"===A)}}),this.remoteDescription={type:e.type,sdp:e.sdp},e.type){case"offer":this._updateSignalingState("have-remote-offer");break;case"answer":this._updateSignalingState("stable");break;default:throw new TypeError('unsupported type "'+e.type+'"')}return n.getTracks().length&&(t.remoteStreams.push(n),window.setTimeout(function(){var e=new Event("addstream");e.stream=n,t.dispatchEvent(e),null!==t.onaddstream&&window.setTimeout(function(){t.onaddstream(e)},0),o.forEach(function(i){var o=i[0],r=i[1],a=new Event("track");a.track=o,a.receiver=r,a.streams=[n],t.dispatchEvent(e),null!==t.ontrack&&window.setTimeout(function(){t.ontrack(a)},0)})},0)),arguments.length>1&&"function"==typeof arguments[1]&&window.setTimeout(arguments[1],0),Promise.resolve()},window.RTCPeerConnection.prototype.close=function(){this.transceivers.forEach(function(e){e.iceTransport&&e.iceTransport.stop(),e.dtlsTransport&&e.dtlsTransport.stop(),e.rtpSender&&e.rtpSender.stop(),e.rtpReceiver&&e.rtpReceiver.stop()}),this._updateSignalingState("closed")},window.RTCPeerConnection.prototype._updateSignalingState=function(e){this.signalingState=e;var t=new Event("signalingstatechange");this.dispatchEvent(t),null!==this.onsignalingstatechange&&this.onsignalingstatechange(t)},window.RTCPeerConnection.prototype._maybeFireNegotiationNeeded=function(){var e=new Event("negotiationneeded");this.dispatchEvent(e),null!==this.onnegotiationneeded&&this.onnegotiationneeded(e)},window.RTCPeerConnection.prototype._updateConnectionState=function(){var e,t={new:0,closed:0,connecting:0,checking:0,connected:0,completed:0,failed:0};if(this.transceivers.forEach(function(e){t[e.iceTransport.state]++,t[e.dtlsTransport.state]++}),t.connected+=t.completed,e="new",t.failed>0?e="failed":t.connecting>0||t.checking>0?e="connecting":t.disconnected>0?e="disconnected":t.new>0?e="new":(t.connected>0||t.completed>0)&&(e="connected"),e!==this.iceConnectionState){this.iceConnectionState=e;var n=new Event("iceconnectionstatechange");this.dispatchEvent(n),null!==this.oniceconnectionstatechange&&this.oniceconnectionstatechange(n)}},window.RTCPeerConnection.prototype.createOffer=function(){var e,t=this;if(this._pendingOffer)throw new Error("createOffer called while there is a pending offer.");1===arguments.length&&"function"!=typeof arguments[0]?e=arguments[0]:3===arguments.length&&(e=arguments[2]);var n=[],o=0,r=0;if(this.localStreams.length&&(o=this.localStreams[0].getAudioTracks().length,r=this.localStreams[0].getVideoTracks().length),e){if(e.mandatory||e.optional)throw new TypeError("Legacy mandatory/optional constraints not supported.");void 0!==e.offerToReceiveAudio&&(o=e.offerToReceiveAudio),void 0!==e.offerToReceiveVideo&&(r=e.offerToReceiveVideo)}for(this.localStreams.length&&this.localStreams[0].getTracks().forEach(function(e){n.push({kind:e.kind,track:e,wantReceive:"audio"===e.kind?o>0:r>0}),"audio"===e.kind?o--:"video"===e.kind&&r--});o>0||r>0;)o>0&&(n.push({kind:"audio",wantReceive:!0}),o--),r>0&&(n.push({kind:"video",wantReceive:!0}),r--);var a=i.writeSessionBoilerplate(),s=[];n.forEach(function(e,n){var o,r,a=e.track,l=e.kind,c=i.generateIdentifier(),u=t.usingBundle&&n>0?{iceGatherer:s[0].iceGatherer,iceTransport:s[0].iceTransport,dtlsTransport:s[0].dtlsTransport}:t._createIceAndDtlsTransports(c,n),d=RTCRtpSender.getCapabilities(l),p=[{ssrc:1001*(2*n+1)}];a&&(o=new RTCRtpSender(a,u.dtlsTransport)),e.wantReceive&&(r=new RTCRtpReceiver(u.dtlsTransport,l)),s[n]={iceGatherer:u.iceGatherer,iceTransport:u.iceTransport,dtlsTransport:u.dtlsTransport,localCapabilities:d,remoteCapabilities:null,rtpSender:o,rtpReceiver:r,kind:l,mid:c,sendEncodingParameters:p,recvEncodingParameters:null}}),this.usingBundle&&(a+="a=group:BUNDLE "+s.map(function(e){return e.mid}).join(" ")+"\r\n"),n.forEach(function(e,n){var o=s[n];a+=i.writeMediaSection(o,o.localCapabilities,"offer",t.localStreams[0])}),this._pendingOffer=s;var l=new RTCSessionDescription({type:"offer",sdp:a});return arguments.length&&"function"==typeof arguments[0]&&window.setTimeout(arguments[0],0,l),Promise.resolve(l)},window.RTCPeerConnection.prototype.createAnswer=function(){var e=this,t=i.writeSessionBoilerplate();this.usingBundle&&(t+="a=group:BUNDLE "+this.transceivers.map(function(e){return e.mid}).join(" ")+"\r\n"),this.transceivers.forEach(function(n){var o=e._getCommonCapabilities(n.localCapabilities,n.remoteCapabilities);t+=i.writeMediaSection(n,o,"answer",e.localStreams[0])});var n=new RTCSessionDescription({type:"answer",sdp:t});return arguments.length&&"function"==typeof arguments[0]&&window.setTimeout(arguments[0],0,n),Promise.resolve(n)},window.RTCPeerConnection.prototype.addIceCandidate=function(e){if(null===e)this.transceivers.forEach(function(e){e.iceTransport.addRemoteCandidate({})});else{var t=e.sdpMLineIndex;if(e.sdpMid)for(var n=0;n<this.transceivers.length;n++)if(this.transceivers[n].mid===e.sdpMid){t=n;break}var o=this.transceivers[t];if(o){var r=Object.keys(e.candidate).length>0?i.parseCandidate(e.candidate):{};if("tcp"===r.protocol&&0===r.port)return;if("1"!==r.component)return;"endOfCandidates"===r.type&&(r={}),o.iceTransport.addRemoteCandidate(r);var a=i.splitSections(this.remoteDescription.sdp);a[t+1]+=(r.type?e.candidate.trim():"a=end-of-candidates")+"\r\n",this.remoteDescription.sdp=a.join("")}}return arguments.length>1&&"function"==typeof arguments[1]&&window.setTimeout(arguments[1],0),Promise.resolve()},window.RTCPeerConnection.prototype.getStats=function(){var e=[];this.transceivers.forEach(function(t){["rtpSender","rtpReceiver","iceGatherer","iceTransport","dtlsTransport"].forEach(function(n){t[n]&&e.push(t[n].getStats())})});var t=arguments.length>1&&"function"==typeof arguments[1]&&arguments[1];return new Promise(function(n){var i=new Map;Promise.all(e).then(function(e){e.forEach(function(e){Object.keys(e).forEach(function(t){i.set(t,e[t]),i[t]=e[t]})}),t&&window.setTimeout(t,0,i),n(i)})})}},attachMediaStream:function(e,t){o("DEPRECATED, attachMediaStream will soon be removed."),e.srcObject=t},reattachMediaStream:function(e,t){o("DEPRECATED, reattachMediaStream will soon be removed."),e.srcObject=t.srcObject}};t.exports={shimPeerConnection:r.shimPeerConnection,shimGetUserMedia:e("./getusermedia"),attachMediaStream:r.attachMediaStream,reattachMediaStream:r.reattachMediaStream}},{"../utils":191,"./getusermedia":187,sdp:130}],187:[function(e,t,n){"use strict";t.exports=function(){var e=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(t){return e(t).catch(function(e){return Promise.reject(function(e){return{name:{PermissionDeniedError:"NotAllowedError"}[e.name]||e.name,message:e.message,constraint:e.constraint,toString:function(){return this.name}}}(e))})}}},{}],188:[function(e,t,n){"use strict";var i=e("../utils").log,o=e("../utils").browserDetails,r={shimOnTrack:function(){"object"!=typeof window||!window.RTCPeerConnection||"ontrack"in window.RTCPeerConnection.prototype||Object.defineProperty(window.RTCPeerConnection.prototype,"ontrack",{get:function(){return this._ontrack},set:function(e){this._ontrack&&(this.removeEventListener("track",this._ontrack),this.removeEventListener("addstream",this._ontrackpoly)),this.addEventListener("track",this._ontrack=e),this.addEventListener("addstream",this._ontrackpoly=function(e){e.stream.getTracks().forEach(function(t){var n=new Event("track");n.track=t,n.receiver={track:t},n.streams=[e.stream],this.dispatchEvent(n)}.bind(this))}.bind(this))}})},shimSourceObject:function(){"object"==typeof window&&(!window.HTMLMediaElement||"srcObject"in window.HTMLMediaElement.prototype||Object.defineProperty(window.HTMLMediaElement.prototype,"srcObject",{get:function(){return this.mozSrcObject},set:function(e){this.mozSrcObject=e}}))},shimPeerConnection:function(){if("object"==typeof window&&(window.RTCPeerConnection||window.mozRTCPeerConnection)){window.RTCPeerConnection||(window.RTCPeerConnection=function(e,t){if(o.version<38&&e&&e.iceServers){for(var n=[],i=0;i<e.iceServers.length;i++){var r=e.iceServers[i];if(r.hasOwnProperty("urls"))for(var a=0;a<r.urls.length;a++){var s={url:r.urls[a]};0===r.urls[a].indexOf("turn")&&(s.username=r.username,s.credential=r.credential),n.push(s)}else n.push(e.iceServers[i])}e.iceServers=n}return new mozRTCPeerConnection(e,t)},window.RTCPeerConnection.prototype=mozRTCPeerConnection.prototype,mozRTCPeerConnection.generateCertificate&&Object.defineProperty(window.RTCPeerConnection,"generateCertificate",{get:function(){return mozRTCPeerConnection.generateCertificate}}),window.RTCSessionDescription=mozRTCSessionDescription,window.RTCIceCandidate=mozRTCIceCandidate),["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){var t=RTCPeerConnection.prototype[e];RTCPeerConnection.prototype[e]=function(){return arguments[0]=new("addIceCandidate"===e?RTCIceCandidate:RTCSessionDescription)(arguments[0]),t.apply(this,arguments)}});var e=RTCPeerConnection.prototype.addIceCandidate;RTCPeerConnection.prototype.addIceCandidate=function(){return null===arguments[0]?Promise.resolve():e.apply(this,arguments)};var t=RTCPeerConnection.prototype.getStats;RTCPeerConnection.prototype.getStats=function(e,n,i){return t.apply(this,[e||null]).then(function(e){return function(e){var t=new Map;return Object.keys(e).forEach(function(n){t.set(n,e[n]),t[n]=e[n]}),t}(e)}).then(n,i)}}},attachMediaStream:function(e,t){i("DEPRECATED, attachMediaStream will soon be removed."),e.srcObject=t},reattachMediaStream:function(e,t){i("DEPRECATED, reattachMediaStream will soon be removed."),e.srcObject=t.srcObject}};t.exports={shimOnTrack:r.shimOnTrack,shimSourceObject:r.shimSourceObject,shimPeerConnection:r.shimPeerConnection,shimGetUserMedia:e("./getusermedia"),attachMediaStream:r.attachMediaStream,reattachMediaStream:r.reattachMediaStream}},{"../utils":191,"./getusermedia":189}],189:[function(e,t,n){"use strict";var i=e("../utils").log,o=e("../utils").browserDetails;t.exports=function(){var e=function(e){return{name:{SecurityError:"NotAllowedError",PermissionDeniedError:"NotAllowedError"}[e.name]||e.name,message:{"The operation is insecure.":"The request is not allowed by the user agent or the platform in the current context."}[e.message]||e.message,constraint:e.constraint,toString:function(){return this.name+(this.message&&": ")+this.message}}},t=function(t,n,r){var a=function(e){if("object"!=typeof e||e.require)return e;var t=[];return Object.keys(e).forEach(function(n){if("require"!==n&&"advanced"!==n&&"mediaSource"!==n){var i=e[n]="object"==typeof e[n]?e[n]:{ideal:e[n]};if(void 0===i.min&&void 0===i.max&&void 0===i.exact||t.push(n),void 0!==i.exact&&("number"==typeof i.exact?i.min=i.max=i.exact:e[n]=i.exact,delete i.exact),void 0!==i.ideal){e.advanced=e.advanced||[];var o={};"number"==typeof i.ideal?o[n]={min:i.ideal,max:i.ideal}:o[n]=i.ideal,e.advanced.push(o),delete i.ideal,Object.keys(i).length||delete e[n]}}}),t.length&&(e.require=t),e};return t=JSON.parse(JSON.stringify(t)),o.version<38&&(i("spec: "+JSON.stringify(t)),t.audio&&(t.audio=a(t.audio)),t.video&&(t.video=a(t.video)),i("ff37: "+JSON.stringify(t))),navigator.mozGetUserMedia(t,n,function(t){r(e(t))})};if(navigator.mediaDevices||(navigator.mediaDevices={getUserMedia:function(e){return new Promise(function(n,i){t(e,n,i)})},addEventListener:function(){},removeEventListener:function(){}}),navigator.mediaDevices.enumerateDevices=navigator.mediaDevices.enumerateDevices||function(){return new Promise(function(e){e([{kind:"audioinput",deviceId:"default",label:"",groupId:""},{kind:"videoinput",deviceId:"default",label:"",groupId:""}])})},o.version<41){var n=navigator.mediaDevices.enumerateDevices.bind(navigator.mediaDevices);navigator.mediaDevices.enumerateDevices=function(){return n().then(void 0,function(e){if("NotFoundError"===e.name)return[];throw e})}}if(o.version<49){var r=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(t){return r(t).catch(function(t){return Promise.reject(e(t))})}}navigator.getUserMedia=function(e,n,i){if(o.version<44)return t(e,n,i);console.warn("navigator.getUserMedia has been replaced by navigator.mediaDevices.getUserMedia"),navigator.mediaDevices.getUserMedia(e).then(n,i)}}},{"../utils":191}],190:[function(e,t,n){"use strict";var i={shimGetUserMedia:function(){navigator.getUserMedia=navigator.webkitGetUserMedia}};t.exports={shimGetUserMedia:i.shimGetUserMedia}},{}],191:[function(e,t,n){"use strict";var i=!0,o={disableLog:function(e){return"boolean"!=typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(i=e,e?"adapter.js logging disabled":"adapter.js logging enabled")},log:function(){if("object"==typeof window){if(i)return;"undefined"!=typeof console&&"function"==typeof console.log&&console.log.apply(console,arguments)}},extractVersion:function(e,t,n){var i=e.match(t);return i&&i.length>=n&&parseInt(i[n],10)},detectBrowser:function(){var e={browser:null,version:null,minVersion:null};if("undefined"==typeof window||!window.navigator)return e.browser="Not a browser.",e;if(navigator.mozGetUserMedia)e.browser="firefox",e.version=this.extractVersion(navigator.userAgent,/Firefox\/([0-9]+)\./,1),e.minVersion=31;else if(navigator.webkitGetUserMedia)if(window.webkitRTCPeerConnection)e.browser="chrome",e.version=this.extractVersion(navigator.userAgent,/Chrom(e|ium)\/([0-9]+)\./,2),e.minVersion=38;else{if(!navigator.userAgent.match(/Version\/(\d+).(\d+)/))return e.browser="Unsupported webkit-based browser with GUM support but no WebRTC support.",e;e.browser="safari",e.version=this.extractVersion(navigator.userAgent,/AppleWebKit\/([0-9]+)\./,1),e.minVersion=602}else{if(!navigator.mediaDevices||!navigator.userAgent.match(/Edge\/(\d+).(\d+)$/))return e.browser="Not a supported browser.",e;e.browser="edge",e.version=this.extractVersion(navigator.userAgent,/Edge\/(\d+).(\d+)$/,2),e.minVersion=10547}return e.version<e.minVersion&&o.log("Browser: "+e.browser+" Version: "+e.version+" < minimum supported version: "+e.minVersion+"\n some things might not work!"),e}};t.exports={log:o.log,disableLog:o.disableLog,browserDetails:o.detectBrowser(),extractVersion:o.extractVersion}},{}],192:[function(e,t,n){"use strict";var i,o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),r=64,a={},s=0,l=0;function c(e){var t="";do{t=o[e%r]+t,e=Math.floor(e/r)}while(e>0);return t}function u(){var e=c(+new Date);return e!==i?(s=0,i=e):e+"."+c(s++)}for(;l<r;l++)a[o[l]]=l;u.encode=c,u.decode=function(e){var t=0;for(l=0;l<e.length;l++)t=t*r+a[e.charAt(l)];return t},t.exports=u},{}],193:[function(e,t,n){"use strict";var i,o=e("store"),r=(i=o)&&i.__esModule?i:{default:i};t.exports=function(){var e=void 0,t=void 0;function n(t){e=t}return{init:function(){t=r.default.get("folder_passwords")||{}},setSessionPassword:function(e){return n(e)},updateFoldersPasswords:function(e){return function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]={}),t[n]=Object.assign(t[n],e[n]);r.default.set("folder_passwords",t)}(e)},removeFolderPassword:function(e){return function(e){var n=e.type,i=e.slugFolderName;n in t&&i in t[n]&&delete t[n][i];r.default.set("folder_passwords",t)}(e)},removeAllFoldersPassword:function(e){return function(e){var n=e.type;t.hasOwnProperty(n)&&delete t[n];r.default.set("folder_passwords",t)}(e)},getSessionPassword:function(){return e},getFoldersPasswords:function(){return t},getSessionPasswordFromLocalStorage:function(){return r.default.get("session_password")},saveSessionPasswordToLocalStorage:function(e){return function(e){r.default.set("session_password",e)}(e)},emptySessionPasswordInLocalStorage:function(){r.default.set("session_password","")},hashCode:function(e){return""+e.split("").reduce(function(e,t){return(e=(e<<5)-e+t.charCodeAt(0))&e},0)}}}()},{store:156}],194:[function(e,t,n){"use strict";var i="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},o=a(e("socket.io-client")),r=a(e("vue"));function a(e){return e&&e.__esModule?e:{default:e}}t.exports={init:function(e,t,n){return new r.default({i18n:e,data:{socket:""},methods:{connect:function(e){var n={};if(e){var i=t.hashCode(e);n.query={hashed_session_password:i}}window.navigator.userAgent.indexOf("Chrome")>-1?n.transports=["websocket","polling"]:n.transports=["polling","websocket"],this.socket=o.default.connect(n),this.socket.on("connect",this._onSocketConnect),this.socket.on("reconnect",this._onReconnect),this.socket.on("pong",this._onPong),this.socket.on("error",this._onSocketError),this.socket.on("connect_error",this._onConnectError),this.socket.on("authentificated",this._authentificated),this.socket.on("listMedia",this._onListMedia),this.socket.on("listMedias",this._onListMedias),this.socket.on("listFolder",this._onListFolder),this.socket.on("listFolders",this._onListFolders),this.socket.on("listSpecificMedias",this._onListSpecificMedias),this.socket.on("publiPDFGenerated",this._onPubliPDFGenerated),this.socket.on("publiVideoGenerated",this._onPubliVideoGenerated),this.socket.on("publiVideoFailed",this._onPubliVideoFailed),this.socket.on("publiStopmotionIsGenerated",this._onPubliStopmotionGenerated),this.socket.on("publiStopmotionFailed",this._onPubliStopmotionFailed),this.socket.on("newNetworkInfos",this._onNewNetworkInfos),this.socket.on("notify",this._onNotify),this.socket.on("pong",this._onPong),this.socket.on("listClients",this._listClients),this.socket.on("loadJournal",this._onLoadJournal)},_onSocketConnect:function(){var e=this.socket.io.engine.id;console.log("Connected as "+e),window.state.connected=!0,window.state.authentificated=!0,this.$eventHub.$emit("socketio.connect"),this.socket.emit("updateClientInfo",{}),this.sendAuth()},_onReconnect:function(){this.sendAuth(),this.$eventHub.$emit("socketio.reconnect"),console.log("Reconnected")},_onPong:function(){console.log("_onPong")},sendAuth:function(){var e=t.getFoldersPasswords();console.log("Asking for auth with "+JSON.stringify(e,null,4)),this.socket.emit("authenticate",{folder_passwords:e})},_onSocketError:function(e){console.log("Unable to connect to server: "+e),this.$eventHub.$emit("socketio.socketerror",e)},_onConnectError:function(e){console.log("Lost connection to server: "+e),window.state.connected=!1,this.$eventHub.$emit("socketio.connecterror",e)},_authentificated:function(e){console.log("Admin for "+JSON.stringify(e,null,4)),window.state.list_authorized_folders=e,t.getFoldersPasswords(),this.$eventHub.$emit("socketio.authentificated")},_onListMedia:function(e){console.log("Received _onListMedia packet.");var t=Object.keys(e)[0],n=Object.values(e)[0];for(var i in console.log("Type is "+t),n)if(console.log("Media data is for "+i+"."),window.store[t].hasOwnProperty(i)){window.store[t][i].medias=Object.assign({},window.store[t][i].medias,n[i].medias);var o=Object.values(n[i].medias)[0];o&&o.hasOwnProperty("id")&&this.$eventHub.$emit("socketio.media_created_or_updated",o)}this.$eventHub.$emit("socketio."+t+".media_listed",e)},_onListMedias:function(e){console.log("Received _onListMedias packet.");var t=Object.keys(e)[0],n=Object.values(e)[0];for(var i in console.log("Type is "+t),n)console.log("Media data is for "+i+"."),window.store[t].hasOwnProperty(i)&&(window.store[t][i].medias=n[i].medias);this.$eventHub.$emit("socketio."+t+".medias_listed")},_onListSpecificMedias:function(e){console.log("Received _onListSpecificMedias packet.");var t=Object.keys(e)[0],n=Object.values(e)[0];for(var i in console.log("Type is "+t),n)console.log("Media data is for "+i+"."),window.store[t].hasOwnProperty(i)&&window.store[t][i].hasOwnProperty("medias")&&(window.store[t][i].medias=Object.assign({},window.store[t][i].medias,n[i].medias));this.$eventHub.$emit("socketio."+t+".listSpecificMedias")},_onPubliPDFGenerated:function(e){console.log("Received _onPubliPDFGenerated packet."),this.$eventHub.$emit("socketio.publication.pdfIsGenerated",e)},_onPubliVideoGenerated:function(e){console.log("Received _onPubliVideoGenerated packet."),this.$eventHub.$emit("socketio.publication.videoIsGenerated",e)},_onPubliVideoFailed:function(){console.log("Received _onPubliVideoFailed packet."),this.$eventHub.$emit("socketio.publication.videoFailedToGenerate")},_onPubliStopmotionGenerated:function(e){console.log("Received _onPubliStopmotionGenerated packet."),this.$eventHub.$emit("socketio.publication.publiStopmotionIsGenerated",e)},_onPubliStopmotionFailed:function(){console.log("Received _onPubliStopmotionFailed packet."),this.$eventHub.$emit("socketio.publication.publiStopmotionFailed")},_listClients:function(e){console.log("Received _listClients packet."),window.state.clients=e},_onLoadJournal:function(e){console.log("Received _onLoadJournal packet."),window.state.journal=e,this.$eventHub.$emit("socketio.journal.is_loaded")},_onListFolder:function(e){console.log("Received _onListFolder packet.");var t=Object.keys(e)[0],n=Object.values(e)[0],i=Object.keys(n)[0];window.store[t].hasOwnProperty(i)?Object.keys(n[i]).some(function(e){return!Object.keys(window.store[t][i]).includes(e)})?(n[i].medias=window.store[t][i].medias,window.store[t]=Object.assign({},window.store[t],n)):Object.keys(n[i]).map(function(e){"medias"!==e&&(window.store[t][i][e]=n[i][e])}):window.store[t]=Object.assign({},window.store[t],n),n[i].hasOwnProperty("id")&&this.$eventHub.$emit("socketio.folder_created_or_updated",n[i]),this.$eventHub.$emit("socketio."+t+".folder_listed")},_onListFolders:function(e){if(console.log("Received _onListFolders packet."),"object"===(void 0===e?"undefined":i(e))){var t=Object.keys(e)[0],n=Object.values(e)[0];for(var o in console.log("Type is "+t),n)window.store[t].hasOwnProperty(o)&&window.store[t][o].hasOwnProperty("medias")&&(n[o].medias=window.store[t][o].medias);window.store[t]=Object.assign({},n),this.$eventHub.$emit("socketio."+t+".folders_listed")}},_onNewNetworkInfos:function(e){console.log("Received _onNewNetworkInfos packet."),window.state.localNetworkInfos=e},_onNotify:function(e){var t=e.localized_string,i=e.not_localized_string,o=e.type,r=void 0===o?"log":o;console.log("Received _onNotify packet.");var a="";t&&i?a+=this.$t("notifications['"+t+"']")+"<br><i>"+i+"</i>":i?a+="<i>"+i+"</i>":t&&(a+=this.$t("notifications['"+t+"']")),"success"===r?n.closeLogOnClick(!0).delay(4e3).success(a):"error"===r?n.closeLogOnClick(!0).delay(1e4).error(a):n.closeLogOnClick(!0).delay(4e3).log(a)},listFolders:function(e){this.socket.emit("listFolders",e)},listFolder:function(e){this.socket.emit("listFolder",e)},createFolder:function(e){this.socket.emit("createFolder",e)},editFolder:function(e){this.socket.emit("editFolder",e)},removeFolder:function(e){this.socket.emit("removeFolder",e)},listMedias:function(e){this.socket.emit("listMedias",e)},createMedia:function(e){this.socket.emit("createMedia",e)},editMedia:function(e){this.socket.emit("editMedia",e)},copyMediaToFolder:function(e){this.socket.emit("copyMediaToFolder",e)},removeMedia:function(e){this.socket.emit("removeMedia",e)},listSpecificMedias:function(e){this.socket.emit("listSpecificMedias",e)},downloadPubliPDF:function(e){this.socket.emit("downloadPubliPDF",e)},downloadVideoPubli:function(e){this.socket.emit("downloadVideoPubli",e)},downloadStopmotionPubli:function(e){this.socket.emit("downloadStopmotionPubli",e)},addTempMediaToFolder:function(e){this.socket.emit("addTempMediaToFolder",e)},copyFolder:function(e){this.socket.emit("copyFolder",e)},updateNetworkInfos:function(){this.socket.emit("updateNetworkInfos")},loadJournal:function(){this.socket.emit("loadJournal")},emptyJournal:function(){this.socket.emit("emptyJournal")}}})}}},{"socket.io-client":146,vue:177}],195:[function(e,t,n){"use strict";o(e("store"));var i=o(e("jquery"));o(e("./vue/app.js"));function o(e){return e&&e.__esModule?e:{default:e}}if(window.$=window.jQuery=i.default,window.state.is_electron){document.body.addEventListener("click",function(e){e.path.every(function(t){if(void 0!==t.classList&&t.classList.length>0){if(t.classList.contains("js--openInBrowser")){var n=window.require("electron").shell;return e.preventDefault(),n.openExternal(t.href),!1}if(t.classList.contains("js--openInNativeApp")){var i=window.require("electron").shell;return e.preventDefault(),i.openItem(t.getAttribute("href")),!1}}return!0})})}document.addEventListener("dragover",function(e){return e.preventDefault(),!1},!1),document.addEventListener("drop",function(e){return e.preventDefault(),!1},!1),function(e){e.barcodeListener=function(t,n){var i={support:[8,10,12,13]},o=this;o.element=e(t),o.timeout=0,o.code="",o.settings={},o.init=function(){o.settings=e.extend({},i,n),o.element.on("keypress",function(e){o.listen(e)})},o.listen=function(e){var t=o.validateKey(e.which);13===t?o.validate():!1!==t&&(""==o.code&&setTimeout(o.clear(),1e3),o.add(t))},o.validate=function(){var e=o.code;if(o.settings.support.indexOf(e.length)>-1){var t=(new Date).getTime()-o.timeout;o.clear(),t<1e3&&o.element.trigger("barcode.valid",[e])}else o.clear()},o.clear=function(){o.code="",o.timeout=0},o.validateKey=function(e){var t=[224,38,233,34,39,40,167,232,33,231];return t.indexOf(e)>-1&&(e=[48,49,50,51,52,53,54,55,56,57][t.indexOf(e)]),(13==e||e>=48&&e<=57)&&(13==e?e:String.fromCharCode(e))},o.add=function(e){if(0===o.timeout){var t=new Date;o.timeout=t.getTime()}o.code+=e},o.init()},e.fn.barcodeListener=function(t){return this.each(function(){if(null==e(this).data("barcodeListener")){var n=new e.barcodeListener(this,t);e(this).data("barcodeListener",n)}})}}(i.default),$("body").barcodeListener().on("barcode.valid",function(e,t){window.dispatchEvent(new CustomEvent("tag.newTagDetected",{detail:t})),e.preventDefault()})},{"./vue/app.js":207,jquery:75,store:156}],196:[function(e,t,n){e("vueify/lib/insert-css").insert('/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */@import "../../node_modules/katex/dist/katex.min.css";html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0}td,th{padding:0}\n/*! Variables */:root{--font-sans-serif:sans-serif;--font-serif:serif;--font-system:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;--font-monospace:Menlo,Consolas,"DejaVu Sans Mono",monospace;--color-primary:tomato;--color-white:#fff;--color-navy:#001f3f;--color-blue:#0074d9;--color-aqua:#7fdbff;--color-teal:#39cccc;--color-olive:#3d9970;--color-green:#2ecc40;--color-lime:#01ff70;--color-yellow:#ffdc00;--color-orange:#ff851b;--color-red:#ff4136;--color-maroon:#85144b;--color-fuchsia:#f012be;--color-purple:#b10dc9;--color-black:#111;--color-gray:#aaa;--color-silver:#ddd;--state-success:var(--color-green);--state-info:var(--color-aqua);--state-warning:var(--color-orange);--state-danger:var(--color-red);--state-inverse:var(--color-black);--component-bg-color:#f2f2f2;--component-border-color:#ddd;--component-border-radius:0.25rem;--component-border-width:1px;--component-spacing:1rem;--component-spacing-big:2rem;--component-spacing-small:0.5rem;--body-bg-color:var(--color-white);--body-color:var(--color-black);--font-family:var(--font-system);--font-size:1rem;--font-size-big:1.25rem;--font-size-small:0.875rem;--font-weight-light:300;--font-weight:400;--font-weight-bold:700;--line-height:1.5;--text-muted:var(--color-gray);--code-font-size:90%;--code-color:var(--color-black);--code-border-radius:var(--component-border-radius);--code-bg-color:var(--component-bg-color);--code-spacing-x:calc(var(--font-size) * 0.4);--code-spacing-y:calc(var(--font-size) * 0.2);--headings-font-family:var(--font-system);--headings-font-weight:var(--font-weight-light);--headings-line-height:1.1;--headings-margin-bottom:0.5rem;--headings-color:inherit;--headings-font-size-h1:2.5rem;--headings-font-size-h2:2rem;--headings-font-size-h3:1.75rem;--headings-font-size-h4:1.5rem;--headings-font-size-h5:1.25rem;--headings-font-size-h6:1rem;--hr-border-width:1px;--hr-border-color:var(--component-border-color);--hr-spacing:var(--component-spacing-big);--kbd-font-size:90%;--kbd-color:var(--color-white);--kbd-border-radius:var(--component-border-radius);--kbd-bg-color:var(--color-black);--kbd-spacing-x:calc(var(--font-size) * 0.4);--kbd-spacing-y:calc(var(--font-size) * 0.2);--link-color:var(--color-primary);--link-text-decoration:none;--link-color-hover:var(--link-color);--link-text-decoration-hover:underline;--mark-color:inherit;--mark-bg-color:var(--color-yellow);--mark-spacing-x:calc(var(--font-size) * 0.4);--mark-spacing-y:calc(var(--font-size) * 0.2);--placeholder-color:var(--text-muted);--pre-color:var(--code-color);--pre-border-radius:var(--component-border-radius);--pre-bg-color:var(--code-bg-color);--pre-max-height:none;--selection-color:var(--color-white);--selection-bg-color:var(--color-primary);--alert-color:var(--color-white);--alert-border-radius:var(--component-border-radius);--alert-bg-color-primary:var(--color-primary);--alert-bg-color-success:var(--state-success);--alert-bg-color-info:var(--state-info);--alert-bg-color-warning:var(--state-warning);--alert-bg-color-danger:var(--state-danger);--alert-bg-color-inverse:var(--state-inverse);--alert-spacing-x:var(--component-spacing);--alert-spacing-y:var(--component-spacing);--badge-font-size:0.8em;--badge-font-weight:var(--font-weight-bold);--badge-color:var(--color-white);--badge-border-radius:1em;--badge-bg-color-primary:var(--color-primary);--badge-bg-color-success:var(--state-success);--badge-bg-color-info:var(--state-info);--badge-bg-color-warning:var(--state-warning);--badge-bg-color-danger:var(--state-danger);--badge-bg-color-inverse:var(--state-inverse);--badge-spacing-x:calc(var(--component-spacing) * 0.5);--badge-spacing-y:calc(var(--component-spacing) * 0.15);--button-font-family:inherit;--button-font-weight:inherit;--button-font-size:var(--font-size);--button-color:var(--color-white);--button-border-radius:var(--component-border-radius);--button-box-shadow:inset 0 2px 0 hsla(0,0%,100%,.1),inset 0 -2px 0 rgba(0,0,0,.1);--button-box-shadow-hover:inset 0 2px 5rem rgba(0,0,0,.1),inset 0 -2px 0 rgba(0,0,0,.1);--button-box-shadow-active:inset 0 2px 5rem rgba(0,0,0,.1),inset 0 2px 0 rgba(0,0,0,.1);--button-bg-color-primary:var(--color-primary);--button-bg-color-success:var(--state-success);--button-bg-color-info:var(--state-info);--button-bg-color-warning:var(--state-warning);--button-bg-color-danger:var(--state-danger);--button-bg-color-inverse:var(--state-inverse);--dropdown-min-width:10rem;--dropdown-max-width:25rem;--dropdown-max-height:none;--dropdown-offset-x:0;--dropdown-offset-y:1px;--dropdown-border-color:var(--component-border-color);--dropdown-border-radius:var(--component-border-radius);--dropdown-border-width:var(--component-border-width);--dropdown-color:var(--body-color);--dropdown-color-hover:var(--color-white);--dropdown-bg-color:var(--color-white);--dropdown-bg-color-hover:var(--color-primary);--dropdown-box-shadow:0 1px 0 rgba(0,0,0,.05);--dropdown-divider-border-color:var(--component-border-color);--dropdown-divider-border-width:var(--component-border-width);--dropdown-spacing-x:var(--component-spacing);--dropdown-spacing-y:calc(var(--dropdown-spacing-x) / 4);--dropdown-z-index:100;--fieldset-border-color:var(--component-border-color);--fieldset-border-width:var(--component-border-width);--fieldset-border-radius:var(--component-border-radius);--fieldset-spacing-x:var(--component-spacing);--fieldset-spacing-y:var(--component-spacing);--input-font-family:inherit;--input-font-size:var(--font-size);--input-font-size-small:0.8rem;--input-font-size-big:1.2rem;--input-font-weight:inherit;--input-height:3rem;--input-height-big:2.75rem;--input-height-small:1.5rem;--input-color:var(--body-color);--input-border-color:var(--component-border-color);--input-border-color-focus:var(--color-primary);--input-border-width:1px;--input-border-radius:var(--component-border-radius);--input-bg-color:var(--color-white);--input-box-shadow:inset 0 1px 0 rgba(0,0,0,.05);--input-readonly-bg-color:var(--component-bg-color);--input-range-track-color:var(--component-bg-color);--input-range-track-box-shadow:inset 0 1px 0 rgba(0,0,0,.05);--input-range-thumb-color:var(--color-primary);--input-range-thumb-height:2rem;--input-invalid-color:var(--state-danger);--input-invalid-border-color:var(--state-danger);--input-valid-color:var(--state-success);--input-valid-border-color:var(--state-success);--loader-bg-color:var(--component-bg-color);--loader-border-color:var(--color-primary);--loader-border-width:0.25rem;--loader-size:2rem;--loader-speed:750ms;--loader-spacing-x:var(--component-spacing-small);--loader-spacing-y:0;--spacing-small:var(--component-spacing);--spacing-medium:calc(var(--component-spacing) * 2);--spacing-big:calc(var(--component-spacing) * 4);--switch-font-size:var(--input-font-size);--switch-font-size-small:var(--input-font-size-small);--switch-font-size-big:var(--input-font-size-big);--switch-bg-color:var(--component-border-color);--switch-bg-color-checked:var(--color-primary);--switch-border-radius:var(--switch-size);--switch-size:2rem;--switch-size-small:1rem;--switch-size-big:3rem;--switch-thumb-bg-color:#fff;--switch-thumb-border-radius:50%;--switch-thumb-spacing:2px;--switch-speed:0.2s;--tab-bg-color:var(--body-bg);--tab-bg-color-hover:var(--body-bg);--tab-bg-color-active:var(--link-color);--tab-bg-color-disabled:var(--body-bg);--tab-border-radius:var(--component-border-radius);--tab-color:var(--link-color);--tab-color-hover:var(--link-color-hover);--tab-color-active:var(--color-white);--tab-color-disabled:var(--text-muted);--tab-spacing-x:var(--component-spacing);--tab-spacing-y:calc(var(--component-spacing) / 2);--tab-pane-border-color:var(--component-border-color);--tab-pane-border-radius:var(--component-border-radius);--tab-pane-border-width:var(--component-border-width);--tab-pane-spacing-x:var(--component-spacing);--tab-pane-spacing-y:var(--component-spacing);--table-border-color:var(--component-border-color);--table-border-width:var(--component-border-width);--table-header-bg-color:transparent;--table-stripe-bg-color:var(--component-bg-color);--table-hover-color:var(--color-white);--table-hover-bg-color:var(--color-primary);--table-spacing-x:calc(var(--component-spacing-small) * 1.5);--table-spacing-y:var(--component-spacing-small)}\n\n/*! Forms */fieldset{border:solid var(--fieldset-border-width) var(--fieldset-border-color);border-radius:var(--fieldset-border-radius);padding:var(--component-spacing) calc(var(--component-spacing) * 1.5);margin-bottom:1rem}fieldset legend{font-weight:var(--font-weight-bold);padding:0 .25rem}label{display:inline-block;margin-bottom:.25rem}label+label{margin-left:1rem}input[type=color],input[type=date],input[type=datetime-local],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{width:100%;font-family:var(--input-font-family);font-size:var(--input-font-size);font-weight:var(--input-font-weight);color:var(--input-color);border:solid var(--input-border-width) var(--input-border-color);border-radius:var(--input-border-radius);box-shadow:var(--input-box-shadow);background-color:var(--input-bg-color);height:var(--input-height);line-height:var(--input-height);vertical-align:middle;display:block;padding-left:calc(var(--component-spacing) * .5);padding-right:calc(var(--component-spacing) * .5);margin:0;transition:border-color .1s,background-color .1s,color .1s;-moz-appearance:none;-webkit-appearance:none}input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{outline:none;border-color:var(--input-border-color-focus)}select{position:relative;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width=\'41\' height=\'26\' viewBox=\'0 0 41 26\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath fill=\'%23000\' d=\'M0 5.382l19.983 19.983L40.14 5.208 34.932 0 19.869 15.062 4.84.032z\' fill-rule=\'evenodd\'/%3E%3C/svg%3E");background-position:right .4rem center;background-repeat:no-repeat;background-size:.75rem;padding-top:0;padding-bottom:0;padding-right:calc(var(--component-spacing) * .5 + 1rem)}textarea{height:auto;resize:vertical;line-height:var(--line-height)}input[type=color]{padding:calc(var(--component-spacing) * .5)}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:none;border-radius:var(--input-border-radius)}input[type=checkbox],input[type=radio]{padding:0}input[disabled]{opacity:.5;cursor:not-allowed}input[readonly]{background-color:var(--input-readonly-bg-color)}input.input-small,select.input-small{height:var(--input-height-small);line-height:var(--input-height-small)}input.input-small,select.input-small,textarea.input-small{font-size:var(--input-font-size-small)}input.input-big,select.input-big{height:var(--input-height-big);line-height:var(--input-height-big)}input.input-big,select.input-big,textarea.input-big{font-size:var(--input-font-size-big)}input[type=range]{margin:1rem 0}input[type=range]:focus{outline:none}input[type=range]::-webkit-slider-runnable-track{width:100%;height:.5rem;cursor:pointer;background:var(--input-range-track-color);border-radius:var(--input-border-radius);border:none;box-shadow:var(--input-range-track-box-shadow)}input[type=range]::-webkit-slider-thumb{border:none;width:1.5rem;height:1.5rem;border-radius:50%;background:var(--input-range-thumb-color);cursor:pointer;-webkit-appearance:none}input[type=range]:focus::-webkit-slider-runnable-track{background:var(--input-range-track-color)}input[type=range]::-moz-range-track{width:100%;height:.5rem;cursor:pointer;background:var(--input-range-track-color);border-radius:var(--input-border-radius);border:none;box-shadow:var(--input-range-track-box-shadow)}input[type=range]::-moz-range-thumb{border:none;height:1.5rem;width:1.5rem;border-radius:50%;background:var(--input-range-thumb-color);cursor:pointer}input[type=range]::-ms-track{width:100%;height:.5rem;cursor:pointer;background:transparent;border-color:transparent;color:transparent}input[type=range]::-ms-fill-lower{background:#2f6ea5;border:none;border-radius:var(--input-border-radius)}input[type=range]::-ms-fill-upper{background:var(--input-range-track-color);border:none;border-radius:var(--input-border-radius)}input[type=range]::-ms-thumb{border:none;height:.5rem;width:.5rem;border-radius:50%;background:var(--input-range-thumb-color);cursor:pointer}input[type=range]:focus::-ms-fill-lower,input[type=range]:focus::-ms-fill-upper{background:var(--input-range-track-color)}progress{width:100%;vertical-align:middle}.input-group,.input-single{margin-bottom:1rem}.input-group>.button,.input-group>.dropdown .button,.input-group>.dropdown button,.input-group>button,.input-group>input{border-radius:0}.input-group>.button:first-child,.input-group>.dropdown:first-child .button,.input-group>.dropdown:first-child button,.input-group>button:first-child,.input-group>input:first-child{border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius)}.input-group>.button:last-child,.input-group>.dropdown:last-child .button,.input-group>.dropdown:last-child button,.input-group>button:last-child,.input-group>input:last-child{border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius)}.input-group>input+input{border-left-width:0}.input-group>input+input:focus{border-left-width:var(--input-border-width);margin-left:calc(var(--input-border-width) * -1)}.input-group :focus{transform:translateZ(0)}.input-addon{color:var(--text-muted);height:var(--input-height);line-height:var(--input-height);border-top:solid var(--input-border-width) var(--input-border-color);border-bottom:solid var(--input-border-width) var(--input-border-color);background:#f8f8f8;padding:0 calc(var(--component-spacing) * .5);white-space:nowrap}.input-addon-small{font-size:var(--input-font-size-small);height:var(--input-height-small);line-height:var(--input-height-small)}.input-addon-big{font-size:var(--input-font-size-big);height:var(--input-height-big);line-height:var(--input-height-big)}.input-addon:first-child{border-left:solid var(--input-border-width) var(--input-border-color);border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius)}.input-addon:last-child{border-right:solid var(--input-border-width) var(--input-border-color);border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius)}.input-invalid label{color:var(--input-invalid-color)!important}.input-invalid,.input-invalid input,.input-invalid select{color:var(--input-invalid-color)!important;border-color:var(--input-invalid-border-color)!important}.input-valid label{color:var(--input-valid-color)!important}.input-valid,.input-valid input,.input-valid select{color:var(--input-valid-color)!important;border-color:var(--input-valid-border-color)!important}\n\n/*! Tables */table{width:100%;border-collapse:collapse;margin-bottom:1rem}table caption{caption-side:bottom;font-size:var(--font-size-small);color:var(--text-muted);text-align:center;padding-top:var(--table-spacing-y)}table th{text-align:left;background:var(--table-header-bg-color);border-bottom:solid calc(var(--table-border-width) * 2) var(--table-border-color)}table td,table th{padding:var(--table-spacing-y) var(--table-spacing-x)}table td{border-bottom:solid var(--table-border-width) var(--table-border-color)}table.table-striped tr:nth-child(odd) td{background-color:var(--table-stripe-bg-color)}table.table-bordered{border:solid var(--table-border-width) var(--table-border-color)}table.table-bordered td{border:var(--table-border-width) solid var(--table-border-color)}table.table-hoverable tbody tr:hover td{color:var(--table-hover-color);background-color:var(--table-hover-bg-color)}\n\n/*! Loaders */@keyframes loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loader,.loader-bg:after{width:var(--loader-size);height:var(--loader-size);border-radius:50%;border:solid var(--loader-border-width) var(--loader-bg-color);border-top-color:var(--loader-border-color);border-left-color:var(--loader-border-color);display:inline-block;animation:loader var(--loader-speed) linear infinite;vertical-align:middle;margin:var(--loader-spacing-y) var(--loader-spacing-x)}.loader-bg-small:after,.loader-small{border-width:calc(var(--loader-border-width) / 2);width:calc(var(--loader-size) / 2);height:calc(var(--loader-size) / 2)}.loader-bg-big:after,.loader-big{border-width:calc(var(--loader-border-width) * 1.5);width:calc(var(--loader-size) * 2);height:calc(var(--loader-size) * 2)}.loader-bg{position:relative!important}.loader-bg:after{content:"";position:absolute;top:calc(50% - var(--loader-size) / 2);left:calc(50% - var(--loader-size) / 2);margin:0}.loader-bg-small:after{position:absolute;top:calc(50% - var(--loader-size) / 4);left:calc(50% - var(--loader-size) / 4)}.loader-bg-big:after{position:absolute;top:calc(50% - var(--loader-size) / 1);left:calc(50% - var(--loader-size) / 1)}\n\n/*! Switches */.switch{font-size:var(--switch-font-size)}.switch-small{font-size:var(--switch-font-size-small);--switch-size:var(--switch-size-small)}.switch-big{font-size:var(--switch-font-size-big);--switch-size:var(--switch-size-big)}.switch input{display:none}.switch input+label{position:relative;min-width:calc(var(--switch-size) * 2);height:var(--switch-size);line-height:var(--switch-size);display:inline-block;cursor:pointer;outline:none;user-select:none;vertical-align:middle;padding-left:calc(var(--switch-size) * 2 + .5rem)}.switch input+label:after,.switch input+label:before{content:"";position:absolute;top:0;left:0;height:var(--switch-size);width:calc(var(--switch-size) * 2);bottom:0;display:block}.switch input+label:before{right:0;background-color:var(--switch-bg-color);border-radius:var(--switch-border-radius);transition:background-color var(--switch-speed)}.switch input+label:after{top:var(--switch-thumb-spacing);left:var(--switch-thumb-spacing);width:calc(var(--switch-size) - var(--switch-thumb-spacing) * 2);height:calc(var(--switch-size) - var(--switch-thumb-spacing) * 2);border-radius:var(--switch-thumb-border-radius);background-color:var(--switch-thumb-bg-color);transition:margin var(--switch-speed)}.switch input:checked+label:before{background-color:var(--switch-bg-color-checked)}.switch input:checked+label:after{margin-left:var(--switch-size)}.switch input:disabled+label{opacity:.5;cursor:not-allowed}.switch+.switch{margin-left:1rem}@keyframes plyr-progress{to{background-position:25px 0}}@keyframes plyr-popup{0%{opacity:.5;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes plyr-fade-in{0%{opacity:0}to{opacity:1}}.plyr{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:subpixel-antialiased;direction:ltr;font-family:Avenir,Avenir Next,Helvetica Neue,Segoe UI,Helvetica,Arial,sans-serif;font-variant-numeric:tabular-nums;font-weight:500;line-height:1.7;max-width:100%;min-width:200px;position:relative;text-shadow:none;transition:box-shadow .3s ease}.plyr audio,.plyr video{border-radius:inherit;height:auto;vertical-align:middle;width:100%}.plyr button{font:inherit;line-height:inherit;width:auto}.plyr:focus{outline:0}.plyr--full-ui{box-sizing:border-box}.plyr--full-ui *,.plyr--full-ui :after,.plyr--full-ui :before{box-sizing:inherit}.plyr--full-ui a,.plyr--full-ui button,.plyr--full-ui input,.plyr--full-ui label{-ms-touch-action:manipulation;touch-action:manipulation}.plyr__badge{background:#4f5b5f;border-radius:2px;color:#fff;font-size:9px;line-height:1;padding:3px 4px}.plyr--full-ui ::-webkit-media-text-track-container{display:none}.plyr__captions{animation:plyr-fade-in .3s ease;bottom:0;color:#fff;display:none;font-size:14px;left:0;padding:10px;position:absolute;text-align:center;transition:transform .4s ease-in-out;width:100%}.plyr__captions .plyr__caption{background:rgba(0,0,0,.8);border-radius:2px;-webkit-box-decoration-break:clone;box-decoration-break:clone;line-height:185%;padding:.2em .5em;white-space:pre-wrap}.plyr__captions .plyr__caption div{display:inline}.plyr__captions span:empty{display:none}@media (min-width:480px){.plyr__captions{font-size:16px;padding:20px}}@media (min-width:768px){.plyr__captions{font-size:18px}}.plyr--captions-active .plyr__captions{display:block}.plyr:not(.plyr--hide-controls) .plyr__controls:not(:empty)~.plyr__captions{transform:translateY(-40px)}.plyr__control{background:0 0;border:0;border-radius:3px;color:inherit;cursor:pointer;-ms-flex-negative:0;flex-shrink:0;overflow:visible;padding:7px;position:relative;transition:all .3s ease}.plyr__control svg{display:block;fill:currentColor;height:18px;pointer-events:none;width:18px}.plyr__control:focus{outline:0}.plyr__control.plyr__tab-focus{box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}a.plyr__control{text-decoration:none}.plyr__control.plyr__control--pressed .icon--not-pressed,.plyr__control.plyr__control--pressed .label--not-pressed,.plyr__control:not(.plyr__control--pressed) .icon--pressed,.plyr__control:not(.plyr__control--pressed) .label--pressed,a.plyr__control:after,a.plyr__control:before{display:none}.plyr--audio .plyr__control.plyr__tab-focus,.plyr--audio .plyr__control:hover,.plyr--audio .plyr__control[aria-expanded=true]{background:#1aafff;color:#fff}.plyr--video .plyr__control svg{filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}.plyr--video .plyr__control.plyr__tab-focus,.plyr--video .plyr__control:hover,.plyr--video .plyr__control[aria-expanded=true]{background:#1aafff;color:#fff}.plyr__control--overlaid{background:rgba(26,175,255,.8);border:0;border-radius:100%;box-shadow:0 1px 1px rgba(0,0,0,.15);color:#fff;display:none;left:50%;padding:15px;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:2}.plyr__control--overlaid svg{left:2px;position:relative}.plyr__control--overlaid:focus,.plyr__control--overlaid:hover{background:#1aafff}.plyr--playing .plyr__control--overlaid{opacity:0;visibility:hidden}.plyr--full-ui.plyr--video .plyr__control--overlaid{display:block}.plyr--full-ui ::-webkit-media-controls{display:none}.plyr__controls{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;text-align:center}.plyr__controls .plyr__menu,.plyr__controls .plyr__progress,.plyr__controls .plyr__time,.plyr__controls .plyr__volume,.plyr__controls>.plyr__control{margin-left:5px}.plyr__controls .plyr__menu+.plyr__control,.plyr__controls .plyr__progress+.plyr__control,.plyr__controls>.plyr__control+.plyr__control,.plyr__controls>.plyr__control+.plyr__menu{margin-left:2px}.plyr__controls>.plyr__control:first-child,.plyr__controls>.plyr__control:first-child+[data-plyr=pause]{margin-left:0;margin-right:auto}.plyr__controls:empty{display:none}@media (min-width:480px){.plyr__controls .plyr__menu,.plyr__controls .plyr__progress,.plyr__controls .plyr__time,.plyr__controls .plyr__volume,.plyr__controls>.plyr__control{margin-left:10px}}.plyr--audio .plyr__controls{background:#fff;border-radius:inherit;color:#4f5b5f;padding:10px}.plyr--video .plyr__controls{background:linear-gradient(transparent,rgba(0,0,0,.7));border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;bottom:0;color:#fff;left:0;padding:20px 5px 5px;position:absolute;right:0;transition:opacity .4s ease-in-out,transform .4s ease-in-out;z-index:3}@media (min-width:480px){.plyr--video .plyr__controls{padding:35px 10px 10px}}.plyr--video.plyr--hide-controls .plyr__controls{opacity:0;pointer-events:none;transform:translateY(100%)}.plyr [data-plyr=airplay],.plyr [data-plyr=captions],.plyr [data-plyr=fullscreen],.plyr [data-plyr=pip]{display:none}.plyr--airplay-supported [data-plyr=airplay],.plyr--captions-enabled [data-plyr=captions],.plyr--fullscreen-enabled [data-plyr=fullscreen],.plyr--pip-supported [data-plyr=pip]{display:inline-block}.plyr__video-embed{height:0;padding-bottom:56.25%;position:relative}.plyr__video-embed iframe{border:0;height:100%;left:0;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.plyr--full-ui .plyr__video-embed>.plyr__video-embed__container{padding-bottom:240%;position:relative;transform:translateY(-38.28125%)}.plyr__menu{display:-ms-flexbox;display:flex;position:relative}.plyr__menu .plyr__control svg{transition:transform .3s ease}.plyr__menu .plyr__control[aria-expanded=true] svg{transform:rotate(90deg)}.plyr__menu .plyr__control[aria-expanded=true] .plyr__tooltip{display:none}.plyr__menu__container{animation:plyr-popup .2s ease;background:hsla(0,0%,100%,.9);border-radius:4px;bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);color:#4f5b5f;font-size:16px;margin-bottom:10px;position:absolute;right:-3px;text-align:left;white-space:nowrap;z-index:3}.plyr__menu__container>div{overflow:hidden;transition:height .35s cubic-bezier(.4,0,.2,1),width .35s cubic-bezier(.4,0,.2,1)}.plyr__menu__container:after{border:4px solid transparent;border-top-color:hsla(0,0%,100%,.9);content:"";height:0;position:absolute;right:15px;top:100%;width:0}.plyr__menu__container [role=menu]{padding:7px}.plyr__menu__container [role=menuitem],.plyr__menu__container [role=menuitemradio]{margin-top:2px}.plyr__menu__container [role=menuitem]:first-child,.plyr__menu__container [role=menuitemradio]:first-child{margin-top:0}.plyr__menu__container .plyr__control{-ms-flex-align:center;align-items:center;color:#4f5b5f;display:-ms-flexbox;display:flex;font-size:14px;padding:4px 11px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.plyr__menu__container .plyr__control>span{-ms-flex-align:inherit;align-items:inherit;display:-ms-flexbox;display:flex;width:100%}.plyr__menu__container .plyr__control:after{border:4px solid transparent;content:"";position:absolute;top:50%;transform:translateY(-50%)}.plyr__menu__container .plyr__control--forward{padding-right:28px}.plyr__menu__container .plyr__control--forward:after{border-left-color:rgba(79,91,95,.8);right:5px}.plyr__menu__container .plyr__control--forward.plyr__tab-focus:after,.plyr__menu__container .plyr__control--forward:hover:after{border-left-color:currentColor}.plyr__menu__container .plyr__control--back{font-weight:500;margin:7px;margin-bottom:3px;padding-left:28px;position:relative;width:calc(100% - 14px)}.plyr__menu__container .plyr__control--back:after{border-right-color:rgba(79,91,95,.8);left:7px}.plyr__menu__container .plyr__control--back:before{background:#b7c5cd;box-shadow:0 1px 0 #fff;content:"";height:1px;left:0;margin-top:4px;overflow:hidden;position:absolute;right:0;top:100%}.plyr__menu__container .plyr__control--back.plyr__tab-focus:after,.plyr__menu__container .plyr__control--back:hover:after{border-right-color:currentColor}.plyr__menu__container .plyr__control[role=menuitemradio]{padding-left:7px}.plyr__menu__container .plyr__control[role=menuitemradio]:after,.plyr__menu__container .plyr__control[role=menuitemradio]:before{border-radius:100%}.plyr__menu__container .plyr__control[role=menuitemradio]:before{background:rgba(0,0,0,.1);content:"";display:block;-ms-flex-negative:0;flex-shrink:0;height:16px;margin-right:10px;transition:all .3s ease;width:16px}.plyr__menu__container .plyr__control[role=menuitemradio]:after{background:#fff;border:0;height:6px;left:12px;opacity:0;top:50%;transform:translateY(-50%) scale(0);transition:transform .3s ease,opacity .3s ease;width:6px}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:before{background:#1aafff}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:after{opacity:1;transform:translateY(-50%) scale(1)}.plyr__menu__container .plyr__control[role=menuitemradio].plyr__tab-focus:before,.plyr__menu__container .plyr__control[role=menuitemradio]:hover:before{background:rgba(0,0,0,.1)}.plyr__menu__container .plyr__menu__value{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;margin-left:auto;margin-right:-5px;overflow:hidden;padding-left:25px;pointer-events:none}.plyr--full-ui input[type=range]{-webkit-appearance:none;background:0 0;border:0;border-radius:26px;color:#1aafff;display:block;height:19px;margin:0;padding:0;transition:box-shadow .3s ease;width:100%}.plyr--full-ui input[type=range]::-webkit-slider-runnable-track{background:0 0;border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;-webkit-user-select:none;user-select:none;background-image:linear-gradient(90deg,currentColor var(--value,0),transparent var(--value,0))}.plyr--full-ui input[type=range]::-webkit-slider-thumb{background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2);height:13px;position:relative;transition:all .2s ease;width:13px;-webkit-appearance:none;margin-top:-4px}.plyr--full-ui input[type=range]::-moz-range-track{background:0 0;border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;-moz-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-moz-range-thumb{background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2);height:13px;position:relative;transition:all .2s ease;width:13px}.plyr--full-ui input[type=range]::-moz-range-progress{background:currentColor;border-radius:2.5px;height:5px}.plyr--full-ui input[type=range]::-ms-track{color:transparent}.plyr--full-ui input[type=range]::-ms-fill-upper,.plyr--full-ui input[type=range]::-ms-track{background:0 0;border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;-ms-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-ms-fill-lower{background:0 0;border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;-ms-user-select:none;user-select:none;background:currentColor}.plyr--full-ui input[type=range]::-ms-thumb{background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2);height:13px;position:relative;transition:all .2s ease;width:13px;margin-top:0}.plyr--full-ui input[type=range]::-ms-tooltip{display:none}.plyr--full-ui input[type=range]:focus{outline:0}.plyr--full-ui input[type=range]::-moz-focus-outer{border:0}.plyr--full-ui input[type=range].plyr__tab-focus::-webkit-slider-runnable-track{box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}.plyr--full-ui input[type=range].plyr__tab-focus::-moz-range-track{box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}.plyr--full-ui input[type=range].plyr__tab-focus::-ms-track{box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}.plyr--full-ui.plyr--video input[type=range]::-webkit-slider-runnable-track{background-color:hsla(0,0%,100%,.25)}.plyr--full-ui.plyr--video input[type=range]::-moz-range-track{background-color:hsla(0,0%,100%,.25)}.plyr--full-ui.plyr--video input[type=range]::-ms-track{background-color:hsla(0,0%,100%,.25)}.plyr--full-ui.plyr--video input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px hsla(0,0%,100%,.5)}.plyr--full-ui.plyr--video input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px hsla(0,0%,100%,.5)}.plyr--full-ui.plyr--video input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px hsla(0,0%,100%,.5)}.plyr--full-ui.plyr--audio input[type=range]::-webkit-slider-runnable-track{background-color:rgba(183,197,205,.66)}.plyr--full-ui.plyr--audio input[type=range]::-moz-range-track{background-color:rgba(183,197,205,.66)}.plyr--full-ui.plyr--audio input[type=range]::-ms-track{background-color:rgba(183,197,205,.66)}.plyr--full-ui.plyr--audio input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px rgba(0,0,0,.1)}.plyr--full-ui.plyr--audio input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px rgba(0,0,0,.1)}.plyr--full-ui.plyr--audio input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px rgba(0,0,0,.1)}.plyr__poster{background-color:#000;background-position:50% 50%;background-repeat:no-repeat;background-size:contain;height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .2s ease;width:100%;z-index:1}.plyr--stopped.plyr__poster-enabled .plyr__poster{opacity:1}.plyr__time{font-size:14px}.plyr__time+.plyr__time:before{content:"\\2044";margin-right:10px}@media (max-width:767px){.plyr__time+.plyr__time{display:none}}.plyr--video .plyr__time{text-shadow:0 1px 1px rgba(0,0,0,.15)}.plyr__tooltip{background:hsla(0,0%,100%,.9);border-radius:3px;bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);color:#4f5b5f;font-size:14px;font-weight:500;left:50%;line-height:1.3;margin-bottom:10px;opacity:0;padding:5px 7.5px;pointer-events:none;position:absolute;transform:translate(-50%,10px) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;white-space:nowrap;z-index:2}.plyr__tooltip:before{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid hsla(0,0%,100%,.9);bottom:-4px;content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr .plyr__control.plyr__tab-focus .plyr__tooltip,.plyr .plyr__control:hover .plyr__tooltip,.plyr__tooltip--visible{opacity:1;transform:translate(-50%) scale(1)}.plyr .plyr__control:hover .plyr__tooltip{z-index:3}.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip,.plyr__controls>.plyr__control:first-child .plyr__tooltip{left:0;transform:translateY(10px) scale(.8);transform-origin:0 100%}.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip:before,.plyr__controls>.plyr__control:first-child .plyr__tooltip:before{left:16px}.plyr__controls>.plyr__control:last-child .plyr__tooltip{left:auto;right:0;transform:translateY(10px) scale(.8);transform-origin:100% 100%}.plyr__controls>.plyr__control:last-child .plyr__tooltip:before{left:auto;right:16px;transform:translateX(50%)}.plyr__controls>.plyr__control:first-child+.plyr__control.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control:hover .plyr__tooltip,.plyr__controls>.plyr__control:first-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child:hover .plyr__tooltip,.plyr__controls>.plyr__control:last-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:last-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:last-child:hover .plyr__tooltip{transform:translate(0) scale(1)}.plyr--video{background:#000;overflow:hidden}.plyr--video.plyr--menu-open{overflow:visible}.plyr__video-wrapper{background:#000;border-radius:inherit;overflow:hidden;position:relative;z-index:0}.plyr__progress{-ms-flex:1;flex:1;left:6.5px;margin-right:13px;position:relative}.plyr__progress__buffer,.plyr__progress input[type=range]{margin-left:-6.5px;margin-right:-6.5px;width:calc(100% + 13px)}.plyr__progress input[type=range]{position:relative;z-index:2}.plyr__progress .plyr__tooltip{font-size:14px;left:0}.plyr__progress__buffer{-webkit-appearance:none;background:0 0;border:0;border-radius:100px;height:5px;left:0;margin-top:-2.5px;padding:0;position:absolute;top:50%}.plyr__progress__buffer::-webkit-progress-bar{background:0 0}.plyr__progress__buffer::-webkit-progress-value{background:currentColor;border-radius:100px;min-width:5px;transition:width .2s ease}.plyr__progress__buffer::-moz-progress-bar{background:currentColor;border-radius:100px;min-width:5px;transition:width .2s ease}.plyr__progress__buffer::-ms-fill{border-radius:100px;transition:width .2s ease}.plyr--video .plyr__progress__buffer{box-shadow:0 1px 1px rgba(0,0,0,.15);color:hsla(0,0%,100%,.25)}.plyr--audio .plyr__progress__buffer{color:rgba(183,197,205,.66)}.plyr--loading .plyr__progress__buffer{animation:plyr-progress 1s linear infinite;background-image:linear-gradient(-45deg,rgba(47,52,61,.6) 25%,transparent 0,transparent 50%,rgba(47,52,61,.6) 0,rgba(47,52,61,.6) 75%,transparent 0,transparent);background-repeat:repeat-x;background-size:25px 25px;color:transparent}.plyr--video.plyr--loading .plyr__progress__buffer{background-color:hsla(0,0%,100%,.25)}.plyr--audio.plyr--loading .plyr__progress__buffer{background-color:rgba(183,197,205,.66)}.plyr__volume{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;position:relative}.plyr__volume input[type=range]{margin-left:5px;position:relative;z-index:2}@media (min-width:480px){.plyr__volume{max-width:90px}}@media (min-width:768px){.plyr__volume{max-width:110px}}.plyr--is-ios.plyr--vimeo [data-plyr=mute],.plyr--is-ios .plyr__volume{display:none!important}.plyr:fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:fullscreen video{height:100%}.plyr:fullscreen .plyr__video-wrapper{height:100%;width:100%}.plyr:fullscreen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;transform:translateY(-50%)}.plyr:fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:21px}.plyr:-ms-fullscreen .plyr__captions{font-size:21px}.plyr:-moz-full-screen .plyr__captions{font-size:21px}.plyr:fullscreen .plyr__captions{font-size:21px}}.plyr:-webkit-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-webkit-full-screen video{height:100%}.plyr:-webkit-full-screen .plyr__video-wrapper{height:100%;width:100%}.plyr:-webkit-full-screen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;transform:translateY(-50%)}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-webkit-full-screen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:21px}}.plyr:-moz-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-moz-full-screen video{height:100%}.plyr:-moz-full-screen .plyr__video-wrapper{height:100%;width:100%}.plyr:-moz-full-screen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;transform:translateY(-50%)}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-moz-full-screen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-moz-full-screen .plyr__captions{font-size:21px}}.plyr:-ms-fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-ms-fullscreen video{height:100%}.plyr:-ms-fullscreen .plyr__video-wrapper{height:100%;width:100%}.plyr:-ms-fullscreen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;transform:translateY(-50%)}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-ms-fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-ms-fullscreen .plyr__captions{font-size:21px}}.plyr--fullscreen-fallback{background:#000;border-radius:0!important;height:100%;margin:0;width:100%;bottom:0;left:0;position:fixed;right:0;top:0;z-index:10000000}.plyr--fullscreen-fallback video{height:100%}.plyr--fullscreen-fallback .plyr__video-wrapper{height:100%;width:100%}.plyr--fullscreen-fallback.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;transform:translateY(-50%)}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen{display:block}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr--fullscreen-fallback.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr--fullscreen-fallback .plyr__captions{font-size:21px}}.plyr__ads{border-radius:inherit;bottom:0;cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:-1}.plyr__ads>div,.plyr__ads>div iframe{height:100%;position:absolute;width:100%}.plyr__ads:after{background:rgba(47,52,61,.8);border-radius:2px;bottom:10px;color:#fff;content:attr(data-badge-text);font-size:11px;padding:2px 6px;pointer-events:none;position:absolute;right:10px;z-index:3}.plyr__ads:after:empty{display:none}.plyr__cues{background:currentColor;display:block;height:5px;left:0;margin:-2.5px 0 0;opacity:.8;position:absolute;top:50%;width:3px;z-index:3}.plyr__preview-thumb{background-color:hsla(0,0%,100%,.9);border-radius:3px;bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);margin-bottom:10px;opacity:0;padding:3px;pointer-events:none;position:absolute;transform:translateY(10px) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;z-index:2}.plyr__preview-thumb--is-shown{opacity:1;transform:translate(0) scale(1)}.plyr__preview-thumb:before{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid hsla(0,0%,100%,.9);bottom:-4px;content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr__preview-thumb__image-container{background:#b7c5cd;border-radius:2px;overflow:hidden;position:relative;z-index:0}.plyr__preview-thumb__image-container img{height:100%;left:0;max-height:none;max-width:none;position:absolute;top:0;width:100%}.plyr__preview-thumb__time-container{bottom:6px;left:0;position:absolute;right:0;white-space:nowrap;z-index:3}.plyr__preview-thumb__time-container span{background-color:rgba(0,0,0,.55);border-radius:2px;color:#fff;font-size:14px;padding:3px 6px}.plyr__preview-scrubbing{bottom:0;filter:blur(1px);height:100%;left:0;margin:auto;opacity:0;overflow:hidden;position:absolute;right:0;top:0;transition:opacity .3s ease;width:100%;z-index:1}.plyr__preview-scrubbing--is-shown{opacity:1}.plyr__preview-scrubbing img{height:100%;left:0;max-height:none;max-width:none;-o-object-fit:contain;object-fit:contain;position:absolute;top:0;width:100%}.plyr--no-transition{transition:none!important}.plyr__sr-only{clip:rect(1px,1px,1px,1px);overflow:hidden;border:0!important;height:1px!important;padding:0!important;position:absolute!important;width:1px!important}.plyr [hidden]{display:none!important}.splitpanes{display:-ms-flexbox;display:flex;width:100%;height:100%}.splitpanes--vertical{-ms-flex-direction:row;flex-direction:row}.splitpanes--horizontal{-ms-flex-direction:column;flex-direction:column}.splitpanes--dragging *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out}.splitpanes--dragging .splitpanes__pane{transition:none}.splitpanes__splitter{-ms-touch-action:none;touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px;cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px;cursor:row-resize}.splitpanes.default-theme .splitpanes__pane{background-color:#f2f2f2}.splitpanes.default-theme .splitpanes__splitter{background-color:#fff;box-sizing:border-box;position:relative;-ms-flex-negative:0;flex-shrink:0}.splitpanes.default-theme .splitpanes__splitter:after,.splitpanes.default-theme .splitpanes__splitter:before{content:"";position:absolute;top:50%;left:50%;background-color:rgba(0,0,0,.15);transition:background-color .3s}.splitpanes.default-theme .splitpanes__splitter:hover:after,.splitpanes.default-theme .splitpanes__splitter:hover:before{background-color:rgba(0,0,0,.25)}.splitpanes.default-theme .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after,.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after,.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{transform:translateX(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}code[class*=language-],pre[class*=language-]{-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none;white-space:pre;white-space:pre-wrap;word-wrap:normal;font-family:Fira Code,Menlo,Monaco,Courier New,monospace;font-size:.8rem;color:#fff;text-shadow:none}:not(pre)>code[class*=language-],pre[class*=language-]{background:#353535}pre[class*=language-]{padding:10px;border-radius:4px;overflow:auto;position:relative}pre[class*=language-] code{white-space:pre;display:block}:not(pre)>code[class*=language-]{padding:.15em .2em .05em;border-radius:.3em;border:.13em solid #7a6652;box-shadow:inset 1px 1px .3em -.1em #000}.token.property{color:#fc4b60}.token.namespace{opacity:.7}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#b9b9b9}.token.boolean,.token.number,.token.operator{color:#1d327f}.language-css .token.string,.style .token.string,.token.attr-name,.token.entity,.token.string,.token.url{color:#ffbe32}.token.inserted,.token.selector{color:#52c5b9}.token.atrule,.token.attr-value,.token.deleted,.token.important,.token.keyword{color:#ff808c}.token.regex,.token.statement{color:#bec6e5}.token.placeholder,.token.variable{color:#fff}.token.bold,.token.important,.token.statement{font-weight:700}.token.punctuation{color:#52c5b9}.token.entity{cursor:help}.token.italic{font-style:italic}code.language-markup{color:#f9f9f9}code.language-markup .token.tag{color:#ef3b7d}code.language-markup .token.attr-name{color:#a6e22d}code.language-markup .token.attr-value{color:#e6d06c}code.language-markup .token.script,code.language-markup .token.script .token.keyword,code.language-markup .token.style{color:#76d9e6}pre[class*=language-][data-line]{position:relative;padding:1em 0 1em 3em}pre[data-line] .line-highlight{position:absolute;left:0;right:0;padding:0;margin-top:1em;background:hsla(0,0%,100%,.08);pointer-events:none;line-height:inherit;white-space:pre}pre[data-line] .line-highlight:before,pre[data-line] .line-highlight[data-end]:after{content:attr(data-start);position:absolute;top:.4em;left:.6em;min-width:1em;padding:.2em .5em;background-color:hsla(0,0%,100%,.4);color:#000;font:700 65%/1 sans-serif;height:1em;line-height:1em;text-align:center;border-radius:999px;text-shadow:none;box-shadow:0 1px 1px hsla(0,0%,100%,.7)}pre[data-line] .line-highlight[data-end]:after{content:attr(data-end);top:auto;bottom:.4em}:root{--body-color:#000;--body-bg-color:#fff;--table-stripe-bg-color:#eee;--color-primary:#fc4b60;--c-rouge:#fc4b60;--c-noir:#353535;--c-orange:#ffbe32;--c-bleuvert:#52c5b9;--c-gris:#b9b9b9;--c-gris-clair:#e5e5e5;--c-gris-tresclair:#f1f1f1;--spacing:1.62rem;--color-folder:#ffd892;--folder_border_radius:6px;--font-family:"Fira";--font-size:1.1rem;--input-font-size-big:1.4rem;--line-height:1.35;--input-box-shadow:none;--input-border-width:3px;--input-border-color:#b9b9b9;--input-border-color-focus:#ffbe32}.button,button{background-color:transparent;border:none;font-size:inherit;font-family:inherit;background-color:#fff;display:inline-block;text-decoration:none;text-align:center;text-transform:uppercase;font-weight:500;letter-spacing:.06em;flex-shrink:0;margin:0;cursor:pointer;min-height:2.43rem;padding:0 .81rem;border-radius:6px;transition:color .25s ease-out,opacity .5s}.button.is--disabled,.button[disabled],button.is--disabled,button[disabled]{cursor:not-allowed;color:#b9b9b9;background-color:#f1f1f1}.button.is--disabled[class*=bg-]:not(.bg-transparent),.button[disabled][class*=bg-]:not(.bg-transparent),button.is--disabled[class*=bg-]:not(.bg-transparent),button[disabled][class*=bg-]:not(.bg-transparent){background-color:#b9b9b9}.button:active,.button:hover,button:active,button:hover{background-color:#f1f1f1}.button.is--active,button.is--active{background-color:#353535;color:#fff}.button.is--active:active,.button.is--active:hover,button.is--active:active,button.is--active:hover{background-color:#666}.button.bg-noir.is--active,button.bg-noir.is--active{background-color:#fff;color:#353535}.button.bg-gris_tresclair:active,.button.bg-gris_tresclair:hover,button.bg-gris_tresclair:active,button.bg-gris_tresclair:hover{background-color:#fff}.button.bg-noir,button.bg-noir{color:#fff}.button.bg-noir:active,.button.bg-noir:hover,button.bg-noir:active,button.bg-noir:hover{background-color:#666}.button.bg-rouge,button.bg-rouge{color:#fff}.button.bg-rouge:active,.button.bg-rouge:hover,button.bg-rouge:active,button.bg-rouge:hover{background-color:#cc334a}.button.bg-orange,button.bg-orange{color:#fff}.button.bg-orange:active,.button.bg-orange:hover,button.bg-orange:active,button.bg-orange:hover{background-color:#d19833}.button.bg-bleuvert,button.bg-bleuvert{color:#fff}.button.bg-bleuvert:active,.button.bg-bleuvert:hover,button.bg-bleuvert:active,button.bg-bleuvert:hover{background-color:#47998d}.button.bg-bleumarine,button.bg-bleumarine{color:#fff}.button.bg-bleumarine:active,.button.bg-bleumarine:hover,button.bg-bleumarine:active,button.bg-bleumarine:hover{background-color:#12224c}.button:focus,button:focus{outline:0}.button a,button a{text-decoration:none}.button.button-redthin,button.button-redthin{min-height:0;line-height:1.41;margin:.405rem;padding:.405rem .81rem;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;border-radius:6px;background-color:#fc4b60;color:#fff}.button.button-redthin.bg-bleumarine_clair,button.button-redthin.bg-bleumarine_clair{background-color:#bec6e5}.button.button-greenthin,button.button-greenthin{min-height:0;line-height:1.41;margin:.405rem;padding:.405rem .81rem;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;border-radius:6px;background-color:#52c5b9;color:#fff}.button.button-greenthin.bg-bleumarine_clair,button.button-greenthin.bg-bleumarine_clair{background-color:#bec6e5}.button.button-greenthin:disabled,button.button-greenthin:disabled{background-color:#b9b9b9}.button.button-bg_rounded>*,button.button-bg_rounded>*{display:inline-block;vertical-align:middle}.button.button-bg_rounded rect,button.button-bg_rounded rect{fill:currentColor}.button.button-outline,button.button-outline{background-color:transparent;border:2px solid currentColor}.button.button-outline svg>*,button.button-outline svg>*{fill:currentColor}.button.button-outline.is--selected,.button.button-outline:focus,.button.button-outline:hover,button.button-outline.is--selected,button.button-outline:focus,button.button-outline:hover{border:2px solid transparent;background-color:#fff;color:#ffbe32}.button.button-outline.is--selected span,.button.button-outline:focus span,.button.button-outline:hover span,button.button-outline.is--selected span,button.button-outline:focus span,button.button-outline:hover span{color:inherit}.button.button-outline.is--selected svg>*,.button.button-outline:focus svg>*,.button.button-outline:hover svg>*,button.button-outline.is--selected svg>*,button.button-outline:focus svg>*,button.button-outline:hover svg>*{fill:currentColor}.button.button-outline.is--selected.c-rouge,.button.button-outline:focus.c-rouge,.button.button-outline:hover.c-rouge,button.button-outline.is--selected.c-rouge,button.button-outline:focus.c-rouge,button.button-outline:hover.c-rouge{background-color:#fc4b60;color:#ffbe32}.button.button-arrow,button.button-arrow{max-width:3em;padding:0;color:#ffbe32}.button img,.button svg,button img,button svg{min-width:0;width:48px;height:48px;margin:auto}.button.is--small img,.button.is--small svg,button.is--small img,button.is--small svg{width:36px;height:36px}.button.button-triangle:after,button.button-triangle:after{content:"◄";display:inline-block;margin-left:.5em;transition:transform .5s,color .5s}.button.button-triangle:hover,button.button-triangle:hover{background-color:transparent}.button.button-triangle.is--active,.button.button-triangle:hover:after,button.button-triangle.is--active,button.button-triangle:hover:after{color:#fc4b60}.button.button-triangle.is--active:after,button.button-triangle.is--active:after{transform:rotate(-90deg)}.button.button-triangle.is--active:hover,button.button-triangle.is--active:hover{background-color:transparent}.button.button-triangle.bg-rouge.is--active,.button.button-triangle.bg-rouge:hover:after,button.button-triangle.bg-rouge.is--active,button.button-triangle.bg-rouge:hover:after{color:#353535}.buttonLink{position:relative;display:inline-block;background-color:inherit;text-decoration:none;font-size:.9em;line-height:1.25;padding:.405rem;margin:.405rem;font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#666;font-weight:400;min-height:0;transition:background .4s cubic-bezier(.19,1,.22,1)}.buttonLink.c-noir{color:#353535}.buttonLink.is--active{color:#fc4b60!important}.buttonLink span{color:inherit}.buttonLink:after{content:"";position:absolute;display:block;left:.405rem;right:.405rem;border-bottom:1px solid currentColor}.buttonLink.is--active{color:#fff!important}.buttonLink._no_underline:after{display:none}.buttonLink:hover{background-color:#f1f1f1}.buttonLink.is--disabled,.buttonLink[disabled]{background-color:#b9b9b9}.buttonLink.bg-noir:hover{background-color:#666}.buttonLink.bg-rouge:hover{background-color:#cc334a}.buttonLink.bg-bleuvert:hover{background-color:#47998d}.button-nostyle{appearance:none;padding:0;margin:0;min-height:0;background-color:transparent;text-transform:none;font-weight:inherit;padding-top:.405rem;padding-bottom:.405rem;margin-top:-.405rem;margin-bottom:-.405rem}.button-nostyle.is--active{background-color:transparent;color:inherit}.sectionTitle_small{text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;color:#666}.sectionTitle_small label{font-size:.8rem;color:inherit;vertical-align:middle;margin-bottom:0;line-height:var(--switch-size)}.strong,b,strong{font-weight:500}.c-blanc{color:#fff}.c-gris{color:#b9b9b9}.c-gris_fonce{color:#666}.c-orange{color:#ffbe32}.c-bleumarine{color:#1d327f}.c-bleuvert{color:#52c5b9}.c-rouge{color:#fc4b60}.c-noir{color:#353535}.bg-transparent{background-color:transparent}.bg-noir{background-color:#353535}.bg-blanc{background-color:#fff}.bg-creme{background-color:#f4f3ef}.bg-rouge{background-color:#fc4b60}.bg-rouge_fonce{background-color:#cc334a}.bg-rouge_clair{background-color:#ff808c}.bg-orange{background-color:#ffbe32}.bg-gris_fonce{background-color:#666}.bg-gris_clair{background-color:#e5e5e5}.bg-gris{background-color:#b9b9b9}.bg-gris_tresclair{background-color:#f1f1f1}.bg-bleuvert{background-color:#52c5b9}.bg-bleuvert_fonce{background-color:#47998d}.bg-bleumarine{background-color:#1d327f}.bg-bleumarine_clair{background-color:#bec6e5}.border-circled{border:1px solid currentColor}.border-none{border-width:0}.border{border:2px solid #b9b9b9}.border-vert{border:0 solid #e5e5e5;border-top-width:1px;border-bottom-width:1px}.border-bottom-dashed{border-bottom-width:1px;border-image:repeating-linear-gradient(90deg,currentColor,currentColor 1ch,transparent 0,transparent calc(1ch + 2px)) 1;border-image-repeat:round}.border-top-dashed{border-top-width:1px;border-image:repeating-linear-gradient(90deg,currentColor,currentColor 1ch,transparent 0,transparent calc(1ch + 2px)) 1;border-image-repeat:round}.border-bottom{border-bottom:1px solid #e5e5e5}.border-bottom-none{border-bottom:none}.border-left{border-left:4px solid #e5e5e5}.border-top{border:4px solid #e5e5e5}.button-thin{min-height:0;line-height:1.41;margin:.405rem;padding:.405rem .81rem;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;border-radius:6px}.button-thin.bg-bleumarine_clair{background-color:#bec6e5}.button-wide{min-width:3.5em}.button-allwide{width:100%}.button-inline{display:flex;flex-flow:row nowrap;align-items:center;justify-content:center}.button-rectangle{border-radius:0}.display-inline{display:inline}.font-medium{font-size:1em;line-height:1.25}.font-small{font-size:.9em;line-height:1.25}.font-verysmall{font-size:.8rem}.font-large{font-size:1.5rem}.font-verylarge{font-size:2.5rem}.font-folder_title,.font-publi_title{font-size:1.5rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em}.font-thin{font-weight:200}.font-normal{font-weight:400}.text-centered{text-align:center}.margin-none{margin:0}.margin-medium{margin:1.62rem}.margin-right-small{margin-right:.81rem}.margin-right-verysmall{margin-right:.405rem}.margin-small{margin:.81rem}.margin-sides-negative-verysmall{margin-left:-.405rem;margin-right:-.405rem}.margin-sides-negative-small{margin-left:-.81rem;margin-right:-.81rem}.margin-sides-negative-medium{margin-left:-1.62rem;margin-right:-1.62rem}.margin-verysmall{margin:.405rem}.margin-veryverysmall{margin:.2025rem}.margin-bottom-small{margin-bottom:.81rem}.margin-bottom-verysmall{margin-bottom:.405rem}.margin-bottom-medium{margin-bottom:1.62rem}.margin-bottom-large{margin-bottom:3.24rem}.margin-bottom-none{margin-bottom:0}.margin-auto{margin:auto}.margin-sides-medium{margin-left:1.62rem;margin-right:1.62rem}.margin-sides-small{margin-left:.81rem;margin-right:.81rem}.margin-sides-verysmall{margin-left:.405rem;margin-right:.405rem}.margin-left-small{margin-left:.81rem}.margin-left-verysmall{margin-left:.405rem}.margin-left-none{margin-left:0}.margin-right-medium{margin-right:1.62rem}.margin-top-medium{margin-top:1.62rem}.margin-top-small{margin-top:.81rem}.margin-top-verysmall{margin-top:.405rem}.margin-vert-verysmall{margin-top:.405rem;margin-bottom:.405rem}.margin-vert-small{margin-top:.81rem;margin-bottom:.81rem}.margin-vert-medium{margin-top:1.62rem;margin-bottom:1.62rem}.margin-vert-large{margin-top:3.24rem;margin-bottom:3.24rem}.margin-vert-verylarge{margin-top:6.48rem;margin-bottom:6.48rem}.rounded{border-radius:4px}.padding-none{padding:0}.padding-vert-large{padding-top:3.24rem;padding-bottom:3.24rem}.padding-vert-medium{padding-top:1.62rem;padding-bottom:1.62rem}.padding-vert-small{padding-top:.81rem;padding-bottom:.81rem}.padding-vert-verysmall{padding-top:.405rem;padding-bottom:.405rem}.padding-large{padding:3.24rem}.padding-medium{padding:1.62rem}.padding-small{padding:.81rem}.padding-verysmall{padding:.405rem}.padding-veryverysmall{padding:.2025rem}.padding-sides-verysmall{padding-left:.405rem;padding-right:.405rem}.padding-sides-small{padding-left:.81rem;padding-right:.81rem}.padding-sides-medium{padding-left:1.62rem;padding-right:1.62rem}.padding-sides-large{padding-left:3.24rem;padding-right:3.24rem}.padding-top-medium{padding-top:1.62rem}.padding-bottom-medium{padding-bottom:1.62rem}.padding-top-small{padding-top:.81rem}.padding-top-verysmall{padding-top:.405rem}.padding-bottom-small{padding-bottom:.81rem}.padding-left-small{padding-left:.81rem}.padding-left-verysmall{padding-left:.405rem}.padding-right-verysmall{padding-right:.405rem}.padding-right-small{padding-right:.81rem}.padding-right-medium{padding-right:1.62rem}.padding-bottom-verysmall{padding-bottom:.405rem}.button-small{font-size:.9em;line-height:1.25}.button-round{border-radius:10%;border:2px solid #e5e5e5;margin:.405rem;padding:0}.button-round>span{display:block;margin-top:.81rem}.button-round-small{width:40px;height:40px;min-height:0}h1,h2,h3,h4{font-weight:400;font-size:1em;margin:0}.text-formatting h2{text-decoration:underline;font-style:italic}.textarea,textarea{padding:.81rem;min-height:7rem}.textarea,input[type=color],input[type=date],input[type=datetime-local],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{background-color:#f1f1f1;border-top-width:0;border-left-width:0;border-right-width:0;transition:background-color .2s}.textarea.bg-blanc,input[type=color].bg-blanc,input[type=date].bg-blanc,input[type=datetime-local].bg-blanc,input[type=email].bg-blanc,input[type=month].bg-blanc,input[type=number].bg-blanc,input[type=password].bg-blanc,input[type=search].bg-blanc,input[type=tel].bg-blanc,input[type=text].bg-blanc,input[type=time].bg-blanc,input[type=url].bg-blanc,input[type=week].bg-blanc,select.bg-blanc,textarea.bg-blanc{background-color:#fff}select.select-xs{font-size:.8rem;--input-height:2rem}select[disabled]{color:#666;cursor:not-allowed;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width=\'41\' height=\'26\' viewBox=\'0 0 41 26\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath fill=\'%23b9b9b9\' d=\'M0 5.382l19.983 19.983L40.14 5.208 34.932 0 19.869 15.062 4.84.032z\' fill-rule=\'evenodd\'/%3E%3C/svg%3E")}input[type=color][novalue]::-webkit-color-swatch{background-color:transparent!important;background-image:linear-gradient(45deg,#b9b9b9 25%,transparent 0),linear-gradient(-45deg,#b9b9b9 25%,transparent 0),linear-gradient(45deg,transparent 75%,#b9b9b9 0),linear-gradient(-45deg,transparent 75%,#b9b9b9 0)!important;background-size:8px 8px;background-position:0 0,0 4px,4px -4px,-4px 0}input[type=checkbox]{-webkit-appearance:none;width:12px;height:12px;background:#fff;box-shadow:0 1px 3px #fff,0 1px 2px rgba(0,0,0,.24);border-radius:2px;border:1px solid #666;outline:0!important}input[type=checkbox]:checked{color:#52c5b9;background-color:currentColor}input[type=checkbox].disabled,input[type=checkbox].is--disabled,input[type=checkbox]:disabled{border:none;cursor:not-allowed}input[type=checkbox].disabled:not(:checked),input[type=checkbox].is--disabled:not(:checked),input[type=checkbox]:disabled:not(:checked){background-color:#b9b9b9}input[type=radio].custom_radio:checked,input[type=radio].custom_radio:not(:checked){position:absolute;left:-9999px}input[type=radio].custom_radio:checked+label,input[type=radio].custom_radio:not(:checked)+label{position:relative;padding-left:24px;cursor:pointer;line-height:inherit;display:inline-block;color:#666}input[type=radio].custom_radio:checked+label:after,input[type=radio].custom_radio:not(:checked)+label:after{content:"";position:absolute;left:2px;top:2px;width:12px;height:12px;background:transparent;box-shadow:0 1px 3px #fff,0 1px 2px rgba(0,0,0,.24);border-radius:50%;border:1px solid #666}input[type=radio].custom_radio:checked+label:before,input[type=radio].custom_radio:not(:checked)+label:before{content:"";width:12px;height:12px;background-color:#52c5b9;position:absolute;top:2px;left:2px;border-radius:50%;border:1px solid transparent;transition:all .2s ease}input[type=radio].custom_radio:not(:checked)+label:before{opacity:0;transform:scale(0)}input[type=radio].custom_radio:checked+label:before{opacity:1;transform:scale(1)}input[type=radio].custom_radio:disabled+label:after{border:none;background-color:#e5e5e5}input[type=radio].custom_radio:disabled+label{cursor:not-allowed}input[type=radio].custom_radio:disabled:checked+label:before{border:none}input[type=radio].custom_radio:disabled:checked+label:after{opacity:.4}.textarea[readonly],input[readonly],textarea[readonly]{background-color:var(--input-readonly-bg-color);border-bottom:0;opacity:1}.switch input:disabled+label{opacity:1}.text-uc{text-transform:uppercase}.text-lc{text-transform:lowercase}.ta-le{text-align:left}.ta-ri{text-align:right}.ta-ce{text-align:center}.d-b{display:block}.text-cap{text-transform:uppercase;font-weight:500;letter-spacing:.06em}.text-ital{font-style:italic;letter-spacing:.05em}.text-underline{display:inline;text-decoration:none;padding-bottom:1px;border-bottom:1px solid}.text-underline:after{content:"\\A"}.text-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cursor-pointer{cursor:pointer}:focus{outline-color:hsla(0,0%,63%,.3);outline:0}.boxs-card-0{box-shadow:0 1px 4px rgba(0,0,0,.1)}.boxs-card-1{box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24)}.boxs-card-2{box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23)}.boxs-card-3{box-shadow:0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23)}.boxs-card-4{box-shadow:0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.boxs-card-5{box-shadow:0 19px 38px rgba(0,0,0,.3),0 15px 12px rgba(0,0,0,.22)}a{color:inherit}hr{margin:1.62rem 0;border:none;border-bottom:2px solid #e5e5e5}table{border:2px solid #fff}.label,label{font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#666}.label.c-noir,label.c-noir{color:#353535}.label.is--active,label.is--active{color:#fc4b60!important}.label span,label span{color:inherit}svg.inline-svg{display:inline-block;width:1em;height:1em}svg.inline-svg.inline-svg-larger{width:1.4em;height:1.4em}svg.inline-svg>*{fill:currentColor}svg.inline-svg_larger{width:1.5em;height:1.5em;margin-top:-.25em;margin-bottom:-.25em}pre{font-family:Fira Mono;font-style:normal;font-weight:400}.break-long-lines{word-break:break-word}input[type=range]{-webkit-appearance:none;width:100%;height:1.6rem;line-height:1.6rem;vertical-align:middle;background:transparent;color:#666;border-color:blue;margin:0;--input-range-track-box-shadow:none;--input-range-track-color:#666;--input-range-thumb-height:1rem;--input-range-thumb-color:#ffbe32}input[type=range]::-webkit-slider-thumb{border:.2rem solid currentColor!important;width:1.25rem;height:1.25rem;margin-top:-.5rem}input[type=range]::-webkit-slider-runnable-track{height:.25rem}input[type=file]{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}input[type=file]+label{display:flex;width:100%;max-width:380px;text-align:center;cursor:pointer;overflow:hidden;word-break:break-word;flex-direction:row;align-items:center;justify-content:space-around;padding:.81rem 1.62rem;margin-bottom:0;border-radius:5px;min-height:3.3125rem;transition:color 1s}input[type=file].has-focus+label,input[type=file] :focus+label{outline:1px dotted #fc4b60;outline:5px auto -webkit-focus-ring-color}input[type=file]+label *{display:block}input[type=file]+label svg{width:1.5rem;height:1.5rem;flex-shrink:0;fill:currentColor;margin-right:1.62rem}input[type=file].inputfile-2+label{background-color:#fc4b60;color:#fff;border:0 solid currentColor}.input-group{width:100%;display:flex;margin-bottom:.81rem}.input-group button{margin-bottom:0;margin-top:0;margin-left:0}.input-group button+button{margin-left:2px}.input-group+*{margin-top:-.81rem}.input-addon{border-top:none;border-right:none}.input-addon button{background-color:transparent;font-size:2em;color:#333}.input-addon:last-child{border-right:none}.input-group,.input-single{margin-bottom:1.62rem;display:flex;align-content:center}blockquote,figure,h1,h2,h3,h4,ol,p,table,ul{margin:1.62rem 0}img{max-width:100%;width:100%;height:auto;display:block}figcaption{color:#b9b9b9}figcaption>p{margin:0;margin-top:.81rem}code{font-family:Fira Code;background-color:#353535}.margin-left-none{margin-left:0!important}audio,img,svg,video{display:block;max-width:100%;height:auto;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}input:required{background-size:16px 16px;background-position:100% 0;background-repeat:no-repeat;background-image:radial-gradient(#fc4b60 18%,transparent 25%);transition:background-size .2s}input:required:focus{background-size:20px 20px}th{font-weight:400}.float-right{float:right}.flex-wrap{display:flex;flex-flow:row wrap}.flex-wrap>*{flex:1 1 auto}.flex-nowrap{display:flex;flex-flow:row nowrap}.flex-nowrap>*{flex:1 1 auto}.flex-same-basis>*{flex-basis:0}.flex-no-grow>*{flex-grow:0}.flex-vertically-centered{align-content:center;align-items:center}.flex-vertically-start{align-content:center;align-items:flex-start}.flex-vertically-stretched{align-items:stretch}.flex-horizontally-start{justify-content:flex-start}.flex-horizontally-end{justify-content:flex-end}.flex-horizontally-centered{justify-content:center}.flex-space-around{justify-content:space-around}.flex-space-between{justify-content:space-between}.limited-width{max-width:1300px;margin-left:auto;margin-right:auto}.flex-size-1\\/2{flex:1 1 50%}.flex-size-1\\/3{flex:1 1 33.333%}.flex-size-2\\/3{flex:1 1 66.666%}.flex-size-1\\/5{flex:1 1 20%}.flex-size-2\\/5{flex:1 1 40%}.flex-size-3\\/5{flex:1 1 60%}.flex-size-4\\/5{flex:1 1 80%}.m_modal--mask{position:absolute;z-index:10000;min-height:100%;top:0;width:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:rgba(53,53,53,.9);display:flex;align-items:center;justify-content:center;transition:all .2s ease-out}.m_modal--mask::-webkit-scrollbar{height:18px;width:18px;background-color:hsla(0,0%,100%,0)}.m_modal--mask::-webkit-scrollbar-thumb,.m_modal--mask::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_modal--mask::-webkit-scrollbar-track{background-color:transparent}.m_modal--mask::-webkit-scrollbar-thumb{background-color:#fff}.m_modal--mask::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}#app:not(.is--wide) .m_modal--mask{align-items:flex-start;overflow:scroll!important;padding:0!important;height:100%!important;background-color:#fff}.m_modal--mask.is_invisible{opacity:0;pointer-events:none}.m_modal--mask.is_minimized{background:transparent;pointer-events:none;align-items:flex-end}.m_modal--container{position:relative;transition:all .3s ease;width:100%;cursor:auto;max-width:400px;pointer-events:all;z-index:1000;transition:all .15s ease-out}.m_modal--container.is_invisible{opacity:0;transform:translate3d(0,15px,0) scale(.98)}.m_modal--container.is_minimized{transform:scale(.25);transform-origin:bottom left;margin-left:5px!important;margin-bottom:5px!important;margin-right:auto!important}.m_modal--container.is_minimized .m_modal--container--content{border:30px solid #fff;border-radius:20px}.m_modal--container .m_modal--container--content{height:auto;position:relative;background-color:#fff;border-radius:2px;box-shadow:0 1px 4px rgba(0,0,0,.1);display:flex;flex-flow:row wrap;transition:background-color .4s ease-out}.m_modal--container .m_modal--container--content>*{flex:1 1 300px}.m_modal--container .m_modal--container--content>.m_modal--sidebar{flex:0 1 400px;max-height:90vh;width:0;border-left:1px solid #e5e5e5}#app:not(.is--wide) .m_modal--container .m_modal--container--content>.m_modal--sidebar{max-height:none;flex:1 1 400px}.m_modal--container .m_modal--container--content>.m_modal--sidebar.is_collapsed{flex-basis:0px;border:none}.m_modal--container .m_modal--container--content>.m_modal--preview{position:relative;width:100%;height:90vh;overflow:hidden}#app:not(.is--wide) .m_modal--container .m_modal--container--content>.m_modal--preview{height:auto}.color-red.m_modal--container .m_modal--container--content{background-color:#fc4b60}.color-blue.m_modal--container .m_modal--container--content{background-color:#1d327f}.color-orange.m_modal--container .m_modal--container--content,.color-yellow.m_modal--container .m_modal--container--content{background-color:#ffbe32}.m_modal--container .m_modal--container--content .textarea,.m_modal--container .m_modal--container--content input[type=text],.m_modal--container .m_modal--container--content select,.m_modal--container .m_modal--container--content textarea{color:#353535}.m_modal--container .m_modal--container--content select[disabled]{color:#b9b9b9}.m_modal--mask.typeOfModal-LargeAndScroll{padding-top:3.24rem;padding-bottom:3.24rem;overflow-y:auto}.m_modal--mask.typeOfModal-LargeAndScroll .m_modal--container{max-width:1600px;align-self:flex-start}.m_modal--mask.typeOfModal-LargeAndScroll .m_modal--container .m_modal--preview{height:auto}#app:not(.is--wide) .m_modal--mask.typeOfModal-LargeAndScroll .m_modal--container .m_modal--preview{position:relative}#app.is--wide .m_modal--mask.typeOfModal-LargeAndScroll .m_modal--container{width:90vw}.m_modal--mask.typeOfModal-LargeAndScroll .m_modal--container .m_modal--sidebar{margin-top:0}.m_modal--mask.typeOfModal-LargeAndNoScroll{overflow:hidden}.m_modal--mask.typeOfModal-LargeAndNoScroll .m_modal--container{margin:0;max-width:1600px}#app.is--wide .m_modal--mask.typeOfModal-LargeAndNoScroll .m_modal--container .m_modal--preview{min-height:70vh}#app:not(.is--wide) .m_modal--mask.typeOfModal-LargeAndNoScroll .m_modal--container .m_modal--sidebar{margin-bottom:3em}#app.is--wide .m_modal--mask.typeOfModal-LargeAndNoScroll .m_modal--container{width:90vw;margin-bottom:20px}.m_modal--mask.typeOfModal-SmallAndScroll{overflow-y:auto}.m_modal--mask.typeOfModal-SmallAndScroll .m_modal--container{padding:5vh 0;align-self:flex-start}.m_modal--mask.typeOfModal-SmallAndScroll .m_modal--container .m_modal--preview{display:flex;flex-flow:column nowrap;min-height:10vh;height:auto}.m_modal--mask.typeOfModal-MediumAndScroll{overflow-y:auto}.m_modal--mask.typeOfModal-MediumAndScroll .m_modal--container{padding:5vh 0;max-width:800px;align-self:flex-start}.m_modal--mask.typeOfModal-MediumAndScroll .m_modal--container .m_modal--preview{display:flex;flex-flow:column nowrap;min-height:10vh;height:auto}.m_modal--mask.typeOfModal-MediumAndScroll .m_modal--container .m_modal--sidebar{flex-basis:800px}.m_modal--mask.typeOfModal-LargeAndNoScrollWithButtons .m_modal--container{max-width:none;height:80vmin;width:80vmin}.m_modal--mask.typeOfModal-LargeAndNoScrollWithButtons .m_modal--container .m_modal--container--content{flex-flow:column wrap;height:100%}.m_modal--mask.typeOfModal-LargeAndNoScrollWithButtons .m_modal--container .m_modal--container--content .m_modal--sidebar{position:relative;flex-grow:1}.m_modal--mask.typeOfModal-LargeAndNoScrollWithButtons .m_modal--container .m_modal--container--content .m_modal--sidebar .m_modal--metaOptions{padding:0;display:flex;flex-flow:column wrap}.m_modal--mask.typeOfModal-LargeAndNoScrollWithButtons .m_modal--container .m_modal--container--content .m_modal--sidebar .m_modal--metaOptions>.m_modal--metaOptions--media{flex:1 1 auto}.m_modal--mask.typeOfModal-LargeAndNoScrollWithButtons .m_modal--container .m_modal--container--content .m_modal--buttons,.m_modal--mask.typeOfModal-LargeAndNoScrollWithButtons .m_modal--container .m_modal--container--content .m_modal--sidebar .m_modal--metaOptions>.m_modal--metaOptions--fav{flex:0 0 auto}.m_modal--sidebar{position:relative;display:flex;flex-flow:column nowrap;background-color:#fff}.m_modal--sidebar>*{flex:0 0 auto}.m_modal--sidebar .m_modal--sidebar--toggle{position:absolute;top:.972rem;right:100%;padding:.81rem;font-weight:700;font-size:1.5rem;border:1px solid #e5e5e5;border-right:0;border-radius:50% 0 0 50%;line-height:1}.m_modal--sidebar .m_modal--metaOptions{flex:1 1 auto;padding-top:.81rem;padding-bottom:.81rem;overflow-y:auto}.m_modal--sidebar .m_modal--metaOptions::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_modal--sidebar .m_modal--metaOptions::-webkit-scrollbar-thumb,.m_modal--sidebar .m_modal--metaOptions::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_modal--sidebar .m_modal--metaOptions::-webkit-scrollbar-track{background-color:transparent}.m_modal--sidebar .m_modal--metaOptions::-webkit-scrollbar-thumb{background-color:#353535}.m_modal--sidebar .m_modal--metaOptions::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_modal--sidebar .m_modal--metaOptions>*{margin-left:1.62rem;margin-right:1.62rem}.m_modal--sidebar .m_modal--metaOptions>*>label~div{padding:.81rem;border:1px solid #e5e5e5;border-radius:4px}.m_modal--sidebar .m_modal--metaOptions>*>label~div>:last-child{margin-bottom:0}.m_modal--sidebar .m_modal--metaOptions>.m_modal--buttonrow{margin:0;padding-left:.81rem;padding-right:.81rem;text-align:center}#app:not(.is--wide) .m_modal--sidebar .m_modal--metaOptions>.m_modal--buttonrow>a,#app:not(.is--wide) .m_modal--sidebar .m_modal--metaOptions>.m_modal--buttonrow>button{font-size:.7rem;padding:0}.m_modal--sidebar .m_modal--metaOptions>* .plyr .plyr__video-wrapper{background-color:transparent}.m_modal--sidebar .m_modal--metaOptions>:first-child{margin-top:0}.m_modal--sidebar .m_modal--metaOptions hr{margin:0;margin:.81rem}.m_modal--sidebar .m_modal--metaOptions table{margin:0}.m_modal--sidebar .m_modal--metaOptions>:last-child{margin-bottom:0}.m_modal--preview .mediaContainer{height:100%;overflow:hidden;position:relative;background-color:#666}.m_modal--preview .mediaContainer[data-context=edit]>*{width:100%;height:100%}.m_modal--preview .mediaContainer img{position:absolute;top:0;right:0;width:auto;height:auto;object-fit:contain;object-position:center}.m_modal--preview .mediaContainer.type-stl iframe{width:100%;height:100%;padding:0;border:0}.m_modal--preview .mediaContainer .plyr--video,.m_modal--preview .mediaContainer .plyr__poster,.m_modal--preview .mediaContainer .plyr__video-wrapper{background-color:transparent}.m_modal--preview .mediaContainer .plyr--audio{display:flex;justify-content:center;align-items:center}.m_modal--preview .mediaContainer .plyr--audio .plyr__controls{width:80%;margin:0 auto}.m_modal--preview .mediaContainer.type-text .ql-container{height:100%}.m_modal--preview .mediaContainer.type-text .ql-container .ql-editor{max-width:70ch;margin:0 auto;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}.m_modal--preview .mediaContainer.type-text .ql-container .ql-editor::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_modal--preview .mediaContainer.type-text .ql-container .ql-editor::-webkit-scrollbar-thumb,.m_modal--preview .mediaContainer.type-text .ql-container .ql-editor::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_modal--preview .mediaContainer.type-text .ql-container .ql-editor::-webkit-scrollbar-track{background-color:transparent}.m_modal--preview .mediaContainer.type-text .ql-container .ql-editor::-webkit-scrollbar-thumb{background-color:#353535}.m_modal--preview .mediaContainer.type-text .ql-container .ql-editor::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_modal--preview .mediaContainer.type-text .ql-container .ql-editor:after{content:"";display:block;height:.5em}.m_modal--preview .mediaContainer.type-audio audio{width:500px;margin:auto;height:50%}.m_modal--preview .mediaContainer.type-other{color:#353535}.m_modal--preview .mediaContainer.type-other pre{display:inline-block;background-color:#fff;margin:.405rem;padding:.405rem}.m_modal--preview .m_modal--preview--media{width:100%;height:100%}.m_modal--preview .m_modal--preview--media>*{width:100%;height:100%;object-fit:contain;object-position:center}.m_modal--close_button{position:fixed;top:0;right:0;z-index:1500}.m_modal--close_button line{fill:none;stroke:#4d4d4d;stroke-miterlimit:10;stroke-width:3px}html.touchevents .m_modal--close_button{top:0;right:0}.m_modal--loader{position:absolute;top:0;left:0;right:0;bottom:0;z-index:10000;background-color:hsla(0,0%,100%,.8);display:flex;justify-content:center;align-items:center}.m_modal--minimize_button{position:fixed;bottom:0;left:0;z-index:1500;pointer-events:auto;transition:transform .2s ease-out}.m_modal--minimize_button.is_minimized{transform:scale(-1) rotate(-1turn)}#app:not(.is--wide) .m_modal--minimize_button{display:none}.m_modal--nav_left,.m_modal--nav_right{position:fixed;top:auto;bottom:0;z-index:1500}#app:not(.is--wide) .m_modal--nav_left,#app:not(.is--wide) .m_modal--nav_right{top:auto;bottom:0;border:none}.m_modal--nav_left{left:auto;right:50%}#app:not(.is--wide) .m_modal--nav_left{left:0;right:auto}.m_modal--nav_right{left:50%}#app:not(.is--wide) .m_modal--nav_right{left:auto;right:0}.m_modal--header{border-bottom:2px solid #e5e5e5}#app:not(.is--wide) .m_modal--header{border-top:2px solid #e5e5e5}.m_modal--header h3{padding:.81rem 1.62rem;font-weight:700;font-size:1.5rem}.m_modal--buttons{padding:.405rem;border-top:2px solid #e5e5e5;display:flex;justify-content:center;min-height:3em}#app:not(.is--wide) .m_modal--buttons{position:fixed;z-index:1000;bottom:0;left:0;width:100%;background-color:#fff}.m_modal--buttons button{margin:.405rem}#app:not(.is--wide) .m_modal--buttons button[type=submit]{width:10em;margin:0 auto;text-align:center;min-height:0}@media print{.m_modal--container{max-width:none!important}.m_modal--container--content{box-shadow:none!important;border:none!important}.m_modal--preview{height:100vh!important;border:none!important}.m_modal--header,.m_modal--preview{display:none}.m_modal--mask{height:auto!important}.m_modal--sidebar{overflow:auto;max-height:none!important}.m_modal--footer{display:none}}\n/*!\n * Quill Editor v1.3.6\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{box-sizing:border-box;font-family:inherit;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{position:relative;box-sizing:border-box;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{counter-reset:a b c d e f g h i}.ql-editor ul>li:before{content:"\\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\\2610"}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li.ql-indent-1{counter-increment:a}.ql-editor ol li.ql-indent-1:before{content:counter(a,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:b c d e f g h i}.ql-editor ol li.ql-indent-2{counter-increment:b}.ql-editor ol li.ql-indent-2:before{content:counter(b,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:c d e f g h i}.ql-editor ol li.ql-indent-3{counter-increment:c}.ql-editor ol li.ql-indent-3:before{content:counter(c,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:d e f g h i}.ql-editor ol li.ql-indent-4{counter-increment:d}.ql-editor ol li.ql-indent-4:before{content:counter(d,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:e f g h i}.ql-editor ol li.ql-indent-5{counter-increment:e}.ql-editor ol li.ql-indent-5:before{content:counter(e,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:f g h i}.ql-editor ol li.ql-indent-6{counter-increment:f}.ql-editor ol li.ql-indent-6:before{content:counter(f,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:g h i}.ql-editor ol li.ql-indent-7{counter-increment:g}.ql-editor ol li.ql-indent-7:before{content:counter(g,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:h i}.ql-editor ol li.ql-indent-8{counter-increment:h}.ql-editor ol li.ql-indent-8:before{content:counter(h,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:i}.ql-editor ol li.ql-indent-9{counter-increment:i}.ql-editor ol li.ql-indent-9:before{content:counter(i,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-container:not(.ql-disabled) .ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;pointer-events:none;position:absolute}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:var(--quill-options-size);padding:3px 5px;width:var(--quill-options-size)}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover{color:#06c}.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px);background-color:#fff;border-radius:8px;border:2px solid var(--c-gris-clair);color:#353535;padding:.405rem;margin-left:.405rem;margin-right:.405rem;white-space:nowrap;z-index:10000}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:400;height:var(--quill-options-size);position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:var(--quill-options-size)}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:var(--quill-options-size)}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:var(--quill-options-size);width:var(--quill-options-size);padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item:before,.ql-snow .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item:before,.ql-snow .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:var(--quill-options-size)}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:0 2px 8px rgba(0,0,0,.2)}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip:before{content:"Visit URL";line-height:26px;margin-right:8px;font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#666}.ql-snow .ql-tooltip:before.c-noir{color:#353535}.ql-snow .ql-tooltip:before.is--active{color:#fc4b60!important}.ql-snow .ql-tooltip:before span{color:inherit}.ql-snow .ql-tooltip input[type=text]{display:none;border:2px solid var(--c-gris-clair);font-size:.9em;line-height:1.25;height:36px;margin:0;width:190px;padding:.405rem;background-color:#fff}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px;min-height:0;line-height:1.41;margin:.405rem;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;border-radius:6px;background-color:#52c5b9;color:#fff;padding:.405rem .81rem}.ql-snow .ql-tooltip a.ql-action:after.bg-bleumarine_clair{background-color:#bec6e5}html[lang=fr] .ql-tooltip a.ql-action:after{content:"Modifier"}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}html[lang=fr] .ql-tooltip a.ql-remove:before{content:"Supprimer"}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0;content:"Save";margin-right:0}html[lang=fr] .ql-tooltip.ql-editing a.ql-action:after{content:"Enregistrer"}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Link:"}html[lang=fr] .ql-snow .ql-tooltip[data-mode=link]:before{content:"Lien"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.ql-bubble.ql-toolbar:after,.ql-bubble .ql-toolbar:after{clear:both;content:"";display:table}.ql-bubble.ql-toolbar button,.ql-bubble .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:var(--quill-options-size);padding:3px 5px;width:var(--quill-options-size)}.ql-bubble.ql-toolbar button svg,.ql-bubble .ql-toolbar button svg{float:left;height:100%}.ql-bubble.ql-toolbar button:active:hover,.ql-bubble .ql-toolbar button:active:hover{outline:none}.ql-bubble.ql-toolbar input.ql-image[type=file],.ql-bubble .ql-toolbar input.ql-image[type=file]{display:none}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected,.ql-bubble.ql-toolbar .ql-picker-item:hover,.ql-bubble .ql-toolbar .ql-picker-item:hover,.ql-bubble.ql-toolbar .ql-picker-label.ql-active,.ql-bubble .ql-toolbar .ql-picker-label.ql-active,.ql-bubble.ql-toolbar .ql-picker-label:hover,.ql-bubble .ql-toolbar .ql-picker-label:hover,.ql-bubble.ql-toolbar button.ql-active,.ql-bubble .ql-toolbar button.ql-active,.ql-bubble.ql-toolbar button:focus,.ql-bubble .ql-toolbar button:focus,.ql-bubble.ql-toolbar button:hover,.ql-bubble .ql-toolbar button:hover{color:#000}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:focus .ql-fill,.ql-bubble .ql-toolbar button:focus .ql-fill,.ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:hover .ql-fill,.ql-bubble .ql-toolbar button:hover .ql-fill,.ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill{fill:#000}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble.ql-toolbar button.ql-active .ql-stroke,.ql-bubble .ql-toolbar button.ql-active .ql-stroke,.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar button:focus .ql-stroke,.ql-bubble .ql-toolbar button:focus .ql-stroke,.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,.ql-bubble.ql-toolbar button:hover .ql-stroke,.ql-bubble .ql-toolbar button:hover .ql-stroke,.ql-bubble.ql-toolbar button:hover .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover .ql-stroke-miter{stroke:#000}@media (pointer:coarse){.ql-bubble.ql-toolbar button:hover:not(.ql-active),.ql-bubble .ql-toolbar button:hover:not(.ql-active){color:#000}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#000}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#000}}.ql-bubble,.ql-bubble *{box-sizing:border-box}.ql-bubble .ql-hidden{display:none}.ql-bubble .ql-out-bottom,.ql-bubble .ql-out-top{visibility:hidden}.ql-bubble .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-bubble .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-bubble .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-divider:before{content:"";display:block;border:none;border-bottom:4px solid var(--c-bleuvert);width:100%}.ql-bubble .ql-formats{display:inline-block;vertical-align:middle}.ql-bubble .ql-formats:after{clear:both;content:"";display:table}.ql-bubble .ql-stroke{fill:none;stroke:#ccc;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-bubble .ql-stroke-miter{fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:2}.ql-bubble .ql-fill,.ql-bubble .ql-stroke.ql-fill{fill:#ccc}.ql-bubble .ql-empty{fill:none}.ql-bubble .ql-even{fill-rule:evenodd}.ql-bubble .ql-stroke.ql-thin,.ql-bubble .ql-thin{stroke-width:1}.ql-bubble .ql-transparent{opacity:.4}.ql-bubble .ql-direction svg:last-child{display:none}.ql-bubble .ql-direction.ql-active svg:last-child{display:inline}.ql-bubble .ql-direction.ql-active svg:first-child{display:none}.ql-bubble .ql-editor a{text-decoration:underline}.ql-bubble .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-bubble .ql-editor pre{white-space:pre-wrap}.ql-bubble .ql-editor img{max-width:100%}.ql-bubble .ql-picker{color:#000;display:inline-block;float:left;font-size:14px;font-weight:500;height:var(--quill-options-size);position:relative;vertical-align:middle}.ql-bubble .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-bubble .ql-picker-label:before{display:inline-block;line-height:var(--quill-options-size)}.ql-bubble .ql-picker-options{background-color:#fff;border:1px solid #b9b9b9;box-shadow:0 0 5px #b9b9b9;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-bubble .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-bubble .ql-picker.ql-expanded .ql-picker-label{color:#777;z-index:2}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-bubble .ql-color-picker,.ql-bubble .ql-icon-picker{width:var(--quill-options-size)}.ql-bubble .ql-color-picker .ql-picker-label,.ql-bubble .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-label svg,.ql-bubble .ql-icon-picker .ql-picker-label svg{right:4px}.ql-bubble .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-bubble .ql-icon-picker .ql-picker-item{height:var(--quill-options-size);width:var(--quill-options-size);padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-bubble .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-bubble .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-bubble .ql-picker.ql-header{width:98px}.ql-bubble .ql-picker.ql-header .ql-picker-item:before,.ql-bubble .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-bubble .ql-picker.ql-font{width:108px}.ql-bubble .ql-picker.ql-font .ql-picker-item:before,.ql-bubble .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-bubble .ql-picker.ql-size{width:98px}.ql-bubble .ql-picker.ql-size .ql-picker-item:before,.ql-bubble .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:var(--quill-options-size)}.ql-bubble .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-bubble .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-bubble .ql-color-picker svg{margin:1px}.ql-bubble .ql-color-picker .ql-picker-item.ql-selected,.ql-bubble .ql-color-picker .ql-picker-item:hover{border-color:#fff}.ql-bubble .ql-tooltip-arrow{border-left:6px solid transparent;border-right:6px solid transparent;content:" ";display:block;left:50%;margin-left:-6px;position:absolute}.ql-bubble .ql-tooltip:not(.ql-flip) .ql-tooltip-arrow{border-bottom:6px solid #e5e5e5;top:-6px}.ql-bubble .ql-tooltip.ql-flip .ql-tooltip-arrow{border-top:6px solid #e5e5e5;bottom:-6px}.ql-bubble .ql-tooltip.ql-editing .ql-tooltip-editor{display:block}.ql-bubble .ql-tooltip.ql-editing .ql-formats{visibility:hidden}.ql-bubble .ql-tooltip-editor{display:none}.ql-bubble .ql-tooltip-editor input[type=text]{background:transparent;border:none;font-size:13px;height:100%;outline:none;padding:10px 20px;position:absolute;width:100%}.ql-bubble .ql-tooltip-editor a{top:10px;position:absolute;right:20px}.ql-bubble .ql-tooltip-editor a:before{content:"\\D7";font-size:16px;font-weight:700}.quillWrapper{display:flex;flex-flow:column nowrap;overflow:hidden;--quill-options-size:2.2rem;--quill-buttons-size:1.2rem}.quillWrapper.has--noToolbar .ql-toolbar,.quillWrapper.is--read_only .ql-toolbar{display:none}.quillWrapper.fixedPanel .ql-bubble .ql-tooltip{white-space:inherit;position:fixed;padding:0;max-width:600px!important;width:100%!important;min-width:340px;z-index:10000;display:block;bottom:calc(100% + var(--spacing) / 2)!important;top:auto!important;left:50%!important;transform:translate(-50%)!important}.quillWrapper.fixedPanel .ql-bubble .ql-tooltip .ql-toolbar{margin:-1px .81rem;border-radius:8px;box-shadow:0 2px 16px 0 rgba(0,0,0,.45);padding-right:calc(var(--spacing) / 4)}.quillWrapper.fixedPanel .ql-bubble .ql-tooltip .ql-tooltip-arrow{display:none}.quillWrapper .quillWrapper--savingIndicator{position:absolute;right:0;bottom:0;width:2em;height:2em;background-color:#fff;color:#fc4b60;border-radius:50%;font-weight:700;font-family:Fira Code;display:flex;align-items:center;justify-content:center}.quillWrapper .ql-toolbar{flex:0 0 auto}.quillWrapper .ql-container{flex:1 1 0;overflow:hidden;font-family:inherit}.quillWrapper .ql-container.ql-snow{border:none}.quillWrapper .ql-toolbar button{min-height:0}.quillWrapper .ql-toolbar{border-color:#e5e5e5;padding:.25rem}.quillWrapper .ql-toolbar>*{margin:.25rem}.quillWrapper .ql-toolbar .ql-formats>:not(.ql-size):not(.ql-header):not(.ql-font) .ql-picker-label,.quillWrapper .ql-toolbar .ql-formats button{display:flex;align-items:center;justify-content:center}.quillWrapper .ql-toolbar .ql-formats>:not(.ql-size):not(.ql-header):not(.ql-font) .ql-picker-label svg,.quillWrapper .ql-toolbar .ql-formats button svg{width:var(--quill-buttons-size);height:var(--quill-buttons-size)}.quillWrapper>*{flex:0 0 auto}.quillWrapper>.ql-container{flex:1 1 auto;height:auto}.quillWrapper>* .ql-editor{min-height:200px;overflow:visible;background-color:#fff;--input-border-color:#e5e5e5;border-left:2px solid transparent;height:100%;border-left:solid var(--input-border-width) var(--input-border-color);border-radius:var(--input-border-radius);border-radius:0}.quillWrapper>* .ql-editor:focus{border-left-color:#ffbe32;background-color:#fff}.quillWrapper>* .ql-editor>:first-child{margin-top:0}.mediaTextContent{position:relative;color:inherit;font-size:1em;line-height:1.2375}.mediaTextContent>:first-child,.mediaTextContent>:first-child>:first-child{margin-top:0}.mediaTextContent ._no_textcontent{font-style:italic;color:#666}.mediaTextContent .h1,.mediaTextContent h1{font-size:2.25em;line-height:1.27777778em;margin-top:.63888889em;margin-bottom:0}.mediaTextContent .h2,.mediaTextContent h2{font-size:1.6875em;line-height:1.7037037em;margin-top:.65185185em;margin-bottom:0}.mediaTextContent .h3,.mediaTextContent .h4,.mediaTextContent .h5,.mediaTextContent h3,.mediaTextContent h4,.mediaTextContent h5{font-size:1em;line-height:1.4375em;margin-top:1.4375em;margin-bottom:0}.mediaTextContent blockquote,.mediaTextContent ol,.mediaTextContent ol ol,.mediaTextContent ol ul,.mediaTextContent p,.mediaTextContent pre,.mediaTextContent table,.mediaTextContent ul,.mediaTextContent ul ol,.mediaTextContent ul ul{margin-top:0;margin-bottom:0}.mediaTextContent .hr,.mediaTextContent hr{border:none;height:4px;background-color:var(--c-bleuvert);border-radius:4px;margin:calc(var(--spacing) / 2) 0}.mediaTextContent sub,.mediaTextContent sup{position:relative;vertical-align:baseline}.mediaTextContent sup{top:-.5em}.mediaTextContent sub{bottom:-.25em}.mediaTextContent h1+h2,.mediaTextContent h2+h2{margin-top:0}.mediaTextContent ol,.mediaTextContent ul{padding-left:1.5em}.mediaTextContent ol>li,.mediaTextContent ul>li{list-style-type:none}.mediaTextContent ul>li:before{content:"\\2022"}.mediaTextContent li:before{display:inline-block;white-space:nowrap;width:1.2em}.mediaTextContent ol li{counter-reset:a b c d e f g h i;counter-increment:j}.mediaTextContent ol li:before{content:counter(j,decimal) ". "}.mediaTextContent b,.mediaTextContent strong{font-weight:700}.mediaTextContent a{text-decoration:underline;text-decoration-style:solid;color:#1d327f;font-weight:inherit}.mediaTextContent h1,.mediaTextContent h2{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.mediaTextContent h1,.mediaTextContent h2,.mediaTextContent h3,.mediaTextContent h4{font-weight:700}.mediaTextContent blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.mediaTextContent code,.mediaTextContent pre{background-color:#353535;color:#fff;border-radius:3px;font-family:Fira Code;font-weight:500}.mediaTextContent pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.mediaTextContent .ql-align-center{text-align:center}.mediaTextContent .ql-align-justify{text-align:justify}.mediaTextContent .ql-align-right{text-align:right}.quillWrapper .ql-toolbar{background-color:var(--c-gris-clair);padding-right:50px;display:flex;flex-flow:row wrap;align-items:center;overflow-y:visible}.ql-toolbar:before{position:relative;display:block;margin:0;padding:4px;font-weight:700;font-family:Fira Code;text-decoration:underline;font-size:.8rem}.ql-formats{display:flex;flex-flow:row nowrap;border:2px solid var(--c-gris-clair);border-radius:12px;background:#fff}.ql-formats button{padding:.5rem}.ql-picker.ql-header{width:115px!important}.ql-picker.ql-font{width:125px!important}html[lang=fr] .ql-picker.ql-header .ql-picker-item:before,html[lang=fr] .ql-picker.ql-header .ql-picker-label:before{content:"Texte courant"}html .ql-picker.ql-header .ql-picker-item:before,html .ql-picker.ql-header .ql-picker-label:before{content:"Regular text"}html[lang=fr] .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,html[lang=fr] .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Titre 1";font-weight:700}html[lang=fr] .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,html[lang=fr] .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Titre 2";font-weight:700}html[lang=fr] .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,html[lang=fr] .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Titre 3";font-weight:700}html[lang=fr] .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,html[lang=fr] .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Titre 4";font-weight:700}.ql-picker.ql-size .ql-picker-item[data-value="75%"]:before,.ql-picker.ql-size .ql-picker-label[data-value="75%"]:before{content:"Small";font-size:70%!important}html[lang=fr] .ql-picker.ql-size .ql-picker-item[data-value="75%"]:before,html[lang=fr] .ql-picker.ql-size .ql-picker-label[data-value="75%"]:before{content:"Petit"}.ql-picker.ql-size .ql-picker-item:not([data-value]):before,.ql-picker.ql-size .ql-picker-label:not([data-value]):before{content:"Regular";font-size:100%!important}html[lang=fr] .ql-picker.ql-size .ql-picker-item:not([data-value]):before,html[lang=fr] .ql-picker.ql-size .ql-picker-label:not([data-value]):before{content:"Normal"}.ql-picker.ql-size .ql-picker-item[data-value="150%"]:before,.ql-picker.ql-size .ql-picker-label[data-value="150%"]:before{content:"Large";font-size:150%!important}html[lang=fr] .ql-picker.ql-size .ql-picker-item[data-value="150%"]:before,html[lang=fr] .ql-picker.ql-size .ql-picker-label[data-value="150%"]:before{content:"Grand"}.ql-picker.ql-size .ql-picker-item[data-value="300%"]:before,.ql-picker.ql-size .ql-picker-label[data-value="300%"]:before{content:"Huge";font-size:300%!important}html[lang=fr] .ql-picker.ql-size .ql-picker-item[data-value="300%"]:before,html[lang=fr] .ql-picker.ql-size .ql-picker-label[data-value="300%"]:before{content:"Énorme"}.ql-picker.ql-size .ql-picker-label[data-value]:before{font-size:100%!important}.ql-picker.ql-font .ql-picker-item[data-value=""]:before,.ql-picker.ql-font .ql-picker-label[data-value=""]:before{content:"Fira Sans";font-family:Fira Sans}.ql-picker.ql-font .ql-picker-item[data-value=Alegreya]:before,.ql-picker.ql-font .ql-picker-label[data-value=Alegreya]:before{content:"Alegreya";font-family:Alegreya}.ql-picker.ql-font .ql-picker-item[data-value="Roboto Mono"]:before,.ql-picker.ql-font .ql-picker-label[data-value="Roboto Mono"]:before{content:"Roboto mono";font-family:Roboto Mono}::-moz-selection{background:rgba(51,51,51,.25)}::selection{background:rgba(51,51,51,.25)}*{box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body,html{height:100%}html::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}html::-webkit-scrollbar-thumb,html::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}html::-webkit-scrollbar-track{background-color:transparent}html::-webkit-scrollbar-thumb{background-color:#353535}html::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}body{font-family:Fira Sans,sans-serif;font-weight:400;font-size:var(--font-size);line-height:var(--line-height);background-color:#f4f3ef;color:#353535;position:relative;margin:0}body.has_modal_opened{overflow-y:auto}.input-xs,.range-xs,.switch-xs{--switch-size:0.9rem}.switch_twoway{display:flex;align-items:center}.switch_twoway label{margin-bottom:0;line-height:var(--switch-size);height:var(--switch-size);padding-top:1px}.switch_twoway label:first-child{margin-right:.5rem}.plyr{width:100%;height:100%;min-width:100px;font-family:inherit;font-weight:300}.plyr button{min-height:0}.plyr .plyr__poster,.plyr .plyr__video-wrapper,.plyr video{width:100%;height:100%;object-fit:cover}.plyr .plyr__poster>video,.plyr .plyr__video-wrapper>video,.plyr video>video{object-fit:contain;height:100%}.plyr .plyr__video-wrapper{background-color:#000}.plyr.plyr--audio .plyr__controls{margin:0}.plyr.plyr--audio .plyr__controls .plyr__volume{margin-right:5px}.plyr .plyr__controls{background:#353535;color:#fff;border-radius:6px;padding:.405rem;margin:.405rem}.plyr .plyr__control--overlaid{background-color:var(--c-orange)}.plyr input[type=range]{color:var(--c-orange)}.plyr .plyr__control.plyr__tab-focus,.plyr .plyr__control:hover,.plyr .plyr__control[aria-expanded=true]{background-color:var(--c-orange)}.plyr .plyr__progress__container{flex:1}#app{width:100%;height:100%}#app.is--survey .m_topbar{position:relative;min-height:50px}#app.is--survey .m_topbar>*{flex-wrap:wrap;flex-basis:auto}#app.is--survey .m_modal--mask{position:fixed}.m_dodoc{width:100%;height:100%;margin:0 auto;display:flex;flex-flow:column nowrap}.m_dodoc>*{flex:0 0 auto}.m_dodoc>.m_activitiesPanel{flex:1}#systemBar{position:absolute;z-index:10;top:0;width:100%;height:22px;font-size:.9em;line-height:1.25;text-align:center}#systemBar>.fixedBand{-webkit-user-select:none;-webkit-app-region:drag;font-style:italic;height:22px;background-color:#fff;border-bottom:1px solid #b9b9b9;color:#b9b9b9;padding:2px;z-index:15000;overflow:hidden;transition:all .2s ease-out}#systemBar>.fixedBand:hover{color:#333}.m_topbar{position:relative;z-index:10;width:100%;top:0;min-height:70px;background-color:#fff;margin-top:0;box-shadow:0 1px 4px rgba(0,0,0,.1);display:flex;flex-flow:row wrap;user-select:none}.m_topbar>*{flex:1 1 auto}body.has_systembar .m_topbar{padding-top:14.652px}.m_topbar>*{min-width:180px;flex:1 1 0}.m_dodoc:not(.is--wide) .m_topbar>*{flex:1 0 100%}.m_topbar>.m_topbar--center{min-width:200px;max-width:200px}.m_dodoc:not(.is--wide) .m_topbar>.m_topbar--center{max-width:none}.m_topbar .m_topbar--left,.m_topbar .m_topbar--left .m_topbar--left--logo{display:flex;align-items:center;justify-content:flex-start}.m_topbar .m_topbar--left .m_topbar--left--logo{width:auto;margin-left:0;height:70px;cursor:pointer;flex-shrink:0}.m_topbar .m_topbar--left .m_topbar--left--logo>*{flex:0 0 auto}.m_topbar .m_topbar--left .m_topbar--left--logo .backButton{display:block;color:#fff;background-color:#353535;border-radius:0 6px 6px 0;width:86px;height:46px;min-height:0;padding:0;margin:0;font-size:1em;font-weight:400;text-align:center;text-transform:lowercase}.m_dodoc:not(.is--wide) .m_topbar .m_topbar--left .m_topbar--left--logo .backButton{width:42px}.m_dodoc:not(.is--wide) .m_topbar .m_topbar--left .m_topbar--left--logo .backButton .backButton--text{display:none}.m_topbar .m_topbar--left .m_topbar--left--logo img{padding:.81rem;display:block;width:180px;height:100%;-moz-user-select:none;user-select:none}.m_dodoc:not(.is--wide) .m_topbar .m_topbar--left .m_topbar--left--logo img{padding:.81rem;width:140px}.m_topbar .m_topbar--left .m_topbar--left--logo img:active,.m_topbar .m_topbar--left .m_topbar--left--logo img:focus{outline:0}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb{position:relative;padding-right:1.62rem;overflow:hidden;display:flex;flex-flow:row nowrap;align-content:flex-start;align-items:center}.m_dodoc:not(.is--wide) .m_topbar .m_topbar--left .m_topbar--left--breadcrumb{display:none}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb>*{flex:0 1 auto}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button{position:relative;display:flex;align-items:center;text-align:left;margin:0;padding:0;min-height:0;margin-bottom:-3px;pointer-events:auto;transition:border-radius .4s;background-color:transparent;overflow:hidden;padding:15px 5px;color:#fc4b60;font-weight:400;font-style:italic;transition:color .2s}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button:disabled{cursor:inherit;opacity:1}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button span{display:block;text-transform:none;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-shadow:1px 1px #fff,-1px 1px #fff,-1px -1px #fff,1px -1px #fff;background-image:linear-gradient(90deg,currentColor 100%,transparent 0);background-position:bottom .12em left;background-repeat:no-repeat;background-size:0 2px;transition:all .4s ease-out}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button:not(:first-child){padding-left:0}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button:not(:first-child):before{content:"/";padding-left:.81rem;padding-right:.81rem;font-weight:200}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button:not(:last-child) span{background-size:100% 2px}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button:first-child{flex-shrink:1}.m_topbar .m_topbar--left .m_topbar--left--breadcrumb button:nth-child(2){color:#ffbe32}.m_topbar .m_topbar--left .m_topbar--left--menuButton{display:block;margin-left:auto}.m_topbar .m_topbar--left .m_topbar--left--menuButton svg{width:auto;height:auto;padding:.81rem;cursor:pointer}.m_topbar .m_topbar--center{display:flex;justify-content:center;align-items:center}.m_topbar .m_topbar--center .m_topbar--center--authors{position:relative}.m_topbar .m_topbar--center .m_topbar--center--authors .m_topbar--center--authors--currentAuthor{position:relative;padding:0;padding-left:0;min-height:0;display:flex;align-items:center;background-color:#fff;background-color:#bec6e5;color:#1d327f;padding:.405rem;font-weight:400}.m_topbar .m_topbar--center .m_topbar--center--authors .m_topbar--center--authors--currentAuthor .m_topbar--center--authors--portrait{width:40px;height:40px;margin-right:5px;position:relative;border-radius:50%;background-color:#1d327f;overflow:hidden;display:flex;align-items:center}.m_topbar .m_topbar--center .m_topbar--center--authors .m_topbar--center--authors--currentAuthor .m_topbar--center--authors--portrait img{width:100%;height:100%;object-fit:cover}.m_topbar .m_topbar--center .m_topbar--center--authors .m_topbar--center--authors--currentAuthor .m_topbar--center--authors--name{font-size:1.5rem;font-weight:200;max-width:7em;text-transform:none;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.m_topbar .m_topbar--right .m_topbar--right--pictos{display:flex;flex-flow:row wrap;justify-content:flex-end;align-items:center;color:#b9b9b9;padding-left:.81rem;padding-right:.81rem;height:100%}.m_topbar .m_topbar--right .m_topbar--right--pictos>*{flex:1 1 auto;flex:0 0 auto;width:auto;height:auto;padding:.81rem;cursor:pointer;color:#b9b9b9}.m_topbar .m_topbar--right .m_topbar--right--pictos>* svg{width:20px;height:20px}.m_topbar .m_topbar--right .m_topbar--right--pictos>* path,.m_topbar .m_topbar--right .m_topbar--right--pictos>* polygon{fill:currentColor}.m_topbar .m_topbar--right .m_topbar--right--pictos>.is--active{color:#fc4b60;background-color:transparent}.m_topbar .m_topbar--status{width:100%;flex:1 1 auto;background-color:#fc4b60;font-size:.8rem;color:#fff;padding-left:1.62rem;padding-right:1.62rem}.m_topbar .m_topbar--repliesList{width:100%;flex:1 1 auto}.m_authorsList{display:flex;flex-flow:row wrap;align-items:flex-start;justify-content:flex-start;margin:.81rem}.m_authorsList>*{flex:0 0 240px;min-height:200px}.m_authorsList .m_authorsList--createAuthor,.m_authorsList .m_authorsList--editAuthor{padding:.81rem;margin:.81rem;position:relative;border:4px dashed #bec6e5;background-color:#fff;border-radius:6px;font-size:.9em;line-height:1.25;display:flex;flex-flow:none;align-items:center;justify-content:center;max-width:none}.m_authorsList .m_authorsList--createAuthor .m_authorsList--createAuthor--createButton,.m_authorsList .m_authorsList--editAuthor .m_authorsList--createAuthor--createButton{max-height:none;display:block;border:none;padding-left:.81rem;padding-right:.81rem}.m_authorsList .m_authorsList--createAuthor>form,.m_authorsList .m_authorsList--editAuthor>form{width:265px}.m_author{position:relative;padding:.81rem;margin:.81rem;min-height:200px;line-height:1.3;background-color:#f4f3ef;border-radius:6px;text-align:center;text-transform:none;display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.m_author input{background-color:#fff}.m_author .m_author--card{padding-left:.81rem;padding-right:.81rem}.m_author .m_author--card>*{margin-bottom:.81rem}.m_author.is--selected{color:#12224c;background-color:#bec6e5}.m_author.is--selected hr{border-color:currentColor}.m_author.is--selected .buttonLink{color:currentColor}.m_author .m_author--name{font-size:1.5rem;font-weight:200;max-width:15ch;letter-spacing:-.01em}.m_author .m_author--email{font-size:.8rem}.m_author .m_author--removeButton{position:absolute;top:0;right:0}.m_author .m_author--editButton{position:absolute;top:0;left:0}.m_author .m_author--connected{background-color:#bec6e5;border-radius:4px;padding:.405rem}.m_author .m_author--connected>label{margin-bottom:0;display:block}.m_author .m_author--connected .m_metaField:last-child{margin-bottom:0}.m_author .m_author--connected .m_metaField button{padding:2px 4px}.m_author img{display:inline-block;width:100px;height:100px;border-radius:50%;object-fit:cover;margin-top:.405rem;margin-bottom:.405rem}.m_author hr{margin:0;border-color:#1d327f}.m_author button{margin:0}.m_uploadFile{position:relative;display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;color:#353535;font-size:.8rem;height:60px;margin-bottom:.81rem;background-color:#f1f1f1;border-radius:6px;overflow:hidden}.m_uploadFile:last-child{margin-bottom:0}.m_uploadFile .m_uploadFile--progressBar{content:"";position:absolute;width:100%;height:100%;transform:scaleX(var(--progress-percent));transform-origin:left center;transition:all .1s;background-color:#fc4b60}.m_uploadFile>*{flex:1 1 auto;position:relative;z-index:1}.m_uploadFile.is--failed:before{background-color:#fc4b60}.m_uploadFile .m_uploadFile--image{display:block;flex:0 0 60px;width:60px;height:60px;object-fit:contain;object-position:center;background-color:hsla(0,0%,100%,.35)}.m_uploadFile .m_uploadFile--filename{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:.9em;line-height:1.25;color:#353535;padding:.405rem}.m_uploadFile .m_uploadFile--action,.m_uploadFile .m_uploadFile--size{flex:0 0 70px}.m_uploadFile .m_uploadFile--action button{background-color:transparent;color:inherit}.m_sideBySideSwitches{display:flex;flex-flow:row wrap}.m_sideBySideSwitches>*{flex:1 1 0;margin:0;padding:0;min-width:150px;border-bottom:2px solid var(--c-gris-clair);border-right:2px solid var(--c-gris-clair);display:flex;align-items:center}.m_sideBySideSwitches>* input{display:block;flex:0 0 auto;margin:calc(var(--spacing) / 2)}.m_sideBySideSwitches>:last-child{border-right:none}.m_filterBar{max-height:4.86rem;overflow:hidden;font-weight:500;display:flex;flex-flow:row nowrap;justify-content:stretch;align-items:center;background-color:#e5e5e5}.m_filterBar>*{flex:1 1 0;padding:.81rem}.m_filterBar .m_filterBar--header{display:flex;align-items:center}.m_filterBar .m_filterBar--header svg{margin:.81rem}.m_activitiesPanel{position:relative}.m_activitiesPanel .m_activitiesPanel--do{position:relative;top:0;left:0;width:100%;height:100%;min-width:240px;min-height:220px;display:flex;flex-flow:column nowrap}.m_activitiesPanel .m_activitiesPanel--doc{position:relative;height:100%;min-width:240px;background-color:#47998d;transition:all .4s}.m_activitiesPanel .m_activitiesPanel--chat{position:relative;height:100%;background-color:#fc4b60;transition:all .4s}.m_captureview,.m_chatsview,.m_listview,.m_mediaview,.m_projectview,.m_publicationsview,.m_publicationview{position:absolute;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;z-index:1;background-color:#f4f3ef;width:100%;height:100%;top:0;left:0}.m_captureview::-webkit-scrollbar,.m_chatsview::-webkit-scrollbar,.m_listview::-webkit-scrollbar,.m_mediaview::-webkit-scrollbar,.m_projectview::-webkit-scrollbar,.m_publicationsview::-webkit-scrollbar,.m_publicationview::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_captureview::-webkit-scrollbar-thumb,.m_captureview::-webkit-scrollbar-track,.m_chatsview::-webkit-scrollbar-thumb,.m_chatsview::-webkit-scrollbar-track,.m_listview::-webkit-scrollbar-thumb,.m_listview::-webkit-scrollbar-track,.m_mediaview::-webkit-scrollbar-thumb,.m_mediaview::-webkit-scrollbar-track,.m_projectview::-webkit-scrollbar-thumb,.m_projectview::-webkit-scrollbar-track,.m_publicationsview::-webkit-scrollbar-thumb,.m_publicationsview::-webkit-scrollbar-track,.m_publicationview::-webkit-scrollbar-thumb,.m_publicationview::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_captureview::-webkit-scrollbar-track,.m_chatsview::-webkit-scrollbar-track,.m_listview::-webkit-scrollbar-track,.m_mediaview::-webkit-scrollbar-track,.m_projectview::-webkit-scrollbar-track,.m_publicationsview::-webkit-scrollbar-track,.m_publicationview::-webkit-scrollbar-track{background-color:transparent}.m_captureview::-webkit-scrollbar-thumb,.m_chatsview::-webkit-scrollbar-thumb,.m_listview::-webkit-scrollbar-thumb,.m_mediaview::-webkit-scrollbar-thumb,.m_projectview::-webkit-scrollbar-thumb,.m_publicationsview::-webkit-scrollbar-thumb,.m_publicationview::-webkit-scrollbar-thumb{background-color:#353535}.m_captureview::-webkit-scrollbar-thumb:hover,.m_chatsview::-webkit-scrollbar-thumb:hover,.m_listview::-webkit-scrollbar-thumb:hover,.m_mediaview::-webkit-scrollbar-thumb:hover,.m_projectview::-webkit-scrollbar-thumb:hover,.m_publicationsview::-webkit-scrollbar-thumb:hover,.m_publicationview::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_listview.is--folder .barButton_createProject.barButton_createProject{background-color:var(--color-folder);color:var(--c-rouge)}.m_listview{display:flex;flex-flow:column nowrap}.m_listview .m_actionbar--buttonBar:first-child{margin-top:0;margin-left:0}.m_listview--openedFolderLabel{flex:0 0 auto;position:relative;display:flex;justify-content:center;border-top:8px solid var(--color-folder)}.m_listview--openedFolderLabel>*{position:relative;background-color:var(--color-folder);border-radius:var(--folder_border_radius);padding:.405rem .81rem;margin:0 auto;margin-top:-4px;font-size:100%}.m_listview--openedFolderLabel>* .m_listview--openedFolderLabel--backButton{min-height:2em;margin:0;background-color:var(--c-noir);color:#fff;margin-right:calc(var(--spacing) / 3);font-size:1em;font-weight:400;text-transform:lowercase}.m_listview--openedFolderLabel>* .m_listview--openedFolderLabel--intitule{text-transform:lowercase}.m_listview--openedFolderLabel>* .m_listview--openedFolderLabel--folderName{font-weight:600}.m_listview--openedFolderLabel>* button,.m_listview--openedFolderLabel>* label{color:#000}.m_listview--openedFolderLabel>:after,.m_listview--openedFolderLabel>:before{width:var(--folder_border_radius);height:var(--folder_border_radius);background:transparent;top:4px;position:absolute;content:"";box-shadow:0 0 0 10px var(--color-folder);clip:rect(0,6px,6px,0);display:block}.m_listview--openedFolderLabel>:after{border-top-left-radius:100%;left:100%}.m_listview--openedFolderLabel>:before{right:100%;border-top-right-radius:100%}.m_publicationsview{background-color:#47998d}.m_chatsview{background-color:#cc334a;color:#fff;overflow-x:hidden}.m_publicationview{background-color:#52c5b9}.m_publicationsview .sectionTitle_small,.m_publicationview .sectionTitle_small{color:#fff}.m_projectview{background-color:#e5e5e5}.m_projectview .m_project{min-height:100%;overflow-y:scroll}small{font-size:.8rem;color:#666;letter-spacing:-.01em;font-style:italic}.m_chatsview,.m_publicationsview{display:flex;flex-flow:column nowrap}.m_chatsview .m_actionbar,.m_publicationsview .m_actionbar{border-color:#fff;margin-left:1.62rem;margin-right:1.62rem}.m_chatsview .m_actionbar .m_actionbar--text,.m_publicationsview .m_actionbar .m_actionbar--text{color:#fff}.m_activitiesPanel--do.is--large .m_listview .m_projects{display:flex;flex-flow:column nowrap;align-content:stretch;height:100%}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_actionbar{margin:1.62rem;margin-bottom:0}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list{overflow-y:auto;-webkit-overflow-scrolling:touch;padding-left:.81rem;padding-right:.81rem;grid-gap:1.62rem}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list::-webkit-scrollbar-thumb,.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list::-webkit-scrollbar-track{background-color:transparent}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list::-webkit-scrollbar-thumb{background-color:#353535}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}@supports (display:grid){.m_activitiesPanel--do.is--large .m_listview .m_projects .m_projects--list{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));padding-left:1.62rem;padding-right:1.62rem}}.m_activitiesPanel--do.is--large .m_listview .m_projects .m_allmedias--list{overflow-y:auto;-webkit-overflow-scrolling:touch;padding-left:.81rem;padding-right:.81rem}.m_activitiesPanel--do.is--large .m_projectview .m_project{height:100%}.m_activitiesPanel--do.is--large .m_projectview .m_project--library{display:flex;flex-flow:column nowrap;align-content:stretch;height:100%;user-select:none}.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_actionbar{margin:1.62rem;margin-bottom:0}.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_actionbar--buttonBar{margin-left:0;margin-top:0}.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias{padding-top:.81rem;padding-left:.81rem;padding-right:.81rem;overflow-y:auto;-webkit-overflow-scrolling:touch}.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias::-webkit-scrollbar-thumb,.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias::-webkit-scrollbar-track{background-color:transparent}.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias::-webkit-scrollbar-thumb{background-color:#353535}.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias .m_mediaCard{padding-left:.81rem;padding-right:.81rem}@supports (display:grid){.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias .m_mediaCard{padding:0}}.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias .m_mediaCard>*{margin-bottom:1.62rem}@supports (display:grid){.m_activitiesPanel--do.is--large .m_projectview .m_project--library .m_project--library--medias .m_mediaCard>*{margin:0}}.m_activitiesPanel--do .m_projects>.m_actionbar{flex:0 0 auto}.m_activitiesPanel--do .m_projects>.m_projects--list{flex:1 1 auto}.m_activitiesPanel--do .m_projects .m_project{min-height:100%}.m_allmedias--list,.m_project--library--medias{padding-bottom:.81rem;padding-top:.81rem;display:block}.m_allmedias--list .m_mediaShowAll,.m_project--library--medias .m_mediaShowAll{padding-bottom:.81rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));grid-auto-rows:max-content;padding-left:.81rem;padding-right:.81rem;grid-gap:.81rem}.m_allmedias--list h3,.m_project--library--medias h3{font-size:1rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em}.m_allmedias--list h3:before,.m_project--library--medias h3:before{content:" ";margin-right:.4em;margin-left:.4em}.m_allmedias--list ._media_counter,.m_project--library--medias ._media_counter{background-color:#353535;color:#fff;border-radius:50%;width:1.4em;height:1.4em;display:inline-flex;align-items:center;justify-content:center;font-weight:600;font-variant-numeric:tabular-nums;font-size:.8rem}.m_allmedias--list ._fold_button,.m_project--library--medias ._fold_button{font-size:.8rem;text-transform:lowercase;font-weight:600;letter-spacing:0}.m_allmedias--list ._fold_button:after,.m_project--library--medias ._fold_button:after{margin-left:-.05em}.m_channels{height:100%;overflow-y:auto}.m_channels .m_channels--content{margin:1.62rem;padding:.81rem;background-color:#fc4b60;border-radius:6px}.m_channels .m_channels--content>:first-child{margin-top:0}.m_channels .m_channels--content>h3{margin-bottom:0}.m_channels .m_channels--content>h3 button{color:inherit}.m_channels .m_channels--content label{color:inherit;margin-bottom:0}.m_channels .m_channels--content hr{border-bottom-color:#cc334a;max-width:100px;margin:1.62rem auto}.m_projects--list{position:relative;display:flex;flex-flow:row wrap;justify-content:flex-start;align-items:flex-start}.m_projects--list>*{flex:1 1 auto}.m_projects--list:after,.m_projects--list:before{content:"";display:block;width:100%;height:1px;grid-column:1/-1}@supports (display:grid){.m_projects--list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-auto-rows:max-content;grid-gap:.81rem;-ms-flex-align:start;align-items:start;padding-left:.81rem;padding-right:.81rem}}.m_projects--list>*{z-index:1}.m_projects--list .m_folder{text-align:left}.m_projects--list .m_folder>.m_folder--topbar{display:flex;flex-flow:row nowrap;align-content:flex-end;justify-content:space-between}.m_projects--list .m_folder>.m_folder--topbar label{position:relative;color:#353535;padding:.405rem .405rem .405rem .81rem;background-color:var(--color-folder);border-radius:var(--folder_border_radius);border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:0;max-width:80%}.m_projects--list .m_folder>.m_folder--topbar label:after,.m_projects--list .m_folder>.m_folder--topbar label:before{width:var(--folder_border_radius);height:var(--folder_border_radius);background:transparent;bottom:0;position:absolute;content:"";box-shadow:0 0 0 10px var(--color-folder);clip:rect(0,6px,10px,0);display:none}.m_projects--list .m_folder>.m_folder--topbar label:after{border-bottom-left-radius:100%;left:100%}.m_projects--list .m_folder>.m_folder--topbar label:before{right:100%;border-bottom-right-radius:100%}.m_projects--list .m_folder>.m_folder--topbar label:first-child:after,.m_projects--list .m_folder>.m_folder--topbar label:last-child:before{display:block}.m_projects--list .m_folder>.m_folder--topbar label button{font-size:inherit;text-transform:inherit;font-weight:600;color:#353535;text-align:left}.m_projects--list .m_folder>.m_folder--topbar label button:active,.m_projects--list .m_folder>.m_folder--topbar label button:hover{color:#666;background-color:transparent}.m_projects--list .m_folder>.m_folder--topbar label .input-selector{margin:0;padding:0}.m_projects--list .m_folder>.m_folder--topbar .input-selector{top:.05rem}.m_projects--list .m_folder>.m_folder--topbar .input-selector:before{display:block}.m_projects--list .m_folder>.m_folder--topbar .input-selector:after{display:none}.m_projects--list .m_folder>.m_folder--projects{background-color:var(--color-folder);border-radius:var(--folder_border_radius);border-top-left-radius:0;border-top-right-radius:0;padding-top:.81rem;margin-bottom:0;max-height:400px;overflow-y:auto;overscroll-behavior-y:contain;margin-bottom:2px}.m_projects--list .m_folder>.m_folder--projects::-webkit-scrollbar{height:13px;width:13px;background-color:hsla(0,0%,100%,0)}.m_projects--list .m_folder>.m_folder--projects::-webkit-scrollbar-thumb,.m_projects--list .m_folder>.m_folder--projects::-webkit-scrollbar-track{border:5px solid hsla(0,0%,100%,0);border-radius:20px;background-clip:padding-box;transition:all .4s}.m_projects--list .m_folder>.m_folder--projects::-webkit-scrollbar-track{background-color:transparent}.m_projects--list .m_folder>.m_folder--projects::-webkit-scrollbar-thumb{background-color:#fff}.m_projects--list .m_folder>.m_folder--projects::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:5px solid hsla(0,0%,100%,0)}.m_projects--list .m_folder>.m_folder--projects .m_project{margin-bottom:.81rem;margin-left:.81rem;margin-right:.81rem;min-height:0}.m_projects--list .m_folder>.m_folder--projects .m_project.is--collapsed .m_project--presentation{flex-flow:row nowrap;align-items:stretch}.m_projects--list .m_folder>.m_folder--projects .m_project.is--collapsed .m_project--presentation .m_project--presentation--vignette{flex:0 0 35%;height:auto;padding-bottom:0}.m_projects--list .m_folder>.m_folder--projects .m_project.is--collapsed .m_project--presentation .m_project--presentation--buttons{flex:0 0 auto}.m_projects--list .m_folder>.m_folder--projects .m_project.is--collapsed .m_project--presentation .m_project--presentation--buttons .m_project--presentation--buttons--openButton{flex:0 0 auto;margin-top:0;margin-bottom:0;padding:.405rem}.m_projects--list .m_folder>.m_folder--projects .m_project.is--collapsed .m_project--presentation .m_project--presentation--buttons .m_project--presentation--buttons--openButton svg{display:block}.m_projects--list .m_folder>.m_folder--projects .m_project.is--collapsed .m_project--presentation .m_project--presentation--text--title{flex:1 0 auto;font-size:1rem;margin:0;padding:.405rem;text-align:left;height:100%;display:flex;align-items:center}.m_projects--list .m_folder>.m_folder--projects .m_project.is--collapsed .m_project--presentation .m_project--presentation--text--infos{background-color:var(--c-gris-tresclair);width:100%;margin:0}.m_projects--list .m_folder>.m_folder--projects .m_project.is--collapsed .m_project--presentation .m_project--presentation--text--infos>:not(._pwd_input):not(._open_pwd_input){display:none}.m_projects--list .m_folder>.m_folder--projects .m_project.is--collapsed .m_project--presentation .m_project--presentation--text--infos ._open_pwd_input{font-size:50%;margin-top:0;margin-bottom:0}.m_projects--list .m_folder>.m_folder--projects .m_project.is--collapsed .m_project--presentation .m_project--presentation--text--infos input{background-color:#fff}.m_projects--list .m_folder>.m_folder--projects .m_project.is--collapsed .m_project--presentation .m_project--presentation--text--infos .m_metaField{display:none}.m_projects--list .m_folder>.m_folder--projects .m_project.is--collapsed .m_project--presentation .m_project--presentation--buttons{align-items:center}.m_projects--list .m_folder>.m_folder--projects .m_project.is--collapsed .m_project--presentation .m_project--presentation--buttons--openButton{width:2em;height:2em}.m_projects--list .m_project{flex:0 1 320px;margin-left:.81rem;margin-right:.81rem;margin-bottom:1.62rem;z-index:1}@supports (display:grid){.m_projects--list .m_project{margin:0}}@supports (display:grid){.m_projects--list .m_project .m_project--presentation{flex-basis:100%!important}}.m_projects--list .m_project{border-radius:6px;background-color:#fff;transition:box-shadow .4s cubic-bezier(.19,1,.22,1),transform .4s cubic-bezier(.19,1,.22,1)}.m_projects--list .m_project.is--accessible{border-bottom:2px solid #b9b9b9;box-shadow:0 1px 4px rgba(0,0,0,.1)}.m_projects--list .m_project.is--accessible.is--hovered{transform:translateY(-4px);box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23)}.m_projects--list .m_project:not(.is--accessible){cursor:not-allowed}.m_projects--list .m_project--presentation--buttons{margin-top:.405rem!important;margin:0!important}._loader{position:absolute;top:0;left:0;right:0;bottom:0;z-index:10000;background-color:hsla(0,0%,100%,.65);align-items:center}._loader,.m_project{display:flex;justify-content:center}.m_project{background-color:#fff;border-radius:0;overflow-y:auto;flex-flow:row wrap}.m_project>*{flex:1 1 auto}.m_project.is--selected{border:4px dashed #52c5b9!important}.m_project .m_project--presentation{position:relative;flex:0 1 320px;min-width:320px;max-width:320px;background-color:#fff;box-shadow:0 1px 4px rgba(0,0,0,.1);display:flex;flex-flow:column nowrap;justify-items:center;align-items:stretch;overflow-y:visible;justify-content:space-between}.m_project .m_project--presentation.is--full{justify-content:flex-start}@supports (display:grid){.m_project .m_project--presentation{min-width:auto;max-width:none}}.m_dodoc:not(.is--wide) .m_project .m_project--presentation{flex-basis:320px;max-width:none}.m_project .m_project--presentation .m_project--presentation--novignette{position:relative;width:100%;background-color:#f1f1f1;text-align:center}.m_project .m_project--presentation .m_project--presentation--novignette button{font-size:50%}.m_project .m_project--presentation .m_project--presentation--vignette{position:relative;width:100%;overflow:hidden;height:0;padding-bottom:66%;background-color:#e5e5e5;user-select:none}.m_project .m_project--presentation .m_project--presentation--vignette img{position:absolute;width:100%;height:100%;object-fit:cover}.m_project .m_project--presentation .m_project--presentation--text .m_project--presentation--text--title{margin:0;padding:.81rem .81rem .405rem;padding-bottom:.81rem;font-size:1.5rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em;word-break:break-word}.m_project .m_project--presentation .m_project--presentation--text .m_project--presentation--text--infos{margin-left:.81rem;margin-right:.81rem;text-align:center}.m_project .m_project--presentation .m_project--presentation--text .m_project--presentation--text--infos>button{margin:0 auto}.m_project .m_project--presentation .m_project--presentation--text .m_project--presentation--text--infos input{min-width:0}.m_project .m_project--presentation .m_project--presentation--buttons{margin:.81rem;display:flex;flex-flow:row wrap;justify-content:center;padding-top:.81rem;padding-bottom:.81rem}.m_project .m_project--presentation .m_project--presentation--buttons>*{flex:1 1 auto;flex-grow:0}.m_project .m_project--presentation .m_project--presentation--buttons .m_project--presentation--buttons--openButton .m_project--presentation--buttons--openButton--icon{color:#fff}.m_project .m_project--presentation .m_project--presentation--buttons .m_project--presentation--buttons--invisibleOpenButton{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%;background-color:transparent;text-indent:-1000px;opacity:0;min-height:0}.m_project .m_project--presentation .m_project--presentation--buttons .m_project--presentation--buttons--selectionButton{position:absolute;top:0;right:0;padding:6px}.m_project .m_project--presentation .m_project--presentation--password{margin:.405rem 1.62rem}.m_project .m_project--library{flex:1 1 420px;background-color:#e5e5e5}.m_project .m_project--favMedias{width:100%;background-color:#f1f1f1;padding:0;padding:1.62rem .81rem}.m_project .m_project--favMedias .m_project--favMedias--list{display:flex;flex-flow:row wrap}.m_project .m_project--favMedias .m_project--favMedias--list>*{flex:0 0 33.33333333%}.m_project .m_project--library--medias{flex:1 1 auto;position:relative;width:100%;padding-top:.81rem;padding-bottom:1.62rem}.m_actionbar{margin:.81rem;margin-bottom:0;border-bottom:4px solid #f1f1f1}.m_actionbar .m_actionbar--buttonBar{display:flex;flex-flow:row wrap;align-items:flex-start;margin:.405rem;margin-bottom:0}.m_actionbar .m_actionbar--buttonBar>:last-child{margin-right:0!important}.m_actionbar .m_actionbar--text{text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;color:#666;margin-bottom:.81rem}.m_actionbar .m_actionbar--text label{font-size:.8rem;color:inherit;vertical-align:middle;margin-bottom:0;line-height:var(--switch-size)}.m_actionbar .m_actionbar--text .switch{font-size:inherit}.m_actionbar .m_tagsAndAuthorFilters{color:#666}.m_displayMyContent{display:block;max-width:320px;width:90%;background-color:#353535;color:#fff;border-radius:8px;margin:1.62rem auto;padding:.405rem;display:flex;flex-flow:row nowrap;align-items:center}.m_displayMyContent span{padding-left:.405rem;padding-right:.405rem}.m_publiFilter{flex:0 0 auto;width:auto;max-width:500px;margin:0 auto;padding:.81rem;color:#fff}.m_publiFilter label{color:inherit}._button_forgetpassword{z-index:150;position:relative;display:inline-block;background-color:inherit;text-decoration:none;font-size:.9em;line-height:1.25;padding:.405rem;margin:.405rem;font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#666;font-weight:400;min-height:0;transition:background .4s cubic-bezier(.19,1,.22,1);display:block;margin:0 auto}._button_forgetpassword.c-noir{color:#353535}._button_forgetpassword.is--active{color:#fc4b60!important}._button_forgetpassword span{color:inherit}._button_forgetpassword:after{content:"";position:absolute;display:block;left:.405rem;right:.405rem;border-bottom:1px solid currentColor}._button_forgetpassword.is--active{color:#fff!important}._button_forgetpassword._no_underline:after{display:none}._button_forgetpassword:hover{background-color:#f1f1f1}._button_forgetpassword.is--disabled,._button_forgetpassword[disabled]{background-color:#b9b9b9}._button_forgetpassword.bg-noir:hover{background-color:#666}._button_forgetpassword.bg-rouge:hover{background-color:#cc334a}._button_forgetpassword.bg-bleuvert:hover{background-color:#47998d}.m_listview .m_actionbar{border-color:#fff;display:flex;flex-flow:row wrap;align-items:center}.m_listview .m_actionbar>*{flex:1 1 300px}.m_listview .m_actionbar .m_displayMyContent{flex:0 0 auto}.barButton{margin:0;margin:.81rem;margin-left:0;margin-top:0;min-height:0;border-radius:4px}.barButton label{text-transform:inherit;font-family:inherit;font-size:inherit;margin-bottom:0;color:inherit;cursor:inherit}.m_dodoc:not(.is--wide) .barButton{margin:.405rem;margin-left:0;margin-top:0}.m_dodoc:not(.is--wide) .barButton label,.m_dodoc:not(.is--wide) .barButton span{font-size:.9em;line-height:1.25}.m_dodoc:not(.is--wide) .barButton:last-child{margin-right:0}.barButton>span,.barButton label{display:inline-block;vertical-align:middle;padding-top:.81rem;padding-bottom:.81rem}.m_activitiesPanel--do:not(.is--large) .barButton{font-size:.7em;padding-top:.405rem}.m_activitiesPanel--do:not(.is--large) .barButton>span,.m_activitiesPanel--do:not(.is--large) .barButton label{display:block;padding-top:.405rem;padding-bottom:.405rem}.barButton:before{content:"";display:inline-block;vertical-align:middle;width:28px;height:28px;padding-right:4px;background-repeat:no-repeat}.barButton.barButton_createProject{color:#fff;background-color:#fc4b60}.m_activitiesPanel--do:not(.is--large) .barButton.barButton_createProject{margin:.81rem;margin-left:0;margin-top:0;padding:0;padding-left:.405rem;padding-right:.405rem;font-size:.9em;line-height:1.25;font-size:inherit;line-height:inherit}.m_activitiesPanel--do:not(.is--large) .barButton.barButton_createProject span{display:inline-block;padding-top:.81rem;padding-bottom:.81rem}.barButton.barButton_createProject:before{background-image:url(/images/i_add.svg)}.barButton.barButton_text{color:#1d327f}.barButton.barButton_text:before{background-image:url(/images/i_text.svg)}.barButton.barButton_placeholder{color:#666}.barButton.barButton_placeholder:before{background-image:url(/images/i_placeholder.svg)}.barButton.barButton_capture{color:#ffbe32}.barButton.barButton_capture:before{background-image:url(/images/i_record.svg)}.barButton.barButton_divider{color:#52c5b9}.barButton.barButton_divider:before{height:0;width:16px;margin:0 6px;border-bottom:4px solid var(--c-bleuvert)}.barButton.barButton_import{color:#fc4b60}.barButton.barButton_import:before{background-image:url(/images/i_importer.svg)}.barButton.barButton_createPubli{color:#52c5b9}.barButton.barButton_createPubli:before{background-image:url(/images/i_add_publi.svg)}.barButton.barButton_createChannel{color:#fc4b60}.barButton.barButton_createChannel:before{background-image:url(/images/i_add_channel.svg)}.m_searchProject>div{background-color:#fff;color:#666;padding:.81rem;margin-top:.405rem;margin-bottom:.405rem;border-bottom:0}.m_searchProject>div>:last-child{margin-bottom:0}.m_searchProject input{max-width:18ch;font-size:1.5rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em;color:#353535}._drop_indicator{position:fixed;top:0;left:0;right:0;bottom:0;background-color:hsla(0,0%,100%,.95);z-index:50000;display:flex;justify-content:center;align-items:center;text-align:center}._drop_indicator>*{display:block;width:200px;height:200px}.m_mediaShowAll{display:flex;flex-flow:row wrap}.m_mediaShowAll>*{flex:0 0 16.66666667%}.m_qrSnippet{padding:0;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;cursor:auto;background-color:#f4f3ef;border-radius:6px}.m_qrSnippet .m_qrSnippet--text{position:relative;text-align:center;text-transform:uppercase;font-weight:500;letter-spacing:.06em;margin:.81rem;margin-top:0;background-color:transparent;width:100%}.m_qrSnippet .m_qrSnippet--text a{display:block;background-color:transparent;text-decoration:none}.m_qrSnippet .m_qrSnippet--text .m_qrSnippet--text--dodoclogo{float:left;width:100px;padding:.405rem}.m_qrSnippet .m_qrSnippet--text .m_qrSnippet--text--printButton{float:right}.m_qrSnippet .m_qrSnippet--motif{width:100%;margin:.81rem}.m_qrSnippet .m_qrSnippet--motif canvas{background-color:#f1f1f1;padding:.405rem;background-color:#fff;width:100%}.m_mediaCard{position:relative;width:100%;min-width:120px;max-width:220px;z-index:1;padding-left:.405rem;padding-right:.405rem;border-radius:4px;user-select:none;transition:opacity .4s}@supports (display:grid){.m_mediaCard{padding:0;margin:0}}.m_mediaCard.is--selected figure{border:4px dashed #52c5b9}.m_mediaCard.is--ownMedia .m_metaField{background-color:#bec6e5}.m_mediaCard.is--just_added .m_metaField>:after{content:"●";font-size:100%;line-height:1;color:#ffbe32}.m_mediaCard.is--opened_in_media_modal figure{border:2px solid #666}.m_mediaCard.is--opened_in_media_modal figure .m_mediaCard--topbar{border-bottom:0;border-radius:0}.m_mediaCard.is--inPubli{animation-duration:.6s;animation-name:nudgeright;animation-timing-function:ease-out}@keyframes nudgeright{0%{left:0}40%{left:20px}to{left:0}}.m_mediaCard.is--inPubli .buttonLink{color:#b9b9b9!important}.m_mediaCard.is--inPubli .m_mediaCard--add_to_recipe .button_addToPubli{background-color:#ffbe32;border-color:#d19833}.m_mediaCard>*{margin-bottom:.81rem}@supports (display:grid){.m_mediaCard>*{margin:0}}.m_mediaCard figure{position:relative;margin:0;overflow:visible;min-height:100px;display:flex;flex-flow:column nowrap;cursor:pointer;background-color:#fff;border-radius:4px;overflow:hidden;transition:transform 1s cubic-bezier(.25,.8,.25,1) .2s,box-shadow 1s cubic-bezier(.25,.8,.25,1) .2s}.m_mediaCard figure.is--hovered{transform:translateY(-4px);box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23);transition:transform .4s cubic-bezier(.25,.8,.25,1),box-shadow .4s cubic-bezier(.25,.8,.25,1)}.m_mediaCard figure .m_metaField{margin-bottom:0;height:1rem;text-transform:lowercase;border-bottom:0;border-bottom:1px solid #e5e5e5;display:block}.m_mediaCard figure .m_metaField svg{color:#fc4b60;vertical-align:text-bottom}.m_mediaCard figure .mediaContainer{position:relative;background-color:#fff;overflow:hidden;pointer-events:none}.m_mediaCard figure .mediaContainer>*{position:absolute;width:100%;height:100%;margin:0;padding:0;object-fit:contain;object-position:50% 47%}.m_mediaCard figure .mediaContainer:after{content:"";display:block;width:100%;height:0;padding-bottom:100%}.m_mediaCard figure .mediaContainer audio{height:50px}.m_mediaCard figure .mediaContainer p:first-child,.m_mediaCard figure .mediaContainer pre:first-child{margin-top:0}.m_mediaCard figure .mediaContainer pre{white-space:normal;word-break:break-all}.m_mediaCard figure .mediaContainer h1,.m_mediaCard figure .mediaContainer h2,.m_mediaCard figure .mediaContainer h3,.m_mediaCard figure .mediaContainer h4,.m_mediaCard figure .mediaContainer h5,.m_mediaCard figure .mediaContainer p{font-size:inherit}.m_mediaCard figure .mediaContainer b,.m_mediaCard figure .mediaContainer h1,.m_mediaCard figure .mediaContainer h2,.m_mediaCard figure .mediaContainer h3,.m_mediaCard figure .mediaContainer h4,.m_mediaCard figure .mediaContainer h5,.m_mediaCard figure .mediaContainer strong{font-weight:700}.m_mediaCard figure .mediaContainer.type-document,.m_mediaCard figure .mediaContainer.type-other,.m_mediaCard figure .mediaContainer.type-text{margin:.405rem;font-size:.8rem;background-color:#fff}.m_mediaCard figure .m_mediaCard--add_to_recipe{position:absolute;top:0;left:0;height:100%;right:0;transform:translate3d(0,-50%,0);top:50%;left:auto;pointer-events:none;display:flex;justify-content:flex-end;align-items:center;align-content:flex-end}.m_mediaCard figure .m_mediaCard--add_to_recipe .button_addToPubli{width:2em;height:2em;padding:0;border-radius:50%;min-width:0;color:#fff;border:2px solid #47998d;box-shadow:0 2px 16px 0 rgba(0,0,0,.4);font-weight:700;font-size:1.2em;font-family:Fira Code;pointer-events:auto;transition:all .4s}.m_mediaCard figure .m_mediaCard--add_to_recipe .button_addToPubli:hover{border-color:#ffbe32}.m_mediaCard figure .m_mediaCard--topbar>*{margin:0;display:flex;flex-flow:row nowrap;justify-content:space-between}.m_mediaCard figure .m_mediaCard--topbar>* .input-selector{justify-self:flex-end;flex-grow:0;text-align:right;margin-right:-8px;margin-top:-2px}.m_mediaCard figure .m_mediaCard--caption{width:100%;height:1.1rem;overflow:hidden}.m_mediaCard figure .m_mediaCard--caption span{display:block;width:100%;padding-left:2px;padding-right:2px;border-top:1px solid #e5e5e5;font-size:.8rem;color:#353535;background-color:#fff;position:absolute;bottom:0;max-height:4.9rem}.m_mediaCard figure:not(.is--hovered) .m_mediaCard--caption span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.m_mediaCard figure nav{display:flex;flex-flow:row wrap;justify-content:center;padding:.81rem}.m_mediaCard .m_clientsCheckingOut{position:absolute;right:0;bottom:0}.m_metaField{position:relative;display:flex;flex-flow:row wrap;justify-content:space-between;align-items:flex-end;color:#353535;border-bottom:1px dashed #b9b9b9;border-radius:2px;text-align:left;margin-bottom:.405rem}.m_metaField>:first-child{font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#666;margin-right:.81rem}.m_metaField>:first-child.c-noir{color:#353535}.m_metaField>:first-child.is--active{color:#fc4b60!important}.m_metaField>:first-child span{color:inherit}.m_metaField>:nth-child(2){font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#666;text-transform:none;font-weight:400}.m_metaField>:nth-child(2).c-noir{color:#353535}.m_metaField>:nth-child(2).is--active{color:#fc4b60!important}.m_metaField>:nth-child(2) span{color:inherit}.m_metaField button{min-height:0;padding:0}.m_tagsAndAuthorFilters{margin-top:.405rem;margin-bottom:.405rem}.m_tagsAndAuthorFilters .item :not(.is--active){opacity:.4}.m_tagsAndAuthorFilters>*{max-height:20vh;overflow:auto}.m_tagsAndAuthorFilters>::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_tagsAndAuthorFilters>::-webkit-scrollbar-thumb,.m_tagsAndAuthorFilters>::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_tagsAndAuthorFilters>::-webkit-scrollbar-track{background-color:transparent}.m_tagsAndAuthorFilters>::-webkit-scrollbar-thumb{background-color:#353535}.m_tagsAndAuthorFilters>::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_folderField{color:#353535!important;font-weight:700!important}.m_authorField{position:relative;margin-bottom:0;font-size:.8rem;letter-spacing:.04em;display:flex;flex-flow:row wrap;text-transform:none;font-weight:400}.m_authorField .m_authorField--show_all_authors{text-transform:uppercase;background-color:transparent!important;border:2px solid #b9b9b9;font-size:80%!important;font-weight:700}.m_authorField .m_authorField--show_all_authors:before{display:none}.m_authorField>button,.m_authorField>span{flex-basis:auto;display:flex;align-items:center;min-height:0;border-radius:4px!important;background-color:#e5e5e5!important;color:#666;font-size:inherit!important;padding:.2rem;text-transform:none;font-weight:inherit;margin:0!important;margin-right:.405rem!important;margin-bottom:.405rem!important;transition:all .06s cubic-bezier(.19,1,.22,1)}.m_authorField>button.is--active,.m_authorField>span.is--active{background-color:#bec6e5!important;color:#12224c!important}.m_authorField>button:before,.m_authorField>span:before{content:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2084%2084%22%3E%0A%20%20%3Ctitle%3Etext%20copie%2010%3C/title%3E%0A%20%20%3Cg%20id%3D%22Calque_6%22%20data-name%3D%22Calque%206%22%3E%0A%20%20%20%20%3Cg%20id%3D%22flc%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M64%2C56.53a18.29%2C18.29%2C0%2C0%2C0-10.06-8.09s-3.44-1.71-12.28-1.71-12.27%2C1.71-12.27%2C1.71a18.31%2C18.31%2C0%2C0%2C0-10.07%2C8.09c-1%2C1.47-1.47%2C4.66-1.71%2C6.37v2.45c0%2C3.19%2C2.2%2C5.89%2C4.9%2C5.89H60.56c2.7%2C0%2C4.91-2.7%2C4.91-5.89V62.9A10.5%2C10.5%2C0%2C0%2C0%2C64%2C56.53M28.41%2C24.91c0%2C7.36%2C4.66%2C18.39%2C13.5%2C18.39%2C8.59%2C0%2C13.5-11%2C13.5-18.39a13.44%2C13.44%2C0%2C0%2C0-13.5-13.47%2C13.29%2C13.29%2C0%2C0%2C0-13.5%2C13.47%22/%3E%0A%20%20%20%20%3C/g%3E%0A%20%20%3C/g%3E%0A%3C/svg%3E%0A");display:inline-block;vertical-align:baseline;width:20px;height:20px;opacity:.2;transform:scale(.8)}.m_authorField>button.is--loggedInAuthor:before,.m_authorField>span.is--loggedInAuthor:before{opacity:.6}.m_authorField>button:last-child,.m_authorField>span:last-child{margin-right:0!important}.m_typeField{font-size:.8rem;display:flex;flex-flow:row wrap;align-items:flex-start;text-transform:none;font-family:Fira Mono;color:#fff}.m_typeField>.input{border:none!important;padding:0!important}.m_typeField>label,.m_typeField>span{cursor:pointer;flex-basis:auto;display:flex;align-items:center;border-radius:4px!important;background-color:#f1f1f1;color:var(--c-noir)!important;min-height:0;line-height:inherit!important;font-size:inherit!important;padding:.4em;text-transform:none;font-weight:inherit;font-weight:400;margin:0!important;margin-right:.405rem!important;margin-bottom:.405rem!important}.m_typeField>label.is--active,.m_typeField>span.is--active{font-weight:700}.m_typeField>label.is--active:before,.m_typeField>span.is--active:before{color:#000}.m_typeField>label input,.m_typeField>span input{display:inline-block}.m_typeField>label label,.m_typeField>span label{font-size:inherit;line-height:inherit!important;text-transform:lowercase}.m_keywordField,.vue-tags-input{position:relative;margin-bottom:.405rem;margin-bottom:0;font-size:.8rem;display:flex;flex-flow:row wrap;align-items:flex-start;text-transform:none;font-family:Fira Mono}.m_keywordField>.input,.vue-tags-input>.input{border:none!important;padding:0!important}.m_keywordField>.autocomplete,.vue-tags-input>.autocomplete{position:relative!important;background-color:transparent;border:4px solid #e5e5e5!important;padding:.405rem;margin-bottom:.405rem;padding-bottom:0;flex:1 0 100%}.m_keywordField>.autocomplete>div,.vue-tags-input>.autocomplete>div{display:flex;flex-flow:row wrap}.m_keywordField .m_keywordField--show_all_keywords,.vue-tags-input .m_keywordField--show_all_keywords{display:block;text-transform:uppercase;background-color:transparent!important;border:2px solid #b9b9b9;font-size:80%!important;font-weight:700;color:#666!important}.m_keywordField .m_keywordField--show_all_keywords:before,.vue-tags-input .m_keywordField--show_all_keywords:before{display:none}.m_keywordField .item,.vue-tags-input .item{border-radius:4px}.m_keywordField .item.selected-item,.vue-tags-input .item.selected-item{background-color:#52c5b9!important}.m_keywordField .tags,.vue-tags-input .tags{flex-flow:row wrap!important}.m_keywordField .new-tag-input-wrapper,.vue-tags-input .new-tag-input-wrapper{position:relative;padding:0!important;background-color:transparent;font-size:1em;line-height:1.25;margin-right:.405rem!important;margin-bottom:.405rem!important;display:flex!important;flex-flow:row nowrap;transform:all 1s cubic-bezier(.19,1,.22,1)}.m_keywordField .new-tag-input-wrapper input,.vue-tags-input .new-tag-input-wrapper input{position:relative;z-index:1;padding:.405rem!important;margin:0!important;border-radius:4px;min-width:15ch!important;flex:1 1 auto;background-color:#f1f1f1;font-size:inherit!important;line-height:1;height:auto!important;border-bottom:2px solid #b9b9b9!important}.m_keywordField .new-tag-input-wrapper button,.vue-tags-input .new-tag-input-wrapper button{display:block;font-size:.9em;line-height:1.25;font-size:2em;background-color:#b9b9b9;background-color:#52c5b9;color:#fff;flex:0 0 1em;min-height:0;width:1em;overflow:hidden;padding:0;margin-left:-4px;padding-left:4px;border-radius:0 4px 4px 0}.m_keywordField .new-tag-input-wrapper button[disabled],.vue-tags-input .new-tag-input-wrapper button[disabled]{background-color:#b9b9b9}.m_keywordField .item,.m_keywordField .tag,.m_keywordField>button,.m_keywordField>span,.vue-tags-input .item,.vue-tags-input .tag,.vue-tags-input>button,.vue-tags-input>span{flex-basis:auto;display:flex;align-items:center;min-height:0;border-radius:4px!important;background-color:#a5e5da!important;color:#000!important;font-size:inherit!important;padding:.2rem;text-transform:none;font-weight:inherit;font-weight:400;margin:0!important;margin-right:.405rem!important;margin-bottom:.405rem!important}.m_keywordField .item.is--active,.m_keywordField .tag.is--active,.m_keywordField>button.is--active,.m_keywordField>span.is--active,.vue-tags-input .item.is--active,.vue-tags-input .tag.is--active,.vue-tags-input>button.is--active,.vue-tags-input>span.is--active{font-weight:700}.m_keywordField .item.is--active:before,.m_keywordField .tag.is--active:before,.m_keywordField>button.is--active:before,.m_keywordField>span.is--active:before,.vue-tags-input .item.is--active:before,.vue-tags-input .tag.is--active:before,.vue-tags-input>button.is--active:before,.vue-tags-input>span.is--active:before{color:#000}.m_keywordField .item.tagcolorid_0,.m_keywordField .tag.tagcolorid_0,.m_keywordField>button.tagcolorid_0,.m_keywordField>span.tagcolorid_0,.vue-tags-input .item.tagcolorid_0,.vue-tags-input .tag.tagcolorid_0,.vue-tags-input>button.tagcolorid_0,.vue-tags-input>span.tagcolorid_0{background-color:#a5e5da!important}.m_keywordField .item.tagcolorid_1,.m_keywordField .tag.tagcolorid_1,.m_keywordField>button.tagcolorid_1,.m_keywordField>span.tagcolorid_1,.vue-tags-input .item.tagcolorid_1,.vue-tags-input .tag.tagcolorid_1,.vue-tags-input>button.tagcolorid_1,.vue-tags-input>span.tagcolorid_1{background-color:#ff808c!important}.m_keywordField .item.tagcolorid_2,.m_keywordField .tag.tagcolorid_2,.m_keywordField>button.tagcolorid_2,.m_keywordField>span.tagcolorid_2,.vue-tags-input .item.tagcolorid_2,.vue-tags-input .tag.tagcolorid_2,.vue-tags-input>button.tagcolorid_2,.vue-tags-input>span.tagcolorid_2{background-color:#ffd892!important}.m_keywordField .item:before,.m_keywordField .tag:before,.m_keywordField>button:before,.m_keywordField>span:before,.vue-tags-input .item:before,.vue-tags-input .tag:before,.vue-tags-input>button:before,.vue-tags-input>span:before{content:"•";flex-shrink:0;margin-left:.405rem;margin-right:.405rem;margin-left:.2025rem;display:inline-block;vertical-align:middle;color:#fff;font-size:1em;border-radius:50%;transform:scale(1.7);transition:all .2s cubic-bezier(.19,1,.22,1)}.m_keywordField .item.can_be_removed:before,.m_keywordField .tag.can_be_removed:before,.m_keywordField>button.can_be_removed:before,.m_keywordField>span.can_be_removed:before,.vue-tags-input .item.can_be_removed:before,.vue-tags-input .tag.can_be_removed:before,.vue-tags-input>button.can_be_removed:before,.vue-tags-input>span.can_be_removed:before{content:"×";transform:scale(1.5);transition:transform .15s ease}.m_keywordField .item.can_be_removed:hover:before,.m_keywordField .tag.can_be_removed:hover:before,.m_keywordField>button.can_be_removed:hover:before,.m_keywordField>span.can_be_removed:hover:before,.vue-tags-input .item.can_be_removed:hover:before,.vue-tags-input .tag.can_be_removed:hover:before,.vue-tags-input>button.can_be_removed:hover:before,.vue-tags-input>span.can_be_removed:hover:before{color:#000}.m_keywordField .item .actions,.m_keywordField .tag .actions,.m_keywordField>button .actions,.m_keywordField>span .actions,.vue-tags-input .item .actions,.vue-tags-input .tag .actions,.vue-tags-input>button .actions,.vue-tags-input>span .actions{margin-left:.405rem;margin-right:.405rem;margin-right:0}.m_keywordField .item>div,.vue-tags-input .item>div{margin:0}.input-selector{padding:4px;min-height:0;line-height:0;cursor:normal}.input-selector:hover input:not(.disabled){background-color:#e5e5e5}.input-selector:hover input:not(.disabled):checked{background-color:#47998d}.m_captureview{display:flex;flex-flow:column nowrap}.m_captureview .m_captureview--modeSelector{display:flex;width:100%;flex-flow:row wrap;justify-content:center;align-items:center;padding:.81rem 0}.is--collapsed.m_captureview .m_captureview--modeSelector,.m_activitiesPanel--do:not(.is--large) .m_captureview .m_captureview--modeSelector{flex-flow:row wrap}.m_captureview .m_captureview--modeSelector button{color:#ffbe32}.is--collapsed.m_captureview .m_captureview--modeSelector button,.m_activitiesPanel--do:not(.is--large) .m_captureview .m_captureview--modeSelector button{display:none}.m_captureview .m_captureview--modeSelector>*{flex:0 0 auto;display:flex;flex-flow:row wrap;font-family:inherit}.m_captureview .m_captureview--modeSelector input{width:0;height:0;visibility:hidden}.m_captureview .m_captureview--modeSelector input:checked+label{background-color:#ffbe32}.m_captureview .m_captureview--modeSelector input:checked+label span{color:#fff}.m_captureview .m_captureview--modeSelector input[disabled]+label{filter:grayscale(100%);opacity:.3;cursor:not-allowed}.m_captureview .m_captureview--modeSelector label{background-color:transparent;border:none;font-size:inherit;font-family:inherit;display:inline-block;text-decoration:none;text-transform:uppercase;font-weight:500;letter-spacing:.06em;flex-shrink:0;margin:0;cursor:pointer;min-height:2.43rem;padding:0 .81rem;border-radius:6px;transition:color .25s ease-out,opacity .5s;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;background-color:#fff;letter-spacing:0;padding:0 .405rem;margin:1vw;text-align:center;transition:all 1s}.m_captureview .m_captureview--modeSelector label.is--disabled,.m_captureview .m_captureview--modeSelector label[disabled]{cursor:not-allowed;color:#b9b9b9;background-color:#f1f1f1}.m_captureview .m_captureview--modeSelector label.is--disabled[class*=bg-]:not(.bg-transparent),.m_captureview .m_captureview--modeSelector label[disabled][class*=bg-]:not(.bg-transparent){background-color:#b9b9b9}.m_captureview .m_captureview--modeSelector label:active,.m_captureview .m_captureview--modeSelector label:hover{background-color:#f1f1f1}.m_captureview .m_captureview--modeSelector label.is--active{background-color:#353535;color:#fff}.m_captureview .m_captureview--modeSelector label.is--active:active,.m_captureview .m_captureview--modeSelector label.is--active:hover{background-color:#666}.m_captureview .m_captureview--modeSelector label.bg-noir.is--active{background-color:#fff;color:#353535}.m_captureview .m_captureview--modeSelector label.bg-gris_tresclair:active,.m_captureview .m_captureview--modeSelector label.bg-gris_tresclair:hover{background-color:#fff}.m_captureview .m_captureview--modeSelector label.bg-noir{color:#fff}.m_captureview .m_captureview--modeSelector label.bg-noir:active,.m_captureview .m_captureview--modeSelector label.bg-noir:hover{background-color:#666}.m_captureview .m_captureview--modeSelector label.bg-rouge{color:#fff}.m_captureview .m_captureview--modeSelector label.bg-rouge:active,.m_captureview .m_captureview--modeSelector label.bg-rouge:hover{background-color:#cc334a}.m_captureview .m_captureview--modeSelector label.bg-orange{color:#fff}.m_captureview .m_captureview--modeSelector label.bg-orange:active,.m_captureview .m_captureview--modeSelector label.bg-orange:hover{background-color:#d19833}.m_captureview .m_captureview--modeSelector label.bg-bleuvert{color:#fff}.m_captureview .m_captureview--modeSelector label.bg-bleuvert:active,.m_captureview .m_captureview--modeSelector label.bg-bleuvert:hover{background-color:#47998d}.m_captureview .m_captureview--modeSelector label.bg-bleumarine{color:#fff}.m_captureview .m_captureview--modeSelector label.bg-bleumarine:active,.m_captureview .m_captureview--modeSelector label.bg-bleumarine:hover{background-color:#12224c}.m_captureview .m_captureview--modeSelector label:focus{outline:0}.m_captureview .m_captureview--modeSelector label a{text-decoration:none}.m_captureview .m_captureview--modeSelector label.button-redthin{min-height:0;line-height:1.41;margin:.405rem;padding:.405rem .81rem;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;border-radius:6px;background-color:#fc4b60;color:#fff}.m_captureview .m_captureview--modeSelector label.button-redthin.bg-bleumarine_clair{background-color:#bec6e5}.m_captureview .m_captureview--modeSelector label.button-greenthin{min-height:0;line-height:1.41;margin:.405rem;padding:.405rem .81rem;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;border-radius:6px;background-color:#52c5b9;color:#fff}.m_captureview .m_captureview--modeSelector label.button-greenthin.bg-bleumarine_clair{background-color:#bec6e5}.m_captureview .m_captureview--modeSelector label.button-greenthin:disabled{background-color:#b9b9b9}.m_captureview .m_captureview--modeSelector label.button-bg_rounded>*{display:inline-block;vertical-align:middle}.m_captureview .m_captureview--modeSelector label.button-bg_rounded rect{fill:currentColor}.m_captureview .m_captureview--modeSelector label.button-outline{background-color:transparent;border:2px solid currentColor}.m_captureview .m_captureview--modeSelector label.button-outline svg>*{fill:currentColor}.m_captureview .m_captureview--modeSelector label.button-outline.is--selected,.m_captureview .m_captureview--modeSelector label.button-outline:focus,.m_captureview .m_captureview--modeSelector label.button-outline:hover{border:2px solid transparent;background-color:#fff;color:#ffbe32}.m_captureview .m_captureview--modeSelector label.button-outline.is--selected span,.m_captureview .m_captureview--modeSelector label.button-outline:focus span,.m_captureview .m_captureview--modeSelector label.button-outline:hover span{color:inherit}.m_captureview .m_captureview--modeSelector label.button-outline.is--selected svg>*,.m_captureview .m_captureview--modeSelector label.button-outline:focus svg>*,.m_captureview .m_captureview--modeSelector label.button-outline:hover svg>*{fill:currentColor}.m_captureview .m_captureview--modeSelector label.button-outline.is--selected.c-rouge,.m_captureview .m_captureview--modeSelector label.button-outline:focus.c-rouge,.m_captureview .m_captureview--modeSelector label.button-outline:hover.c-rouge{background-color:#fc4b60;color:#ffbe32}.m_captureview .m_captureview--modeSelector label.button-arrow{max-width:3em;padding:0;color:#ffbe32}.m_captureview .m_captureview--modeSelector label img,.m_captureview .m_captureview--modeSelector label svg{min-width:0;width:48px;height:48px;margin:auto}.m_captureview .m_captureview--modeSelector label.is--small img,.m_captureview .m_captureview--modeSelector label.is--small svg{width:36px;height:36px}.m_captureview .m_captureview--modeSelector label.button-triangle:after{content:"◄";display:inline-block;margin-left:.5em;transition:transform .5s,color .5s}.m_captureview .m_captureview--modeSelector label.button-triangle:hover{background-color:transparent}.m_captureview .m_captureview--modeSelector label.button-triangle.is--active,.m_captureview .m_captureview--modeSelector label.button-triangle:hover:after{color:#fc4b60}.m_captureview .m_captureview--modeSelector label.button-triangle.is--active:after{transform:rotate(-90deg)}.m_captureview .m_captureview--modeSelector label.button-triangle.is--active:hover{background-color:transparent}.m_captureview .m_captureview--modeSelector label.button-triangle.bg-rouge.is--active,.m_captureview .m_captureview--modeSelector label.button-triangle.bg-rouge:hover:after{color:#353535}.is--collapsed.m_captureview .m_captureview--modeSelector label,.m_activitiesPanel--do:not(.is--large) .m_captureview .m_captureview--modeSelector label{margin:0 1vw}.m_captureview .m_captureview--modeSelector label .picto{border-radius:50%;overflow:hidden;display:block;width:36px;height:36px;margin:.405rem;padding:4px;color:#fff}.m_captureview .m_captureview--modeSelector label .picto:active,.m_captureview .m_captureview--modeSelector label .picto:hover{background-color:#d19833}.is--collapsed.m_captureview .m_captureview--modeSelector label .picto,.m_activitiesPanel--do:not(.is--large) .m_captureview .m_captureview--modeSelector label .picto{margin:0}.m_captureview .m_captureview--modeSelector label .picto img{width:100%;height:100%}.m_captureview .m_captureview--modeSelector label span{display:block;font-weight:400;text-transform:lowercase;margin:.405rem;font-family:Fira Code;font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#666;font-weight:600}.m_captureview .m_captureview--modeSelector label span.c-noir{color:#353535}.m_captureview .m_captureview--modeSelector label span.is--active{color:#fc4b60!important}.m_captureview .m_captureview--modeSelector label span span{color:inherit}.is--collapsed.m_captureview .m_captureview--modeSelector label span,.m_activitiesPanel--do:not(.is--large) .m_captureview .m_captureview--modeSelector label span{display:none}.m_captureview .m_captureview--panels{flex:1 1 auto;position:relative;height:auto;margin-bottom:1.62rem;display:flex;flex-flow:row wrap;justify-content:center}.m_captureview .m_captureview--panels>.m_panel{min-width:260px;flex:0 1 auto;overflow:auto;box-shadow:0 1px 4px rgba(0,0,0,.1);background-color:#fff}.m_captureview .m_captureview--panels>.m_panel:first-child{flex-basis:90%}.m_captureview .m_captureview--panels>.m_panel:nth-child(2){flex-basis:0;width:0;min-width:0}.m_captureview .m_captureview--panels.stopmotion_inprogress .m_panel--previewCard--live{background-color:#353535}.m_captureview .m_captureview--options{display:flex;flex-flow:row wrap}.m_captureview .m_captureview--options>*{flex:1 1 300px}.m_captureview .m_panel{position:relative;display:flex;flex-flow:column nowrap;min-height:300px;border-radius:10px;overflow:hidden;color:#fff}.m_captureview .m_panel--modeOverlay{position:absolute;left:0;top:0;right:0;bottom:0;background-color:#ffbe32;z-index:1;font-size:2.5rem;display:flex;justify-content:center;align-items:center}.m_captureview .m_panel--previewCard{position:relative;flex:1 1 auto}.m_captureview .m_panel--previewCard>div{position:absolute;width:100%;height:100%;border-radius:10px 10px 0 0;overflow:hidden}.m_captureview .m_panel--previewCard .m_panel--previewCard--live{display:flex;flex-flow:row nowrap}.m_captureview .m_panel--previewCard .m_panel--previewCard--live.is--recording{background-color:#353535}.m_captureview .m_panel--previewCard .m_panel--previewCard--live>*{flex:1 1 auto}.m_captureview .m_panel--previewCard .m_panel--previewCard--live canvas,.m_captureview .m_panel--previewCard .m_panel--previewCard--live video{object-fit:contain;min-width:120px}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer{position:absolute;bottom:0;width:100%;z-index:100;text-align:center;pointer-events:none;padding:.405rem;display:flex;flex-flow:column nowrap;justify-content:center}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer label{display:inline-block;margin:0 auto;background-color:#fc4b60;padding-left:.405rem;padding-right:.405rem;margin-bottom:.405rem;color:#fff;border-radius:4px;pointer-events:auto}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer .recording_timer--timelapse{font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#666;max-width:450px;margin:.81rem auto;pointer-events:auto}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer .recording_timer--timelapse.c-noir{color:#353535}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer .recording_timer--timelapse.is--active{color:#fc4b60!important}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer .recording_timer--timelapse span{color:inherit}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer .recording_timer--timelapse>*{background-color:#fc4b60;color:#fff;padding-left:.405rem;padding-right:.405rem;border-radius:4px;width:auto}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer .recording_timer--timelapse input{display:inline-block;min-width:2em;max-width:3em;height:1.2em;margin:2px;padding:0 2px;width:auto;text-align:center;color:#fff;background-color:#ff808c;border-bottom:0}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer .recording_timer--timelapse input:active,.m_captureview .m_panel--previewCard .m_panel--previewCard--live .recording_timer .recording_timer--timelapse input:focus{border-bottom-color:#cc334a}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--options{flex:0 0 250px;max-width:250px;background-color:#fff;color:#353535;padding:.81rem;overflow-y:auto;overscroll-behavior-y:contain;height:100%;border-right:2px solid #fc4b60}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--options::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--options::-webkit-scrollbar-thumb,.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--options::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--options::-webkit-scrollbar-track{background-color:transparent}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--options::-webkit-scrollbar-thumb{background-color:#fc4b60}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--options::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist{position:relative;flex:0 0 250px;max-width:250px;color:#1d327f;padding:.81rem;overflow-y:auto;height:100%;border-left:2px solid #1d327f;font-size:.8rem}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist::-webkit-scrollbar-thumb,.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist::-webkit-scrollbar-track{background-color:transparent}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist::-webkit-scrollbar-thumb{background-color:#1d327f}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist ul{margin:0;padding:0;list-style:none}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist button{position:relative;background-color:#fff;display:block;width:100%;padding:0;margin-top:.81rem;margin-bottom:.81rem}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist button:hover{background-color:#bec6e5}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist button .pictures_list{display:flex;flex-flow:row nowrap;justify-content:flex-start;overflow-x:auto}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist button .pictures_list>*{flex:0 0 50px;padding-left:.405rem;padding-bottom:.405rem}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist button .pictures_list>:last-child{padding-right:.405rem}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist button .pictures_list>* img{max-width:100%;width:auto;height:auto}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--stopmotionlist button:first-child{margin-top:0}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--onionskin{position:absolute;top:0;left:0;right:0;bottom:0;opacity:.2;opacity:var(--onionskin-opacity)}.m_captureview .m_panel--previewCard .m_panel--previewCard--live .m_panel--previewCard--live--onionskin img{width:100%;height:100%;object-fit:contain}.m_captureview .m_panel--previewCard .m_panel--previewCard--validate{background-color:#353535;display:flex;justify-content:center;align-items:center}.m_captureview .m_panel--previewCard .m_panel--previewCard--validate>*{object-fit:contain;width:100%;height:100%;margin:0}.m_captureview .m_panel--previewCard .m_panel--previewCard--validate>.m_panel--previewCard--validate--svg svg{max-width:100%;margin:auto}.m_captureview .m_panel--previewCard .m_panel--previewCard--validate .m_panel--previewCard--validate--audio{height:100%;width:100%;display:flex;flex-flow:column nowrap}.m_captureview .m_panel--previewCard .m_panel--previewCard--validate .m_panel--previewCard--validate--audio .plyr .plyr__controls{color:#fff}.m_captureview .m_panel--previewCard .m_panel--previewCard--validate .m_panel--previewCard--validate--audio>*{flex:1 1 auto;height:90%}.m_captureview .m_panel--previewCard .m_panel--previewCard--validate .m_panel--previewCard--validate--audio>:last-child{height:10%}.m_captureview .m_panel--previewCard>canvas{image-rendering:pixelated}.m_captureview .m_panel--previewCard #vectoContainer{display:flex;flex-flow:row wrap;align-items:center;justify-content:center}.m_captureview .m_panel--previewCard .mediaContainer{overflow:hidden}.m_captureview .m_panel--previewCard .mediaContainer audio{height:50%}.m_captureview .m_panel--previewCard .m_panel--previewCard--captureOverlay{position:absolute;left:0;top:0;right:0;bottom:0;background-color:#fc4b60;z-index:100}.m_captureview .m_panel--buttons{position:relative;flex:0 0 auto;min-height:70px;overflow-y:hidden;z-index:1}.m_captureview .m_panel--buttons .m_panel--buttons--row{position:absolute;width:100%;height:100%;display:flex;justify-content:space-between;align-items:center;padding:.81rem}.m_captureview .m_panel--buttons .m_panel--buttons--row>*{flex:0 1 180px}.m_captureview .m_panel--buttons .m_panel--buttons--row img{width:48px;height:48px}.m_captureview .m_panel--buttons .m_panel--buttons--row input[type=range]{margin:0}.m_captureview .m_panel--buttons .m_panel--buttons--row .m_panel--buttons--row--captureButton{position:relative;display:flex;flex-flow:row wrap;justify-content:center;align-items:center}.m_captureview .m_panel--buttons .m_panel--buttons--row .m_panel--buttons--row--captureButton .m_panel--buttons--row--captureButton--btn{transition:transform .4s}.m_captureview .m_panel--buttons .m_panel--buttons--row .m_panel--buttons--row--captureButton .m_panel--buttons--row--captureButton--btn:hover{transform:scale(1.2);background:transparent}.m_captureview .m_panel--buttons .m_panel--buttons--row .m_panel--buttons--row--captureButton .m_panel--buttons--row--captureButton--btn.is--justCaptured{transform:scale(0)}.m_captureview .m_panel--buttons .m_panel--buttons--row .m_panel--buttons--row--captureButton .m_panel--buttons--row--captureButton--btn[disabled]{background-color:transparent;filter:grayscale(50%)}.m_captureview .m_panel--buttons .m_panel--buttons--row .m_panel--buttons--row--captureButton .m_panel--buttons--row--captureButton--advancedOptions{color:#fff;background-color:#ffbe32;width:24px;height:24px;display:block;min-height:0;line-height:0;border-radius:50%;text-align:center;font-weight:700;padding:0}.m_captureview .m_panel--buttons .m_panel--buttons--row .m_panel--buttons--row--captureButton .m_panel--buttons--row--captureButton--advancedOptions svg{width:100%;height:100%}.m_captureview .m_panel--buttons .m_panel--buttons--row .m_panel--buttons--row--captureButton .m_panel--buttons--row--captureButton--advancedOptions.is--active{background-color:#fc4b60;color:#ffbe32}.m_mediaValidationButtons{position:relative;z-index:105;display:flex;justify-content:space-between;align-items:center;padding:.81rem;flex:0 0 auto;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;height:auto;background-color:#353535}.m_mediaValidationButtons>*{flex:0 1 180px;display:flex;align-items:center}.m_mediaValidationButtons .m_mediaValidationButtons--overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background-color:rgba(53,53,53,.9);--loader-bg-color:transparent;--loader-border-color:#fc4b60}.m_mediaValidationButtons .m_mediaValidationButtons--overlay .m_mediaValidationButtons--overlay--percent{position:absolute;margin-left:4em}.m_clientsList--indicator{background-color:#bec6e5;min-height:0;line-height:1.41;margin:.405rem;padding-left:.81rem;padding-right:.81rem;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;border-radius:6px;padding:.405rem;padding:0;display:flex;align-items:center}.m_clientsList--indicator.bg-bleumarine_clair{background-color:#bec6e5}.m_clientsList--indicator:after{content:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2084%2084%22%3E%0A%20%20%3Ctitle%3Etext%20copie%208%3C/title%3E%0A%20%20%3Cg%20id%3D%22Calque_6%22%20data-name%3D%22Calque%206%22%3E%0A%20%20%20%20%3Cg%20id%3D%22flc%22%3E%0A%20%20%20%20%20%20%3Cg%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M55%2C54.13a10.45%2C10.45%2C0%2C0%2C0-5.75-4.62s-2-1-7-1-7%2C1-7%2C1a10.47%2C10.47%2C0%2C0%2C0-5.76%2C4.62%2C10.92%2C10.92%2C0%2C0%2C0-1%2C3.65v1.4a3.15%2C3.15%2C0%2C0%2C0%2C2.81%2C3.36H53a3.15%2C3.15%2C0%2C0%2C0%2C2.8-3.36v-1.4A6.08%2C6.08%2C0%2C0%2C0%2C55%2C54.13M34.64%2C36.06c0%2C4.21%2C2.66%2C10.51%2C7.71%2C10.51s7.72-6.3%2C7.72-10.51a7.69%2C7.69%2C0%2C0%2C0-7.72-7.7%2C7.59%2C7.59%2C0%2C0%2C0-7.71%2C7.7%22/%3E%0A%20%20%20%20%20%20%20%20%3Cg%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M33.79%2C47.69a9%2C9%2C0%2C0%2C0-4.63-3.22s-1.82-1-6.45-1-6.45%2C1-6.45%2C1a9.87%2C9.87%2C0%2C0%2C0-5.48%2C4.34%2C7.46%2C7.46%2C0%2C0%2C0-.84%2C3.36v1.12a2.86%2C2.86%2C0%2C0%2C0%2C2.67%2C3.09H25.66a8.12%2C8.12%2C0%2C0%2C1%2C1-3A13.1%2C13.1%2C0%2C0%2C1%2C33.79%2C47.69Z%22/%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M22.71%2C41.53c4.63%2C0%2C7.16-5.89%2C7.16-9.81a7.16%2C7.16%2C0%2C0%2C0-14.32%2C0C15.41%2C35.64%2C17.94%2C41.53%2C22.71%2C41.53Z%22/%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%20%20%20%20%3Cg%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M50.77%2C47.69a9%2C9%2C0%2C0%2C1%2C4.63-3.22s1.82-1%2C6.46-1%2C6.45%2C1%2C6.45%2C1a9.85%2C9.85%2C0%2C0%2C1%2C5.47%2C4.34%2C7.46%2C7.46%2C0%2C0%2C1%2C.84%2C3.36v1.12A2.86%2C2.86%2C0%2C0%2C1%2C72%2C56.38h-13a8.12%2C8.12%2C0%2C0%2C0-1-3A13.12%2C13.12%2C0%2C0%2C0%2C50.77%2C47.69Z%22/%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M62%2C41.53c-4.63%2C0-7.16-5.89-7.16-9.81a7.16%2C7.16%2C0%2C0%2C1%2C14.31%2C0C69.15%2C35.64%2C66.63%2C41.53%2C62%2C41.53Z%22/%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%3C/g%3E%0A%20%20%3C/g%3E%0A%3C/svg%3E%0A");display:block;width:20px;height:20px;margin-right:.405rem}.m_clientsList--indicator span{margin-left:.405rem;margin-right:.405rem}.m_clientsList{position:absolute;top:50%;transform:translateY(-50%);right:100%;margin-right:.405rem;font-size:.8rem;color:#1d327f}.m_clientsList--list{position:absolute;top:100%;margin-top:.405rem;left:0;width:220px;max-height:200px;overflow:auto;padding:.405rem;padding-top:.405rem;font-size:.8rem;background-color:#bec6e5;border-radius:8px;max-width:220px}.m_dodoc:not(.is--wide) .m_clientsList--list{left:auto;right:0;margin-top:1.62rem}.m_clientsList--list label{color:currentColor}.m_clientsList--list .m_clientsList--list--close{position:absolute;top:0;right:0;min-height:0;padding:.81rem;background-color:transparent;font-size:2em;line-height:.5}.m_clientsList--list .m_clientsList--list--client:not(:last-child):after{content:",";margin-right:.2em}.m_stopmotionpanel{position:relative;display:flex;flex-flow:column nowrap;flex:0 1 auto}.m_stopmotionpanel.is--showing_video_validation{flex-grow:1}.m_stopmotionpanel>*{transition:all .4s}.m_stopmotionpanel .m_stopmotionpanel--toprowbuttons{position:absolute;left:0;z-index:10;bottom:100%}.m_stopmotionpanel .m_stopmotionpanel--toprowbuttons button{background-color:#353535;color:#fff}.m_stopmotionpanel .m_stopmotionpanel--medias{flex:1 1 auto;display:flex;flex-flow:row wrap;justify-content:center}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list{display:block;flex:1 1 200px;position:relative;display:flex;flex-flow:row nowrap;align-items:center;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;padding:.405rem;margin:.405rem;scroll-behavior:smooth;background-color:#f1f1f1;counter-reset:k}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list::-webkit-scrollbar{height:7px;width:7px;background-color:hsla(0,0%,100%,0)}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list::-webkit-scrollbar-thumb,.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list::-webkit-scrollbar-track{border:2px solid hsla(0,0%,100%,0);border-radius:8px;background-clip:padding-box;transition:all .4s}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list::-webkit-scrollbar-track{background-color:transparent}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list::-webkit-scrollbar-thumb{background-color:#333}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:2px solid hsla(0,0%,100%,0)}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>*{position:relative;overflow:hidden;width:auto;flex:0 0 90px;margin-right:1px;cursor:pointer}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>:before{counter-increment:k 1;content:counter(k) " ";position:absolute;left:0;top:0;padding:.2025rem;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;background-color:#353535;color:#fff;border-radius:0 0 .4em 0;line-height:1;z-index:1}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>:last-child{flex-basis:190px}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>:last-child video{width:90px}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>:last-child:before{content:"LIVE"}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>.is--current_single:before{color:#fff;background-color:#fc4b60}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>* .mediaContainer{width:100%;height:100%;width:auto}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>* .mediaContainer img,.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--list>* .mediaContainer video{position:relative;width:100%;height:100%;margin:0;object-fit:contain;background-color:#353535}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--validation{flex:0 0 auto;padding:.405rem;display:flex;flex:row nowrap;justify-content:center;align-items:center;--input-height:2em}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--validation .m_stopmotionpanel--medias--validation--fpscounter{display:flex;flex-flow:column nowrap;align-items:center}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--validation .m_stopmotionpanel--medias--validation--fpscounter select{margin-left:.405rem;margin-right:.405rem;flex:0 0 auto;max-width:50px;font-size:.9em;line-height:1.25}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--validation .m_stopmotionpanel--medias--validation--fpscounter label{margin-left:.405rem;margin-right:.405rem;font-size:.6em;white-space:nowrap}.m_stopmotionpanel .m_stopmotionpanel--medias .m_stopmotionpanel--medias--validation button{padding:0}.m_stopmotionpanel .m_stopmotionpanel--videopreview{position:relative;flex:1 1 auto;overflow:hidden}.m_stopmotionpanel .m_stopmotionpanel--videopreview .mediaContainer{position:absolute;height:100%;width:100%}.m_stopmotionpanel .m_stopmotionpanel--videopreview .mediaContainer>*{width:100%;height:100%}.m_stopmotionpanel .m_stopmotionpanel--videopreview .mediaContainer video{height:100%;width:100%;background-color:#353535}.m_stopmotionpanel .m_stopmotionpanel--buttons{flex:0 0 auto;width:100%;color:#353535}.m_stopmotionpanel .m_stopmotionpanel--buttons>*{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:center;padding:.81rem}.m_stopmotionpanel .m_stopmotionpanel--buttons>:nth-child(2){border-top:2px solid #fff;justify-content:center;background-color:#353535}.m_stopmotionpanel .m_stopmotionpanel--buttons input[type=number]{width:50px}.m_stopmotionpanel .m_stopmotionpanel--loader{position:absolute;z-index:2;top:0;left:0;bottom:0;right:0;background-color:hsla(0,0%,100%,.9);display:flex;justify-content:center;align-items:center}.m_mediaview{display:flex;justify-content:center;flex-flow:row wrap}.m_mediaview>.m_mediaview--sidebar{flex:0 1 400px}.m_mediaview>.m_mediaview--preview{min-width:400px;flex:1 1 600px}.m_mediaview .m_mediaview--sidebar>*{background-color:#fff;min-height:101%;padding-left:1.62rem;padding-right:1.62rem;border:1px solid #e5e5e5;border-top:0}.m_mediaview .m_mediaview--sidebar h1{font-size:1.5rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em;margin:0;margin-bottom:1.62rem;padding-top:1.62rem;padding-bottom:1.62rem;border-bottom:2px solid #e5e5e5}.m_mediaview .m_mediaview--sidebar .m_mediaview--sidebar--buttonrow{margin:0;margin-top:1.62rem;margin-bottom:1.62rem;padding:0;text-align:center}.m_mediaview .m_mediaview--sidebar .m_mediaview--sidebar--buttonrow hr{margin:0;margin-top:.81rem;margin-bottom:.81rem}.m_mediaview .m_mediaview--preview{padding:1.62rem}.mediaContainer{position:relative}.mediaContainer .mediaContainer--buttons{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;margin:0;padding:.81rem;display:flex;flex-flow:row wrap;align-items:flex-end;justify-content:flex-start}.mediaContainer .mediaContainer--buttons>*{border:2px solid #f1f1f1;pointer-events:auto;padding:.405rem;max-width:100%}.mediaContainer .play_picto{display:block;display:flex;justify-content:center;align-items:center;flex-flow:column nowrap;width:100%;height:100%}.mediaContainer ._duration{width:auto;height:auto;position:absolute;bottom:0;right:0;background-color:#fff;padding:1px 2px 0 3px;font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#666;font-size:60%;font-weight:400;color:#000}.mediaContainer ._duration.c-noir{color:#353535}.mediaContainer ._duration.is--active{color:#fc4b60!important}.mediaContainer ._duration span{color:inherit}.play_picto svg{width:20px;height:20px;padding:4px;background-color:#ffbe32;fill:#fff;border-radius:10px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.5))}.m_adjustMenu .play_picto{flex:0 0 auto;height:auto;width:auto;padding:.405rem}.m_imageselect{width:100%}.m_imageselect .m_imageselect--selectFromMedias .m_imageselect--selectFromMedias--imageList{background-color:var(--c-gris-tresclair);border-radius:var(--input-border-radius);padding:calc(var(--spacing) / 8);display:flex;flex-flow:row wrap;max-height:220px;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}.m_imageselect .m_imageselect--selectFromMedias .m_imageselect--selectFromMedias--imageList::-webkit-scrollbar{height:7px;width:7px;background-color:hsla(0,0%,100%,0)}.m_imageselect .m_imageselect--selectFromMedias .m_imageselect--selectFromMedias--imageList::-webkit-scrollbar-thumb,.m_imageselect .m_imageselect--selectFromMedias .m_imageselect--selectFromMedias--imageList::-webkit-scrollbar-track{border:2px solid hsla(0,0%,100%,0);border-radius:8px;background-clip:padding-box;transition:all .4s}.m_imageselect .m_imageselect--selectFromMedias .m_imageselect--selectFromMedias--imageList::-webkit-scrollbar-track{background-color:transparent}.m_imageselect .m_imageselect--selectFromMedias .m_imageselect--selectFromMedias--imageList::-webkit-scrollbar-thumb{background-color:#333}.m_imageselect .m_imageselect--selectFromMedias .m_imageselect--selectFromMedias--imageList::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:2px solid hsla(0,0%,100%,0)}.m_imageselect .m_imageselect--selectFromMedias .m_imageselect--selectFromMedias--imageList button{display:block;width:55px;height:55px;margin:calc(var(--spacing) / 8);padding:0;border-radius:var(--input-border-radius);overflow:hidden;transition:all .4s cubic-bezier(.19,1,.22,1)}.m_imageselect .m_imageselect--selectFromMedias .m_imageselect--selectFromMedias--imageList button:hover{transform:translateY(-4px);box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24)}.m_imageselect .m_imageselect--selectFromMedias .m_imageselect--selectFromMedias--imageList button img{object-fit:contain;width:100%;height:100%}.m_imageselect .m_imageselect--image{background-color:#f1f1f1;border-radius:6px;overflow:hidden;border-bottom:solid var(--input-border-width) var(--input-border-color)}.m_imageselect .m_imageselect--image img{width:100%}.m_imageselect .m_imageselect--image button{display:block}.m_authorsList .m_imageselect .m_imageselect--image img{width:150px;height:150px;border-radius:50%;object-fit:cover;margin:0 auto}.m_recipes{padding:.81rem;overflow-y:auto}.m_recipes::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_recipes::-webkit-scrollbar-thumb,.m_recipes::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_recipes::-webkit-scrollbar-track{background-color:transparent}.m_recipes::-webkit-scrollbar-thumb{background-color:#353535}.m_recipes::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_recipes--recipe{border:4px solid #52c5b9;margin:.81rem;margin-right:0;background-color:#52c5b9;border-radius:6px;display:flex;flex-flow:row wrap;justify-content:stretch}.m_recipes--recipe>*{flex:1 1 auto;margin-bottom:.81rem;padding:.81rem}.m_recipes--recipe>:last-child{margin-bottom:0}.m_recipes--recipe .m_recipes--recipe--icon{flex:0 1 200px;min-width:120px;margin-top:.81rem}.m_recipes--recipe .m_recipes--recipe--icon svg{width:100%;max-width:200px;margin:0 auto}.m_recipes--recipe .m_recipes--recipe--text{flex-basis:50%;max-width:44ch;margin-top:.405rem;margin-bottom:.405rem;color:#000}.m_recipes--recipe .m_recipes--recipe--text h2{font-size:1.5rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em;font-family:Fira Code;margin-top:0;margin-bottom:.405rem;margin-bottom:0}.m_recipes--recipe .m_recipes--recipe--text p{margin-top:.81rem;margin-bottom:.81rem;margin-bottom:1.62rem;font-size:.9em;line-height:1.25;line-height:1.4}.m_recipes--recipe .m_recipes--recipe--text hr{border:none;border-top:2px solid #000;width:1em}.m_recipes--recipe .m_recipes--recipe--text .buttonLink{color:#000}.m_recipes--recipe--mealList{flex-basis:500px;padding:.81rem}.m_recipes--recipe--mealList table{margin:0;border:0}.m_recipes--recipe--mealList table thead label{color:#353535;width:100%;font-size:60%}.m_recipes--recipe--mealList button{margin:0}.m_recipes--recipe--mealList--meal{font-size:inherit;text-transform:none;cursor:pointer;background-color:#fff;padding:.81rem;text-align:left}.m_recipes--recipe--mealList--meal.m_recipes--recipe--mealList--meal_replies td:first-child{font-size:.85em}.m_recipes--recipe--mealList--meal.m_recipes--recipe--mealList--meal_replies td:first-child:before{content:"→ ";font-family:Fira Code;margin-left:1em}.m_recipes--recipe--mealList--meal .m_recipes--recipe--mealList--mealTitle{margin:0}.m_publicationItems{margin:.81rem;display:flex;flex-flow:row wrap}.m_publicationItems--item{width:100%;background-color:#fff;margin:.405rem .81rem;padding:.81rem;text-align:center;display:flex;flex-flow:row wrap;align-items:center;justify-content:space-between;align-content:center}.m_publicationItems--item>*{flex:0 0 auto;padding-top:.405rem;padding-bottom:.405rem}.m_publicationItems--item .m_publicationItems--item--title{margin:0;font-size:1.5rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em;text-align:left;flex-basis:100px;flex-grow:1}.m_publicationItems--item .m_metaField{min-width:220px;margin-left:1.62rem;margin-right:1.62rem}.m_publicationItems--item button{margin:0}.m_exportModal video{width:600px}.m_publicationMeta{position:relative;z-index:1;margin:.81rem;margin-bottom:0}.m_publicationMeta>.buttonLink{flex:0 0 0}.m_publicationMeta .m_publicationMeta--topbar{border-radius:10px;margin:0;display:flex;flex-flow:row wrap;justify-content:space-between;align-content:flex-start;align-items:center;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);padding-top:.405rem;padding-bottom:.405rem}.m_publicationMeta .m_publicationMeta--topbar>*{margin-left:.81rem;margin-right:.81rem}.m_publicationMeta .m_publicationMeta--topbar>:first-child{display:flex;flex-flow:row nowrap;justify-content:center;align-content:center;align-items:center}.m_publicationMeta .m_publicationMeta--topbar .m_publicationMeta--topbar--backbutton{background-color:#353535;color:#fff;min-height:0;min-width:0;width:2em;height:2em;margin-right:.81rem;border-radius:50%;font-weight:400}.m_publicationMeta .m_publicationMeta--topbar .m_publicationMeta--topbar--title{font-size:1.5rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em;flex:1 1 auto}.m_publicationMeta .m_publicationMeta--settingsBar{border-radius:2px;margin:0;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);padding:.405rem .81rem;margin-left:1.62rem;margin-right:1.62rem;border-top:1px solid #b9b9b9;display:flex;flex-flow:row wrap}.m_publicationMeta .m_publicationMeta--settingsBar>*{flex:1 1 200px;display:flex;flex-flow:row wrap;justify-content:space-between;align-content:flex-start;align-items:center}.m_clientsCheckingOut{position:relative;text-align:right;font-weight:400}.m_clientsCheckingOut>label{display:block;margin:0;margin-right:.405rem}.m_clientsCheckingOut--clients{display:flex;flex-flow:row wrap;align-items:flex-start;justify-content:flex-end}.m_clientsCheckingOut--clients--client{background-color:#bec6e5;font-size:.8rem;margin:.405rem;margin-left:0;height:auto;border-radius:20px;display:flex;justify-content:flex-start;align-items:center}.m_clientsCheckingOut--clients--client ._no_pp,.m_clientsCheckingOut--clients--client ._pp{width:20px;height:20px;border-radius:50%;object-fit:cover}.m_clientsCheckingOut--clients--client ._no_pp+._name,.m_clientsCheckingOut--clients--client ._pp+._name{padding-left:.405rem;padding-right:.405rem}.m_clientsCheckingOut--clients--client ._no_pp:before{content:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2084%2084%22%3E%0A%20%20%3Ctitle%3Etext%20copie%2010%3C/title%3E%0A%20%20%3Cg%20id%3D%22Calque_6%22%20data-name%3D%22Calque%206%22%3E%0A%20%20%20%20%3Cg%20id%3D%22flc%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M64%2C56.53a18.29%2C18.29%2C0%2C0%2C0-10.06-8.09s-3.44-1.71-12.28-1.71-12.27%2C1.71-12.27%2C1.71a18.31%2C18.31%2C0%2C0%2C0-10.07%2C8.09c-1%2C1.47-1.47%2C4.66-1.71%2C6.37v2.45c0%2C3.19%2C2.2%2C5.89%2C4.9%2C5.89H60.56c2.7%2C0%2C4.91-2.7%2C4.91-5.89V62.9A10.5%2C10.5%2C0%2C0%2C0%2C64%2C56.53M28.41%2C24.91c0%2C7.36%2C4.66%2C18.39%2C13.5%2C18.39%2C8.59%2C0%2C13.5-11%2C13.5-18.39a13.44%2C13.44%2C0%2C0%2C0-13.5-13.47%2C13.29%2C13.29%2C0%2C0%2C0-13.5%2C13.47%22/%3E%0A%20%20%20%20%3C/g%3E%0A%20%20%3C/g%3E%0A%3C/svg%3E%0A");display:inline-block;vertical-align:baseline;width:20px;height:20px;opacity:.2;transform:scale(.8)}.m_publicationFooter{width:100%;font-size:.8rem;color:#b9b9b9;display:flex;flex-flow:column nowrap;justify-content:center;align-items:center;text-align:center}.m_publicationFooter:before{display:block;content:"•";width:100%;text-align:center;color:#b9b9b9;margin-top:.81rem;margin-bottom:.81rem}.m_publicationFooter>div{background-color:#f1f1f1;padding-left:.405rem;padding-right:.405rem;border-radius:4px;margin-top:.405rem;margin-bottom:.405rem}.m_publicationFooter a{text-decoration:none;text-align:center}.m_publicationFooter img{width:80px;padding:5px;margin:0 auto}.m_chats--list{overflow-y:auto}.m_chats--list::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_chats--list::-webkit-scrollbar-thumb,.m_chats--list::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_chats--list::-webkit-scrollbar-track{background-color:transparent}.m_chats--list::-webkit-scrollbar-thumb{background-color:#353535}.m_chats--list::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_chatRow{border-radius:4px;margin-top:.81rem;margin-bottom:.81rem;border:2px solid #cc334a}.m_chatRow.is--open{background-color:#cc334a}.m_chatRow .m_chatRow--firstLine{padding:.405rem;display:flex;flex-flow:row wrap;justify-content:space-between;align-items:center}.m_chatRow .m_chatRow--secondLine{background-color:#cc334a;padding:.405rem}.m_chatRow .m_chatRow--secondLine .m_chatRow--secondLine--toggleAccessControl{display:flex;justify-content:center;margin:0;padding:0}.m_chatRow .buttonLink,.m_chatRow .m_metaField>*{color:#fff}.m_chatRow button.bg-rouge.is--disabled{background-color:#666;background-color:transparent;color:#666}.m_chatRow .m_chatRow--name{font-weight:500;letter-spacing:.02em;margin-left:.405rem}.m_chatRow .m_chatRow--unreadCounter{border-radius:50%;background-color:#cc334a;width:2em;height:2em;min-height:0;min-width:0;margin-left:.405rem;font-size:.8rem;display:inline-flex;align-items:center;justify-content:center}.m_chat{position:absolute;top:0;left:0;padding-left:20%;width:100%;height:100%;color:#353535;z-index:100;background:linear-gradient(90deg,transparent 0,#353535 90%)}.m_chat--content{background-color:#fc4b60;box-shadow:0 2px 16px 0 rgba(0,0,0,.4);width:100%;height:100%;overflow-y:auto;display:flex;flex-flow:column nowrap}.m_chat--content>*{flex:0 0 auto}.m_chat--content .m_chat--content--topbar{position:relative;background-color:#fc4b60;color:#fff;z-index:1;padding-left:.81rem;padding-right:.81rem;transition:box-shadow .4s cubic-bezier(.19,1,.22,1)}.m_chat--content .m_chat--content--topbar.has--content_hidden_behind{box-shadow:0 2px 16px 0 rgba(0,0,0,.4)}.m_chat--content .m_chat--content--topbar .m_chat--content--topbar--firstLine{display:flex;align-items:center}.m_chat--content .m_chat--content--topbar .m_chat--content--topbar--backbutton{background-color:#353535;color:#fff;min-height:0;min-width:0;width:2em;height:2em;margin-right:.81rem;border-radius:50%;font-weight:400}.m_chat--content .m_chat--content--topbar .m_chat--content--topbar--name{font-size:1.5rem;font-family:Fira Sans;font-weight:600;letter-spacing:.03em;padding:.81rem;padding-left:0;flex:1 1 auto}.m_chat--content .m_chat--content--topbar button{color:#fff}.m_chat--content .m_chat--content--topbar--optionbar{flex:0 0 auto;display:flex;justify-content:space-around;margin:.81rem}.m_chat--content .m_chat--content--topbar--optionbar button,.m_chat--content .m_chat--content--topbar--optionbar label{color:#fff}.m_chat--content .m_chat--content--discussion{position:relative;flex:1 1 0;overflow-y:auto;padding-left:.405rem;padding-right:.405rem}.m_chat--content .m_chat--content--discussion::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_chat--content .m_chat--content--discussion::-webkit-scrollbar-thumb,.m_chat--content .m_chat--content--discussion::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_chat--content .m_chat--content--discussion::-webkit-scrollbar-track{background-color:transparent}.m_chat--content .m_chat--content--discussion::-webkit-scrollbar-thumb{background-color:#353535}.m_chat--content .m_chat--content--discussion::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_chat--content .m_chat--content--discussion ._no_message_message{width:100%;height:100%;display:block;color:#fff;padding:1.62rem;display:flex;align-items:center;justify-content:center}.m_chat--content .m_chat--content--scrollToBottom{pointer-events:none;position:relative}.m_chat--content .m_chat--content--scrollToBottom>button{position:absolute;display:block;bottom:0;right:0;margin:1.62rem;background-color:#fff;border:4px solid #fc4b60;pointer-events:auto;border-radius:50%;transform:rotate(90deg);width:48px;height:48px;padding:0;box-sizing:content-box;transition:all .4s cubic-bezier(.19,1,.22,1)}.m_chat--content .m_chat--content--scrollToBottom>button:hover{transform:scale(1.1) rotate(90deg)}.m_chat--content .m_chat--content--post{position:relative;z-index:1;background-color:#fff;padding:.405rem;margin-bottom:0;transition:box-shadow .4s cubic-bezier(.19,1,.22,1)}.m_chat--content .m_chat--content--post.has--hidden_content_above{box-shadow:0 -2px 16px 0 rgba(0,0,0,.4)}.m_chat--content .m_chat--content--post .input-group{margin-bottom:0}.m_message{background-color:#fff;margin-top:.405rem;margin-bottom:.405rem;border-radius:5px;overflow:hidden;max-width:90%;font-size:.9em;line-height:1.25}.m_message.is--currentauthor{margin-left:auto;margin-right:0}.m_message .m_message--meta{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:center;background-color:#f4f3ef}.is--currentauthor.m_message .m_message--meta{background-color:#bec6e5!important;color:#12224c!important}.m_message .m_message--meta--author{flex:0 0 auto}.m_message .m_message--meta--author>span{display:flex;flex-flow:row nowrap;align-items:center;font-weight:400;text-transform:none;margin-right:.405rem!important;padding:.2rem .6rem .2rem .2rem;color:#666;border-top-left-radius:4px}.is--currentauthor.m_message .m_message--meta--author>span:before{opacity:.6}.m_message .m_message--meta--author>span ._no_pp,.m_message .m_message--meta--author>span ._pp{width:20px;height:20px;border-radius:50%;margin-right:.2em;object-fit:cover}.m_message .m_message--meta--author>span ._no_pp:before{content:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2084%2084%22%3E%0A%20%20%3Ctitle%3Etext%20copie%2010%3C/title%3E%0A%20%20%3Cg%20id%3D%22Calque_6%22%20data-name%3D%22Calque%206%22%3E%0A%20%20%20%20%3Cg%20id%3D%22flc%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M64%2C56.53a18.29%2C18.29%2C0%2C0%2C0-10.06-8.09s-3.44-1.71-12.28-1.71-12.27%2C1.71-12.27%2C1.71a18.31%2C18.31%2C0%2C0%2C0-10.07%2C8.09c-1%2C1.47-1.47%2C4.66-1.71%2C6.37v2.45c0%2C3.19%2C2.2%2C5.89%2C4.9%2C5.89H60.56c2.7%2C0%2C4.91-2.7%2C4.91-5.89V62.9A10.5%2C10.5%2C0%2C0%2C0%2C64%2C56.53M28.41%2C24.91c0%2C7.36%2C4.66%2C18.39%2C13.5%2C18.39%2C8.59%2C0%2C13.5-11%2C13.5-18.39a13.44%2C13.44%2C0%2C0%2C0-13.5-13.47%2C13.29%2C13.29%2C0%2C0%2C0-13.5%2C13.47%22/%3E%0A%20%20%20%20%3C/g%3E%0A%20%20%3C/g%3E%0A%3C/svg%3E%0A");display:inline-block;vertical-align:baseline;width:20px;height:20px;opacity:.2;transform:scale(.8)}.m_message .m_message--meta--date{font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#666;padding:.2rem .4rem .2rem .2rem;margin-right:0;text-align:right}.m_message .m_message--meta--date.c-noir{color:#353535}.m_message .m_message--meta--date.is--active{color:#fc4b60!important}.m_message .m_message--meta--date span{color:inherit}.m_message .m_message--text{padding-right:var(--spacing);flex:1 1 auto;padding:.405rem}.m_sinceLastVisit{position:relative;margin:0 var(--spacing);margin-top:.405rem;margin-bottom:.405rem;width:calc(100% - var(--spacing) * 2);font-size:.8rem;display:flex;justify-content:center;align-items:center;color:#fff;text-transform:lowercase}.m_sinceLastVisit:before{content:"";display:block;width:100%;height:1px;border-top:1px solid currentColor;position:absolute}.m_sinceLastVisit span{position:relative;background-color:#fc4b60;padding:0 calc(var(--spacing) / 4)}._button_showOlderMessages{position:relative;margin:0 auto;margin-top:.81rem;margin-bottom:.81rem;font-size:.8rem;background-color:#cc334a;display:flex;justify-content:center}.m_publicationview{padding-left:0;border-left:.405rem solid #52c5b9;transition:all .4s ease-out;display:flex;flex-flow:column nowrap}.m_publicationview.is--preview{background-color:#f4f3ef}.m_publicationview.is--survey{position:relative;border:none;background-color:#f4f3ef;top:auto}.m_publicationview.is--survey .m_publicationview--pages{overflow:visible!important;height:auto!important}.m_publicationview.is--survey .m_publicationview--pages--singlePageBloc{display:block;height:auto!important}.m_publicationview.is--survey .m_publicationview--pages--singlePageBloc>.m_publicationview--pages--pageContainer{height:auto!important}.m_publicationview ._survey_author_indicator{background-color:#fff}.m_publicationview>*{flex:1 1 auto}.m_publicationview>.m_publicationMeta{flex:0 0 auto}.m_publicationview>.m_storyPublication,.m_publicationview>.m_videoPublication{overflow-y:auto}.m_publicationview>.m_storyPublication::-webkit-scrollbar,.m_publicationview>.m_videoPublication::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_publicationview>.m_storyPublication::-webkit-scrollbar-thumb,.m_publicationview>.m_storyPublication::-webkit-scrollbar-track,.m_publicationview>.m_videoPublication::-webkit-scrollbar-thumb,.m_publicationview>.m_videoPublication::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_publicationview>.m_storyPublication::-webkit-scrollbar-track,.m_publicationview>.m_videoPublication::-webkit-scrollbar-track{background-color:transparent}.m_publicationview>.m_storyPublication::-webkit-scrollbar-thumb,.m_publicationview>.m_videoPublication::-webkit-scrollbar-thumb{background-color:#353535}.m_publicationview>.m_storyPublication::-webkit-scrollbar-thumb:hover,.m_publicationview>.m_videoPublication::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_publicationview>.m_publicationNavMenu{flex:0 0 auto}.m_publicationview .m_publicationButtons{position:absolute;max-width:220px;z-index:1001;max-height:100%;overflow-y:auto;padding-top:.405rem;padding-bottom:.405rem}.m_publicationview .m_publicationButtons::-webkit-scrollbar{height:9px;width:9px;background-color:hsla(0,0%,100%,0)}.m_publicationview .m_publicationButtons::-webkit-scrollbar-thumb,.m_publicationview .m_publicationButtons::-webkit-scrollbar-track{border:3px solid hsla(0,0%,100%,0);border-radius:12px;background-clip:padding-box;transition:all .4s}.m_publicationview .m_publicationButtons::-webkit-scrollbar-track{background-color:transparent}.m_publicationview .m_publicationButtons::-webkit-scrollbar-thumb{background-color:#353535}.m_publicationview .m_publicationButtons::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:3px solid hsla(0,0%,100%,0)}.m_publicationview .m_publicationButtons .m_publicationButtons--content{background-color:#fff;color:#353535;pointer-events:auto;border-radius:4px;margin-left:.405rem;margin-right:.405rem;padding-bottom:.001rem;box-shadow:0 2px 16px 0 rgba(0,0,0,.4)}.m_publicationview .m_publicationButtons .m_publicationButtons--content>*{padding-left:.405rem;padding-right:.405rem}.m_publicationview .m_publicationButtons .m_publicationButtons--content>*>div>small{margin-bottom:.405rem}.m_publicationview .m_publicationButtons .m_publicationButtons--content>*>div>div.item{position:relative;padding-left:.405rem;padding-right:.405rem;margin-bottom:.405rem;border-radius:4px;color:var(--input-border-color)}.m_publicationview .m_publicationButtons .m_publicationButtons--content>*>div>div.item:hover{color:var(--input-border-color-focus)}.m_publicationview .m_publicationButtons .m_publicationButtons--content>*>div>div.item>:last-child{margin-bottom:0}.m_publicationview .m_publicationButtons .m_publicationButtons--content>*>div>div.item:before{content:"";position:absolute;left:0;width:2px;height:100%;background-color:currentColor;border-radius:1.5px}.m_publicationview .m_publicationButtons .m_publicationButtons--content>*>div>div.item>label{display:block}.m_publicationview .m_publicationButtons .m_publicationButtons--content>*>div>div.item>label button{margin:0;margin:calc(-1 * var(--spacing)) 0}.m_publicationview .m_publicationButtons .m_publicationButtons--content ._create_buttons{text-align:left;display:inline-flex;align-items:center;justify-content:flex-start;color:inherit;min-height:0;line-height:1.41;margin:.405rem;padding-left:.81rem;padding-right:.81rem;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;border-radius:6px;margin:0;padding:.405rem}.m_publicationview .m_publicationButtons .m_publicationButtons--content ._create_buttons.bg-bleumarine_clair{background-color:#bec6e5}.m_publicationview .m_publicationButtons .m_publicationButtons--content ._create_buttons svg{margin:0;margin-right:.405rem}.m_publicationview .m_publicationButtons .m_publicationButtons--content ._create_buttons span{flex:0 1 auto}.m_publicationview .m_publicationButtons .m_publicationButtons--content input[type=color]{height:40px;padding:.405rem}.m_publicationview .m_publicationSettings{position:absolute;bottom:20px;right:20px;pointer-events:none;z-index:1000;display:flex;flex-flow:column nowrap;align-items:center}.m_publicationview .m_publicationSettings button:hover{background-color:#e5e5e5}.m_publicationview .m_publicationSettings button.is--active:hover{background-color:#d19833}.m_publicationview .m_publicationSettings>*{display:flex;align-items:center;pointer-events:auto;padding:7px;margin-top:.405rem;margin-bottom:.405rem;min-height:0;text-align:center;line-height:0;font-weight:300;border-radius:22px;background-color:#fff;box-shadow:0 2px 16px 0 rgba(0,0,0,.4)}.m_publicationview .m_publicationSettings>.is--active{background-color:#ffbe32}.m_publicationview .m_publicationSettings>* svg{display:block;width:37px;height:30px;padding:7px}.m_publicationview .m_publicationSettings>* button{padding:0;margin:0;min-height:0}.m_publicationview .m_publicationSettings>* span{padding:7px;font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#666;color:#353535}.m_publicationview .m_publicationSettings>* span.c-noir{color:#353535}.m_publicationview .m_publicationSettings>* span.is--active{color:#fc4b60!important}.m_publicationview .m_publicationSettings>* span span{color:inherit}.m_publicationview .m_layerPanel{position:absolute;bottom:0;left:40px;width:auto;z-index:1001;padding-top:0;font-size:.8rem;display:flex;flex-flow:row nowrap}.m_publicationview .m_layerPanel>*{border-bottom:0;border-radius:5px;border-bottom-left-radius:0;border-bottom-right-radius:0;background-color:#fff;max-width:220px;box-shadow:0 2px 16px 0 rgba(0,0,0,.2);max-height:320px;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain}.m_publicationview .m_layerPanel>::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_publicationview .m_layerPanel>::-webkit-scrollbar-thumb,.m_publicationview .m_layerPanel>::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_publicationview .m_layerPanel>::-webkit-scrollbar-track{background-color:transparent}.m_publicationview .m_layerPanel>::-webkit-scrollbar-thumb{background-color:#353535}.m_publicationview .m_layerPanel>::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_publicationview .m_layerPanel .m_layerPanel--layerList{flex:0 0 200px;z-index:1}.m_publicationview .m_layerPanel .m_layerOptions{flex:0 0 200px;border-left:0;background-color:#353535;color:#fff;padding:0}.m_publicationview .m_layerPanel .m_layerOptions button,.m_publicationview .m_layerPanel .m_layerOptions input,.m_publicationview .m_layerPanel .m_layerOptions label{color:inherit}.m_publicationview .m_layerPanel .m_layerOptions .m_layerOptions--topbar{display:flex;flex-flow:row nowrap;align-items:center;border-bottom:2px solid #000;margin-bottom:.405rem}.m_publicationview .m_layerPanel .m_layerOptions .m_layerOptions--topbar>button{margin:0}.m_publicationview .m_layerPanel .m_layerOptions .m_layerOptions--topbar--layerName{font-weight:700;flex:1 1 auto;padding:.405rem}.m_publicationview .m_layerPanel .m_layerOptions .m_layerOptions--content{padding:.81rem}.m_publicationview .m_layerPanel .m_layerOptions .m_layerOptions--content>*>*{margin:0}.m_publicationview .m_layerPanel .m_layerOptions .m_layerOptions--content .m_publicationButtons{position:relative}.m_publicationview .m_layerPanel .m_layerPanel--layerList--topbar{margin-bottom:0;display:flex;justify-content:space-between}.m_publicationview .m_layerPanel .m_layerPanel--layerList--topbar label{margin-bottom:0}.m_publicationview .m_layerPanel .m_layerPanel--layerList--topbar button{margin:0}.m_publicationview .m_layerPanel .label{font-size:.7rem}.m_publicationview .m_layerPanel>button{pointer-events:auto}.m_publicationview .m_publicationNavMenu{position:relative;width:calc(100% - var(--spacing) * 3);border-radius:0 0 10px 10px;margin:0 0 0 calc(var(--spacing) * 1.6);background-color:#fff;margin-bottom:3px;box-shadow:0 4px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24)}.m_publicationview .m_publicationNavMenu>:not(:last-child){border-radius:0}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--settings{background-color:#fff;margin-left:.81rem;margin-right:.81rem;border-radius:4px;position:relative;display:flex;flex-flow:row wrap;justify-content:space-between}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--settings ._settings_pane_button label{color:inherit}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--settings button{margin:0}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--settings ._settings_pane{flex:1 1 100%;margin-top:0;margin-bottom:1.62rem}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--settings ._settings_pane ._settings_pane--tabs{display:flex;flex-flow:row nowrap;border-bottom:1px solid #b9b9b9;margin:.81rem;padding-left:calc(var(--spacing) / 2)}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--settings ._settings_pane ._settings_pane--tabs>.tab [type=radio]{display:none}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--settings ._settings_pane ._settings_pane--tabs>.tab [type=radio]:checked~label{background:#52c5b9;color:#fff;z-index:2}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--settings ._settings_pane ._settings_pane--tabs>.tab label{background:transparent;padding:10px;border:1px solid #b9b9b9;border-bottom:0;margin-left:-1px;margin-bottom:0;position:relative;left:1px}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--settings ._settings_pane ._settings_pane--content{display:flex;flex-flow:row wrap;align-content:flex-start;align-items:center}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--settings ._settings_pane ._settings_pane--content>:not(hr):not(h4){flex:1 0 120px;margin-left:.81rem;margin-right:.81rem}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--settings ._settings_pane ._settings_pane--content>:not(hr):not(h4) input[type=range]{max-width:320px}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--settings ._settings_pane ._settings_pane--content>h4,.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--settings ._settings_pane ._settings_pane--content>hr{flex:1 0 100%;margin-left:.81rem;margin-right:.81rem}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--settings ._settings_pane ._settings_pane--content hr{opacity:0;margin:0;padding:0}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--settings ._settings_pane ._settings_pane--content label{color:inherit}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--buttonRow{padding:.405rem;display:flex;flex-flow:row nowrap;justify-content:space-between;align-items:center;text-align:center;font-size:80%}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--buttonRow button{display:flex;flex-flow:row wrap;justify-content:center;align-items:center;min-height:0;padding-left:.405rem;padding-right:.405rem}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--buttonRow button>*{margin:0}.m_publicationview .m_publicationNavMenu .m_publicationNavMenu--buttonRow button img{width:30px;height:30px}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet{padding-top:1.62rem;padding-bottom:1.62rem;margin-left:1.62rem;margin-right:1.62rem}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet ._show_removed_pages{font-size:75%;margin-left:.81rem;margin-right:.81rem;margin-top:1.62rem}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet .m_publicationview--pages--contactSheet--pages{display:flex;flex-flow:row wrap;justify-content:flex-start;align-items:center}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet .m_publicationview--pages--contactSheet--pages .m_publicationview--pages--contactSheet--pages--page{position:relative;margin:.81rem;box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23)}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet .m_publicationview--pages--contactSheet--pages .m_publicationview--pages--contactSheet--pages--page.m_publicationview--pages--contactSheet--pages--page_create{font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#666;background-color:#47998d;padding:.81rem;margin:.81rem;display:flex;align-items:center;color:#fff;width:150px;height:100px;border-radius:10px}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet .m_publicationview--pages--contactSheet--pages .m_publicationview--pages--contactSheet--pages--page.m_publicationview--pages--contactSheet--pages--page_create.c-noir{color:#353535}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet .m_publicationview--pages--contactSheet--pages .m_publicationview--pages--contactSheet--pages--page.m_publicationview--pages--contactSheet--pages--page_create.is--active{color:#fc4b60!important}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet .m_publicationview--pages--contactSheet--pages .m_publicationview--pages--contactSheet--pages--page.m_publicationview--pages--contactSheet--pages--page_create span{color:inherit}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet .m_publicationview--pages--contactSheet--pages .m_publicationview--pages--contactSheet--pages--page>:first-child{margin:0}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet .m_publicationview--pages--contactSheet--pages .m_publicationview--pages--contactSheet--pages--page .m_publicationview--pages--contactSheet--pages--page--pageNumber{position:absolute;bottom:0;right:0;width:1.5em;height:1.5em;z-index:100;background-color:#fff;border-radius:50%;margin:.405rem;font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#666;color:#000;display:flex;align-items:center;justify-content:center}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet .m_publicationview--pages--contactSheet--pages .m_publicationview--pages--contactSheet--pages--page .m_publicationview--pages--contactSheet--pages--page--pageNumber.c-noir{color:#353535}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet .m_publicationview--pages--contactSheet--pages .m_publicationview--pages--contactSheet--pages--page .m_publicationview--pages--contactSheet--pages--page--pageNumber.is--active{color:#fc4b60!important}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet .m_publicationview--pages--contactSheet--pages .m_publicationview--pages--contactSheet--pages--page .m_publicationview--pages--contactSheet--pages--page--pageNumber span{color:inherit}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet .m_publicationview--pages--contactSheet--pages .m_publicationview--pages--contactSheet--pages--page .m_publicationview--pages--contactSheet--pages--page--buttons{position:absolute;left:-5px;top:-5px;right:-5px;bottom:-5px;background-color:rgba(71,153,141,.9);display:flex;flex-flow:column nowrap;align-items:center;justify-content:center;align-content:center;transition:opacity .4s cubic-bezier(.19,1,.22,1)}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet .m_publicationview--pages--contactSheet--pages .m_publicationview--pages--contactSheet--pages--page .m_publicationview--pages--contactSheet--pages--page--buttons>button{background:transparent;font-size:.8rem;color:#000;background-color:#47998d;color:#fff}.m_publicationview .m_publicationview--pages .m_publicationview--pages--contactSheet .m_publicationview--pages--contactSheet--pages .m_publicationview--pages--contactSheet--pages--page .m_publicationview--pages--contactSheet--pages--page--buttons button{color:inherit}.m_publicationview .m_publicationview--pages--singlePageBloc{position:relative;display:flex;flex-flow:row nowrap;height:100%}.m_publicationview .m_publicationview--pages--singlePageBloc>.m_publicationButtons{flex:0 0 auto}.m_publicationview .m_publicationview--pages--singlePageBloc>.m_publicationview--pages--pageContainer{flex:1 1 0;height:100%!important;width:auto!important;overflow:auto}.m_publicationview .m_publicationview--pages--singlePageBloc>.m_publicationview--pages--pageContainer::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_publicationview .m_publicationview--pages--singlePageBloc>.m_publicationview--pages--pageContainer::-webkit-scrollbar-thumb,.m_publicationview .m_publicationview--pages--singlePageBloc>.m_publicationview--pages--pageContainer::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_publicationview .m_publicationview--pages--singlePageBloc>.m_publicationview--pages--pageContainer::-webkit-scrollbar-track{background-color:transparent}.m_publicationview .m_publicationview--pages--singlePageBloc>.m_publicationview--pages--pageContainer::-webkit-scrollbar-thumb{background-color:#353535}.m_publicationview .m_publicationview--pages--singlePageBloc>.m_publicationview--pages--pageContainer::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_publicationview .m_page,.m_publicationview .m_publicationview--pages--pageContainer{position:relative;transition:none .2s}.m_publicationview .m_page{background-color:#fff;box-shadow:0 2px 16px 0 rgba(0,0,0,.2);z-index:0;transform-origin:top left;font-variant-ligatures:none;color:#000}.m_publicationview .m_page .m_page--header{position:absolute;bottom:calc(100% - 1.4cm);padding:0 1cm;width:100%;display:flex;justify-content:space-between;font-size:10pt;font-weight:500;text-transform:uppercase}.m_publicationview .m_page .m_page--header:after{content:"";position:absolute;border-bottom:1px solid #000;left:1cm;right:1cm;bottom:0}.m_publicationview .m_page .m_page--pageNumber{position:absolute;bottom:0;left:0;margin:.8cm 1cm;font-size:10pt;font-weight:500}.m_publicationview .m_page .m_page--pageNumber.toRight{left:auto;right:0}.m_publicationview .m_page .m_page--noMedia{position:absolute;top:50%;width:100%;text-align:center;font-style:italic;color:var(--c-gris_fonce)}.m_publicationview .m_page .m_page--margins_rule{position:absolute;width:1px;height:100%;z-index:-9;background-color:#b9b9b9}.m_publicationview .m_page .m_page--margins_rule.m_page--margins_rule_left{left:var(--margin_left);top:0}.m_publicationview .m_page .m_page--margins_rule.m_page--margins_rule_right{right:var(--margin_right);top:0}.m_publicationview .m_page .m_page--margins_rule.m_page--margins_rule_top{top:var(--margin_top);left:0;width:100%;height:1px}.m_publicationview .m_page .m_page--margins_rule.m_page--margins_rule_bottom{bottom:var(--margin_bottom);left:0;width:100%;height:1px}.m_publicationview .m_page .m_page--grid{--gridstep:5mm;--zoom:1;--gridstep_before:calc(var(--gridstep) - (1px/var(--zoom)));background-image:repeating-linear-gradient(90deg,transparent,transparent var(--gridstep_before),#f1f1f1 var(--gridstep_before),#f1f1f1 var(--gridstep)),repeating-linear-gradient(180deg,transparent,transparent var(--gridstep_before),#f1f1f1 var(--gridstep_before),#f1f1f1 var(--gridstep));background-position:50% 100%;background-repeat:no-repeat;position:absolute;opacity:1;left:var(--margin_left);right:var(--margin_right);top:var(--margin_top);bottom:var(--margin_bottom);z-index:-20001;display:block;pointer-events:none}.m_publicationview .m_stopmotionAnimationPublication{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));grid-gap:.81rem;padding:.405rem;padding-left:1.62rem;padding-right:1.62rem;margin:0 auto;margin-top:.81rem;margin-bottom:.81rem;max-width:1024px;width:100%;counter-reset:k;align-items:start}.m_publicationview .m_stopmotionAnimationPublication .m_mediaMontagePublication--withdraw{top:-5px;right:-5px}.m_publicationview .m_stopmotionAnimationPublication .m_stopmotionAnimationPublication--media--move{display:flex;justify-content:space-between;align-items:center}.m_publicationview .m_stopmotionAnimationPublication .m_stopmotionAnimationPublication--media--move button{padding:.405rem}.m_publicationview .m_stopmotionAnimationPublication .m_stopmotionAnimationPublication--media--move svg{width:25px;height:25px}.m_publicationview .m_stopmotionAnimationPublication .m_stopmotionAnimationPublication--media--move--moveRight{transform:rotate(180deg)}.m_publicationview .m_stopmotionAnimationPublication>*{background-color:#fff;padding:.405rem;margin-top:.81rem;margin-bottom:.81rem;box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23);flex:0 0 160px;border-radius:6px;position:relative;transition:all .4s}.m_publicationview .m_mixAudioAndImagePublication{padding:.405rem;padding-left:1.62rem;padding-right:1.62rem;margin:0 auto;margin-top:.81rem;margin-bottom:.81rem;width:100%;max-width:400px}.m_publicationview .m_mixAudioAndImagePublication .m_mixAudioAndImagePublication--media{background-color:#fff;padding:.405rem;margin-top:.81rem;margin-bottom:.81rem;border-radius:6px}.m_publicationview .m_videoPublication{display:flex;justify-content:center;align-content:center;padding:.81rem 1.62rem;text-align:center}.m_publicationview .m_videoPublication .m_videoPublication--transitionToggle{display:inline-block;padding:.405rem .81rem;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);border-radius:4px;background-color:#353535}.m_publicationview .m_videoPublication .m_videoPublication--transitionToggle label{color:#b9b9b9;display:block;margin-bottom:0;--switch-bg-color:#666}.m_publicationview .m_videoPublication .m_videoPublication--transitionToggle input:checked+label{color:#fff}.m_publicationview .m_videoPublication .m_videoPublication--addSolidColor{margin:0;color:#fff}.m_publicationview .m_videoPublication .m_videoPublication--media{position:relative;max-width:400px;height:auto;padding:.405rem;margin:.81rem;margin-left:auto;margin-right:auto;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);border-radius:4px}.m_publicationview .m_videoPublication .m_videoPublication--media[data-type=solid_color]{max-width:220px}.m_publicationview .m_videoPublication .m_videoPublication--media .m_metaField{margin-top:.405rem;margin-bottom:.405rem}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--solidColor{height:200px}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--mediaNumber{position:absolute;top:0;left:0;width:1.5em;height:1.5em;z-index:100;background-color:#fff;border-radius:50%;margin:.81rem;font-size:.8rem;font-family:Fira Mono;text-transform:uppercase;font-weight:500;letter-spacing:.05em;color:#666;color:#000;display:flex;align-items:center;justify-content:center}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--mediaNumber.c-noir{color:#353535}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--mediaNumber.is--active{color:#fc4b60!important}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--mediaNumber span{color:inherit}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--moveItemButtons{position:absolute;left:-48px;top:0;height:100%;width:48px}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--moveItemButtons>*{background-color:transparent;color:#47998d;transition:opacity .4s}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--moveItemButtons>:hover{opacity:1}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--moveItemButtons .m_videoPublication--media--moveItemButton--after,.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--moveItemButtons .m_videoPublication--media--moveItemButton--before{transform:rotate(90deg);position:absolute;right:0;width:100%;padding:0;border-radius:50%}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--moveItemButtons .m_videoPublication--media--moveItemButton--after:hover,.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--moveItemButtons .m_videoPublication--media--moveItemButton--before:hover{background-color:rgba(51,51,51,.3)}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--moveItemButtons .m_videoPublication--media--moveItemButton--before{top:0}.m_publicationview .m_videoPublication .m_videoPublication--media .m_videoPublication--media--moveItemButtons .m_videoPublication--media--moveItemButton--after{bottom:0}.m_storyPublication{padding-left:1.62rem;padding-right:1.62rem;counter-reset:mediaCounter}.m_publicationview.is--survey.has--model .m_storyPublication{padding:0}.m_storyPublication .m_storyPublication--content{max-width:680px;margin:0 auto;width:100%;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);border-radius:15px;margin-top:1.62rem;margin-bottom:1.62rem;padding-bottom:1.62rem;margin-bottom:50vh;padding-top:1px}.m_publicationview.is--survey .m_storyPublication .m_storyPublication--content{box-shadow:none!important;margin-bottom:1.62rem}.m_storyPublication .m_storyPublication--content .m_publicationMeta{top:.81rem;margin-bottom:.81rem;z-index:1500}.m_publicationview.is--survey .m_storyPublication .m_storyPublication--content .m_publicationMeta{position:relative!important}@media only screen and (min-height:780px){.m_storyPublication .m_storyPublication--content .m_publicationMeta{position:sticky}}.m_publicationview.is--survey .m_storyPublication .m_storyPublication--content .m_publicationMeta--topbar{box-shadow:none}.m_storyPublication .m_storyPublication--content>span:after{content:"";position:relative;height:1px;display:block;width:100%;margin:.81rem}.m_storyPublication .m_mediaStory{position:relative;padding-left:1.62rem;padding-right:1.62rem;margin:0 auto;scroll-margin:80px}.m_storyPublication .m_mediaStory:not(.is--previewed):before{counter-increment:mediaCounter 1;position:absolute;right:100%;top:0;padding:.405rem;text-transform:uppercase;font-weight:500;letter-spacing:.06em;font-size:.8rem;color:#47998d;line-height:1;z-index:1}.m_publicationview.is--preview .m_mediaStory:before{color:#b9b9b9}.m_mediaStory--moveItemButtons{position:absolute;right:100%;top:0;min-height:100%;width:24px;margin:0;margin-left:1px;margin-right:1px;background-color:#47998d;border-radius:12px;color:#353535;display:flex;flex-flow:column nowrap;justify-content:space-between;opacity:0;transition:opacity .4s cubic-bezier(.19,1,.22,1)}.m_mediaStory--moveItemButtons.is--visible{opacity:1}.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--after,.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--before,.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--options>button{background-color:transparent;display:block;right:0;padding:0;min-height:0;width:24px;height:24px;border-radius:50%;transform:rotate(90deg)}.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--after:hover,.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--before:hover,.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--options>button:hover{background-color:#ffbe32}.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--after[disabled],.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--before[disabled],.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--options>button[disabled]{opacity:0}.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--after img,.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--after svg,.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--before img,.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--before svg,.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--options>button img,.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--options>button svg{width:100%;height:100%}.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--options{position:relative}.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--options>button{padding:4px;transform:rotate(90deg)}.m_mediaStory--moveItemButtons .m_mediaStory--moveItemButtons--options ._advanced_menu{position:absolute;left:100%;top:50%;z-index:100000;transform:translateY(-50%)}.m_mediaPlaceholder{padding:4px;margin-left:1.62rem;margin-right:1.62rem;counter-increment:mediaCounter -1;background-color:#f4f3ef;border-radius:10px}.m_mediaPlaceholder.is--choices .m_mediaPlaceholder--replies{margin-top:0}.m_mediaPublication .m_mediaPlaceholder{margin:0;display:flex;flex-flow:column nowrap}.m_mediaPublication .m_mediaPlaceholder .m_mediaPlaceholder--instructions{padding:.405rem;font-size:.9em;line-height:1.25}.m_mediaPublication .m_mediaPlaceholder .m_mediaPlaceholder--replies{margin:0;padding:0}.m_mediaPublication .m_mediaPlaceholder:not(.is--choices):not(.has--replies) .m_mediaPlaceholder--replies{flex:1 0 auto;display:flex;flex-flow:column nowrap;justify-content:center;align-items:center;margin:0}.m_mediaPublication .m_mediaPlaceholder:not(.is--choices):not(.has--replies) .m_mediaPlaceholder--replies .m_insertMediaButton{margin:0;padding:0}.m_mediaPublication .m_mediaPlaceholder:not(.is--choices):not(.has--replies) .m_mediaPlaceholder--replies .m_insertMediaButton .m_insertMediaButton--toggleButton{display:none}.m_mediaPublication .m_mediaPlaceholder:not(.is--choices):not(.has--replies) .m_mediaPlaceholder--replies .m_insertMediaButton .m_insertMediaButton--menu .m_actionbar{background-color:transparent}.m_mediaPublication .m_mediaPlaceholder:not(.is--choices):not(.has--replies) .m_mediaPlaceholder--replies .barButton>span,.m_mediaPublication .m_mediaPlaceholder:not(.is--choices):not(.has--replies) .m_mediaPlaceholder--replies .barButton label{padding-top:.405rem;padding-bottom:.405rem}.m_mediaPublication .m_mediaPlaceholder:not(.is--choices).has--replies{--fill_color:transparent}.m_mediaPublication .m_mediaPlaceholder:not(.is--choices).has--replies .m_mediaPlaceholder--instructions{display:none}.m_mediaPublication .m_mediaPlaceholder:not(.is--choices).has--replies .m_mediaPlaceholder--replies{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0}.m_mediaPublication .m_mediaPlaceholder:not(.is--choices).has--replies .m_mediaPlaceholder--replies ._help{display:none}.m_mediaPlaceholder>label{color:#666;margin-left:.81rem;margin-right:.81rem}.m_mediaPlaceholder>:not(label){counter-reset:mediaCounter}.m_mediaPlaceholder .m_mediaPlaceholder--instructions{border-radius:7px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:.81rem;background-color:#fff}.m_mediaPlaceholder .m_mediaPlaceholder--reply{display:flex;justify-content:center;margin-top:1.62rem;margin-bottom:1.62rem}.m_mediaPlaceholder .m_mediaPlaceholder--replies{margin-top:.81rem;margin-bottom:.405rem;padding-top:4px}.m_mediaPlaceholder .m_insertMediaButton{margin-right:0}.m_mediaPlaceholder .m_insertMediaButton.is--open{padding-left:.81rem;margin-left:0;margin-right:0}.m_mediaPlaceholder .m_insertMediaButton .m_captureview{background-color:transparent;padding:0}.m_mediaPlaceholder .m_mediaStory{padding-left:.81rem;padding-right:.81rem}.m_mediaPlaceholder .m_mediaStory.type-text .mediaTextContent{padding-top:.81rem;padding-bottom:.81rem;background-color:hsla(0,0%,100%,.8)}.m_mediaPlaceholder .m_mediaStory:not(.is--previewed):before{right:auto;left:0;color:#b9b9b9;display:none}.m_mediaPlaceholder .m_mediaStory--moveItemButtons{background-color:#e5e5e5;right:calc(100% + 4px)}.m_mediaStory.type-divider .mediaTextContent,.m_mediaStory.type-text .mediaTextContent{border-radius:6px;padding-left:1.62rem;padding-right:1.62rem}.m_mediaPublicationReply{padding:0;height:100%;width:100%;position:absolute}.m_mediaPublicationReply .mediaContainer.type-image img{width:100%;height:100%;max-height:none;object-position:center}.m_mediaPublicationReply .mediaTextContent{background:transparent;padding:0;padding-left:4px;padding-top:2px}.m_mediaPublicationReply .mediaTextContent .ql-editor>:before{display:none}.m_mediaPublicationReply .m_mediaPublicationReply--moveItemButtons{position:absolute;right:0;top:0;margin:.81rem;min-height:0;opacity:0;transition:opacity .4s cubic-bezier(.19,1,.22,1)}.m_mediaPublicationReply .m_mediaPublicationReply--moveItemButtons.is--visible{opacity:1}.m_mediaPublicationReply .m_mediaPublicationReply--moveItemButtons .m_mediaPublicationReply--moveItemButtons--after,.m_mediaPublicationReply .m_mediaPublicationReply--moveItemButtons .m_mediaPublicationReply--moveItemButtons--before{display:none}.m_mediaPublicationReply .m_mediaPublicationReply--moveItemButtons .m_mediaPublicationReply--moveItemButtons--options>button{background-color:transparent;display:block;right:0;padding:0;min-height:0;width:24px;height:24px;border-radius:50%;position:relative;padding:4px;transform:rotate(90deg)}.m_mediaPublicationReply .m_mediaPublicationReply--moveItemButtons .m_mediaPublicationReply--moveItemButtons--options>button:hover{background-color:#ffbe32}.m_mediaPublicationReply .m_mediaPublicationReply--moveItemButtons .m_mediaPublicationReply--moveItemButtons--options>button[disabled]{opacity:0}.m_mediaPublicationReply .m_mediaPublicationReply--moveItemButtons .m_mediaPublicationReply--moveItemButtons--options>button img,.m_mediaPublicationReply .m_mediaPublicationReply--moveItemButtons .m_mediaPublicationReply--moveItemButtons--options>button svg{width:100%;height:100%}.m_mediaPublicationReply .m_mediaPublicationReply--moveItemButtons .m_mediaPublicationReply--moveItemButtons--options>button ._advanced_menu{right:100%;left:auto;top:0;transform:none}.m_mediaPublication.type-placeholder,.m_mediaStory.type-placeholder{counter-increment:mediaCounter -1}.m_mediaPublication.type-placeholder ._placeholder,.m_mediaStory.type-placeholder ._placeholder{color:#666;background-color:#f4f3ef;border-radius:10px;padding:4px;height:auto}.m_mediaPublication.type-placeholder ._placeholder>div,.m_mediaStory.type-placeholder ._placeholder>div{margin-bottom:.81rem}.m_mediaPublication.type-placeholder ._placeholder--instructions,.m_mediaStory.type-placeholder ._placeholder--instructions{border-radius:7px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:1.62rem;padding:.81rem;background-color:#fff;color:#353535}.m_mediaPublication.type-placeholder ._placeholder--instructions label,.m_mediaStory.type-placeholder ._placeholder--instructions label{margin-bottom:0}.m_mediaPublication.type-placeholder ._placeholder--constraints>label,.m_mediaStory.type-placeholder ._placeholder--constraints>label{margin-left:.81rem;margin-right:.81rem}.m_mediaStory.type-divider .mediaContainer{padding-top:.54rem}.m_mediaStory.type-divider .mediaContainer hr{margin:0}.m_insertMediaButton{position:relative;min-height:24px;padding-left:1.62rem;padding-right:1.62rem;display:flex;justify-content:center;align-items:center;transition:all .4s cubic-bezier(.19,1,.22,1)}.m_insertMediaButton.is--dragover,.m_insertMediaButton.is--open{padding:0;margin-top:.81rem;margin-bottom:.81rem}.m_insertMediaButton.is--open{margin-right:-24px}.m_insertMediaButton .m_insertMediaButton--importHere{position:absolute;left:-1rem;top:0;pointer-events:none}.m_insertMediaButton .m_insertMediaButton--importHere:before{content:"→";display:block;width:2rem;height:2rem;padding:0;border-radius:50%;min-width:0;color:#fff;border:2px solid #47998d;background-color:#52c5b9;box-shadow:0 2px 16px 0 rgba(0,0,0,.4);font-weight:700;font-size:1.2em;font-family:Fira Code;pointer-events:auto;display:flex;align-items:center;justify-content:center;transform:translateX(-4px) scale(.5);opacity:0;transition:all .8s cubic-bezier(.19,1,.22,1)}.m_insertMediaButton .m_insertMediaButton--importHere.is--active:before{transform:translateX(0) scale(1);opacity:1}.m_insertMediaButton .m_insertMediaButton--toggleButton{order:2;padding:0;min-height:0;line-height:1;width:24px;height:100%;padding-left:1px;border-radius:12px;background-color:#e5e5e5;margin-top:.405rem;margin-bottom:.405rem;display:flex;justify-content:center;align-items:center;transition:all .4s cubic-bezier(.19,1,.22,1)}.m_insertMediaButton .m_insertMediaButton--toggleButton:before{content:"+";display:flex;align-items:center;justify-content:center;border-radius:50%;font-weight:500;font-size:1.3em;text-align:center;width:24px;height:24px;transition:transform .8s cubic-bezier(.19,1,.22,1)}.m_insertMediaButton .m_insertMediaButton--toggleButton:hover{background-color:#b9b9b9;color:#353535}.m_insertMediaButton .m_insertMediaButton--toggleButton.is--active{background-color:#e5e5e5;color:#353535;border-top-left-radius:0;border-bottom-left-radius:0}.m_insertMediaButton .m_insertMediaButton--toggleButton.is--active:hover{background-color:#b9b9b9}.is--open.m_insertMediaButton .m_insertMediaButton--toggleButton:before{transform:rotate(135deg)}.m_insertMediaButton ._cancel_capture_button{position:absolute;top:0;left:0;z-index:10}.m_insertMediaButton .m_insertMediaButton--menu{overflow:hidden;display:flex;justify-content:center;align-items:center}.m_insertMediaButton .m_insertMediaButton--menu .m_actionbar{margin:0;border:0;background-color:#e5e5e5}.m_insertMediaButton .m_insertMediaButton--menu .m_actionbar--buttonBar{justify-content:center}.m_insertMediaButton .m_insertMediaButton--menu .barButton{margin-right:.405rem;margin-bottom:.405rem;padding-left:.405rem;padding-right:.405rem}.m_insertMediaButton .m_insertMediaButton--menu .barButton:not(:first-child){margin-left:0}.m_insertMediaButton .m_insertMediaButton--uploadFile{flex:0 1 280px}.m_insertMediaButton ._drop_indicator{position:relative;background-color:#fc4b60;border-radius:6px;width:100%;height:auto}.m_insertMediaButton ._drop_indicator>*{display:flex;align-items:center;width:auto;height:auto;background-color:#fff;border-radius:6px;padding-left:.405rem;padding-right:.405rem;margin:.405rem}.m_insertMediaButton ._drop_indicator>* label{margin-bottom:0;color:#fc4b60}.m_insertMediaButton ._drop_indicator img{width:40px;height:40px}.m_insertMediaButton .m_captureview{position:relative;padding-left:.81rem;padding-right:.81rem;background-color:#e5e5e5}.m_insertMediaButton .m_captureview .m_panel{height:50vh;min-height:300px;flex-basis:100%!important}._story_insert_placeholders{min-height:.81rem}.m_mediaStory{min-height:24px}.m_mediaStory.has--onlyNumbers .mediaContainer{max-width:30ch}.m_mediaStory .mediaContainer{position:relative;border-radius:6px}.m_mediaStory .mediaContainer.type-image{overflow:hidden}.m_mediaStory .mediaContainer.type-image img{width:auto;object-fit:scale-down;object-position:left top;max-height:50vh;border-radius:6px}.m_mediaStory .mediaContainer.type-video{overflow:hidden;max-height:50vh}.m_mediaStory .mediaContainer.type-video:after{content:"";display:block;width:100%;padding-bottom:var(--media-ratio)}.m_mediaStory .mediaContainer.type-video>div{position:absolute;height:100%;width:100%}.m_mediaStory .mediaContainer.type-video video{border-radius:6px}.m_mediaStory .mediaContainer.type-video .plyr--video,.m_mediaStory .mediaContainer.type-video .plyr__poster,.m_mediaStory .mediaContainer.type-video .plyr__video-wrapper{background-color:transparent;border-radius:6px}.m_mediaStory .mediaContainer.type-video img{object-fit:contain;background:transparent}.m_mediaStory .mediaContainer.type-document iframe,.m_mediaStory .mediaContainer.type-stl iframe{display:block;border:2px solid #f1f1f1;background-color:#f1f1f1;width:100%;overflow:hidden;height:50vh}.m_mediaStory .mediaContainer.type-text .mediaTextContent{font-size:.95em}.m_mediaStory .mediaContainer.type-text .mediaTextContent.ql-container>.ql-editor>:before{content:"•";position:absolute;right:100%;padding-right:8px;font-size:1rem;vertical-align:bottom;display:inline-block;transform:scale(1);transition:all .4s cubic-bezier(.19,1,.22,1);color:#e5e5e5}.m_mediaStory .mediaContainer.type-text .mediaTextContent.ql-container>.ql-editor>.is--focused:before{color:#ffbe32}.is--previewed.m_mediaStory .mediaContainer.type-text .mediaTextContent.ql-container>.ql-editor>:before{display:none}.m_mediaStory .mediaContainer.type-text .mediaTextContent .ql-editor.ql-blank:before{left:0}.m_mediaStory .mediaContainer.type-text .mediaTextContent .ql-editor{min-height:1em;border:0;padding:0;background-color:transparent}.m_mediaStory .mediaContainer.type-text .ql-container{overflow:visible}.m_mediaStory .mediaContainer.type-text .ql-toolbar{padding-right:.405rem;z-index:10000}.m_mediaStory .mediaContainer.type-text .quillWrapper,.m_mediaStory .mediaContainer.type-text .quillWrapper.fixedPanel .ql-container,.m_mediaStory .mediaContainer.type-text .quillWrapper.fixedPanel.quillWrapper{overflow:visible}.m_mediaStory .mediaContainer.type-text .quillWrapper.fixedPanel .ql-container .ql-tooltip,.m_mediaStory .mediaContainer.type-text .quillWrapper.fixedPanel.quillWrapper .ql-tooltip{position:absolute!important;width:calc(100% + var(--spacing) * 4)!important}.m_mediaStory .mediaContainer.type-text .ql-toolbar.ql-snow{border-radius:8px;margin-bottom:.5em;position:sticky;top:70px}.m_mediaStory .mediaCaption{font-size:75%;margin-top:.3em}.ql-cursor{color:#fff}.ql-cursor#ql-cursor-_self{pointer-events:none}.ql-cursor small{color:inherit}.m_mediaField{position:relative;display:flex;flex-flow:row wrap;justify-content:space-between;align-items:center}.m_mediaField.is--beingEdited{display:block;margin-top:-.405rem;margin-left:-.405rem}.m_mediaField>button{margin:-.405rem}.m_mediaField>button:hover{background-color:hsla(0,0%,98%,.25)}.m_mediaField .m_mediaField--buttonRow{display:flex;justify-content:center}.m_mediaField .m_mediaField--buttonRow>*{margin:.405rem}.m_mediaField .m_mediaField--buttonRow>:first-child{margin-right:0}.m_mediaField>:nth-child(2){flex:0 0 auto}.m_mediaField .quillWrapper{z-index:1;flex:1 1 auto}.m_mediaField .ql-container,.m_mediaField .quillWrapper{overflow:visible}.m_mediaField .ql-container{padding:.405rem;padding-top:0}.m_mediaField .ql-toolbar{padding:0;background:transparent}.m_mediaField .ql-editor{min-height:1em;padding:.405rem}.m_mediaField .ql-tooltip{z-index:1}.m_mediaField p,.m_mediaField textarea{margin:0;font-size:inherit}.m_mediaField textarea{min-height:0}.m_placeholderConstraints>*{flex:0 0 auto}.m_placeholderConstraints .m_placeholderConstraints--choices{margin-top:.405rem;margin-bottom:.405rem}.m_placeholderConstraints .m_placeholderConstraints--choices--multiple{text-align:center;margin-top:.81rem;margin-bottom:.81rem}.m_placeholderConstraints .m_placeholderConstraints--choices--multiple>*{display:inline-block}.m_placeholderConstraints .m_placeholderConstraints--choices--addChoice{max-width:300px;padding:.81rem;background-color:#fff}.m_placeholderConstraints .m_placeholderConstraints--choices--editor{display:flex;flex-flow:column wrap;align-items:center;justify-content:center}.m_placeholderConstraints .m_placeholderConstraints--typeSelector{margin-left:.81rem;margin-right:.81rem}.m_placeholderConstraints .m_placeholderConstraints--typeSelector label{margin-right:.81rem}.m_placeholderConstraints .m_placeholderConstraints--medias{display:flex;flex-flow:row wrap;align-items:flex-start;margin-left:.405rem;margin-right:.405rem}.m_placeholderConstraints .m_placeholderConstraints--medias--item{margin:.405rem;display:flex;flex-flow:column wrap;justify-content:center;background-color:#fff;text-align:center;border-radius:8px}.m_placeholderConstraints .m_placeholderConstraints--medias--item>*{padding-right:.5em;padding-left:.405rem;padding-right:.405rem}.m_placeholderConstraints .m_placeholderConstraints--medias--item>._options{width:150px;text-align:left}.m_placeholderConstraints .m_placeholderConstraints--medias--item>._options>:not(label){border:2px solid #e5e5e5;margin-top:.405rem;margin-bottom:.405rem;padding:.405rem}.m_placeholderConstraints .m_placeholderConstraints--medias--item>._options>:not(label):first-child{margin-top:0}.m_placeholderConstraints .m_placeholderConstraints--medias--item>._options label{display:block}.m_placeholderConstraints .m_placeholderConstraints--medias--item.is--active{border:2px solid #fc4b60}.m_placeholderConstraints .m_placeholderConstraints--medias--item .switch input+label{padding-left:calc(var(--switch-size) * 2)}.m_placeholderConstraints .m_placeholderConstraints--medias--item label{margin-bottom:0}.m_placeholderConstraints .m_placeholderConstraints--medias--item ._picto{display:flex;margin:0 auto;flex-flow:column nowrap;justify-content:center;align-items:center;width:auto;text-align:center;margin:.405rem;min-height:0}.m_placeholderConstraints .m_placeholderConstraints--medias--item ._picto>*{pointer-events:none}.m_placeholderConstraints .m_placeholderConstraints--medias--item ._picto img{object-fit:cover;height:30px;width:30px;margin-bottom:.405rem}.m_placeholderConstraints .m_placeholderConstraints--medias--item ._picto label{margin-left:.405rem;margin-right:.405rem;padding:0;text-align:center}.m_choice{background-color:#fff;margin:.81rem;border-radius:4px}.m_choice input,.m_choice label{pointer-events:none}.m_choice label{text-transform:none;font-weight:700;font-family:inherit;color:#353535!important;font-size:inherit;padding:.81rem}.m_choice label span{display:block}.m_choice input{display:inline-block;vertical-align:middle}.m_choice input[type=radio].custom_radio:checked+label:after,.m_choice input[type=radio].custom_radio:checked+label:before,.m_choice input[type=radio].custom_radio:not(:checked)+label:after,.m_choice input[type=radio].custom_radio:not(:checked)+label:before{top:19px;left:6px}.m_choice .buttonLink{margin:0;margin-right:.81rem;margin-left:-.81rem}.m_videoEffects{display:flex;flex-flow:row wrap;justify-content:center;align-content:flex-start;align-items:flex-start;padding:.81rem}.m_videoEffects .m_videoEffects--options{flex:0 0 auto;max-width:320px;background-color:#fff;padding:.81rem;padding-bottom:0;margin:.81rem;border-radius:10px}.m_videoEffects .m_videoEffects--media{flex:1 1 200px;position:relative;max-width:400px;height:auto;padding:.81rem;margin:.81rem;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);border-radius:4px}.m_videoEffects ._watermark_media{width:100%}.m_carreauPublication{padding:.405rem;padding-left:1.62rem;padding-right:1.62rem;margin:0 auto;margin-top:.81rem;margin-bottom:.81rem}.m_carreauPublication .m_carreauPublication--container{position:relative;overflow-y:visible;background-color:#fff}.m_carreauPublication .m_carreauPublication--container .m_carreauPublication--container--content{position:relative;transform-origin:center center;background-color:#fff;margin:0 auto}.m_carreauPublication .m_carreauPublication--container .m_carreauPublication--container--content .m_carreauPublication--container--content--title{display:block;font-weight:300;font-size:3em;padding:.81rem 1.62rem}.m_drawingPad{position:relative;overflow:auto;-webkit-print-color-adjust:exact;padding:1.62rem}.m_drawingPad .m_drawingPad--layer{position:absolute;width:100%;pointer-events:none}.m_drawingPad .m_drawingPad--layer .m_mediaPublication{pointer-events:auto}.m_drawingPad .m_drawingPad--layer.is--inactive .m_mediaPublication{pointer-events:none}.m_drawingPad .m_drawingPad--layer.is--edited.m_drawingPad--layer_drawing{pointer-events:auto}.m_drawingPad .m_drawingPad--layer>*{margin:0 auto}.m_drawingPad .m_drawingPad--layer>*>*{position:relative;transform-origin:top left;margin:0 auto;box-shadow:none;background-color:transparent;transition:all 1s cubic-bezier(.19,1,.22,1)}.m_drawingPad .m_drawingPad--layer .m_page{background-color:transparent;margin:0}.m_drawingPad .m_drawingPad--layer .m_drawingPad--layer--backgroundContainer--background{box-shadow:0 2px 16px 0 rgba(0,0,0,.2);background-color:#fdf}.m_drawingPad .m_drawingLayer--content{margin:0 auto}.m_layerPanel--layerList--layer{position:relative;display:flex;align-items:center;padding:.405rem;margin-left:.405rem;margin-right:.405rem;margin-bottom:.405rem;font-size:.8rem;background-color:#e5e5e5;border-radius:4px;z-index:1;cursor:pointer}.m_layerPanel--layerList--layer.is--active{background-color:#353535;color:#fff}.m_layerPanel--layerList--layer.is--active .label,.m_layerPanel--layerList--layer.is--active button{color:inherit}.m_layerPanel--layerList--layer.is--active ._handle:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'50\' height=\'50\' viewBox=\'0 0 50 50\'%3E%3Cpath d=\'M0 7.5v5h50v-5H0zm0 15v5h50v-5H0zm0 15v5h50v-5H0z\' fill=\'%23fff\'/%3E%3C/svg%3E")}.m_layerPanel--layerList--layer.is--active:after{content:"";position:absolute;left:100%;width:0;height:0;border-top:10px solid transparent;border-bottom:10px solid transparent;border-left:5px solid #353535}.m_layerPanel--layerList--layer .label{font-size:.7rem}.m_layerPanel--layerList--layer>*{flex:1 1 auto;padding-left:.405rem;padding-right:.405rem}.m_layerPanel--layerList--layer ._handle{flex:0 0 auto;width:1rem;height:1rem}.m_layerPanel--layerList--layer ._handle:before{content:"";display:block;position:absolute;width:10px;height:10px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'50\' height=\'50\' viewBox=\'0 0 50 50\'%3E%3Cpath d=\'M0 7.5v5h50v-5H0zm0 15v5h50v-5H0zm0 15v5h50v-5H0z\'/%3E%3C/svg%3E");background-size:contain;background-repeat:no-repeat;transform:rotate(90deg)}.m_layerPanel--layerList--layer ._vignette{padding:0;margin:.405rem;flex:0 0 auto;border-radius:10px;width:1rem;height:1rem;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24)}.m_layerPanel--layerList--layer ._vignette>*{display:block;width:1.5rem;height:1.5rem;margin:0;margin-top:-.5rem;margin-left:-.5rem;padding:0;border-bottom:0}.m_layerPanel--layerList--layer ._vignette._vignette_medias{border:2px solid #ffbe32;border-radius:0}.m_layerPanel--layerList--layer button{flex:0 0 auto;margin:0}._advanced_menu_button{position:absolute;top:0;right:0;width:40px;height:40px;border-radius:50%;padding:0;margin:0}._advanced_menu_button svg{width:20px;height:20px}._advanced_menu{position:absolute;z-index:100;top:40px;right:-55px;background-color:#fff;box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23);border:1px solid #b9b9b9;padding:.405rem;display:flex;flex-flow:row wrap;justify-content:space-around;background-color:#353535;pointer-events:auto;width:200px;margin:.81rem;border:0}._advanced_menu a,._advanced_menu button{background-color:#ffbe32;border-radius:6px;color:#353535;min-height:0;margin:.405rem;text-decoration:none}.m_customStyles .prism-editor__code{background-color:#353535;min-height:3.5em;max-height:200px;overflow:auto;overscroll-behavior-y:contain;margin-bottom:-1px}.m_customStyles .prism-editor__code::-webkit-scrollbar{height:18px;width:18px;background-color:transparent}.m_customStyles .prism-editor__code::-webkit-scrollbar-thumb,.m_customStyles .prism-editor__code::-webkit-scrollbar-track{border:6px solid hsla(0,0%,100%,0);border-radius:24px;background-clip:padding-box;transition:all .4s}.m_customStyles .prism-editor__code::-webkit-scrollbar-track{background-color:transparent}.m_customStyles .prism-editor__code::-webkit-scrollbar-thumb{background-color:#fff}.m_customStyles .prism-editor__code::-webkit-scrollbar-thumb:hover{background-color:#b9b9b9;border:6px solid hsla(0,0%,100%,0)}.m_customStyles .prism-editor__code ::-moz-selection{background:hsla(0,52%,92%,.25)}.m_customStyles .prism-editor__code ::selection{background:hsla(0,52%,92%,.25)}.m_customStyles pre{margin:0;border:3px solid #353535}.m_customStyles pre:focus{outline:0;border-color:#ffbe32}.m_customStyles .m_customStyles--sendButton{text-align:center}.m_mediaPublication{position:absolute;min-width:5mm;min-height:5mm;z-index:0;transform-origin:center center;transition:all .12s cubic-bezier(.25,.8,.25,1)}.m_mediaPublication.is--dragged,.m_mediaPublication.is--rotated{transition:none ease-out;z-index:2}.m_mediaPublication.is--resized{z-index:2}.m_mediaPublication ._loader{background-color:transparent;--loader-border-color:#ffbe32;--loader-bg-color:#353535}.m_mediaPublication:not(.is--previewed).is--locked{pointer-events:none!important}.m_mediaPublication:not(.is--previewed).is--locked ._lock_button{pointer-events:auto}.m_mediaPublication:not(.is--previewed).is--locked ._lock_button svg{background:#353535;border-color:transparent}.m_mediaPublication.is--fit_mode_cover .mediaContainer.type-image img{object-fit:cover}.m_mediaPublication.is--fit_mode_contain .mediaContainer img{object-fit:contain}.m_mediaPublication.is--inline_edited{outline:2px solid #52c5b9}.m_mediaPublication.is--inline_edited .type-placeholder{overflow:auto}.m_mediaPublication .m_mediaPublication--overflowing_sign{position:absolute;bottom:20px;font-weight:700;text-align:center;width:100%;margin:0 auto;z-index:21;min-height:0;background:transparent}.m_mediaPublication .m_mediaPublication--overflowing_sign span{display:block;width:1.5rem;height:1.5rem;font-size:1rem;margin:0 auto;line-height:1;border-radius:50%;background-color:#fc4b60;color:#fff;pointer-events:auto;text-align:center}.m_mediaPublication .m_mediaPublication--floatingSaveButton{position:absolute;top:100%;width:100%;text-align:center;padding-bottom:.405rem;pointer-events:none}.m_mediaPublication .m_mediaPublication--floatingSaveButton>*{pointer-events:auto}.m_mediaPublication .mediaContainer{overflow:hidden;height:100%;width:100%;outline:2px solid transparent;font-size:var(--font_size_percent);border:0 solid transparent;border-width:var(--margin);--margin:0;--fill_color:transparent;--stroke_color:transparent}.m_mediaPublication .mediaContainer>*{width:100%;height:100%}.m_mediaPublication .mediaContainer img{width:100%;height:100%;object-fit:cover}.m_mediaPublication .mediaContainer:not(.type-ellipsis):not(.type-rectangle):not(.type-arrow):not(.type-line):not(.type-placeholder){background-color:var(--fill_color);outline-color:var(--stroke_color);outline-width:var(--stroke_width);outline-style:solid}.m_mediaPublication .mediaContainer.type-text{background-color:hsla(0,0%,100%,.95)}.m_mediaPublication .mediaContainer.type-text iframe{width:100%}.m_mediaPublication .mediaContainer.type-text .ql-container{overflow:auto;height:100%}.m_mediaPublication .mediaContainer.type-arrow,.m_mediaPublication .mediaContainer.type-ellipsis,.m_mediaPublication .mediaContainer.type-line,.m_mediaPublication .mediaContainer.type-rectangle{overflow:visible}.m_mediaPublication .mediaContainer.type-arrow svg,.m_mediaPublication .mediaContainer.type-ellipsis svg,.m_mediaPublication .mediaContainer.type-line svg,.m_mediaPublication .mediaContainer.type-rectangle svg{width:100%;height:100%;fill:var(--fill_color);stroke:var(--stroke_color);stroke-width:var(--stroke_width);overflow:visible;stroke-linecap:round}.m_mediaPublication .mediaContainer.type-placeholder{--fill_color:#f4f3ef;overflow:auto}.m_mediaPublication .mediaContainer.type-placeholder .m_mediaPlaceholder{background-color:var(--fill_color)}.m_mediaPublication .mediaContainer.type-video .plyr{border-radius:6px}.m_mediaPublication .mediaContainer.type-video .plyr--video,.m_mediaPublication .mediaContainer.type-video .plyr__poster,.m_mediaPublication .mediaContainer.type-video .plyr__video-wrapper{background-color:transparent}.m_mediaPublication .mediaContainer.type-video img{object-fit:contain;background:transparent}.m_mediaPublication .mediaContainer.type-stl iframe{border:2px solid #f1f1f1;background-color:#f1f1f1;width:100%;height:100%}.m_mediaPublication .mediaContainer .mediaContainer--buttons{padding:.405rem;padding:0}.m_mediaPublication .mediaCaption{margin-top:0;font-size:85%}.m_mediaPublication .ql-editor.ql-editor{padding:0;min-height:auto;border:none;background-color:transparent;background-color:hsla(0,0%,100%,.7);outline:2px solid #e5e5e5}.m_mediaPublication ._lock_button{position:absolute;top:0;left:0;padding:0;margin:0;display:block;width:30px;height:30px;margin:.405rem;z-index:11;background-color:transparent}.m_mediaPublication ._lock_button svg{width:30px;height:30px;padding:6px;border:2px solid #000;border-radius:50%;overflow:visible;fill:currentColor;background-color:#ffbe32}.m_mediaPublication ._lock_button:hover{background-color:transparent}.m_mediaPublication ._lock_button:hover svg{background-color:#353535;color:#ffbe32}.m_mediaPublication .controlFrame{position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;z-index:10;color:#000;background-image:repeating-linear-gradient(90deg,currentColor 0,currentColor 50%,transparent 0,transparent),repeating-linear-gradient(90deg,currentColor 0,currentColor 50%,transparent 0,transparent),repeating-linear-gradient(180deg,currentColor 0,currentColor 50%,transparent 0,transparent),repeating-linear-gradient(180deg,currentColor 0,currentColor 50%,transparent 0,transparent);background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;background-size:20px 2px,20px 2px,2px 20px,2px 20px;cursor:pointer;cursor:move}.is--dragged.m_mediaPublication .controlFrame,.is--selected.m_mediaPublication .controlFrame{color:#ffbe32}.is--dragged.m_mediaPublication .controlFrame,.is--hovered.m_mediaPublication .controlFrame{background-color:rgba(255,190,50,.2)}.is--waitingForServerResponse.m_mediaPublication .controlFrame{color:#b9b9b9}.m_mediaPublication .controlFrame .dashed-vector{position:absolute;top:0;left:0;height:100%;width:100%}.m_mediaPublication .controlFrame .dashed-vector path{fill:none;stroke:#000;stroke-width:2px;stroke-dasharray:10,10}.m_mediaPublication .controlFrame .handle{position:absolute;z-index:1;width:48px;height:48px;pointer-events:auto;border-style:inherit;border-width:0;border-radius:50%;display:flex;justify-content:center;align-items:center;z-index:150}.m_mediaPublication .controlFrame .handle svg{width:24px;height:24px;padding:2px;border:2px solid #000;border-radius:50%;overflow:visible;fill:currentColor;background-color:#ffbe32}.m_mediaPublication .controlFrame .handle:hover svg{background-color:#353535;color:#ffbe32}.m_mediaPublication .controlFrame .handle_resizeMedia{bottom:-24px;right:-24px;cursor:nwse-resize;color:#353535;transition:transform .2s}.m_mediaPublication .controlFrame .handle_resizeMedia_bottom{bottom:-24px;left:calc(50% - 48px / 2);cursor:ns-resize;color:#353535;transition:transform .2s}.m_mediaPublication .controlFrame .handle_resizeMedia_right{right:-24px;top:calc(50% - 48px / 2);cursor:ew-resize;color:#353535;transition:transform .2s}.m_mediaPublication .controlFrame .handle_rotateMedia{top:-24px;right:-24px;color:#353535;cursor:-webkit-grab;cursor:-moz-grab;transition:transform .2s}.m_mediaPublication .m_mediaPublication--caption{font-family:Fira Mono;font-size:10pt;margin-top:.5em;white-space:pre-wrap}.m_mediaPublication .m_mediaPublication--zIndex{position:absolute;width:100%;height:100%;left:0;top:0;background-color:rgba(53,53,53,.4);background-color:hsla(0,0%,100%,.4);background-color:rgba(255,216,146,.3);color:#353535;z-index:1000;pointer-events:none}.m_mediaPublication .m_mediaPublication--zIndex svg{width:100%;height:100%;max-width:160px;margin:0 auto}.m_mediaPublication .m_mediaPublication--zIndex svg text{fill:currentColor}.m_mediaPublication .m_mediaPublication--buttons{position:absolute;top:0;right:0;width:100%;z-index:20;pointer-events:none;padding:.405rem;display:flex;justify-content:flex-end}.m_mediaPublication .m_mediaPublication--buttons button,.m_mediaPublication .m_mediaPublication--buttons input{display:block;color:inherit;background-color:#ffbe32;color:#353535;font-weight:700;pointer-events:auto;margin:.405rem}.m_mediaPublication .m_mediaPublication--buttons button.is--active,.m_mediaPublication .m_mediaPublication--buttons input.is--active{background-color:#353535;color:#ffbe32}.m_mediaPublication .m_mediaPublication--buttons button.is--active svg,.m_mediaPublication .m_mediaPublication--buttons input.is--active svg{background-color:#353535;fill:#ffbe32}.m_mediaPublication .m_mediaPublication--buttons>button{position:relative;border-radius:50%;background-color:transparent!important;margin:0;min-width:2.2rem;min-height:2.2rem}.m_mediaPublication .m_mediaPublication--buttons>button svg{width:24px;height:24px;padding:2px;background-color:#ffbe32;border:2px solid currentColor;border-radius:50%}.m_mediaMontagePublication{position:relative}.m_mediaMontagePublication .mediaCaption{margin-top:0;margin-bottom:0;font-size:75%}.m_mediaMontagePublication ._advanced_menu_button{fill:#353535;width:30px;height:30px;min-height:0;top:-.27rem;right:-.27rem}.m_mediaMontagePublication ._advanced_menu_button.is--active{fill:#fff}.m_mediaMontagePublication ._advanced_menu{top:30px}.m_mediaMontagePublication .m_mediaMontagePublication--solidColor .m_mediaMontagePublication--solidColor--colorPreview{height:200px;display:flex;flex-flow:column nowrap;justify-content:center;align-items:center}.m_mediaMontagePublication .m_mediaMontagePublication--solidColor .m_mediaMontagePublication--solidColor--colorPreview input{display:block;width:3em;height:3em}.m_mediaMontagePublication .m_mediaMontagePublication--solidColor .m_mediaMontagePublication--solidColor--colorPreview label{padding:.81rem;mix-blend-mode:difference}.m_mediaMontagePublication .m_mediaMontagePublication--set_props{display:flex;flex-flow:row wrap;align-items:flex-end}.m_mediaMontagePublication .m_mediaMontagePublication--set_props input[type=number]{max-width:60px;text-align:center;height:2em;line-height:1;width:auto;margin-left:.405rem;margin-right:.405rem}.m_mediaMontagePublication--withdraw{position:absolute;top:0;right:0;margin:.405rem;display:flex;background-color:hsla(0,0%,100%,.4);color:#353535;font-weight:700;pointer-events:auto;min-width:2.5em;min-height:2.5em}.m_mediaMontagePublication--withdraw.is--active{background-color:#353535;color:#ffbe32}.m_addcreationtoproject{padding:.81rem;background-color:#f4f3ef;border-radius:4px}.m_addcreationtoproject input,.m_addcreationtoproject select{background-color:#fff}.m_standaloneMedia{width:100%;height:100%}.m_standaloneMedia .mediaContainer{width:100%;height:100%;background-color:#353535}.m_standaloneMedia .mediaContainer>*{width:100%;height:100%;background-color:transparent;object-fit:contain;border:none}.m_standaloneMedia .mediaContainer>* .plyr .plyr__controls{color:#fff}.m_standaloneMedia .mediaContainer>* .plyr--audio{padding:40vh 0;margin:0 auto;max-width:500px}.m_standaloneMedia .mediaContainer.type-text{background:transparent;width:66ch;margin:1.62rem auto;height:auto}.m_standaloneMedia .mediaContainer.type-text>*{height:auto}.m_mediaCSSEditWindow{position:fixed;bottom:0;left:50px;z-index:1;background-color:red}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.vue-splitter-container{width:100%;height:100%;position:absolute;overflow:hidden}.splitter-pane,.splitter-pane-resizer{transition:all .4s ease-out}.splitter-pane-resizer.is--dragged,.splitter-pane.is--dragged{transition:none}.splitter-pane-resizer{box-sizing:border-box;background:#000;position:absolute;z-index:2;background-clip:padding-box}.splitter-pane-resizer.vertical{width:.81rem;height:100%;pointer-events:none;opacity:1;background-color:transparent;background-position:50%;background-repeat:no-repeat}.splitter-pane-resizer.vertical:before{top:0;bottom:0;right:0;left:0;background-position:50%}.m_activityJournal{font-size:.9em;line-height:1.25;--table-spacing-y:0.25rem}.m_activityJournal .m_actionbar{margin-left:0;margin-right:0}.m_unreadMessages{position:absolute;top:50%;transform:translateY(-50%);left:100%;margin-left:.81rem;font-size:.8rem;color:#fc4b60}.m_unreadMessages button{border-radius:50%;background-color:#cc334a;width:2em;height:2em;font-size:.8rem;color:#fff;font-weight:400;letter-spacing:0;display:inline-flex;align-items:center;justify-content:center;min-height:0}.alertify{z-index:20000;background-color:rgba(51,51,51,.86)}.alertify .dialog>*{width:450px;border-radius:2px;box-shadow:0 1px 4px rgba(0,0,0,.1);border:1px solid #e5e5e5}.alertify .dialog>* nav button.ok{background-color:transparent;border:none;font-size:inherit;font-family:inherit;background-color:#fff;display:inline-block;text-decoration:none;text-align:center;text-transform:uppercase;font-weight:500!important;letter-spacing:.06em;flex-shrink:0;margin:0;cursor:pointer;min-height:3.24rem;padding:0 .81rem!important;border-radius:6px!important;transition:color .25s ease-out,opacity .5s;color:#fff!important;background-color:#52c5b9!important}.alertify-logs{z-index:20001;right:48px;pointer-events:none;font-size:.9em;line-height:1.25}.alertify-logs>*,.alertify-logs>.default{background-color:#e5e5e5;color:#353535;pointer-events:auto}.alertify-logs>.error{background-color:#fc4b60;color:#fff}.alertify-logs>.success{background-color:#52c5b9;color:#fff}.animated{animation-duration:3s;animation-fill-mode:both;animation-iteration-count:infinite}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.flash{animation-name:flash}.m_footer{color:#b9b9b9;width:100%;text-align:center}.m_footer:before{content:"";display:inline-block;position:relative;width:100px;border-top:2px solid #e5e5e5}.splitpanes .splitpanes__splitter{position:relative;background-color:transparent;cursor:pointer;cursor:-webkit-grab;cursor:-moz-grab;z-index:100}.splitpanes--dragging .splitpanes__splitter{cursor:-webkit-grabbing;cursor:-moz-grabbing}.splitpanes--vertical{overflow-x:hidden}.splitpanes--vertical>.splitpanes__splitter{position:relative;width:1px;margin-right:-1px;display:flex;align-items:center;justify-content:center}.splitpanes--horizontal>.splitpanes__splitter{height:0}.splitpanes__splitter:before{content:"";transform:translateY(-50%);transition:opacity .4s;background-color:#353535;border-radius:4px;opacity:1;z-index:10;display:none}.splitpanes--vertical>.splitpanes__splitter:before{left:0;margin:4px;width:4px;height:15px}.splitpanes--horizontal>.splitpanes__splitter:before{top:-10px;bottom:-10px;width:100%}.splitpanes__splitter:after{content:"";position:absolute;top:auto;top:30px;right:0;z-index:100;font-family:Fira Code;color:#1d327f;width:3em;height:3em;border-radius:1em 0 0 1em;background-color:#52c5b9;padding:.405rem;background-image:url(/images/i_marmite.svg);cursor:pointer;background-size:3em 3em;background-position:center .405rem;background-repeat:no-repeat;display:flex;align-items:flex-end;justify-content:center}.splitpanes__splitter:hover:after{background-color:#47998d}.splitpanes__splitter~.splitpanes__splitter:after{top:120px;background-color:#fc4b60;color:#12224c;background-image:url(/images/i_chat.svg)}.splitpanes__splitter~.splitpanes__splitter:hover:after{background-color:#cc334a}.splitpanes[data-chatpane_isopen=true] .splitpanes__splitter~.splitpanes__splitter:after,.splitpanes[data-docpane_isopen=true] .splitpanes__splitter:nth-child(2):after{height:4em;content:"◄ ►";cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter:after{transform:rotate(135deg);left:50%}.splitpanes--horizontal>.splitpanes__splitter:hover:after{transform:rotate(180deg)}.tippy-popper.tippy-popper{z-index:100000!important}.tippy-popper.tippy-popper>*{color:#fff;text-transform:lowercase;font-size:80%;pointer-events:none}.tippy-popper.tippy-popper>* .tippy-backdrop{background:#353535!important}.tippy-popper.tippy-popper code{font-family:Fira Code}.fade-enter-active,.fade-leave-active{opacity:1;transition:opacity .6s linear}.fade-enter,.fade-leave-to{opacity:0;transition:opacity .6s linear}.fadeOnLeave-enter,.fadeOnLeave-enter-active{transition:opacity .1s linear}.fadeOnLeave-leave-active{opacity:1;transition:opacity 1s linear}.fadeOnLeave-leave-to{opacity:0;transition:opacity 1s linear}.fade_fast-enter-active,.fade_fast-leave-active{opacity:1;transition:opacity .15s linear}.fade_fast-enter,.fade_fast-leave-to{opacity:0;transition:opacity .15s linear}.slideup-enter-active,.slideup-leave-active{transform:translateY(0);transition:opacity .4s linear,transform .4s ease-out}.slideup-enter,.slideup-leave-to{transform:translateY(100%);transition:opacity .4s linear,transform .4s ease-out}.slideleft-enter-active,.slideleft-leave-active{transform:translateX(0);transition:opacity .4s linear,transform .4s ease-out}.slideleft-enter,.slideleft-leave-to{transform:translateX(-100%);transition:opacity .4s linear,transform .4s ease-out}.slideright-enter-active,.slideright-leave-active{transform:translateX(0);transition:opacity .4s linear,transform .4s ease-out}.slideright-enter,.slideright-leave-to{transform:translateX(100%);transition:opacity .4s linear,transform .4s ease-out}.list-complete-move{position:relative;transition:transform .6s cubic-bezier(.19,1,.22,1),opacity .4s cubic-bezier(.19,1,.22,1)!important}.list-complete-enter,.list-complete-leave-to{opacity:0}.list-complete-leave-active{position:absolute;z-index:0!important}.StoryModules-enter-active,.StoryModules-leave-active,.StoryModules-move{transition:.7s cubic-bezier(.19,1,.22,1)!important;transition-property:opacity,transform;transform-origin:center top}.StoryModules-enter{opacity:0}.StoryModules-enter-to{opacity:1}.StoryModules-leave-active{position:absolute}.StoryModules-leave-to{opacity:0}.fileupload_list-move{transition:all 1s cubic-bezier(.19,1,.22,1)}.fileupload_list-complete-enter,.fileupload_list-complete-leave-to{opacity:0;transform:translateY(30px)}.fileupload_list-complete-leave-active{position:absolute}.ListView-enter-active,.ListView-leave-active{opacity:1;transform:scale(1);transform-origin:center center;transition:all .5s linear}.ListView-enter,.ListView-leave-to{opacity:0;transform:scale(.96);transition:all .5s linear}.ProjectView-enter-active,.ProjectView-leave-active{transform:translateY(0);transition:transform .5s cubic-bezier(.25,.8,.25,1)}.ProjectView-enter,.ProjectView-leave-to{transform:translateY(100vh);transition:transform .5s cubic-bezier(.25,.2,.25,1)}.CaptureView-enter-active,.CaptureView-leave-active{transform:translateX(0);transition:transform .5s cubic-bezier(.25,.8,.25,1)}.CaptureView-enter,.CaptureView-leave-to{transform:translateX(100vw);transition:transform .5s cubic-bezier(.25,.2,.25,1)}.MediaView-enter-active,.MediaView-leave-active{transform:translateX(0);transition:transform .5s cubic-bezier(.25,.8,.25,1)}.MediaView-enter,.MediaView-leave-to{transform:translateX(100vw);transition:transform .5s cubic-bezier(.25,.2,.25,1)}.popUp-enter-active,.popUp-leave-active{transform:translateZ(0);transition:transform 1s cubic-bezier(.25,.2,.25,1)}.popUp-enter,.popUp-leave-to{transform:translate3d(0,150px,0);transition:transform 1s cubic-bezier(.25,.2,.25,1)}.mediaCapture-leave-active{opacity:1;transition:all .3s ease-out}.mediaCapture-leave-to{opacity:0;transition:all .3s ease-out}.scaleIn-enter-active,.scaleIn-leave-active{opacity:1;transform:scale(1);transform-origin:center center!important;transition:all .3s ease-out}.scaleIn-enter,.scaleIn-leave-to{transform:scale(.7);opacity:0}.slideFromTop-enter-active,.slideFromTop-leave-active{opacity:1;transform:translateZ(0);transform-origin:center center!important;transition:all .3s ease-out}.slideFromTop-enter,.slideFromTop-leave-to{transform:translate3d(0,-15px,0);opacity:0}.BackButton-enter-active,.BackButton-leave-active{max-width:100px;opacity:1;transition:all .5s cubic-bezier(.25,.2,.25,1)}.BackButton-enter,.BackButton-leave-to{max-width:0;opacity:0;transition:all .5s cubic-bezier(.25,.2,.25,1)}.MediaPublication-enter-active,.MediaPublication-leave-active{opacity:1;transition:all .5s cubic-bezier(.25,.2,.25,1)}.MediaPublication-enter,.MediaPublication-leave-to{opacity:0;transition:all .5s cubic-bezier(.25,.2,.25,1)}.enableMode-enter-active,.enableMode-leave-active{opacity:1;transition:all .1s ease-out}.enableMode-enter{opacity:0}.enableMode-leave-to{opacity:0;transition:all .3s ease-out}body[data-mode=export_publication] .m_publicationview--pages,body[data-mode=link_publication] .m_publicationview--pages{padding:0!important}body[data-mode=export_publication] .m_publicationview--pages--pageContainer,body[data-mode=link_publication] .m_publicationview--pages--pageContainer{width:auto!important;height:auto!important}body[data-mode=export_publication] .m_publicationview--pages--pageContainer:before,body[data-mode=link_publication] .m_publicationview--pages--pageContainer:before{display:none!important}body[data-mode=export_publication] .m_publicationMeta,body[data-mode=link_publication] .m_publicationMeta{max-width:400px;margin-left:auto;margin-right:auto;text-align:center}body[data-mode=export_publication] .m_publicationMeta .m_publicationMeta--topbar,body[data-mode=link_publication] .m_publicationMeta .m_publicationMeta--topbar{justify-content:center}body[data-mode=export_publication] .m_publicationview,body[data-mode=link_publication] .m_publicationview{height:auto;border:transparent;background-color:transparent;overflow-y:visible}body[data-mode=export_publication] .m_page,body[data-mode=link_publication] .m_page{box-shadow:0 2px 16px 0 rgba(0,0,0,.1)}body[data-mode=print_publication]{width:var(--page-width);height:calc(var(--page-height) - .3mm);overflow:hidden;background-color:transparent}body[data-mode=print_publication] #systemBar,body[data-mode=print_publication] .controlFrame,body[data-mode=print_publication] .hide_on_print,body[data-mode=print_publication] .m_activitiesPanel--do,body[data-mode=print_publication] .m_layerPanel,body[data-mode=print_publication] .m_mediaPublication--buttons,body[data-mode=print_publication] .m_modal--close_button,body[data-mode=print_publication] .m_modal--minimize_button,body[data-mode=print_publication] .m_modal--nav_left,body[data-mode=print_publication] .m_modal--nav_right,body[data-mode=print_publication] .m_page--grid,body[data-mode=print_publication] .m_page--margins_rule,body[data-mode=print_publication] .m_publicationFooter,body[data-mode=print_publication] .m_publicationMeta,body[data-mode=print_publication] .m_publicationSettings,body[data-mode=print_publication] .m_publicationview--pages--pageContainer:before,body[data-mode=print_publication] .m_scanQR,body[data-mode=print_publication] .m_topbar{display:none!important}body[data-mode=print_publication] .m_activitiesPanel--doc{border:none!important;background-color:transparent!important;padding:0!important}body[data-mode=print_publication] .m_publicationview{border:transparent}body[data-mode=print_publication] .m_drawingPad{margin:0;padding:0}body[data-mode=print_publication] .m_drawingPad .m_drawingPad--layer--backgroundContainer--background{box-shadow:none}body[data-mode=print_publication] .m_storyPublication{margin:0;padding:0}body[data-mode=print_publication] .m_storyPublication--content{margin-bottom:0;box-shadow:none;border-radius:0}body[data-mode=print_publication] .m_qrSnippet{background-color:transparent!important}body[data-mode=print_publication] .m_qrSnippet--motif{width:8cm!important;height:8cm!important}body[data-mode=print_publication] .m_activitiesPanel{height:auto!important}body[data-mode=print_publication] .vue-splitter-container{position:relative!important;height:auto!important;overflow:visible!important}body[data-mode=print_publication] .splitter-pane.splitter-pane{position:relative!important;height:auto!important;width:auto!important}body[data-mode=print_publication] .splitter-pane-resizer{display:none!important}body[data-mode=print_publication] .m_publicationview{position:relative;display:block;height:auto;padding:0;background-color:transparent!important;overflow:hidden}body[data-mode=print_publication] .m_publicationview--pages{display:block!important;padding:0!important;overflow:hidden;height:100%;-webkit-print-color-adjust:exact}body[data-mode=print_publication] .m_publicationview--pages>*{page-break-before:always;page-break-inside:avoid}body[data-mode=print_publication] .m_publicationview--pages--pageContainer{margin:0!important}body[data-mode=print_publication] .m_page{margin:0!important;transform:none!important;box-shadow:none;page-break-before:always;page-break-after:always;page-break-inside:avoid;-webkit-region-break-inside:avoid;box-shadow:none!important}body[data-mode=print_publication] .m_page:before{display:none!important}body[data-mode=print_publication] .m_mediaPublication{filter:none!important}body[data-mode=print_publication] .alertify-logs{display:none}');!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=c(e("./FullDodoc.vue")),i=c(e("./Survey.vue")),o=c(e("./components/modals/SessionPassword.vue")),r=c(e("./components/modals/AuthorsList.vue")),a=c(e("./components/subcomponents/MediaContent.vue")),s=c(e("./Publication.vue")),l=c(e("./components/modals/SimpleAuthorLogin.vue"));function c(e){return e&&e.__esModule?e:{default:e}}n.default={name:"app",components:{FullDodoc:t.default,Survey:i.default,AuthorsList:r.default,SessionPassword:o.default,Publication:s.default,SimpleAuthorLogin:l.default,MediaContent:a.default},props:{},data:function(){return{}},watch:{},created:function(){},beforeDestroy:function(){},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"is--wide":e.$root.screen_is_wide,"is--survey":"survey"===e.$root.store.request.display},attrs:{id:"app"}},["standalone"===e.$root.store.request.display?[n("div",{staticClass:"m_standaloneMedia"},[n("MediaContent",{attrs:{context:"full",autoplay:!0,slugFolderName:e.$root.store.request.slugFolderName,media:e.$root.requested_media},model:{value:e.$root.requested_media.content,callback:function(t){e.$set(e.$root.requested_media,"content",t)},expression:"$root.requested_media.content"}})],1)]:["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)&&e.$root.current_publication?[n("Publication",{attrs:{publication:e.$root.current_publication,read_only:!e.$root.state.connected}})]:"live"!==e.$root.state.mode||e.$root.state.authentificated?e.$root.showAuthorsListModal||e.$root.state.local_options.force_login&&!e.$root.current_author?[!e.$root.state.local_options.simple_login||e.$root.current_author&&"participant"!==e.$root.current_author.role?n("AuthorsList",{attrs:{authors:e.$root.store.authors,prevent_close:e.$root.state.local_options.force_login&&!e.$root.current_author},on:{close:function(t){e.$root.showAuthorsListModal=!1}}}):n("SimpleAuthorLogin",{attrs:{prevent_close:e.$root.state.local_options.force_login&&!e.$root.current_author},on:{close:function(t){e.$root.showAuthorsListModal=!1}}})]:"survey"===e.$root.store.request.display||e.$root.current_author&&"participant"===e.$root.current_author.role?[n("Survey")]:e._e():[e.$root.showSessionPasswordModal?n("SessionPassword",{attrs:{read_only:!e.$root.state.connected},on:{close:function(t){e.$root.showSessionPasswordModal=!1}}}):e._e()],e._v(" "),"live"!==e.$root.state.mode||"standalone"===e.$root.store.request.display||"survey"===e.$root.store.request.display||e.$root.current_author&&"participant"===e.$root.current_author.role||e.$root.state.local_options.force_login&&!e.$root.current_author?e._e():[n("FullDodoc")],e._v(" "),n("portal-target",{attrs:{name:"modal_container"}})],2)},i.staticRenderFns=[]},{"./FullDodoc.vue":199,"./Publication.vue":202,"./Survey.vue":204,"./components/modals/AuthorsList.vue":215,"./components/modals/SessionPassword.vue":230,"./components/modals/SimpleAuthorLogin.vue":232,"./components/subcomponents/MediaContent.vue":265,"vueify/lib/insert-css":182}],197:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=u(e("./components/subcomponents/MediaContent.vue")),i=u(e("./components/subcomponents/StopmotionPanel.vue")),o=u(e("./components/subcomponents/MediaValidationButtons.vue")),r=u(e("./components/subcomponents/DistantFlux.vue")),a=u(e("recordrtc"));e("webrtc-adapter");var s=u(e("imagetracerjs")),l=e("timers"),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(e("axios"));function u(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugFolderName:String,type:String,read_only:Boolean,available_modes:{type:Array,default:function(){return["photo","video","stopmotion","audio","vecto"]}},can_add_to_fav:{type:Boolean,default:!0}},components:{MediaContent:t.default,StopmotionPanel:i.default,MediaValidationButtons:o.default,DistantFlux:r.default},data:function(){return{selected_mode:"",is_saving:!1,available_mode_picto:{photo:"/images/i_icone-dodoc_image.svg",video:"/images/i_icone-dodoc_video.svg",stopmotion:"/images/i_icone-dodoc_anim.svg",audio:"/images/i_icone-dodoc_audio.svg",vecto:"/images/i_icone-dodoc_vecto.svg"},recordVideoFeed:void 0,recordVideoWithAudio:!0,id:(Math.random().toString(36)+"00000000000000000").slice(2,8),show_capture_settings:!1,show_stopmotion_list:!1,is_showing_live_feed:!0,capture_button_pressed:!1,videoStream:null,audioStream:null,available_devices:{},mode_just_changed:!1,is_recording:!1,timer_recording:!1,actual_current_video_resolution:!1,media_to_validate:!1,media_is_being_sent:!1,media_being_sent_percent:0,media_send_timeout:1e4,media_send_timeout_timer:!1,current_username:this.$root.settings.capture_options.distant_flux.username,callee_username:this.$root.settings.capture_options.distant_flux.callee_username,is_calling:!1,current_stopmotion:!1,is_validating_stopmotion_video:!1,timelapse_mode:!1,timelapse_interval:2,timelapse_event:!1,plyr_options:{controls:["play-large","play","progress","current-time","mute","volume","fullscreen"],iconUrl:"/images/plyr.svg"},ideal_camera_resolution:{name:"hd",width:1280,height:720},available_camera_resolutions:[{name:"vga",width:640,height:480},{name:"hd",width:1280,height:720},{name:"full hd",width:1920,height:1080}],selected_devicesId:{audioinput:"",videoinput:"",audiooutput:""},vecto:{svgstr:"",blurradius:0},stopmotion:{onion_skin_img:!1,onion_skin_opacity:0}}},created:function(){var e=this;console.log("CREATED • CaptureView"),this.listAllDevices().then(function(t){e.available_devices=t,Object.keys(e.selected_devicesId).map(function(t){if(e.sorted_available_devices.hasOwnProperty(t)){var n=e.sorted_available_devices[t].filter(function(n){return n.deviceId===e.$root.settings.capture_options.selected_devicesId[t]});if(n.length>0)return void(e.selected_devicesId[t]=n[0].deviceId);if("videoinput"===t){var i=e.sorted_available_devices[t].filter(function(e){return e.label.includes("back")});if(i.length>0)return void(e.selected_devicesId[t]=i[0].deviceId)}e.selected_devicesId[t]=e.sorted_available_devices[t][0].deviceId}}),""!==e.$root.settings.capture_options.selected_mode&&e.available_modes.includes(e.$root.settings.capture_options.selected_mode)?e.selected_mode=e.$root.settings.capture_options.selected_mode:e.selected_mode=e.available_modes[0],""!==e.$root.settings.capture_options.ideal_camera_resolution.width&&(e.ideal_camera_resolution=e.$root.settings.capture_options.ideal_camera_resolution)})},mounted:function(){document.addEventListener("keyup",this.captureKeyListener),this.$root.settings.capture_mode_cant_be_changed=!1},beforeDestroy:function(){document.removeEventListener("keyup",this.captureKeyListener),this.stopAllFeeds()},watch:{"selected_devicesId.audioinput":function(){console.log("WATCH • Capture: selected_devicesId.audioinput = "+this.selected_devicesId.audioinput),this.$root.settings.capture_options.selected_devicesId.audioinput=this.selected_devicesId.audioinput},"selected_devicesId.audiooutput":function(){console.log("WATCH • Capture: selected_devicesId.audiooutput = "+this.selected_devicesId.audiooutput),this.$root.settings.capture_options.selected_devicesId.audiooutput=this.selected_devicesId.audiooutput},"selected_devicesId.videoinput":function(){console.log("WATCH • Capture: selected_devicesId.videoinput = "+this.selected_devicesId.videoinput),this.$root.settings.capture_options.selected_devicesId.videoinput=this.selected_devicesId.videoinput},selected_mode:function(){var e=this;console.log("WATCH • Capture: selected_mode : "+this.selected_mode),this.mode_just_changed=!0,this.show_stopmotion_list=!1,this.$root.settings.capture_options.selected_mode=this.selected_mode,window.setTimeout(function(){e.mode_just_changed=!1},1e3),this.$nextTick(function(){e.startMode()})},is_recording:function(){d.setSarahCouleur(this.is_recording),this.is_recording?this.timer_recording=this.$root.currentTime:this.timer_recording=!1},ideal_camera_resolution:function(){console.log("WATCH • Capture: ideal_camera_resolution = "+Object.entries(this.ideal_camera_resolution)),this.$root.settings.capture_options.ideal_camera_resolution=this.ideal_camera_resolution},"$root.settings.capture_options.distant_flux.active":function(){this.startMode()},media_to_validate:function(){console.log("WATCH • Capture: media_to_validate = "+this.media_to_validate),this.media_to_validate?this.$refs.videoElement.pause():this.$refs.videoElement.play()},current_stopmotion:function(){this.$root.settings.capture_mode_cant_be_changed=!!this.current_stopmotion&&this.current_stopmotion},show_stopmotion_list:function(){this.show_stopmotion_list&&this.$socketio.listFolders({type:"stopmotions"})}},computed:{is_making_stopmotion:function(){var e=!!this.current_stopmotion;return e&&(this.show_capture_settings=!1),e},stopmotions:function(){var e=Object.values(this.$root.store.stopmotions);return e=this.$_.sortBy(e,function(e){return e.date_created}).reverse(),e},sorted_available_devices:function(){return this.$_.groupBy(this.available_devices,"kind")},uriToUploadMedia:function(){return window.location.origin+"/_file-upload/"+this.type+"/"+this.slugFolderName+"/?socketid="+this.$root.$socketio.socket.id},recording_duration:function(){return!!this.timer_recording&&this.$moment(this.$root.currentTime-this.timer_recording).startOf("second").format("mm:ss")},time_before_next_picture:function(){var e=this.$moment(this.$root.currentTime-this.timer_recording).seconds()%this.timelapse_interval;return 0===e?0:this.timelapse_interval-e}},methods:{listAllDevices:function(){var e=this;return new Promise(function(t,n){var i=[];i.push(new Promise(function(e,t){navigator.mediaDevices.enumerateDevices().then(function(t){return e(t)})})),e.$root.state.is_electron&&i.push(new Promise(function(e,t){window.require("electron").desktopCapturer.getSources({types:["window","screen"]},function(t,n){var i=n.reduce(function(e,t){return e.push(t),e},[]);return e(i)})})),Promise.all(i).then(function(e){var n=e.reduce(function(e,t){return t.map(function(t){var n=JSON.parse(JSON.stringify(t));n.hasOwnProperty("kind")?e.push(n):"Entire screen"===n.name&&(n.label=n.name,n.deviceId=n.id,n.kind="videoinput",e.push(n))}),e},[]);return t(n)})})},startMode:function(){var e=this;console.log("METHODS • CaptureView: startMode"),"photo"===this.selected_mode?this.stopAllFeeds().then(function(){e.startCameraFeed()}):"video"===this.selected_mode?this.stopAllFeeds().then(function(){e.startCameraFeed()}):"stopmotion"===this.selected_mode?this.stopAllFeeds().then(function(){e.startCameraFeed()}):"audio"===this.selected_mode?this.stopAllFeeds().then(function(){d.clearCanvas(),e.startAudioFeed().then(function(t){d.start(e.$refs.equalizerElement,t)}).catch(function(e){})}):"vecto"===this.selected_mode&&this.stopAllFeeds().then(function(){e.startVectoFeed()})},previousMode:function(){if(console.log("METHODS • CaptureView: previousMode"),!this.$root.settings.capture_mode_cant_be_changed){var e=this.available_modes.indexOf(this.selected_mode);e>0&&(this.selected_mode=this.available_modes[e-1])}},nextMode:function(){if(console.log("METHODS • CaptureView: nextMode"),!this.$root.settings.capture_mode_cant_be_changed){var e=this.available_modes.indexOf(this.selected_mode);e<this.available_modes.length-1&&(this.selected_mode=this.available_modes[e+1])}},updateSettings:function(){this.startMode(),this.$root.settings.capture_options.distant_flux.active&&(this.$root.settings.capture_options.distant_flux.username=this.current_username,this.$root.settings.capture_options.distant_flux.callee_username=this.callee_username,""!==this.$root.settings.capture_options.distant_flux.callee_username&&this.$eventHub.$emit("call_callee"))},captureKeyListener:function(e){if(console.log("METHODS • CaptureView: captureKeyListener"),this.media_to_validate||this.is_validating_stopmotion_video)return!1;switch(e.key){case"w":case"z":case"ArrowLeft":this.previousMode();break;case"s":case"ArrowRight":this.nextMode();break;case"a":case"q":case" ":this.captureOrStop()}},changeStreamTo:function(e){var t=this;console.log("METHODS • CaptureView: changeStreamTo"),this.videoStream=e,this.$refs.videoElement.srcObject=e,this.$refs.videoElement.volume=0,(0,l.setTimeout)(function(){t.$refs.videoElement.play()},500)},stopAudioFeed:function(){console.log("METHODS • CaptureView: stopAudioFeed"),this.audioStream&&(this.audioStream.getAudioTracks().forEach(function(e){e.stop()}),this.audioStream=null),d.stop()},stopVideoFeed:function(){if(console.log("METHODS • CaptureView: stopVideoFeed"),this.videoStream){var e=!0,t=!1,n=void 0;try{for(var i,o=this.videoStream.getVideoTracks()[Symbol.iterator]();!(e=(i=o.next()).done);e=!0){i.value.stop()}}catch(e){t=!0,n=e}finally{try{!e&&o.return&&o.return()}finally{if(t)throw n}}this.videoStream=null}},stopAllFeeds:function(){var e=this;return new Promise(function(t,n){console.log("METHODS • CaptureView: stopAllFeeds"),e.stopVideoFeed(),e.stopAudioFeed(),t()})},startCameraFeed:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise(function(n,i){if(console.log("METHODS • CaptureView: startCameraFeed"),""===e.selected_devicesId.videoinput)return i(e.$t("notifications.video_source_not_set"));e.getCameraFeed(t).then(function(t){return console.log("METHODS • CaptureView: startCameraFeed / got camera stream"),e.videoStream!==t&&(e.videoStream=t,e.$refs.videoElement.srcObject=t,e.$refs.videoElement.volume=0,e.$nextTick(function(){(0,l.setTimeout)(function(){e.$refs.videoElement.videoWidth&&(e.actual_current_video_resolution={width:e.$refs.videoElement.videoWidth,height:e.$refs.videoElement.videoHeight})},200)})),n()}).catch(function(t){e.$alertify.error(t),i()})})},getCameraFeed:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise(function(n,i){console.log("METHODS • CaptureView: getCameraFeed");var o={};o=e.selected_devicesId.videoinput.startsWith("screen:")?{audio:!1,video:{mandatory:{chromeMediaSource:"desktop",minWidth:e.ideal_camera_resolution.width,maxWidth:e.ideal_camera_resolution.width,minHeight:e.ideal_camera_resolution.height,maxHeight:e.ideal_camera_resolution.height}}}:{video:{deviceId:e.selected_devicesId.videoinput?{exact:e.selected_devicesId.videoinput}:void 0,width:{min:640,ideal:e.ideal_camera_resolution.width,max:1920},height:{min:480,ideal:e.ideal_camera_resolution.height,max:1080}},audio:t},navigator.getUserMedia(o,function(e){n(e)},function(t){return i(e.$t("notifications.failed_to_start_video_change_source_or_res")+"<br>"+t)})})},startAudioFeed:function(){var e=this;return new Promise(function(t,n){console.log("METHODS • CaptureView: startAudioFeed"),e.getAudioFeed().then(function(n){e.audioStream=n,t(n)}).catch(function(t){e.$alertify.error(t),n()})})},getAudioFeed:function(){var e=this;return new Promise(function(t,n){console.log("METHODS • CaptureView: getAudioFeed"),""===e.selected_devicesId.audioinput&&n(e.$t("notifications.audio_source_not_set"));var i={video:!1,audio:{optional:[{sourceId:e.selected_devicesId.audioinput}]}};navigator.getUserMedia(i,function(e){return t(e)},function(t){return n(e.$t("notifications.failed_to_start_video_change_source_or_res"))})})},getStaticImageFromVideoElement:function(){var e=this;return new Promise(function(t,n){var i=document.createElement("canvas");i.width=e.$refs.videoElement.videoWidth,i.height=e.$refs.videoElement.videoHeight,i.getContext("2d").drawImage(e.$refs.videoElement,0,0,i.width,i.height);i.toBlob(function(e){return t(e)},"image/jpeg",.95)})},startRecordCameraFeed:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise(function(n,i){e.startCameraFeed(t).then(function(){var t=(0,a.default)(e.videoStream),i={recorderType:a.default.MediaStreamRecorder,type:"video",videoBitsPerSecond:4112e3};(0,l.setTimeout)(function(){return t.startRecording(i)},500),e.is_recording=!0,e.$root.settings.capture_mode_cant_be_changed=!0,e.$eventHub.$on("capture.stopRecording",function(){e.$eventHub.$off("capture.stopRecording"),t.stopRecording(function(){e.is_recording=!1;var i=t.getBlob();return t=null,n(i)})})})})},startRecordAudioFeed:function(){var e=this;return new Promise(function(t,n){if(e.audioStream){var i=(0,a.default)(e.audioStream,{type:"audio"});i.startRecording(),e.is_recording=!0,e.$root.settings.capture_mode_cant_be_changed=!0,e.$eventHub.$on("capture.stopRecording",function(){e.$eventHub.$off("capture.stopRecording"),i.stopRecording(function(){e.is_recording=!1;var n=i.getBlob();return i=null,t(n)})})}})},captureOrStop:function(){var e=this;if(this.capture_button_pressed=!0,window.setTimeout(function(){e.capture_button_pressed=!1},400),"stopmotion"===this.selected_mode&&this.timelapse_mode){if(this.is_recording)return this.is_recording=!1,void clearInterval(this.timelapse_event);this.is_recording=!0,this.timelapse_event=window.setInterval(function(){e.capture_button_pressed=!0,window.setTimeout(function(){e.capture_button_pressed=!1},400),e.addStopmotionImage()},1e3*this.timelapse_interval)}this.is_recording&&"stopmotion"!==this.selected_mode?this.$eventHub.$emit("capture.stopRecording"):"photo"===this.selected_mode?this.getStaticImageFromVideoElement().then(function(t){e.media_to_validate={rawData:t,objectURL:URL.createObjectURL(t),type:"image"}}):"video"===this.selected_mode?(this.stopVideoFeed(),this.startRecordCameraFeed(this.recordVideoWithAudio).then(function(t){e.media_to_validate={rawData:t,objectURL:URL.createObjectURL(t),type:"video"}})):"audio"===this.selected_mode?(d.clearCanvas(),this.startRecordAudioFeed().then(function(t){var n=e.$refs.equalizerElement.toDataURL("image/png");e.media_to_validate={preview:n,rawData:t,objectURL:URL.createObjectURL(t),type:"audio"}})):"stopmotion"===this.selected_mode?this.addStopmotionImage():"vecto"===this.selected_mode&&(this.media_to_validate={preview:this.vecto.svgstr,rawData:new Blob([this.vecto.svgstr],{type:"text/xml"}),type:"svg"})},addStopmotionImage:function(){var e=this,t={name:this.slugFolderName+"-"+this.$moment().format("YYYYMMDD_HHmmss"),linked_folder:this.slugFolderName,linked_type:this.type,authors:this.$root.current_author?[{slugFolderName:this.$root.current_author.slugFolderName}]:""};this.getStaticImageFromVideoElement().then(function(n){e.current_stopmotion?e.addImageToStopmotion(n):e.$root.createFolder({type:"stopmotions",data:t}).then(function(t){e.current_stopmotion=t.slugFolderName,e.addImageToStopmotion(n)})})},addImageToStopmotion:function(e){var t=this;console.log("METHODS • CaptureView: addImageToStopmotion"),this.is_saving=!0;var n=(0,l.setTimeout)(function(){t.is_saving&&(t.is_saving=!1,t.$alertify.closeLogOnClick(!0).delay(4e3).error(t.$t("notifications.failed_to_save_media")))},5e3);this.$root.createMedia({slugFolderName:this.current_stopmotion,type:"stopmotions",rawData:e,additionalMeta:{type:"image"}}).then(function(e){t.is_saving=!1,clearTimeout(n)})},startVectoFeed:function(){var e=this;return new Promise(function(t,n){if(console.log("METHODS • CaptureView: startVectoFeed"),""===e.selected_devicesId.videoinput)return n(e.$t("notifications.video_source_not_set"));e.ideal_camera_resolution=e.available_camera_resolutions[0],e.startCameraFeed().then(function(){window.setTimeout(function t(){"vecto"===e.selected_mode&&e.videoStream&&(e.media_to_validate?window.setTimeout(t,1e3):e.getStaticImageFromVideoElement().then(function(n){s.default.imageToSVG(URL.createObjectURL(n),function(n){e.vecto.svgstr=n,window.setTimeout(t,1e3)},{colorsampling:!1,numberofcolors:2,colorquantcycles:1,scale:1,strokewidth:1,blurradius:e.vecto.blurradius,pal:[{r:255,g:255,b:255,a:255},{r:0,g:0,b:0,a:255}]})}))},500),t()}).catch(function(t){e.$alertify.error(t),n()})})},sendMedia:function(e){var t=this,n=e.fav,i=void 0!==n&&n;return new Promise(function(e,n){console.log("METHODS • CaptureView: sendMedia with fav="+i),"debug"===t.$root.state.dev_mode&&console.log("METHODS • CaptureView / sendMedia"),t.$root.settings.capture_mode_cant_be_changed=!1;var o=t.$moment().format("YYYYMMDD_HHmmss"),r=(Math.random().toString(36)+"00000000000000000").slice(2,5),a=t.media_to_validate.type+"-"+o+"-"+r+"."+{image:"jpeg",video:"webm",audio:"wav",svg:"svg"}[t.media_to_validate.type],s=new Date,l=t.media_to_validate.rawData,u=new FormData;u.append("files",l,a);var d={fileCreationDate:s,fav:i,authors:t.$root.current_author?[{slugFolderName:t.$root.current_author.slugFolderName}]:""};u.append(a,JSON.stringify(d));var p=t.$socketio.socket.id;void 0!==p&&u.append("socketid",p),"debug"===t.$root.state.dev_mode&&console.log("METHODS • sendThisFile: name = "+a+" / formData is ready"),t.media_is_being_sent=!0,t.media_being_sent_percent=0,c.post(t.uriToUploadMedia,u,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(e){console.log("METHODS • CaptureView: onUploadProgress for name = "+a+" / "+parseInt(Math.round(100*e.loaded/e.total))+"% "),this.media_being_sent_percent=parseInt(Math.round(100*e.loaded/e.total))}.bind(t)}).then(function(e){return e.data}).then(function(n){"debug"===t.$root.state.dev_mode&&console.log("METHODS • CaptureView: name = "+a+" / success uploading"),t.$alertify.closeLogOnClick(!0).delay(4e3).success(t.$t("notifications.media_was_sent")),t.media_is_being_sent=!1,t.media_to_validate=!1,t.$emit("insertMedias",[n.metaFileNames[0]]),e()}).catch(function(e){"debug"===t.$root.state.dev_mode&&console.log("METHODS • sendThisFile: name = "+a+" / failed uploading"),t.media_is_being_sent=!1,t.media_being_sent_percent=0,t.$alertify.closeLogOnClick(!0).delay(4e3).error(t.$t("notifications.media_couldnt_be_sent")),n()})})},cancelValidation:function(){this.media_to_validate=!1,this.$root.settings.capture_mode_cant_be_changed=!1},updateSingleImage:function(e){this.stopmotion.onion_skin_img=e},loadStopmotionMedias:function(e){0===Object.values(this.$root.store.stopmotions[e].medias).length&&this.$socketio.listMedias({type:"stopmotions",slugFolderName:e})},loadStopmotion:function(e){this.current_stopmotion=e}}};var d=function(){window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e,t){window.setTimeout(e,1e3/60)};var e,t,n,i,o,r,a,s="gray",l=1024,c=0,u=1280,d=720;function p(){for(var e=9999999,t=0,n=0;n<i.length;n++){var o=i[n]/256;o>t?t=o:o<e&&(e=o)}var r=d-d*e-1,l=d-d*t-1;a.fillStyle=s,a.fillRect(c,r,1,l-r),(c+=1)>=u&&(c=0,f())}function f(){if(void 0!==a){c=0,a.clearRect(0,0,u,d),a.strokeStyle="blue";var e=d/2+.5;a.moveTo(0,e),a.lineTo(u-1,e),a.stroke()}}return{start:function(s,c){a=s.getContext("2d"),window.AudioContext=window.AudioContext||window.mozAudioContext;try{e=new AudioContext}catch(e){console.log("Web Audio API is not supported in this browser")}!function(a){console.log("starting equalizer"),f(),function(a){r=e.createMediaStreamSource(a),o=a,t=e.createAnalyser(),n=e.createScriptProcessor(l,1,1),i=new Uint8Array(t.frequencyBinCount),n.onaudioprocess=function(){i=new Uint8Array(t.frequencyBinCount),t.getByteTimeDomainData(i),requestAnimFrame(p)},r.connect(t),t.connect(n),n.connect(e.destination)}(a)}(c)},stop:function(){!function(){void 0!==n&&(n.onaudioprocess=null);void 0!==o&&o.stop();void 0!==r&&r.disconnect()}()},setSarahCouleur:function(e){s=e?"red":"gray"},clearCanvas:function(){f()}}}()}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_captureview"},[n("div",{staticClass:"m_captureview--modeSelector"},[n("button",{directives:[{name:"show",rawName:"v-show",value:!e.$root.settings.capture_mode_cant_be_changed,expression:"!$root.settings.capture_mode_cant_be_changed"}],staticClass:"bg-transparent",attrs:{type:"button"},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.previousMode()},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.previousMode()}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 169 169"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"169px",height:"169px",viewBox:"0 0 169 169","xml:space":"preserve"}},[n("path",{attrs:{fill:"currentColor",d:"M60.2,84.5l48.6-24.3l0,48.6L60.2,84.5z"}})])]),e._v(" "),e._l(e.available_modes,function(t){return n("div",{key:t},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.selected_mode,expression:"selected_mode"}],attrs:{type:"radio",id:e.id+t,disabled:e.$root.settings.capture_mode_cant_be_changed},domProps:{value:t,checked:e._q(e.selected_mode,t)},on:{change:function(n){e.selected_mode=t}}}),e._v(" "),n("label",{attrs:{for:e.id+t}},[n("div",{staticClass:"picto"},[n("img",{attrs:{src:e.available_mode_picto[t]}})]),e._v(" "),n("span",[e._v(e._s(e.$t(t)))])])])}),e._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:!e.$root.settings.capture_mode_cant_be_changed,expression:"!$root.settings.capture_mode_cant_be_changed"}],staticClass:"bg-transparent",attrs:{type:"button"},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.nextMode()},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.nextMode()}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 169 169"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"169px",height:"169px",viewBox:"0 0 169 169","xml:space":"preserve"}},[n("path",{attrs:{fill:"currentColor",d:"M108.8,84.5l-48.6,24.3V60.2L108.8,84.5z"}})])])],2),e._v(" "),n("div",{staticClass:"m_captureview--panels",class:{stopmotion_inprogress:e.$root.store.stopmotions.hasOwnProperty(e.current_stopmotion)}},[n("div",{staticClass:"m_panel"},[n("transition",{attrs:{name:"enableMode",duration:400}},[e.mode_just_changed?n("div",{staticClass:"m_panel--modeOverlay"},[e._v("\n "+e._s(e.$t(e.selected_mode))+"\n ")]):e._e()]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.is_validating_stopmotion_video,expression:"!is_validating_stopmotion_video"}],staticClass:"m_panel--previewCard"},[n("div",{staticClass:"m_panel--previewCard--live",class:{"is--recording":e.is_recording}},[n("transition",{attrs:{name:"slideleft",duration:400}},[e.show_capture_settings&&!e.is_recording?n("div",{staticClass:"m_panel--previewCard--live--options"},[n("div",{staticClass:"margin-bottom-small"},[n("div",[n("label",[e._v("Sources")])]),e._v(" "),e._l(e.selected_devicesId,function(t,i){return n("div",{key:i},[n("span",{staticClass:"font-verysmall"},[e._v(e._s(e.$t(i)))]),e._v(" "),e.sorted_available_devices.hasOwnProperty(i)?n("select",{directives:[{name:"model",rawName:"v-model",value:e.selected_devicesId[i],expression:"selected_devicesId[kind]"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.selected_devicesId,i,t.target.multiple?n:n[0])}}},e._l(e.sorted_available_devices[i],function(t,i){return n("option",{key:t.deviceId,domProps:{value:t.deviceId}},[""===t.label?[e._v(e._s(e.$t("device"))+" "+e._s(i))]:[e._v(e._s(e.$t(t.label)))]],2)}),0):e._e()])})],2),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("div",[n("label",[e._v("Resolution")])]),e._v(" "),e.actual_current_video_resolution?n("div",[n("span",{staticClass:"font-verysmall"},[e._v("\n "+e._s(e.$t("current"))+" :\n "+e._s(e.actual_current_video_resolution.width)+" x\n "+e._s(e.actual_current_video_resolution.height)+"\n ")])]):e._e(),e._v(" "),e._l(e.available_camera_resolutions,function(t){return n("div",{key:t.name},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.ideal_camera_resolution,expression:"ideal_camera_resolution"}],attrs:{type:"radio",id:t.name},domProps:{value:t,checked:e._q(e.ideal_camera_resolution,t)},on:{change:function(n){e.ideal_camera_resolution=t}}}),e._v(" "),n("label",{attrs:{for:t.name}},[n("span",[e._v(e._s(t.name))])])])})],2),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("div",[n("label",[e._v("Accès à distance (experimental)")])]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.$root.settings.capture_options.distant_flux.active,expression:"\n $root.settings.capture_options.distant_flux.active\n "}],staticClass:"switch",attrs:{type:"checkbox",id:"distantaccessswitch"},domProps:{checked:Array.isArray(e.$root.settings.capture_options.distant_flux.active)?e._i(e.$root.settings.capture_options.distant_flux.active,null)>-1:e.$root.settings.capture_options.distant_flux.active},on:{change:function(t){var n=e.$root.settings.capture_options.distant_flux.active,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&e.$set(e.$root.settings.capture_options.distant_flux,"active",n.concat([null])):r>-1&&e.$set(e.$root.settings.capture_options.distant_flux,"active",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.$root.settings.capture_options.distant_flux,"active",o)}}}),e._v(" "),n("label",{attrs:{for:"distantaccessswitch"}},[e._v("Activer")])])]),e._v(" "),e.$root.settings.capture_options.distant_flux.active?[n("div",{staticClass:"margin-bottom-small"},[n("span",{staticClass:"font-verysmall"},[e._v("Partager les flux sous le nom :")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.current_username,expression:"current_username"}],attrs:{type:"text"},domProps:{value:e.current_username},on:{input:function(t){t.target.composing||(e.current_username=t.target.value)}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("span",{staticClass:"font-verysmall"},[e._v("Accéder au flux qui a le nom :")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.callee_username,expression:"callee_username"}],attrs:{type:"text"},domProps:{value:e.callee_username},on:{input:function(t){t.target.composing||(e.callee_username=t.target.value)}}})])]:e._e()],2),e._v(" "),n("hr"),e._v(" "),n("button",{staticClass:"button button-bg_rounded button-outline c-rouge",attrs:{type:"button"},on:{click:e.updateSettings}},[n("span",{},[e._v(e._s(e.$t("update")))])])]):e._e()]),e._v(" "),n("transition-group",{staticClass:"recording_timer",attrs:{tag:"div",name:"slideFromTop"}},["stopmotion"!==e.selected_mode&&e.is_recording&&e.recording_duration?n("label",{key:"duration",domProps:{innerHTML:e._s(e.recording_duration)}}):e._e(),e._v(" "),"stopmotion"===e.selected_mode&&e.is_recording&&e.recording_duration?n("label",{key:"time_before",domProps:{innerHTML:e._s(e.time_before_next_picture)}}):e._e(),e._v(" "),"stopmotion"===e.selected_mode&&e.timelapse_mode?n("div",{key:"timelapse_interval",staticClass:"recording_timer--timelapse"},[n("div",[n("span",[e._v(e._s(e.$t("interval_between_pictures")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.timelapse_interval,expression:"timelapse_interval",modifiers:{number:!0}}],attrs:{type:"number"},domProps:{value:e.timelapse_interval},on:{input:function(t){t.target.composing||(e.timelapse_interval=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),n("span",[e._v(e._s(e.$t("seconds")))])])]):e._e()]),e._v(" "),n("video",{directives:[{name:"show",rawName:"v-show",value:["photo","video","stopmotion"].includes(e.selected_mode),expression:"['photo', 'video', 'stopmotion'].includes(selected_mode)"}],ref:"videoElement",attrs:{autoplay:"",playsinline:""}}),e._v(" "),"audio"===e.selected_mode?n("canvas",{ref:"equalizerElement",staticClass:"m_panel--previewCard--live--equalizer",attrs:{width:"1280",height:"720"}}):e._e(),e._v(" "),"stopmotion"===e.selected_mode&&e.stopmotion.onion_skin_img&&e.current_stopmotion?n("MediaContent",{staticClass:"m_panel--previewCard--live--onionskin",style:e.is_showing_live_feed?"--onionskin-opacity: "+e.stopmotion.onion_skin_opacity:"",attrs:{context:"edit",slugFolderName:e.current_stopmotion,media:e.stopmotion.onion_skin_img,folderType:"stopmotions"}}):e._e(),e._v(" "),"vecto"===e.selected_mode?n("div",{attrs:{id:"vectoContainer"},domProps:{innerHTML:e._s(e.vecto.svgstr)}}):e._e(),e._v(" "),n("transition",{attrs:{name:"slideright",duration:400}},[e.show_stopmotion_list&&!e.is_making_stopmotion?n("div",{staticClass:"m_panel--previewCard--live--stopmotionlist"},[n("div",{staticClass:"margin-bottom-small"},[Object.keys(e.stopmotions).length>0?[n("ul",e._l(e.stopmotions,function(t){return n("li",{key:t.slugFolderName},[n("button",{attrs:{type:"button"},on:{mouseenter:function(n){return e.loadStopmotionMedias(t.slugFolderName)},click:function(n){return e.loadStopmotion(t.slugFolderName)}}},[n("div",{staticClass:"padding-verysmall"},[e._v("\n "+e._s(t.date_created)+"\n ")]),e._v(" "),Object.values(t.medias).length>0?[n("div",{staticClass:"padding-bottom-verysmall"},[e._v("\n "+e._s(Object.values(t.medias).length)+"\n photos\n ")]),e._v(" "),n("div",{staticClass:"pictures_list"},e._l(Object.values(t.medias),function(e){return n("div",{key:e.slugMediaName},[n("MediaContent",{attrs:{context:"preview",slugFolderName:t.slugFolderName,media:e,folderType:"stopmotions",preview_size:150}})],1)}),0)]:e._e()],2)])}),0)]:[e._v("\n "+e._s(e.$t("no_stopmotion_created_yet"))+"\n ")]],2)]):e._e()])],1),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:150}},[e.media_to_validate?n("div",{staticClass:"m_panel--previewCard--validate"},["image"===e.media_to_validate.type?n("img",{attrs:{src:e.media_to_validate.objectURL}}):"video"===e.media_to_validate.type?n("vue-plyr",{attrs:{options:e.plyr_options}},[n("video",{attrs:{poster:e.linkToVideoThumb,src:e.media_to_validate.objectURL,preload:"none"}})]):"audio"===e.media_to_validate.type?n("div",{staticClass:"m_panel--previewCard--validate--audio"},[n("img",{attrs:{src:e.media_to_validate.preview}}),e._v(" "),n("vue-plyr",{attrs:{options:e.plyr_options}},[n("audio",{attrs:{src:e.media_to_validate.objectURL,preload:"none"}})])],1):"svg"===e.media_to_validate.type?n("div",{staticClass:"m_panel--previewCard--validate--svg",domProps:{innerHTML:e._s(e.media_to_validate.preview)}}):e._e()],1):e._e()]),e._v(" "),n("transition",{attrs:{name:"mediaCapture",duration:300}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.capture_button_pressed,expression:"capture_button_pressed"}],staticClass:"m_panel--previewCard--captureOverlay"})])],1),e._v(" "),e.$root.store.stopmotions.hasOwnProperty(e.current_stopmotion)?n("StopmotionPanel",{attrs:{stopmotiondata:e.$root.store.stopmotions[e.current_stopmotion],type:e.type,slugFolderName:e.slugFolderName,read_only:e.read_only,videoStream:e.videoStream,can_add_to_fav:e.can_add_to_fav},on:{saveMedia:function(t){return e.$emit("insertMedias",[t])},close:function(t){e.current_stopmotion=!1},new_single_image:e.updateSingleImage,show_live_feed:function(t){e.is_showing_live_feed=t},validating_video:function(t){e.is_validating_stopmotion_video=t}}}):e._e(),e._v(" "),n("div",{staticClass:"m_panel--buttons"},[n("div",{staticClass:"m_panel--buttons--row",class:{"bg-orange":e.is_recording}},[n("button",{staticClass:"button c-rouge font-small bg-transparent",attrs:{type:"button",disabled:e.is_recording||e.is_making_stopmotion},on:{click:function(t){e.show_capture_settings=!e.show_capture_settings}}},[n("svg",{staticClass:"inline-svg inline-svg_larger",attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 140 140","xml:space":"preserve"}},[n("path",{staticStyle:{fill:"currentColor"},attrs:{d:"M122.7,88.8v-10c0-1.1,0.6-2.1,1.6-2.6l9.6-4.9l-2-5.8l-11,1.6c-1.1,0.2-2.2-0.3-2.9-1.2l-6-8.1\n c-0.7-0.9-0.8-2.1-0.3-3l4.8-9.6l-5.2-3.6l-7.7,7.5c-0.8,0.8-2,1-3.1,0.7l-9.9-3c-1.1-0.3-1.9-1.3-2.1-2.4L86.8,34h-6.4l-1.7,10.4\n c-0.2,1.1-0.9,2-2,2.4L66.8,50c-1.1,0.3-2.2,0.1-3.1-0.7L55.9,42l-5.1,3.7l4.9,9.4c0.5,1,0.4,2.1-0.2,3l-6,8.2\n c-0.6,0.9-1.8,1.4-2.9,1.2L35.8,66L34,71.8l9.7,4.8c1,0.5,1.7,1.5,1.7,2.6v10c0,1.1-0.6,2.1-1.6,2.6l-9.6,4.9l2,5.9l10.9-1.6\n c1.1-0.2,2.2,0.3,2.9,1.2l6,8.1c0.7,0.9,0.8,2.1,0.3,3l-4.8,9.6l5.1,3.6l7.7-7.5c0.8-0.8,2-1,3.1-0.7l9.9,3\n c1.1,0.3,1.9,1.3,2.1,2.4l1.9,10.4h6.4l1.7-10.4c0.2-1.1,0.9-2,2-2.4l9.9-3.2c1.1-0.3,2.2-0.1,3.1,0.7l7.8,7.3l5.1-3.7l-4.9-9.4\n c-0.5-1-0.4-2.1,0.2-3l6-8.1c0.7-0.9,1.8-1.4,2.9-1.2l10.8,1.5l1.8-5.9l-9.7-4.8C123.3,90.9,122.7,89.9,122.7,88.8z M84,104.5\n c-11.7,0-21.1-9.2-21.1-20.5c0-11.3,9.5-20.5,21.1-20.5s21.1,9.2,21.1,20.5C105.1,95.3,95.7,104.5,84,104.5z"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("settings")))])]),e._v(" "),n("div",{staticClass:"m_panel--buttons--row--captureButton"},[n("button",{staticClass:"padding-verysmall bg-transparent m_panel--buttons--row--captureButton--btn",class:{"is--justCaptured":e.capture_button_pressed},attrs:{type:"button",disabled:e.is_saving},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.captureOrStop()},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.captureOrStop()}}},[e.is_recording?n("img",{attrs:{src:"/images/i_stop.svg"}}):n("img",{attrs:{src:"/images/i_record.svg"}})]),e._v(" "),"stopmotion"===e.selected_mode?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],staticClass:"m_panel--buttons--row--captureButton--advancedOptions",class:{"is--active":e.timelapse_mode},attrs:{type:"button",content:e.$t("timelapse")},on:{click:function(t){e.timelapse_mode=!e.timelapse_mode}}},[n("svg",{staticClass:"inline-svg margin-right-verysmall",staticStyle:{"enable-background":"new 0 0 81 81"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"81px",height:"81px",viewBox:"0 0 81 81","xml:space":"preserve"}},[n("path",{staticClass:"st1",attrs:{d:"M69.6,20.8c-0.9,0.6-1.7,1.1-2.6,1.7c-6-8.8-15.9-14-26.5-14c-17.6,0-32,14.4-32,32s14.4,32,32,32\n c3.1,0,6.2-0.4,9.1-1.3l-1.7-5.8c-2.4,0.7-4.9,1.1-7.4,1.1c-14.3,0-26-11.7-26-26s11.7-26,26-26c8.6,0,16.6,4.2,21.5,11.4\n c-0.8,0.5-1.6,1.1-2.4,1.6c-0.7,0.4-0.9,1.1-0.8,1.7c0,0.7,0.4,1.4,1.2,1.6c0.2,0.1,0.3,0.1,0.5,0.1c2.7,0.5,5.3,1.1,8,1.6\n c1,0.2,2-0.4,2.3-1.4c0.6-2.8,1.1-5.5,1.7-8.3C72.8,21.3,71,19.9,69.6,20.8z"}}),e._v(" "),n("path",{staticClass:"st1",attrs:{d:"M23,49.4c-1.3,0-2.4-0.8-2.9-2.1c-0.5-1.6,0.4-3.3,1.9-3.8L39,38.3V27.2c0-1.7,1.3-3,3-3s3,1.3,3,3v13.3\n c0,1.3-0.8,2.5-2.1,2.9l-19,5.9C23.6,49.4,23.3,49.4,23,49.4z"}})])]):e._e()]),e._v(" "),n("div",{staticClass:"m_panel--buttons--row--options"},["vecto"===e.selected_mode?n("div",[n("label",[e._v(e._s(e.$t("smoothing")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.vecto.blurradius,expression:"vecto.blurradius"}],staticClass:"margin-none",attrs:{type:"range",min:"0",max:"20"},domProps:{value:e.vecto.blurradius},on:{__r:function(t){return e.$set(e.vecto,"blurradius",t.target.value)}}})]):e._e(),e._v(" "),"stopmotion"===e.selected_mode&&e.stopmotion.onion_skin_img&&e.is_showing_live_feed?n("div",[n("label",[e._v(e._s(e.$t("onion_skin")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.stopmotion.onion_skin_opacity,expression:"stopmotion.onion_skin_opacity"}],staticClass:"margin-none",attrs:{type:"range",min:"0",max:".9",step:"0.01"},domProps:{value:e.stopmotion.onion_skin_opacity},on:{__r:function(t){return e.$set(e.stopmotion,"onion_skin_opacity",t.target.value)}}})]):e._e(),e._v(" "),"stopmotion"!==e.selected_mode||e.is_making_stopmotion?e._e():n("button",{staticClass:"button c-bleumarine font-small bg-transparent",attrs:{type:"button"},on:{click:function(t){e.show_stopmotion_list=!e.show_stopmotion_list}}},[n("span",{},[e._v(e._s(e.$t("stopmotion_list")))])]),e._v(" "),"video"===e.selected_mode?n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.recordVideoWithAudio,expression:"recordVideoWithAudio"}],staticClass:"switch",attrs:{id:"recordVideoWithAudio",type:"checkbox",disabled:e.is_recording},domProps:{checked:Array.isArray(e.recordVideoWithAudio)?e._i(e.recordVideoWithAudio,null)>-1:e.recordVideoWithAudio},on:{change:function(t){var n=e.recordVideoWithAudio,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&(e.recordVideoWithAudio=n.concat([null])):r>-1&&(e.recordVideoWithAudio=n.slice(0,r).concat(n.slice(r+1)))}else e.recordVideoWithAudio=o}}}),e._v(" "),n("label",{attrs:{for:"recordVideoWithAudio"}},[e._v(e._s(e.$t("with_sound")))])]):e._e()])]),e._v(" "),n("transition",{attrs:{name:"slideup",duration:400}},[e.media_to_validate?n("MediaValidationButtons",{attrs:{read_only:e.read_only,can_add_to_fav:e.can_add_to_fav,media_is_being_sent:e.media_is_being_sent,media_being_sent_percent:e.media_being_sent_percent},on:{cancel:function(t){return e.cancelValidation()},save:function(t){return e.sendMedia({})},save_and_fav:function(t){return e.sendMedia({fav:!0})}}}):e._e()],1)],1)],1)]),e._v(" "),e.$root.settings.capture_options.distant_flux.active?n("DistantFlux",{key:e.$root.settings.capture_options.distant_flux.username,on:{changeStreamTo:function(t){e.changeStreamTo(t)}}}):e._e()],1)},i.staticRenderFns=[]},{"./components/subcomponents/DistantFlux.vue":259,"./components/subcomponents/MediaContent.vue":265,"./components/subcomponents/MediaValidationButtons.vue":272,"./components/subcomponents/StopmotionPanel.vue":280,axios:6,imagetracerjs:70,recordrtc:117,timers:168,"webrtc-adapter":183}],198:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=r(e("./components/modals/CreateChat.vue")),i=r(e("./components/ChatRow.vue")),o=r(e("./components/Chat.vue"));function r(e){return e&&e.__esModule?e:{default:e}}n.default={props:{read_only:Boolean,chats:Object},components:{CreateChat:t.default,ChatRow:i.default,Chat:o.default},data:function(){return{show_create_channel_modal:!1,show_only_content_i_can_access:!0,new_channel_name:""}},created:function(){},mounted:function(){this.$socketio.listFolders({type:"chats"})},beforeDestroy:function(){},watch:{},computed:{all_chats:function(){return Object.values(this.chats)},filtered_chats:function(){var e=this,t=this.all_chats;return this.show_only_content_i_can_access&&this.$root.current_author?t.filter(function(t){return e.$root.canSeeFolder({type:"chats",slugFolderName:t.slugFolderName})}):t},pinned_chats:function(){if(0===this.filtered_chats.length)return[];var e=this.filtered_chats.filter(function(e){return!0===e.pinned});return e=this.$_.sortBy(e,function(e){return e.name.toLowerCase()}),e},non_pinned_chats:function(){if(0===this.filtered_chats.length)return[];var e=this.filtered_chats.filter(function(e){return!e.pinned||!1===e.pinned});return e=this.$_.sortBy(e,"date_modified"),e=e.reverse(),e}},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_chatsview"},[n("div",{staticClass:"m_actionbar"},[n("div",{staticClass:"m_actionbar--buttonBar"}),e._v(" "),n("div",{staticClass:"m_actionbar--text"},[e._v(e._s(e.$t("channels_instructions")))])]),e._v(" "),n("div",{staticClass:"m_channels"},[n("div",{staticClass:"m_channels--content"},[n("h3",{staticClass:"font-folder_title"},[e._v(e._s(e.$t("channels_list")))]),e._v(" "),n("div",{staticClass:"margin-vert-small"},[e.$root.current_author?[n("button",{staticClass:"barButton barButton_createChannel",attrs:{type:"button"},on:{click:function(t){e.show_create_channel_modal=!e.show_create_channel_modal}}},[n("span",[e._v(e._s(e.$t("create")))])]),e._v(" "),e.show_create_channel_modal?n("CreateChat",{on:{close:function(t){e.show_create_channel_modal=!1}}}):e._e()]:[n("div",[n("button",{staticClass:"button-thin bg-bleumarine margin-left-none",attrs:{type:"button"},on:{click:function(t){e.$root.showAuthorsListModal=!0}}},[e._v("\n "+e._s(e.$t("login_to_create_channel"))+"\n ")])])]],2),e._v(" "),n("div",{staticClass:"m_actionbar",staticStyle:{"margin-left":"0px","margin-right":"0px"}},[n("div",[n("div",{staticClass:"m_actionbar--text"},[e._v("\n "+e._s(e.$t("showing"))+"\n "),n("span",{class:{"c-bleumarine":Object.keys(e.all_chats).length!==Object.keys(e.filtered_chats).length}},[e._v("\n "+e._s(Object.keys(e.filtered_chats).length)+"\n "+e._s(e.$t("channels_of"))+"\n "+e._s(Object.keys(e.all_chats).length)+"\n ")])])]),e._v(" "),e.$root.current_author?n("div",{staticClass:"m_displayMyContent"},[n("span",[e._v(e._s(e.$t("show")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.show_only_content_i_can_access,expression:"show_only_content_i_can_access"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.show_only_content_i_can_access=t.target.multiple?n:n[0]}}},[n("option",{domProps:{value:!0}},[e._v("\n "+e._s(e.$t("only_channels_i_participate_in").toLowerCase())+"\n ")]),e._v(" "),n("option",{domProps:{value:!1}},[e._v("\n "+e._s(e.$t("all_channels").toLowerCase())+"\n ")])])]):e._e()]),e._v(" "),n("div",{staticClass:"m_chats--list"},[e._l(e.pinned_chats,function(e,t){return n("ChatRow",{key:"pinned_"+t,attrs:{chat:e}})}),e._v(" "),n("hr"),e._v(" "),e._l(e.non_pinned_chats,function(e,t){return n("ChatRow",{key:"nonpinned_"+t,attrs:{chat:e}})})],2)])]),e._v(" "),n("transition",{attrs:{name:"slideright",duration:500}},[e.$root.current_chat?n("Chat",{attrs:{chat:e.$root.current_chat}}):e._e()],1)],1)},i.staticRenderFns=[]},{"./components/Chat.vue":209,"./components/ChatRow.vue":210,"./components/modals/CreateChat.vue":218}],199:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=f(e("./SystemBar.vue")),i=f(e("./TopBar.vue")),o=f(e("./ListView.vue")),r=f(e("./Chats.vue")),a=f(e("./ProjectView.vue")),s=f(e("./CaptureView.vue")),l=f(e("./components/modals/EditMedia.vue")),c=f(e("./Publications.vue")),u=f(e("./Publication.vue")),d=e("splitpanes"),p=f(e("./components/subcomponents/MediaContent.vue"));function f(e){return e&&e.__esModule?e:{default:e}}n.default={props:{},components:{SystemBar:t.default,TopBar:i.default,ListView:o.default,Chats:r.default,ProjectView:a.default,CaptureView:s.default,EditMedia:l.default,Publications:c.default,Publication:u.default,Splitpanes:d.Splitpanes,Pane:d.Pane,MediaContent:p.default},data:function(){return{panels_width:{doPane:100,docPane:0,chatPane:0}}},created:function(){this.$eventHub.$on("resizePanels",this.resize),this.$root.state.local_options.force_login},mounted:function(){},beforeDestroy:function(){this.$eventHub.$off("resizePanels",this.resize)},watch:{panels_width:{handler:function(){this.panels_width.docPane>.01&&!this.$root.settings.show_publi_panel?this.$root.openPubliPanel():this.panels_width.docPane<=.01&&this.$root.settings.show_publi_panel&&this.$root.closePubliPanel(),this.panels_width.chatPane>.01&&!this.$root.settings.show_chat_panel?this.$root.openChatPanel():this.panels_width.chatPane<=.01&&this.$root.settings.show_chat_panel&&this.$root.closeChatPanel()},deep:!0}},computed:{activitiesPanel_is_large:function(){return!(this.panels_width.doPane/100*this.$root.settings.windowWidth<850)&&!(this.$root.settings.windowHeight<650)}},methods:{resize:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • App: splitpanes resize"),this.panels_width.doPane=e[0].size,this.panels_width.docPane=e[1].size,this.panels_width.chatPane=e[2].size},resized:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • App: splitpanes resized"),this.$eventHub.$emit("activity_panels_resized")},splitterClicked:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • App: splitpanes splitterClicked with e.index = "+e.index),1===e.index?this.panels_width.docPane<=.01?(this.panels_width.chatPane<=.01?this.panels_width.doPane=50:(this.panels_width.chatPane=25,this.panels_width.doPane=25),this.panels_width.docPane=50):(this.panels_width.chatPane<=.01?this.panels_width.doPane=100:this.panels_width.doPane=this.panels_width.docPane+this.panels_width.doPane,this.panels_width.docPane=.01):2===e.index&&(this.panels_width.chatPane<=.01?(this.panels_width.docPane<=.01?this.panels_width.doPane=70:(this.panels_width.docPane=35,this.panels_width.doPane=35),this.panels_width.chatPane=30):(this.panels_width.doPane=this.panels_width.chatPane+this.panels_width.doPane,this.panels_width.chatPane=.01))},newChatPosted:function(e){Object.keys(e)[0];var t=Object.values(e)[0],n=Object.values(t)[0].name;this.$alertify.closeLogOnClick(!0).delay(4e3).log(this.$t("notifications.new_chat_posted_in")+"<b>"+n+"</b>")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_dodoc",class:{"is--wide":e.$root.screen_is_wide}},[e.$root.settings.enable_system_bar?n("SystemBar",{attrs:{withTitleBar:!0}}):e._e(),e._v(" "),n("TopBar",{attrs:{has_back_button:"ListView"!==e.$root.do_navigation.view,slugProjectName:e.$root.do_navigation.current_slugProjectName,project:e.$root.current_project}}),e._v(" "),n("div",{staticClass:"m_activitiesPanel"},[n("splitpanes",{attrs:{"watch-slots":"","data-docpane_isopen":!0===e.$root.settings.show_publi_panel,"data-chatpane_isopen":!0===e.$root.settings.show_chat_panel},on:{resize:function(t){return e.resize(t)},resized:function(t){return e.resized()},"splitter-click":function(t){return e.splitterClicked(t)}}},[n("pane",{ref:"doPane",staticClass:"splitter-pane",attrs:{"min-size":"5",size:e.panels_width.doPane}},[n("div",{staticClass:"m_activitiesPanel--do",class:{"is--large":e.activitiesPanel_is_large}},[n("div",{staticStyle:{position:"relative",width:"100%",height:"100%",overflow:"hidden"}},[n("transition",{attrs:{name:"ListView",duration:500}},[n("ListView",{directives:[{name:"show",rawName:"v-show",value:"ListView"===e.$root.do_navigation.view,expression:"$root.do_navigation.view === 'ListView'"}],attrs:{presentationMD:e.$root.store.presentationMD,read_only:!e.$root.state.connected,projects:e.$root.store.projects}})],1),e._v(" "),n("transition",{attrs:{name:"ProjectView",duration:500}},[["ProjectView","CaptureView"].includes(e.$root.do_navigation.view)?n("ProjectView",{attrs:{slugProjectName:e.$root.do_navigation.current_slugProjectName,project:e.$root.current_project,read_only:!e.$root.state.connected}}):e._e()],1),e._v(" "),n("transition",{attrs:{name:"CaptureView",duration:500}},["CaptureView"===e.$root.do_navigation.view?n("CaptureView",{attrs:{slugFolderName:e.$root.do_navigation.current_slugProjectName,type:"projects",read_only:!e.$root.state.connected}}):e._e()],1)],1)])]),e._v(" "),n("pane",{ref:"docPane",staticClass:"splitter-pane",attrs:{size:e.panels_width.docPane}},[n("div",{staticClass:"m_activitiesPanel--doc",class:{"is--open":e.$root.settings.show_publi_panel}},[n("div",{staticStyle:{position:"relative",height:"100%",overflow:"hidden"}},[n("transition",{attrs:{name:"ListView",duration:500}},[e.$root.settings.show_publi_panel?n("Publications",{attrs:{publications:Object.values(e.$root.store.publications),read_only:!e.$root.state.connected}}):e._e()],1),e._v(" "),!1!==e.$root.settings.current_publication.slug?n("transition",{attrs:{name:"ProjectView",duration:500}},[n("Publication",{key:e.$root.settings.current_publication.slug,attrs:{publication:e.$root.store.publications[e.$root.settings.current_publication.slug],read_only:!e.$root.state.connected}})],1):e._e()],1)])]),e._v(" "),n("pane",{ref:"chatPane",staticClass:"splitter-pane",attrs:{size:e.panels_width.chatPane}},[n("div",{staticClass:"m_activitiesPanel--chat",class:{"is--open":e.$root.settings.show_chat_panel}},[n("transition",{attrs:{name:"ListView",duration:500}},[e.$root.settings.show_chat_panel?n("Chats",{attrs:{read_only:!e.$root.state.connected,chats:e.$root.store.chats}}):e._e()],1)],1)])],1)],1),e._v(" "),e.$root.media_modal.open?n("EditMedia",{key:e.$root.media_modal.current_slugProjectName+e.$root.media_modal.current_metaFileName,attrs:{slugMediaName:e.$root.media_modal.current_metaFileName,slugProjectName:e.$root.media_modal.current_slugProjectName,media:e.$root.store.projects[e.$root.media_modal.current_slugProjectName].medias[e.$root.media_modal.current_metaFileName],read_only:!e.$root.state.connected},on:{close:function(t){return e.$root.closeMedia()}}}):e._e()],1)},i.staticRenderFns=[],i._scopeId="data-v-20081f27"},{"./CaptureView.vue":197,"./Chats.vue":198,"./ListView.vue":200,"./ProjectView.vue":201,"./Publication.vue":202,"./Publications.vue":203,"./SystemBar.vue":205,"./TopBar.vue":206,"./components/modals/EditMedia.vue":222,"./components/subcomponents/MediaContent.vue":265,splitpanes:155}],200:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i="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},o=d(e("./components/BottomFooter.vue")),r=d(e("./components/Project.vue")),a=d(e("./components/modals/CreateProject.vue")),s=d(e("./components/subcomponents/MediaCard.vue")),l=d(e("./components/subcomponents/TagsAndAuthorFilters.vue")),c=d(e("./components/subcomponents/SelectorBar.vue")),u=e("timers");d(e("debounce"));function d(e){return e&&e.__esModule?e:{default:e}}n.default={props:{presentationMD:Object,read_only:Boolean,projects:Object},components:{CreateProject:a.default,Project:r.default,BottomFooter:o.default,MediaCard:s.default,SelectorBar:c.default,TagsAndAuthorFilters:l.default},data:function(){return{showCreateProjectModal:!1,currentLang:this.$root.lang.current,show_medias_instead_of_projects:!1,is_loading_all_medias:!1,currentSort:{field:"date_created",type:"date",order:"descending"},show_filters:!1,show_search:!1,selected_medias:[],selected_projects:[],show_only_my_content:!1,debounce_search_project_name:this.$root.settings.project_filter.name,debounce_search_project_name_function:void 0}},mounted:function(){(this.$root.settings.project_filter.keyword||this.$root.settings.project_filter.author)&&(this.show_filters=!0),this.$eventHub.$on("modal.prev_media",this.prevMedia),this.$eventHub.$on("modal.next_media",this.nextMedia),this.$eventHub.$on("authors.newAuthorSet",this.newAuthorSet)},beforeDestroy:function(){this.$eventHub.$off("modal.prev_media",this.prevMedia),this.$eventHub.$off("modal.next_media",this.nextMedia),this.$eventHub.$off("authors.newAuthorSet",this.newAuthorSet)},watch:{currentLang:function(){this.$root.updateLocalLang(this.currentLang)},show_medias_instead_of_projects:function(){var e=this;this.show_medias_instead_of_projects?(this.$root.loadAllProjectsMedias(),this.is_loading_all_medias=!0,this.$eventHub.$once("socketio.has_finished_loading_all_medias",function(){e.is_loading_all_medias=!1})):this.show_filters=!1,this.selected_projects=[],this.selected_medias=[]},show_filters:function(){this.show_filters||(this.$root.settings.project_filter.keyword="",this.$root.settings.project_filter.author="",this.$root.settings.project_filter.name="",this.debounce_search_project_name="",this.$root.settings.media_filter.keyword="",this.$root.settings.media_filter.author="",this.$root.settings.media_filter.fav=!1,this.$root.settings.media_filter.type=!1)},debounce_search_project_name:function(){var e=this;this.debounce_search_project_name_function&&clearTimeout(this.debounce_search_project_name_function),this.debounce_search_project_name_function=(0,u.setTimeout)(function(){e.$root.settings.project_filter.name=e.debounce_search_project_name},340)}},computed:{projectsKeywords:function(){return this.$root.getAllKeywordsFrom(this.projects)},projectsAuthors:function(){return this.$root.getAllAuthorsFrom(this.projects)},mediasKeywords:function(){return this.$root.getAllKeywordsFrom(this.filteredMedias)},mediasAuthors:function(){return this.$root.getAllAuthorsFrom(this.filteredMedias)},mediaTypes:function(){return this.$root.getAllTypesFrom(this.filteredMedias)},sortedProjects:function(){var e=this,t=[];if(!this.projects||0===Object.keys(this.projects).length)return[];var n=!0,o=!1,r=void 0;try{for(var a,s=Object.values(this.projects)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value,c=void 0;"date"===this.currentSort.type?c=+this.$moment(l[this.currentSort.field],"YYYY-MM-DD HH:mm:ss"):"alph"===this.currentSort.type&&(c=l[this.currentSort.field]),(""===this.$root.settings.project_filter.name||l.name.toLowerCase().includes(this.$root.settings.project_filter.name.toLowerCase()))&&((!this.$root.settings.opened_folder||l.hasOwnProperty("folder")&&l.folder===this.$root.settings.opened_folder)&&(!this.show_only_my_content||!this.$root.current_author||l.hasOwnProperty("authors")&&Array.isArray(l.authors)&&l.authors.some(function(t){return t.slugFolderName===e.$root.current_author.slugFolderName}))&&(this.$root.settings.project_filter.keyword||this.$root.settings.project_filter.author?this.$root.settings.project_filter.keyword&&this.$root.settings.project_filter.author?l.hasOwnProperty("keywords")&&"object"===i(l.keywords)&&l.keywords.some(function(t){return t.title===e.$root.settings.project_filter.keyword})&&l.hasOwnProperty("authors")&&"object"===i(l.authors)&&l.authors.some(function(t){return t.slugFolderName===e.$root.settings.project_filter.author})&&t.push({project:l,orderBy:c}):this.$root.settings.project_filter.keyword?l.hasOwnProperty("keywords")&&"object"===i(l.keywords)&&l.keywords.some(function(t){return t.title===e.$root.settings.project_filter.keyword})&&t.push({project:l,orderBy:c}):this.$root.settings.project_filter.author&&l.hasOwnProperty("authors")&&"object"===i(l.authors)&&l.authors.some(function(t){return t.slugFolderName===e.$root.settings.project_filter.author})&&t.push({project:l,orderBy:c}):t.push({project:l,orderBy:c})))}}catch(e){o=!0,r=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw r}}0===t.length&&this.$nextTick(function(){});var u=t.sort(function(e,t){var n=e.orderBy,i=t.orderBy;return"string"==typeof e.orderBy&&"string"==typeof t.orderBy&&(n=n.toLowerCase(),i=i.toLowerCase()),n<i?-1:n>i?1:0});return"descending"===this.currentSort.order&&u.reverse(),u=u.map(function(e){return e.project}),u},sortedFoldersAndProjects:function(){var e=this,n=this.$_.groupBy(this.sortedProjects,function(e){return e.folder?e.folder:"znot-groupped"});return 0===n.length?[]:Object.entries(n).sort(function(e,t){return e[0].localeCompare(t[0])}).reduce(function(n,i){var o=t(i,2),r=o[0],a=o[1];return r&&"znot-groupped"!==r&&!e.$root.settings.opened_folder?n.push({type:"folder",name:r,content:a}):a=a.map(function(e){n.push({type:"project",content:e})}),n},[])},presentationText:function(){return this.presentationMD.hasOwnProperty(this.currentLang)?this.presentationMD[this.currentLang]:this.presentationMD.hasOwnProperty("content")?this.presentationMD.content:this.presentationMD},allMedias:function(){var e=this.sortedProjects.reduce(function(e,t){return t.hasOwnProperty("medias")?(Object.values(t.medias).map(function(n){n.slugProjectName=t.slugFolderName,e.push(n)}),e):e},[]);return e},filteredMedias:function(){var e=this;return this.allMedias.filter(function(t){return e.$root.filterMedia(t)})},sortedMedias:function(){var e=this.$_.sortBy(this.filteredMedias,"date_created");return e.reverse()},groupedMedias:function(){var e=this,t=this.$_.groupBy(this.sortedMedias,function(t){var n=void 0;if(t.hasOwnProperty("date_created")&&t.date_created)n=t.date_created;else{if(!t.hasOwnProperty("date_uploaded")||!t.date_uploaded)return e.$t("invalid_date");n=t.date_uploaded}return e.$moment(n).format("YYYY-MM-DD")});return t=this.$_.pairs(t),t=(t=this.$_.sortBy(t)).reverse()}},methods:{setSort:function(e){this.currentSort=e},toggleSelectMedia:function(e){var t=e.slugFolderName,n=e.metaFileName;this.mediaIsSelected({slugFolderName:t,metaFileName:n})?this.selected_medias=this.selected_medias.filter(function(e){return!(e.slugFolderName===t&&e.metaFileName===n)}):this.selected_medias.push({slugFolderName:t,metaFileName:n})},mediaIsSelected:function(e){var t=e.slugFolderName,n=e.metaFileName;return this.selected_medias.some(function(e){return e.metaFileName===n&&e.slugFolderName===t})},newAuthorSet:function(){this.$root.current_author},toggleAllInFolder:function(e){var t=this,n=(e.$event,e.folder_name),i=this.sortedFoldersAndProjects.find(function(e){return"folder"===e.type&&e.name===n});if(!i||!i.hasOwnProperty("content")||0===i.content.length)return!1;i.content.some(function(e){return!t.projectIsSelected(e.slugFolderName)})?i.content.map(function(e){return t.selectProject(e.slugFolderName)}):i.content.map(function(e){return t.unselectProject(e.slugFolderName)})},toggleSelectProject:function(e){this.projectIsSelected(e)?this.unselectProject(e):this.selectProject(e)},allProjectFromThatFolderAreSelected:function(e){var t=this,n=this.sortedFoldersAndProjects.find(function(t){return"folder"===t.type&&t.name===e});return!(!n||!n.hasOwnProperty("content")||0===n.content.length)&&!n.content.some(function(e){return!1===t.projectIsSelected(e.slugFolderName)})},selectProject:function(e){if(!this.$root.canEditFolder({type:"projects",slugFolderName:e}))return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t('notifications["enter_password_to_select"]')),!1;this.projectIsSelected(e)||this.selected_projects.push({slugFolderName:e})},unselectProject:function(e){this.selected_projects=this.selected_projects.filter(function(t){return!(t.slugFolderName===e)})},projectIsSelected:function(e){return this.selected_projects.some(function(t){return t.slugFolderName===e})},toggleFolder:function(e){this.$root.settings.opened_folder===e?this.$root.settings.opened_folder=!1:this.$root.settings.opened_folder=e},urlToPortrait:function(e,t){return void 0===t?"":"/"+this.$root.state.authorsFolder+"/"+e+"/"+t},prevMedia:function(){this.mediaNav(-1)},nextMedia:function(){this.mediaNav(1)},mediaNav:function(e){var t=this;if("ListView"===this.$root.do_navigation.view){var n=this.sortedMedias.findIndex(function(e){return e.metaFileName===t.$root.media_modal.current_metaFileName}),i=this.sortedMedias[n+e];this.$root.closeMedia(),i&&this.$nextTick(function(){t.$root.openMedia({slugProjectName:i.slugProjectName,metaFileName:i.metaFileName})})}}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_listview",class:{"is--folder":!!e.$root.settings.opened_folder}},[n("main",{staticClass:"m_projects main_scroll_panel"},[n("transition",{attrs:{name:"fade_fast",duration:150}},[e.$root.settings.opened_folder?n("div",{staticClass:"m_listview--openedFolderLabel"},[n("div",[n("button",{staticClass:"m_listview--openedFolderLabel--backButton",attrs:{type:"button"},on:{click:function(t){e.$root.settings.opened_folder=!1}}},[e._v("\n ‹\n "),n("span",{},[e._v(e._s(e.$t("back")))])]),e._v(" "),n("span",{staticClass:"m_listview--openedFolderLabel--intitule",domProps:{innerHTML:e._s(e.$t("folder_currently_open:"))}}),e._v(" "),n("label",{staticClass:"m_listview--openedFolderLabel--folderName"},[e._v("\n "+e._s(e.$root.settings.opened_folder)+"\n ")])])]):e._e()]),e._v(" "),n("div",{staticClass:"m_actionbar"},[n("div",[n("div",{staticClass:"m_actionbar--buttonBar"},[n("button",{key:"createButton",staticClass:"barButton barButton_createProject",attrs:{disabled:e.read_only},on:{click:function(t){e.showCreateProjectModal=!0}}},[n("span",[e._v(e._s(e.$t("create_a_project")))])]),e._v(" "),e.showCreateProjectModal?n("CreateProject",{attrs:{read_only:e.read_only},on:{close:function(t){e.showCreateProjectModal=!1}}}):e._e()],1),e._v(" "),n("div",{staticClass:"m_actionbar--text"},[n("div",{staticClass:"switch switch-xs switch_twoway"},[n("label",{staticClass:"cursor-pointer",class:{"is--active":!e.show_medias_instead_of_projects},attrs:{for:"media_switch"}},[n("span",{},[e._v(e._s(e.$t("projects")))])]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.show_medias_instead_of_projects,expression:"show_medias_instead_of_projects"}],attrs:{type:"checkbox",id:"media_switch"},domProps:{checked:Array.isArray(e.show_medias_instead_of_projects)?e._i(e.show_medias_instead_of_projects,null)>-1:e.show_medias_instead_of_projects},on:{change:function(t){var n=e.show_medias_instead_of_projects,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&(e.show_medias_instead_of_projects=n.concat([null])):r>-1&&(e.show_medias_instead_of_projects=n.slice(0,r).concat(n.slice(r+1)))}else e.show_medias_instead_of_projects=o}}}),e._v(" "),n("label",{class:{"is--active":e.show_medias_instead_of_projects},attrs:{for:"media_switch"}},[n("span",{},[e._v(e._s(e.$t("medias")))])])]),e._v(" "),n("div",[Object.keys(e.projects).length>0?[e.show_medias_instead_of_projects?[e._v("\n "+e._s(e.$t("showing"))+"\n "),n("span",{class:{"c-rouge":Object.keys(e.sortedMedias).length!==Object.keys(e.allMedias).length}},[e._v("\n "+e._s(Object.keys(e.sortedMedias).length)+"\n "+e._s(e.$t("medias_of"))+"\n "+e._s(Object.keys(e.allMedias).length)+"\n ")]),e._v(" "),e.$root.allKeywords.length>0||e.$root.all_authors.length>0?[e._v("\n —\n "),n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_filters},attrs:{type:"button"},on:{click:function(t){e.show_filters=!e.show_filters}}},[e._v(e._s(e.$t("filters")))])]:e._e(),e._v(" "),e.show_filters?n("TagsAndAuthorFilters",{attrs:{allKeywords:e.mediasKeywords,allAuthors:e.mediasAuthors,allTypes:e.mediaTypes,keywordFilter:e.$root.settings.media_filter.keyword,authorFilter:e.$root.settings.media_filter.author,favFilter:e.$root.settings.media_filter.fav},on:{setKeywordFilter:function(t){return e.$root.setMediaKeywordFilter(t)},setAuthorFilter:function(t){return e.$root.setMediaAuthorFilter(t)},setFavFilter:function(t){return e.$root.setFavFilter(t)},setTypeFilter:function(t){return e.$root.setTypeFilter(t)}}}):e._e()]:[n("div",[e._v("\n "+e._s(e.$t("showing"))+"\n "),n("span",{class:{"c-rouge":Object.keys(e.sortedProjects).length!==Object.keys(e.projects).length}},[e._v("\n "+e._s(e.sortedProjects.length)+"\n "),e.sortedProjects.length===Object.keys(e.projects).length?[e._v(e._s(e.$t("projects")))]:[e._v("\n "+e._s(e.$t("projects_of"))+"\n "+e._s(Object.keys(e.projects).length)+"\n ")]],2),e._v(" "),e.$root.allKeywords.length>0||e.$root.all_authors.length>0?[e._v("\n —\n "),n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_filters},attrs:{type:"button"},on:{click:function(t){e.show_filters=!e.show_filters}}},[e._v(e._s(e.$t("filters")))])]:e._e(),e._v(" "),e.show_filters?n("TagsAndAuthorFilters",{attrs:{allKeywords:e.projectsKeywords,allAuthors:e.projectsAuthors,keywordFilter:e.$root.settings.project_filter.keyword,authorFilter:e.$root.settings.project_filter.author},on:{setKeywordFilter:function(t){return e.$root.setProjectKeywordFilter(t)},setAuthorFilter:function(t){return e.$root.setProjectAuthorFilter(t)}}}):e._e()],2),e._v(" "),n("div",{staticClass:"m_searchProject"},[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_search||e.$root.settings.project_filter.name.length>0},attrs:{type:"button"},on:{click:function(t){e.show_search=!e.show_search}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"margin-bottom":"-2px"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"96.2px",height:"96.2px",viewBox:"0 0 96.2 96.2","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{fill:"currentColor",d:"M10.3,59.9c11.7,11.7,29.5,13.4,43,5.2l9.7,9.7l21.3,21.3l11.9-11.9L74.9,63l-9.7-9.7c8.2-13.5,6.4-31.3-5.2-43 C46.2-3.4,24-3.4,10.3,10.3C-3.4,24-3.4,46.2,10.3,59.9z M50.8,19.5c8.6,8.6,8.6,22.6,0,31.3c-8.6,8.6-22.6,8.6-31.3,0 c-8.6-8.6-8.6-22.6,0-31.3C28.1,10.8,42.1,10.8,50.8,19.5z"}})]),e._v("\n "+e._s(e.$t("search"))+"\n ")]),e._v(" "),e.show_search||e.debounce_search_project_name.length>0?n("div",{staticClass:"rounded"},[n("div",[e._v(e._s(e.$t("project_name_to_find")))]),e._v(" "),n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.debounce_search_project_name,expression:"debounce_search_project_name"}],attrs:{type:"text"},domProps:{value:e.debounce_search_project_name},on:{input:function(t){t.target.composing||(e.debounce_search_project_name=t.target.value)}}}),e._v(" "),e.debounce_search_project_name.length>0?n("span",{staticClass:"input-addon"},[n("button",{attrs:{type:"button",disabled:0===e.debounce_search_project_name.length},on:{click:function(t){e.debounce_search_project_name=""}}},[e._v("×")])]):e._e()])]):e._e()])]]:[e._v(e._s(e.$t("no_projects_yet")))]],2)])]),e._v(" "),e.$root.current_author?n("div",{staticClass:"m_displayMyContent"},[n("span",[e._v(e._s(e.$t("show")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.show_only_my_content,expression:"show_only_my_content"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.show_only_my_content=t.target.multiple?n:n[0]}}},[n("option",{domProps:{value:!0}},[e.show_medias_instead_of_projects?[e._v(e._s(e.$t("only_my_medias").toLowerCase()))]:[e._v(e._s(e.$t("only_my_projects").toLowerCase()))]],2),e._v(" "),n("option",{domProps:{value:!1}},[e.show_medias_instead_of_projects?[e._v(e._s(e.$t("all_medias").toLowerCase()))]:[e._v(e._s(e.$t("all_projects").toLowerCase()))]],2)])]):e._e(),e._v(" "),e.$root.current_author?n("div"):e._e()]),e._v(" "),e.show_medias_instead_of_projects?e.show_medias_instead_of_projects&&!e.is_loading_all_medias?n("transition-group",{staticClass:"m_allmedias--list mini_scroll_panel",attrs:{name:"list-complete"}},e._l(e.groupedMedias,function(t){return n("div",{key:t[0]},[n("h3",{staticClass:"font-folder_title margin-sides-small margin-none margin-bottom-small"},[e._v(e._s(e.$root.formatDateToHuman(t[0])))]),e._v(" "),n("div",{staticClass:"m_mediaShowAll"},e._l(t[1],function(t){return n("div",{key:t.slugMediaName},[n("MediaCard",{key:t.slugMediaName,attrs:{media:t,metaFileName:t.metaFileName,slugProjectName:t.slugProjectName,preview_size:180,is_selected:e.mediaIsSelected({slugFolderName:t.slugProjectName,metaFileName:t.metaFileName})},on:{toggleSelect:function(n){return e.toggleSelectMedia({slugFolderName:t.slugProjectName,metaFileName:t.metaFileName})}}})],1)}),0)])}),0):e._e():n("transition-group",{staticClass:"m_projects--list",attrs:{name:"list-complete",duration:800}},[e._l(e.sortedFoldersAndProjects,function(t){return["folder"===t.type?n("div",{key:t.name,staticClass:"m_folder"},[n("div",{staticClass:"m_folder--topbar"},[n("label",[n("button",{staticClass:"button-nostyle",attrs:{type:"button"},on:{click:function(n){return e.toggleAllInFolder({$event:n,folder_name:t.name})}}},[e._v("\n "+e._s(t.name)+" ("+e._s(t.content.length)+")\n "),n("label",{staticClass:"input-selector",attrs:{for:t.name+"_selector"},on:{click:function(e){e.stopPropagation()}}},[n("input",{attrs:{id:t.name+"_selector",type:"checkbox"},domProps:{checked:e.allProjectFromThatFolderAreSelected(t.name)},on:{change:function(n){return e.toggleAllInFolder({$event:n,folder_name:t.name})}}})])])]),e._v(" "),n("label",[n("button",{staticClass:"button-nostyle",attrs:{type:"button"},on:{click:function(n){return e.toggleFolder(t.name)}}},[e._v(e._s(e.$t("open")))])])]),e._v(" "),n("div",{staticClass:"m_folder--projects"},e._l(t.content,function(t){return n("Project",{key:t.slugFolderName,staticClass:"is--collapsed",attrs:{project:t,read_only:e.read_only,is_selected:e.projectIsSelected(t.slugFolderName)},on:{toggleSelect:function(n){return e.toggleSelectProject(t.slugFolderName)}}})}),1)]):"project"===t.type?n("Project",{key:t.content.slugFolderName,attrs:{project:t.content,read_only:e.read_only,is_selected:e.projectIsSelected(t.content.slugFolderName)},on:{toggleSelect:function(n){return e.toggleSelectProject(t.content.slugFolderName)}}}):e._e()]})],2),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:400}},[e.selected_medias.length>0||e.selected_projects.length>0?n("SelectorBar",{attrs:{selected_medias:e.selected_medias,selected_projects:e.selected_projects},on:{deselect:function(t){e.selected_projects=[],e.selected_medias=[]}}}):e._e()],1)],1)])},i.staticRenderFns=[]},{"./components/BottomFooter.vue":208,"./components/Project.vue":213,"./components/modals/CreateProject.vue":219,"./components/subcomponents/MediaCard.vue":264,"./components/subcomponents/SelectorBar.vue":279,"./components/subcomponents/TagsAndAuthorFilters.vue":281,debounce:41,timers:168}],201:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("./components/Project.vue"),o=(t=i)&&t.__esModule?t:{default:t};n.default={props:{slugProjectName:String,project:Object,read_only:Boolean},components:{Project:o.default},data:function(){return{}},created:function(){},mounted:function(){document.title="do•doc | "+this.project.name},beforeDestroy:function(){document.title="do•doc"},watch:{},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"m_projectview"},[t("Project",{attrs:{slugProjectName:this.slugProjectName,project:this.project,read_only:this.read_only,context:"full"}})],1)},i.staticRenderFns=[]},{"./components/Project.vue":213}],202:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=u(e("./components/publication_templates/PagePublication.vue")),i=u(e("./components/publication_templates/Story.vue")),o=u(e("./components/publication_templates/VideoPublication.vue")),r=u(e("./components/publication_templates/DrawingPad.vue")),a=u(e("./components/publication_templates/VideoEffects.vue")),s=u(e("./components/publication_templates/StopmotionAnimation.vue")),l=u(e("./components/publication_templates/MixAudioAndVideo.vue")),c=u(e("./components/publication_templates/MixAudioAndImage.vue"));function u(e){return e&&e.__esModule?e:{default:e}}n.default={props:{publication:Object,read_only:Boolean},components:{PagePublication:t.default,Story:i.default,VideoPublication:o.default,VideoEffects:a.default,DrawingPad:r.default,StopmotionAnimation:s.default,MixAudioAndVideo:l.default,MixAudioAndImage:c.default},data:function(){return{medias:[],publication_model_medias:[],preview_mode:!0}},created:function(){},mounted:function(){"live"===this.$root.state.mode&&(this.$socketio.listFolder({type:"publications",slugFolderName:this.slugPubliName}),this.$socketio.listMedias({type:"publications",slugFolderName:this.slugPubliName})),this.$eventHub.$on("socketio.projects.listSpecificMedias",this.updateMediasPubli),this.preview_mode=!this.can_edit_publi,["export_publication","print_publication","link_publication"].includes(this.$root.state.mode)&&(this.preview_mode=!0),document.addEventListener("keyup",this.publicationKeyListener),document.addEventListener("fullscreenchange",this.handleFullscreenChange),this.updateMediasPubli()},beforeDestroy:function(){this.$eventHub.$off("socketio.projects.listSpecificMedias",this.updateMediasPubli),document.removeEventListener("keyup",this.publicationKeyListener),document.removeEventListener("fullscreenchange",this.handleFullscreenChange)},watch:{"publication.medias":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publication.medias"),this.updateMediasPubli()},"$root.store.projects":{handler:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: $root.store.projects"),this.updateMediasPubli()},deep:!0},"publication.follows_model":{handler:function(){var e=this.model_for_this_publication;e&&(this.$socketio.listFolder({type:"publications",slugFolderName:e.slugFolderName}),this.$socketio.listMedias({type:"publications",slugFolderName:e.slugFolderName}))},deep:!0,immediate:!0},model_for_this_publication:{handler:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: model_for_this_publication"),this.updateMediasPubli()},deep:!0},preview_mode:function(){this.preview_mode||this.can_edit_publi?this.preview_mode&&(this.$root.settings.current_publication.selected_medias=[]):(this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.action_not_allowed")),this.preview_mode=!0,this.$eventHub.$emit("publications.showAdvancedOptions"))},can_edit_publi:function(){this.can_edit_publi?this.preview_mode=!1:this.preview_mode=!0}},computed:{slugPubliName:function(){return this.publication.slugFolderName},paged_medias:function(){var e=this;this.model_for_this_publication?this.model_for_this_publication:this.publication;return(this.model_for_this_publication?this.publication_model_medias:this.medias).reduce(function(t,n){if(e.model_for_this_publication&&"placeholder"===n.type){var i=e.medias.find(function(e){return e.placeholder_meta_reference===n.metaFileName});if(i&&(n._reply=i,i.hasOwnProperty("placeholder_medias_slugs")&&Array.isArray(i.placeholder_medias_slugs))){var o=i.placeholder_medias_slugs.reduce(function(t,n){var i=n.slugMediaName,o=e.medias.find(function(e){return e.metaFileName===i});return o&&t.push(o),t},[]);o.length>0&&(n._reply._medias=o)}}var r=n.page_id;return t.hasOwnProperty(r)||(t[r]=[]),t[r].push(n),t},{})},layered_medias:function(){return this.$_.groupBy(this.medias,"layer_id")},can_see_publi:function(){return this.$root.canSeeFolder({type:"publications",slugFolderName:this.slugPubliName})},can_edit_publi:function(){return this.$root.canEditFolder({type:"publications",slugFolderName:this.slugPubliName})},model_for_this_publication:function(){var e=this;return!!this.publication.follows_model&&Object.values(this.$root.store.publications).find(function(t){return e.publication.template===t.template&&!0===t.is_model&&t.slugFolderName===e.publication.follows_model})},medias_in_order:function(){var e=this,t=this.model_for_this_publication?this.model_for_this_publication:this.publication;if(!Array.isArray(t.medias_slugs)||0===t.medias_slugs.length)return[];var n=t.medias_slugs.reduce(function(t,n){var i=(e.model_for_this_publication?e.publication_model_medias:e.medias).find(function(e){return e.metaFileName===n.slugMediaName});if(!i)return t;if(e.model_for_this_publication&&"placeholder"===i.type){var o=e.medias.find(function(e){return e.placeholder_meta_reference===i.metaFileName});if(o&&(i._reply=o,o.hasOwnProperty("placeholder_medias_slugs")&&Array.isArray(o.placeholder_medias_slugs))){var r=o.placeholder_medias_slugs.reduce(function(t,n){var i=n.slugMediaName,o=e.medias.find(function(e){return e.metaFileName===i});return o&&t.push(o),t},[]);r.length>0&&(i._reply._medias=r)}}return t.push(i),t},[]);return n}},methods:{updateMediasPubli:function(){"debug"===this.$root.state.dev_mode&&console.log("Publication • COMPUTED: medias");var e=this.getLinkedMediasForPubli({publication:this.publication}),t=e.medias,n=e.missingMedias;if(this.model_for_this_publication){var i=this.getLinkedMediasForPubli({publication:this.model_for_this_publication}),o=i.medias,r=i.missingMedias;this.publication_model_medias=o,n=n.concat(r)}console.log("Finished building media list. Missing medias: "+n.length),n.length>0&&this.$root.listSpecificMedias({type:"projects",medias_list:n}),this.medias=t},getLinkedMediasForPubli:function(e){var t=this,n=e.publication,i=[],o=[];return n.hasOwnProperty("medias")&&0!==Object.keys(n.medias).length?{medias:i=Object.values(n.medias).reduce(function(e,n){var i={};if(i=JSON.parse(JSON.stringify(n)),n.hasOwnProperty("slugProjectName")&&n.hasOwnProperty("slugMediaName")){var r=t.$root.getOriginalMediaMeta(n);if(!r)return i._linked_media={_isAbsent:!0,slugProjectName:n.slugProjectName,slugMediaName:n.slugMediaName},e.push(i),e;if(0===Object.keys(r).length)return console.log("Some medias missing from client"),o.push({slugFolderName:n.slugProjectName,metaFileName:n.slugMediaName}),e;i._linked_media=r,i._linked_media.slugProjectName=n.slugProjectName}return e.push(i),e},[]),missingMedias:o}:{medias:i,missingMedias:o}},addMediaOrdered:function(e){var t=this,n=e.values,i=void 0===n?{}:n,o=e.right_before_meta,r=e.right_after_meta,a=e.in_position;return new Promise(function(e,n){t.addMedia({values:i}).then(function(e){return t.insertMediasInList({metaFileNames:[e.metaFileName],right_before_meta:o,right_after_meta:r,in_position:a})})})},insertMediasInList:function(e){var t=this,n=e.metaFileNames,i=e.right_before_meta,o=e.right_after_meta,r=e.in_position;return new Promise(function(e,a){var s=Array.isArray(t.publication.medias_slugs)&&0!==t.publication.medias_slugs.length?JSON.parse(JSON.stringify(t.publication.medias_slugs)):[],l=n.map(function(e){return{slugMediaName:e}}),c=s.length;o?(c=s.findIndex(function(e){return e.slugMediaName===o}),c+=1):i?c=s.findIndex(function(e){return e.slugMediaName===i}):r&&"start"===r&&(c=0),s.splice.apply(s,[c,0].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(l))),t.$root.editFolder({type:"publications",slugFolderName:t.slugPubliName,data:{medias_slugs:s}}).then(function(e){t.$nextTick(function(){n.map(function(e){t.$eventHub.$emit("publication.just_inserted_media",e)})})})})},addMedia:function(e){var t=this,n=e.values,i=void 0===n?{}:n;return new Promise(function(e,n){"debug"===t.$root.state.dev_mode&&console.log("METHODS • Publication: addMedia with\n values = "+JSON.stringify(i));var o={};i&&i.metaFileName&&(o.desired_filename=i.metaFileName,o.slugMediaName=i.metaFileName),i&&Object.assign(o,i),t.$root.createMedia({slugFolderName:t.slugPubliName,type:"publications",additionalMeta:o}).then(function(n){return t.$eventHub.$emit("publication.just_added_media",n),e(n)})})},orderedRemovePubliMedia:function(e){var t=this,n=e.metaFileName,i=this.publication.medias_slugs.filter(function(e){return e.slugMediaName!==n});this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{medias_slugs:i}}).then(function(){t.$root.removeMedia({type:"publications",slugFolderName:t.slugPubliName,slugMediaName:n})})},orderedDuplicateMedia:function(e){var t=this,n=e.metaFileName;this.$root.copyMediaToFolder({type:"publications",from_slugFolderName:this.slugPubliName,to_slugFolderName:this.slugPubliName,slugMediaName:n}).then(function(e){t.insertMediasInList({metaFileNames:[e.metaFileName],right_after_meta:n})})},editPubliMedia:function(e){var t=this,n=e.metaFileName,i=e.val;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: editPubliMedia / for metaFileName = "+n+" and val = "+JSON.stringify(i,null,4)),this.$root.editMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:n,data:i}).then(function(e){t.$eventHub.$emit("publication.media_just_edited",e)})},editPubliFolder:function(e){var t=e.val;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: editPubliFolder / args = "+JSON.stringify(arguments[0],null,4)),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:t})},changeMediaOrder:function(e){var t=e.metaFileName,n=e.dir,i=e.new_index_in_slugs,o=this.publication.medias_slugs.findIndex(function(e){return e.slugMediaName===t}),r=this.medias_in_order.findIndex(function(e){return e.metaFileName===t});if(void 0===i){var a=this.medias_in_order[r+n].metaFileName;i=this.publication.medias_slugs.findIndex(function(e){return e.slugMediaName===a})}var s=JSON.parse(JSON.stringify(this.publication.medias_slugs));s.move(o,i),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{medias_slugs:s}})},publicationKeyListener:function(e){e.key},lockAndPublish:function(){var e=this.$moment(),t=this.$root.current_author?"only_authors":"everybody";this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{date_submitted:e,editing_limited_to:"nobody",viewing_limited_to:t}})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["page_by_page"===e.publication.template?n("PagePublication",{ref:"panel",attrs:{slugPubliName:e.slugPubliName,publication:e.publication,paged_medias:e.paged_medias,read_only:e.read_only,can_edit_publi:e.can_edit_publi,can_see_publi:e.can_see_publi,preview_mode:e.preview_mode,model_for_this_publication:e.model_for_this_publication},on:{togglePreviewMode:function(t){e.preview_mode=!e.preview_mode},editPubliMedia:e.editPubliMedia,addMedia:e.addMedia,lockAndPublish:e.lockAndPublish}}):e._e(),e._v(" "),"story"===e.publication.template?n("Story",{ref:"panel",attrs:{slugPubliName:e.slugPubliName,publication:e.publication,medias_in_order:e.medias_in_order,read_only:e.read_only,can_edit_publi:e.can_edit_publi,can_see_publi:e.can_see_publi,preview_mode:e.preview_mode,model_for_this_publication:e.model_for_this_publication},on:{removePubliMedia:e.orderedRemovePubliMedia,editPubliMedia:e.editPubliMedia,duplicateMedia:e.orderedDuplicateMedia,changeMediaOrder:e.changeMediaOrder,addMedia:e.addMediaOrdered,insertMediasInList:e.insertMediasInList,togglePreviewMode:function(t){e.preview_mode=!e.preview_mode},lockAndPublish:e.lockAndPublish}}):"video_assemblage"===e.publication.template?n("VideoPublication",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,medias_in_order:e.medias_in_order,read_only:e.read_only,can_edit_publi:e.can_edit_publi,can_see_publi:e.can_see_publi,preview_mode:e.preview_mode},on:{removePubliMedia:e.orderedRemovePubliMedia,editPubliMedia:e.editPubliMedia,duplicateMedia:e.orderedDuplicateMedia,changeMediaOrder:e.changeMediaOrder,addMedia:e.addMediaOrdered}}):"video_effects"===e.publication.template?n("VideoEffects",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,medias_in_order:e.medias_in_order,read_only:e.read_only,can_edit_publi:e.can_edit_publi,can_see_publi:e.can_see_publi,preview_mode:e.preview_mode},on:{removePubliMedia:e.orderedRemovePubliMedia,editPubliMedia:e.editPubliMedia,editPubliFolder:e.editPubliFolder,addMedia:e.addMediaOrdered}}):"drawing_pad"===e.publication.template?n("DrawingPad",{ref:"panel",attrs:{slugPubliName:e.slugPubliName,publication:e.publication,layered_medias:e.layered_medias,read_only:e.read_only,can_edit_publi:e.can_edit_publi,can_see_publi:e.can_see_publi,preview_mode:e.preview_mode},on:{togglePreviewMode:function(t){e.preview_mode=!e.preview_mode},editPubliMedia:e.editPubliMedia,addMedia:e.addMedia}}):"stopmotion_animation"===e.publication.template?n("StopmotionAnimation",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,medias_in_order:e.medias_in_order,read_only:e.read_only,can_edit_publi:e.can_edit_publi,can_see_publi:e.can_see_publi,preview_mode:e.preview_mode},on:{removePubliMedia:e.orderedRemovePubliMedia,editPubliMedia:e.editPubliMedia,editPubliFolder:e.editPubliFolder,duplicateMedia:e.orderedDuplicateMedia,changeMediaOrder:e.changeMediaOrder,addMedia:e.addMediaOrdered}}):"mix_audio_and_video"===e.publication.template?n("MixAudioAndVideo",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,medias_in_order:e.medias_in_order,read_only:e.read_only,can_edit_publi:e.can_edit_publi,can_see_publi:e.can_see_publi,preview_mode:e.preview_mode},on:{removePubliMedia:e.orderedRemovePubliMedia,editPubliMedia:e.editPubliMedia,editPubliFolder:e.editPubliFolder,addMedia:e.addMediaOrdered}}):"mix_audio_and_image"===e.publication.template?n("MixAudioAndImage",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,medias_in_order:e.medias_in_order,read_only:e.read_only,can_edit_publi:e.can_edit_publi,can_see_publi:e.can_see_publi,preview_mode:e.preview_mode},on:{removePubliMedia:e.orderedRemovePubliMedia,editPubliMedia:e.editPubliMedia,editPubliFolder:e.editPubliFolder,addMedia:e.addMediaOrdered}}):e._e()],1)},i.staticRenderFns=[],i._scopeId="data-v-77e5a295"},{"./components/publication_templates/DrawingPad.vue":236,"./components/publication_templates/MixAudioAndImage.vue":237,"./components/publication_templates/MixAudioAndVideo.vue":238,"./components/publication_templates/PagePublication.vue":239,"./components/publication_templates/StopmotionAnimation.vue":242,"./components/publication_templates/Story.vue":243,"./components/publication_templates/VideoEffects.vue":244,"./components/publication_templates/VideoPublication.vue":245}],203:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t="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},i=a(e("./components/modals/CreatePublication.vue")),o=a(e("./components/PublicationRow.vue")),r=a(e("./components/subcomponents/TagsAndAuthorFilters.vue"));a(e("debounce"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{publications:{type:Array,default:function(){return[]}},read_only:Boolean},components:{CreatePublication:i.default,PublicationRow:o.default,TagsAndAuthorFilters:r.default},data:function(){return{showCreatePublicationModal:!1,createPubliTemplateKey:!1,slugProjectName_to_filter:this.$root.do_navigation.current_slugProjectName?this.$root.do_navigation.current_slugProjectName:"",show_only_my_content:!1,show_search:!1,show_filters:!1,currentSort:{field:"date_created",type:"date",order:"descending"},debounce_search_publication_name:this.$root.settings.publication_filter.name,debounce_search_publication_name_function:void 0,recipes:[{key:"page_by_page",summary:"page_by_page_summary",show_instructions:!1,instructions:"page_by_page_instructions",show_all_recipes:!1,icon:'\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 201 201">\n <title>recipe_icon_page</title>\n <g id="Calque_6" data-name="Calque 6">\n <g>\n <rect x="35.68" y="8.83" width="129.64" height="183.35" style="fill: #fff"/>\n <rect x="46.15" y="31.82" width="39.07" height="27.55" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.0944702326735385px"/>\n <rect x="118.95" y="68.62" width="35.9" height="53.44" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.9170289512680598px"/>\n <rect x="46.15" y="68.62" width="63.37" height="53.44" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.161211202864444px"/>\n <rect x="73.36" y="136.54" width="54.27" height="4.99" style="fill: #353535"/>\n <rect x="73.36" y="153.02" width="54.27" height="4.99" style="fill: #353535"/>\n <rect x="73.36" y="144.78" width="54.27" height="4.99" style="fill: #353535"/>\n <rect x="73.36" y="161.26" width="54.27" height="4.99" style="fill: #353535"/>\n <line x1="46.15" y1="22.57" x2="154.85" y2="22.57" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.8953584524134504px"/>\n </g>\n </g>\n</svg>\n '},{key:"story",summary:"story_summary",show_instructions:!1,instructions:"story_instructions",show_all_recipes:!1,icon:"\n "},{key:"drawing_pad",summary:"drawing_pad_summary",show_instructions:!1,instructions:"drawing_pad_instructions",show_all_recipes:!1,icon:'\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 201 201">\n <title>Fichier 1</title>\n <g id="Calque_2" data-name="Calque 2">\n <g id="Calque_6" data-name="Calque 6">\n <rect x="13.92" y="35.39" width="173.15" height="129.86" style="fill: #fff"/>\n <rect x="26.17" y="45.02" width="37.98" height="48.24" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.16121px"/>\n <rect x="127.82" y="81.05" width="37.98" height="48.24" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.16121px"/>\n <circle cx="36.99" cy="81.05" r="5.95" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.16121px"/>\n <g>\n <path d="M69.78,69.42c41.68,0,5.66,33.94,50.44,35.13" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.16121px"/>\n <polygon points="115.83 108.09 119.58 104.51 116 100.76 119.11 100.83 122.69 104.58 118.94 108.16 115.83 108.09" style="fill: #353535"/>\n </g>\n <polygon points="77.64 108.18 107.23 137.81 48.02 137.81 77.64 108.18" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.16121px"/>\n <rect width="201" height="201" style="fill: none"/>\n </g>\n </g>\n</svg>\n\n '},{key:"video_assemblage",summary:"video_assemblage_summary",show_instructions:!1,instructions:"video_assemblage_instructions",show_all_recipes:!1,icon:'\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 201 201">\n <title>recipe_icon_montage</title>\n <g id="Calque_6" data-name="Calque 6">\n <g>\n <g>\n <rect x="68.73" y="12.93" width="63.54" height="72" style="fill: #fff"/>\n <rect x="73.23" y="17.52" width="53.94" height="43.04" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.161211202864444px"/>\n <rect x="72.36" y="66.15" width="31.66" height="4.99" style="fill: #353535"/>\n <rect x="72.36" y="73.43" width="23.67" height="4.99" style="fill: #353535"/>\n <path d="M94.24,47.59c-.7.45-1.28.14-1.28-.69V31.19c0-.83.58-1.14,1.28-.69l11.92,7.72a.91.91,0,0,1,0,1.65Z" style="fill: #353535"/>\n </g>\n <g>\n <rect x="68.73" y="114.16" width="63.54" height="72" style="fill: #fff"/>\n <rect x="73.23" y="118.76" width="53.94" height="43.04" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.161211202864444px"/>\n <rect x="72.36" y="167.38" width="31.66" height="4.99" style="fill: #353535"/>\n <rect x="72.36" y="174.66" width="23.67" height="4.99" style="fill: #353535"/>\n <path d="M94.24,148.82c-.7.46-1.28.14-1.28-.69v-15.7c0-.84.58-1.15,1.28-.7l11.92,7.72a.91.91,0,0,1,0,1.65Z" style="fill: #353535"/>\n </g>\n <path d="M101.87,98.27h4.24v2.54h-4.24v4.33H99.11v-4.33H94.89V98.27h4.22V94h2.76Z" style="fill: #fff"/>\n </g>\n </g>\n</svg>\n '},{key:"video_effects",summary:"video_effects_summary",show_instructions:!1,instructions:"video_effects_instructions",show_all_recipes:!1,icon:'\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 201 201">\n <g id="Calque_6" data-name="Calque 6">\n <rect x="-38.92" y="-1662.01" width="512" height="2097.07" style="fill: #47998d"/>\n <rect x="-19.59" y="-12.92" width="460" height="230" rx="10" style="fill: #52c5b9"/>\n <rect y="0.53" width="201" height="201" style="fill: none"/>\n <g>\n <g>\n <rect x="107.44" y="30.53" width="63.54" height="72" style="fill: #fff"/>\n <rect x="111.93" y="35.12" width="53.94" height="43.04" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.16121px"/>\n <rect x="111.07" y="83.75" width="31.66" height="4.99" style="fill: #353535"/>\n <rect x="111.07" y="91.03" width="23.67" height="4.99" style="fill: #353535"/>\n <path d="M132.94,65.19c-.7.45-1.27.14-1.27-.69V48.79c0-.83.57-1.14,1.27-.69l11.92,7.72a.91.91,0,0,1,0,1.65Z" style="fill: #353535"/>\n </g>\n <g>\n <path d="M79.06,120.65,66.93,132.77,27.07,172.64l5.46,5.46,52-52Z"/>\n <path d="M79.15,116.75a1.29,1.29,0,0,0,1.29-1.28v-9a1.29,1.29,0,0,0-2.58,0v9A1.29,1.29,0,0,0,79.15,116.75Z"/>\n <path d="M79.15,134.8a1.29,1.29,0,0,0-1.29,1.29v9a1.29,1.29,0,1,0,2.58,0v-9A1.29,1.29,0,0,0,79.15,134.8Z"/>\n <path d="M98.48,124.49h-9a1.29,1.29,0,0,0,0,2.58h9a1.29,1.29,0,0,0,0-2.58Z"/>\n <path d="M59.81,127.07h9a1.29,1.29,0,0,0,0-2.58h-9a1.29,1.29,0,0,0,0,2.58Z"/>\n <path d="M86.88,119.33a1.35,1.35,0,0,0,.92-.37l6.38-6.38a1.29,1.29,0,1,0-1.82-1.82L86,117.14a1.28,1.28,0,0,0,.9,2.19Z"/>\n <path d="M87.8,132.59A1.29,1.29,0,0,0,86,134.41l6.38,6.38a1.26,1.26,0,0,0,.91.38,1.31,1.31,0,0,0,.92-.38,1.29,1.29,0,0,0,0-1.82Z"/>\n <path d="M70.51,119a1.26,1.26,0,0,0,.92.37,1.34,1.34,0,0,0,.91-.37,1.27,1.27,0,0,0,0-1.82L66,110.76a1.28,1.28,0,0,0-1.81,1.82Z"/>\n </g>\n </g>\n <rect x="23.93" y="153.7" width="52.51" height="2.57" transform="translate(-94.89 80.88) rotate(-45)" style="fill: #fff"/>\n <rect x="68.62" y="128.62" width="13.29" height="2.57" transform="translate(-69.81 91.27) rotate(-45)" style="fill: #fff"/>\n <rect width="201" height="201" style="fill: none"/>\n </g>\n</svg>\n '},{key:"stopmotion_animation",summary:"stopmotion_animation_summary",show_instructions:!1,instructions:"stopmotion_animation_instructions",show_all_recipes:!1,icon:'\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 201 201">\n <title>recipe_icon_stopmotion</title>\n <g id="Calque_6" data-name="Calque 6">\n <g>\n <g>\n <g>\n <g>\n <rect x="25.5" y="9.92" width="50" height="46.04" style="fill: #fff"/>\n <rect x="29.04" y="13.24" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(46.15 33.42)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">1</text>\n </g>\n <g>\n <g>\n <rect x="75.5" y="9.92" width="50" height="46.04" style="fill: #fff"/>\n <rect x="79.04" y="13.24" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(96.15 33.42)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">2</text>\n </g>\n <g>\n <g>\n <rect x="125.5" y="9.92" width="50" height="46.04" style="fill: #fff"/>\n <rect x="129.04" y="13.24" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(146.15 33.42)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">3</text>\n </g>\n </g>\n <g>\n <g>\n <g>\n <rect x="25.5" y="77.48" width="50" height="46.04" style="fill: #fff"/>\n <rect x="29.04" y="80.81" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(46.15 100.99)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">5</text>\n </g>\n <g>\n <g>\n <rect x="75.5" y="77.48" width="50" height="46.04" style="fill: #fff"/>\n <rect x="79.04" y="80.81" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(96.15 100.99)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">6</text>\n </g>\n <g>\n <g>\n <rect x="125.5" y="77.48" width="50" height="46.04" style="fill: #fff"/>\n <rect x="129.04" y="80.81" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(146.15 100.99)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">7</text>\n </g>\n </g>\n <g>\n <g>\n <g>\n <rect x="25.5" y="145.05" width="50" height="46.04" style="fill: #fff"/>\n <rect x="29.04" y="148.38" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(46.15 168.55)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">9</text>\n </g>\n <g>\n <g>\n <rect x="75.5" y="145.05" width="50" height="46.04" style="fill: #fff"/>\n <rect x="79.04" y="148.38" width="42.45" height="31.19" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 1.6319287679171661px"/>\n </g>\n <text transform="translate(91.81 168.55)" style="font-size: 14.490870475769043px;font-family: FiraCode-Medium, Fira Code;font-weight: 500">10</text>\n </g>\n </g>\n </g>\n </g>\n</svg>\n '},{key:"mix_audio_and_video",summary:"mix_audio_and_video_summary",show_instructions:!1,instructions:"mix_audio_and_video_instructions",show_all_recipes:!1,icon:'\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 201 201">\n <title>recipe_icon_video_sound</title>\n <g id="Calque_6" data-name="Calque 6">\n <g>\n <g>\n <rect x="68.88" y="30.28" width="63.54" height="72" style="fill: #fff"/>\n <rect x="73.38" y="34.87" width="53.94" height="43.04" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.161211202864444px"/>\n <rect x="72.52" y="83.5" width="31.66" height="4.99" style="fill: #353535"/>\n <rect x="72.52" y="90.78" width="23.67" height="4.99" style="fill: #353535"/>\n <path d="M94.39,64.94c-.7.45-1.28.14-1.28-.69V48.54c0-.83.58-1.14,1.28-.69l11.92,7.72a.91.91,0,0,1,0,1.65Z" style="fill: #353535"/>\n </g>\n <g>\n <rect x="68.58" y="134.72" width="63.54" height="36" style="fill: #fff"/>\n <rect x="72.21" y="153.34" width="31.66" height="4.99" style="fill: #353535"/>\n <rect x="72.21" y="160.62" width="23.67" height="4.99" style="fill: #353535"/>\n <g>\n <line x1="73.38" y1="143.52" x2="127.32" y2="143.52" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.161211202864444px"/>\n <g>\n <path d="M94.69,151c-.28.18-.51.06-.51-.28V137c0-.34.23-.46.51-.28l10.56,6.84a.36.36,0,0,1,0,.66Z" style="fill: #353535"/>\n <path d="M94.69,151c-.28.18-.51.06-.51-.28V137c0-.34.23-.46.51-.28l10.56,6.84a.36.36,0,0,1,0,.66Z" style="fill: none;stroke: #fff;stroke-miterlimit: 10;stroke-width: 2px"/>\n </g>\n <circle cx="74.38" cy="143.52" r="2.58" style="fill: #353535"/>\n <circle cx="126.32" cy="143.52" r="2.58" style="fill: #353535"/>\n </g>\n </g>\n <path d="M102,117.63h4.24v2.54H102v4.32H99.27v-4.32H95v-2.54h4.23V113.3H102Z" style="fill: #fff"/>\n </g>\n </g>\n</svg>\n '},{key:"mix_audio_and_image",summary:"mix_audio_and_image_summary",show_instructions:!1,instructions:"mix_audio_and_image_instructions",show_all_recipes:!1,icon:'\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 201 201">\n <title>recipe_icon_image_sound</title>\n <g id="Calque_6" data-name="Calque 6">\n <g>\n <g>\n <rect x="68.88" y="30.28" width="63.54" height="62" style="fill: #fff"/>\n <rect x="73.38" y="34.87" width="53.94" height="43.04" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.16121120286444px"/>\n </g>\n <g>\n <rect x="68.58" y="124.72" width="63.54" height="36" style="fill: #fff"/>\n <rect x="72.21" y="143.34" width="31.66" height="4.99" style="fill: #353535"/>\n <rect x="72.21" y="150.62" width="23.67" height="4.99" style="fill: #353535"/>\n <g>\n <line x1="73.38" y1="133.52" x2="127.32" y2="133.52" style="fill: none;stroke: #353535;stroke-miterlimit: 10;stroke-width: 2.16121120286444px"/>\n <g>\n <path d="M94.69,141c-.28.18-.51.06-.51-.28V127c0-.34.23-.46.51-.28l10.56,6.84a.36.36,0,0,1,0,.66Z" style="fill: #353535"/>\n <path d="M94.69,141c-.28.18-.51.06-.51-.28V127c0-.34.23-.46.51-.28l10.56,6.84a.36.36,0,0,1,0,.66Z" style="fill: none;stroke: #fff;stroke-miterlimit: 10;stroke-width: 2px"/>\n </g>\n <circle cx="74.38" cy="133.52" r="2.58" style="fill: #353535"/>\n <circle cx="126.32" cy="133.52" r="2.58" style="fill: #353535"/>\n </g>\n </g>\n <path d="M102,107.63h4.24v2.54H102v4.32H99.27v-4.32H95v-2.54h4.23V103.3H102Z" style="fill: #fff"/>\n </g>\n </g>\n</svg>\n '}]}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{"$root.do_navigation.current_slugProjectName":function(){this.slugProjectName_to_filter=this.$root.do_navigation.current_slugProjectName?this.$root.do_navigation.current_slugProjectName:""},slugProjectName_to_filter:function(){this.recipes=this.recipes.map(function(e){return e.show_all_recipes=!1,e})},show_filters:function(){this.show_filters||(this.$root.settings.publication_filter.keyword="",this.$root.settings.publication_filter.author="",this.$root.settings.publication_filter.name="",this.debounce_search_publication_name="")},debounce_search_publication_name:function(){var e=this;this.debounce_search_publication_name_function&&clearTimeout(this.debounce_search_publication_name_function),this.debounce_search_publication_name_function=setTimeout(function(){e.$root.settings.publication_filter.name=e.debounce_search_publication_name},340)}},computed:{publis_keywords:function(){return this.$root.getAllKeywordsFrom(this.publications)},publis_authors:function(){return this.$root.getAllAuthorsFrom(this.publications)},create_publi_default_name:function(){for(var e=this.allRecipesOfThisTemplate(this.createPubliTemplateKey).length+1,t=this.$t(this.createPubliTemplateKey)+" Nº"+e;this.allRecipesOfThisTemplate(this.createPubliTemplateKey).some(function(e){return e.name===t});)e++,t=this.$t(this.createPubliTemplateKey)+" Nº"+e;return t},sorted_publications:function(){var e=this,n=[];if(!this.publications||0===this.publications.length)return[];var i=!0,o=!1,r=void 0;try{for(var a,s=this.publications[Symbol.iterator]();!(i=(a=s.next()).done);i=!0){var l=a.value,c=void 0;"date"===this.currentSort.type?c=+this.$moment(l[this.currentSort.field],"YYYY-MM-DD HH:mm:ss"):"alph"===this.currentSort.type&&(c=l[this.currentSort.field]),(""===this.$root.settings.publication_filter.name||l.name.toLowerCase().includes(this.$root.settings.publication_filter.name.toLowerCase()))&&((!this.show_only_my_content||!this.$root.current_author||l.hasOwnProperty("authors")&&Array.isArray(l.authors)&&l.authors.some(function(t){return t.slugFolderName===e.$root.current_author.slugFolderName}))&&(this.$root.settings.publication_filter.keyword||this.$root.settings.publication_filter.author?this.$root.settings.publication_filter.keyword&&this.$root.settings.publication_filter.author?l.hasOwnProperty("keywords")&&"object"===t(l.keywords)&&l.keywords.some(function(t){return t.title===e.$root.settings.publication_filter.keyword})&&l.hasOwnProperty("authors")&&"object"===t(l.authors)&&l.authors.some(function(t){return t.slugFolderName===e.$root.settings.publication_filter.author})&&n.push({publication:l,orderBy:c}):this.$root.settings.publication_filter.keyword?l.hasOwnProperty("keywords")&&"object"===t(l.keywords)&&l.keywords.some(function(t){return t.title===e.$root.settings.publication_filter.keyword})&&n.push({publication:l,orderBy:c}):this.$root.settings.publication_filter.author&&l.hasOwnProperty("authors")&&"object"===t(l.authors)&&l.authors.some(function(t){return t.slugFolderName===e.$root.settings.publication_filter.author})&&n.push({publication:l,orderBy:c}):n.push({publication:l,orderBy:c})))}}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}var u=n.sort(function(e,t){var n=e.orderBy,i=t.orderBy;return"string"==typeof e.orderBy&&"string"==typeof t.orderBy&&(n=n.toLowerCase(),i=i.toLowerCase()),n<i?-1:n>i?1:0});return"descending"===this.currentSort.order&&u.reverse(),u=u.map(function(e){return e.publication})}},methods:{recipesForThisProject:function(e){return this.sorted_publications.filter(function(t){return t.attached_to_project===e})},allRecipesOfThisTemplate:function(e){var t=this.sorted_publications.filter(function(t){return t.template===e}),n=this.$_.sortBy(t,"date_created");return n=n.reverse()},filteredRecipesOfTemplate:function(e){var t=this,n=this.allRecipesOfThisTemplate(e);return this.show_only_my_content&&this.$root.current_author?n.filter(function(e){return e.authors&&e.authors.some(function(e){return e.slugFolderName===t.$root.current_author.slugFolderName})}):n},recipeOfThisTemplate:function(e){var t=this,n=this.filteredRecipesOfTemplate(e),i=n.filter(function(e){return!e.follows_model}).map(function(e){if(e.is_model){var t=n.filter(function(t){return t.follows_model&&t.follows_model===e.slugFolderName});t.length>0&&(e._replies=t)}return e});if(!this.recipes.find(function(t){return t.key===e}).show_all_recipes)return this.slugProjectName_to_filter?i.filter(function(e){return e.attached_to_project===t.slugProjectName_to_filter}):i.slice(0,3);if(this.slugProjectName_to_filter){var o=i.filter(function(e){return e.attached_to_project===t.slugProjectName_to_filter});if(o)return o.concat(i.filter(function(e){return e.attached_to_project!==t.slugProjectName_to_filter}))}return i},openCreatePublicationModal:function(e){this.showCreatePublicationModal=!0,this.createPubliTemplateKey=e}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_publicationsview"},[n("div",{staticClass:"m_actionbar"},[n("div",[n("div",{staticClass:"m_actionbar--buttonBar"},[e.showCreatePublicationModal?n("CreatePublication",{attrs:{default_name:e.create_publi_default_name,default_template:e.createPubliTemplateKey,read_only:e.read_only},on:{close:function(t){e.showCreatePublicationModal=!1}}}):e._e()],1),e._v(" "),n("div",{staticClass:"m_actionbar--text"},[n("div",[e._v(e._s(e.$t("cooking_pot"))+" : "+e._s(e.$t("cooking_pot_instructions")))]),e._v(" "),e.publications.length>0?[n("div",[e._v("\n "+e._s(e.$t("showing"))+"\n "),n("span",{class:{"c-rouge":e.sorted_publications.length!==e.publications.length}},[e._v("\n "+e._s(e.sorted_publications.length)+"\n "),e.sorted_publications.length===e.publications.length?[e._v(e._s(e.$t("recipes")))]:[e._v("\n "+e._s(e.$t("recipes_of"))+"\n "+e._s(Object.keys(e.publications).length)+"\n ")]],2),e._v(" "),e.$root.allKeywords.length>0||e.$root.all_authors.length>0?[e._v("\n —\n "),n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_filters},attrs:{type:"button"},on:{click:function(t){e.show_filters=!e.show_filters}}},[e._v(e._s(e.$t("filters")))])]:e._e(),e._v(" "),e.show_filters?n("TagsAndAuthorFilters",{attrs:{allKeywords:e.publis_keywords,allAuthors:e.publis_authors,keywordFilter:e.$root.settings.publication_filter.keyword,authorFilter:e.$root.settings.publication_filter.author},on:{setKeywordFilter:function(t){return e.$root.setPubliKeywordFilter(t)},setAuthorFilter:function(t){return e.$root.setPubliAuthorFilter(t)}}}):e._e()],2),e._v(" "),n("div",{staticClass:"m_searchProject"},[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_search||e.$root.settings.publication_filter.name.length>0},attrs:{type:"button"},on:{click:function(t){e.show_search=!e.show_search}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"margin-bottom":"-2px"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"96.2px",height:"96.2px",viewBox:"0 0 96.2 96.2","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{fill:"currentColor",d:"M10.3,59.9c11.7,11.7,29.5,13.4,43,5.2l9.7,9.7l21.3,21.3l11.9-11.9L74.9,63l-9.7-9.7c8.2-13.5,6.4-31.3-5.2-43 C46.2-3.4,24-3.4,10.3,10.3C-3.4,24-3.4,46.2,10.3,59.9z M50.8,19.5c8.6,8.6,8.6,22.6,0,31.3c-8.6,8.6-22.6,8.6-31.3,0 c-8.6-8.6-8.6-22.6,0-31.3C28.1,10.8,42.1,10.8,50.8,19.5z"}})]),e._v("\n "+e._s(e.$t("search"))+"\n ")]),e._v(" "),e.show_search||e.debounce_search_publication_name.length>0?n("div",{staticClass:"rounded"},[n("div",[e._v(e._s(e.$t("recipe_name_to_find")))]),e._v(" "),n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.debounce_search_publication_name,expression:"debounce_search_publication_name"}],attrs:{type:"text"},domProps:{value:e.debounce_search_publication_name},on:{input:function(t){t.target.composing||(e.debounce_search_publication_name=t.target.value)}}}),e._v(" "),e.debounce_search_publication_name.length>0?n("span",{staticClass:"input-addon"},[n("button",{attrs:{type:"button",disabled:0===e.debounce_search_publication_name.length},on:{click:function(t){e.debounce_search_publication_name=""}}},[e._v("×")])]):e._e()])]):e._e()])]:e._e()],2)]),e._v(" "),e.$root.current_author?n("div",{staticClass:"m_displayMyContent"},[n("span",[e._v(e._s(e.$t("show")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.show_only_my_content,expression:"show_only_my_content"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.show_only_my_content=t.target.multiple?n:n[0]}}},[n("option",{domProps:{value:!0}},[e._v(e._s(e.$t("only_my_recipes").toLowerCase()))]),e._v(" "),n("option",{domProps:{value:!1}},[e._v(e._s(e.$t("all_recipes").toLowerCase()))])])]):e._e()]),e._v(" "),n("div",{staticClass:"m_publiFilter"},[n("label",[e._v(e._s(e.$t("show_recipes_for_project_first")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.slugProjectName_to_filter,expression:"slugProjectName_to_filter"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.slugProjectName_to_filter=t.target.multiple?n:n[0]}}},[n("option",{key:"'all'",attrs:{value:""}},[e._v("** "+e._s(e.$t("all").toLowerCase())+" **")]),e._v(" "),e._l(e.$root.projects_that_are_accessible,function(t){return n("option",{key:t.slugFolderName,domProps:{value:t.slugFolderName}},[e._v("\n "+e._s(t.name)+" ("+e._s(e.recipesForThisProject(t.slugFolderName).length)+")\n ")])})],2)]),e._v(" "),n("div",{staticClass:"m_recipes"},e._l(e.recipes,function(t){return n("div",{key:t.key,staticClass:"m_recipes--recipe"},[n("div",{staticClass:"m_recipes--recipe--icon",domProps:{innerHTML:e._s(t.icon)}}),e._v(" "),n("div",{staticClass:"m_recipes--recipe--text"},[n("h2",{},[e._v(e._s(e.$t(t.key)))]),e._v(" "),n("p",{staticClass:"margin-vert-small"},[n("span",{staticClass:"margin-vert-verysmall",domProps:{innerHTML:e._s(e.$t(t.summary))}}),e._v(" "),n("br"),e._v(" "),!t.show_instructions&&t.instructions?n("button",{staticClass:"buttonLink margin-left-none padding-left-none",attrs:{type:"button"},on:{click:function(e){t.show_instructions=!t.show_instructions}}},[e._v("+ "+e._s(e.$t("more_informations")))]):e._e()]),e._v(" "),t.show_instructions?[n("hr"),e._v(" "),n("p",[n("span",{domProps:{innerHTML:e._s(e.$t(t.instructions))}})])]:e._e(),e._v(" "),n("button",{staticClass:"barButton barButton_createPubli",attrs:{type:"button",disabled:e.read_only},on:{click:function(n){return e.openCreatePublicationModal(t.key)}}},[n("span",[e._v(e._s(e.$t("create")))])])],2),e._v(" "),e.filteredRecipesOfTemplate(t.key).length>0?n("div",{staticClass:"m_recipes--recipe--mealList"},[n("table",[n("thead",[n("tr",[n("th",{attrs:{colspan:"1"}},[n("label",[e._v(e._s(e.$t("previous_creations")))])]),e._v(" "),n("th",{attrs:{colspan:"1"}},[n("label",[e._v(e._s(e.$t("created_date")))])]),e._v(" "),n("th",{attrs:{colspan:"1"}},[n("label",[e._v(e._s(e.$t("authors")))])]),e._v(" "),n("th",{attrs:{colspan:"1"}},[n("label",[e._v(e._s(e.$t("number_of_medias")))])]),e._v(" "),n("th",{attrs:{colspan:"1"}},[n("label",[e._v(e._s(e.$t("attached_to_project")))])])])]),e._v(" "),n("tbody",[e._l(e.recipeOfThisTemplate(t.key),function(t){return[n("PublicationRow",{key:t.slugFolderName,staticClass:"m_recipes--recipe--mealList--meal",attrs:{publication:t}}),e._v(" "),e._l(t._replies,function(e){return n("PublicationRow",{key:e.slugFolderName,staticClass:"m_recipes--recipe--mealList--meal m_recipes--recipe--mealList--meal_replies",attrs:{publication:e}})})]}),e._v(" "),t.show_all_recipes?e._e():n("tr",{staticClass:"m_recipes--recipe--mealList--meal",on:{click:function(e){t.show_all_recipes=!0}}},[n("td",{attrs:{colspan:"6"}},[n("button",{staticClass:"buttonLink margin-none",attrs:{type:"button"}},[e._v(e._s(e.$t("show_all")))])])])],2)])]):e._e()])}),0)])},i.staticRenderFns=[]},{"./components/PublicationRow.vue":214,"./components/modals/CreatePublication.vue":220,"./components/subcomponents/TagsAndAuthorFilters.vue":281,debounce:41}],204:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=r(e("./Publication.vue")),i=r(e("./components/modals/QRCode.vue")),o=r(e("./components/modals/SettingsModal.vue"));function r(e){return e&&e.__esModule?e:{default:e}}function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}n.default={props:{},components:{Publication:t.default,QRCode:i.default,SettingsModal:o.default},data:function(){return{show_all_my_replies:!1,showSettingsModal:!1,showQRModal:!1,ask_if_author_wants_to_create_new_reply:!1,model_reference_slugFolderName:!1}},created:function(){},mounted:function(){this.$socketio.listFolders({type:"publications"}),this.$root.updateNetworkInfos()},beforeDestroy:function(){},watch:{"$root.current_author":{handler:function(){this.$root.current_author&&this.surveyLoggedInAs(this.$root.current_author.slugFolderName)}},"$root.current_publication.follows_model":{handler:function(){this.$root.current_publication&&this.$root.current_publication.follows_model&&(this.model_reference_slugFolderName=this.$root.current_publication.follows_model)}}},computed:{survey_can_edit_publication:function(){var e=this;return!this.$root.state.local_options.force_login&&!this.$root.current_author||!!(this.$root.current_publication&&this.$root.current_publication.authors&&Array.isArray(this.$root.current_publication.authors)&&0!==this.$root.current_publication.authors.length)&&(!!this.$root.current_author_is_admin||this.$root.current_author&&Array.isArray(this.$root.current_publication.authors)&&this.$root.current_publication.authors.some(function(t){return t.slugFolderName===e.$root.current_author.slugFolderName}))},user_replies_by_model:function(){var e=this,t=Object.values(this.$root.store.publications).filter(function(t){return!!t.follows_model&&t.authors&&t.authors.some(function(t){return t.slugFolderName===e.$root.current_author.slugFolderName})}),n=t.reduce(function(e,t){return e.includes(t.follows_model)||e.push(t.follows_model),e},[]).reduce(function(n,i){var o=Object.values(e.$root.store.publications).find(function(e){return e.slugFolderName===i});if(o){var r=t.filter(function(e){return e.follows_model===i});r=e.$_.sortBy(r,"date_created"),n.push({model_name:o.name,slug_model_name:o.slugFolderName,replies:r})}return n},[]);return this.model_reference_slugFolderName?[].concat(a(n.filter(function(t){return t.slug_model_name===e.model_reference_slugFolderName})),a(n.filter(function(t){return t.slug_model_name!==e.model_reference_slugFolderName}))):n}},methods:{surveyLoggedInAs:function(e){var t=this;return"survey"===this.$root.store.request.display&&(!!this.$root.current_publication&&void("everybody"===this.$root.current_publication.editing_limited_to?(this.user_replies_by_model.some(function(e){return e.slug_model_name===t.$root.current_publication.follows_model})&&!this.ask_if_author_wants_to_create_new_reply&&(this.ask_if_author_wants_to_create_new_reply=!0,this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("no")).confirm(this.$t("alreadyAnsweredThatModel"),function(){t.ask_if_author_wants_to_create_new_reply=!1},function(){t.$root.removeFolder({type:"publications",slugFolderName:t.$root.current_publication.slugFolderName}),t.show_all_my_replies=!0})),this.$root.editFolder({type:"publications",slugFolderName:this.$root.current_publication.slugFolderName,data:{editing_limited_to:"only_authors",viewing_limited_to:"",name:"["+this.$root.current_author.name+"] "+this.$root.current_publication.name,authors:[{slugFolderName:e}]}}).then(function(){})):this.$root.current_publication.authors.some(function(t){return t.slugFolderName===e})||this.$root.current_author_is_admin?this.$alertify.closeLogOnClick(!0).delay(4e3).success(this.$t("notifications.connected_as")+"<i>"+this.$root.current_author.name+"</i>"):(this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.account_not_associated_to_this_ressource")),this.show_all_my_replies=!0)))}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"m_topbar"},[e.$root.current_author?n("div",{staticClass:"m_topbar--left _survey_author_indicator"},[n("button",{staticClass:"button-greenthin",attrs:{type:"button"}},[e._v("\n "+e._s(e.$root.current_author.name)+"\n "),e.$root.current_author_is_admin?n("span",[e._v("("+e._s(e.$t("admin"))+")")]):e._e()]),e._v(" "),e.user_replies_by_model.length>0?n("button",{staticClass:"buttonLink",class:{"is--active":e.show_all_my_replies},attrs:{type:"button"},on:{click:function(t){t.stopPropagation(),e.show_all_my_replies=!e.show_all_my_replies}}},[e._v("\n "+e._s(e.$t("see_all_my_stories"))+"\n ")]):e._e(),e._v(" "),n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){return t.stopPropagation(),e.$root.unsetAuthor()}}},[e._v("\n "+e._s(e.$t("logout"))+"\n ")])]):e._e(),e._v(" "),n("div",{staticClass:"m_topbar--right"},[n("div",{staticClass:"m_topbar--right--pictos"},[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom-end",delay:[600,0]},expression:"{\n placement: 'bottom-end',\n delay: [600, 0],\n }"}],attrs:{type:"button",content:e.$t("share_access")},on:{click:function(t){e.showQRModal=!e.showQRModal}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 90 90"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"20px",height:"20px",viewBox:"0 0 90 90","xml:space":"preserve"}},[n("path",{attrs:{d:"M48,0v42h42V0H48z M84,36H54V6h30V36z M13,77h16V61H13V77z M0,90h42V48H0V90z M6,54h30v30H6V54z M63,48H48v13h15V48z M69,54\n h8v7h-8v12h-8v-8h-9v8h5v9h-9v8h21v-8h13v-9h-5v-8h13V48H69V54z M0,42h42V0H0V42z M6,6h30v30H6V6z M90,90v-8h-8v8H90z M13,29h16V13\n H13V29z M77,13H61v16h16V13z"}})])]),e._v(" "),e.showQRModal?n("QRCode",{attrs:{slugProjectName:e.slugProjectName},on:{close:function(t){e.showQRModal=!1}}}):e._e(),e._v(" "),n("a",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0],\n }"}],staticClass:"js--openInBrowser",attrs:{target:"_blank",href:"https://latelier-des-chercheurs.fr/docs/manuel-dodoc",content:e.$t("help")}},[n("svg",{staticStyle:{"enable-background":"new 0 0 12 20.3"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"12px",height:"20.3px",viewBox:"0 0 12 20.3","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M9.4,0.6c0.9,0.4,1.5,1,2,1.7C11.8,3,12,3.7,12,4.6c0,0.8-0.1,1.4-0.4,1.9s-0.6,1-1,1.3\n c-0.4,0.3-0.9,0.7-1.5,1.1c-0.8,0.5-1.3,1-1.7,1.4C7.1,10.8,7,11.3,7,12v1H3.6v-1.1c0-0.8,0.1-1.6,0.4-2.2c0.3-0.6,0.6-1.1,1-1.4\n C5.4,8,5.8,7.6,6.4,7.2c0.6-0.4,1.1-0.8,1.4-1.1c0.3-0.3,0.4-0.7,0.4-1.2c0-0.6-0.2-1.1-0.6-1.4C7.2,3,6.6,2.9,5.9,2.9\n c-1.3,0-2.5,0.6-3.6,1.9L0,2.9C1.6,1,3.7,0,6.2,0C7.5,0,8.5,0.2,9.4,0.6z M7,16.4c0.5,0.4,0.7,1,0.7,1.6c0,0.6-0.2,1.2-0.7,1.6\n c-0.5,0.5-1,0.7-1.6,0.7c-0.6,0-1.1-0.2-1.6-0.7c-0.4-0.5-0.7-1-0.7-1.6c0-0.6,0.2-1.2,0.6-1.6c0.4-0.4,1-0.7,1.6-0.7\n S6.5,16,7,16.4z"}})])]),e._v(" "),n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom-end",delay:[600,0]},expression:"{\n placement: 'bottom-end',\n delay: [600, 0],\n }"}],attrs:{type:"button",content:e.$t("settings")},on:{click:function(t){e.showSettingsModal=!e.showSettingsModal}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 90 90"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"90px",height:"90px",viewBox:"0 0 90 90","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M79.8,49.3v-9c0-1,0.6-1.9,1.4-2.3l8.7-4.5l-1.8-5.2l-9.9,1.4c-1,0.2-2-0.3-2.6-1.1l-5.4-7.3\n\tc-0.6-0.8-0.7-1.8-0.2-2.7l4.3-8.6l-4.7-3.2l-6.9,6.8C62,14.3,61,14.5,60,14.2l-8.9-2.7c-1-0.3-1.7-1.1-1.9-2.2L47.5,0h-5.7\n\tl-1.6,9.4c-0.1,1-0.9,1.8-1.8,2.2l-8.9,2.8c-1,0.3-2,0.1-2.7-0.6l-7-6.6l-4.6,3.3l4.4,8.5c0.5,0.9,0.4,1.9-0.2,2.7L14,29\n\tc-0.6,0.8-1.6,1.2-2.6,1.1l-9.7-1.3L0,34l8.7,4.3c0.9,0.5,1.5,1.4,1.5,2.4v9c0,1-0.6,1.9-1.4,2.3l-8.6,4.5l1.8,5.3l9.8-1.4\n\tc1-0.1,2,0.3,2.6,1.1l5.4,7.3c0.6,0.8,0.7,1.8,0.2,2.7L15.7,80l4.6,3.2l6.9-6.8c0.7-0.7,1.8-0.9,2.7-0.6l8.9,2.7\n\tc1,0.3,1.7,1.1,1.9,2.1l1.7,9.4h5.7l1.6-9.4c0.1-1,0.9-1.8,1.8-2.2l8.9-2.8c1-0.3,2-0.1,2.7,0.6l7,6.6l4.6-3.3L70.4,71\n\tc-0.5-0.9-0.4-1.9,0.2-2.7L76,61c0.6-0.8,1.6-1.2,2.6-1.1l9.7,1.3L90,56l-8.7-4.3C80.4,51.2,79.8,50.3,79.8,49.3z M45,63.4\n\tc-10.5,0-19-8.3-19-18.4c0-10.2,8.5-18.4,19-18.4S64,34.8,64,45C64,55.2,55.5,63.4,45,63.4z"}})])]),e._v(" "),e.showSettingsModal?n("SettingsModal",{on:{close:function(t){e.showSettingsModal=!1}}}):e._e()],1)]),e._v(" "),e.$root.state.connected?e._e():n("div",{staticClass:"m_topbar--status"},[e._v("\n "+e._s(e.$t("notifications.connection_lost"))+"\n "+e._s(e.$t("notifications.contents_wont_be_editable"))+"\n ")]),e._v(" "),e.show_all_my_replies||!e.$root.current_publication?n("div",{staticClass:"m_topbar--repliesList padding-small"},[n("label",[e._v(e._s(e.$t("list_of_stories")))]),e._v(" "),e._l(e.user_replies_by_model,function(t){var i=t.model_name,o=t.slug_model_name,r=t.replies;return n("ol",{key:i,staticClass:"padding-verysmall"},[n("strong",{class:{"bg-rouge_clair padding-sides-verysmall c-noir":o===e.model_reference_slugFolderName}},[e._v(e._s(i))]),e._v(" "),e._l(r,function(t){return n("li",{key:t.slugFolderName,staticClass:"margin-sides-medium padding-verysmall"},[e.$root.current_publication&&t.slugFolderName===e.$root.current_publication.slugFolderName?n("span",[e._v("\n "+e._s(t.name)+"\n "),n("small",{staticClass:"c-rouge"},[e._v("— "+e._s(e.$t("currently_open").toLowerCase()))])]):n("a",{attrs:{href:"/_publications/survey/"+t.slugFolderName}},[e._v("\n "+e._s(t.name)+"\n ")]),e._v(" "),n("div",[n("small",[e._v("\n "+e._s(e.$t("created_date"))+" —\n "+e._s(e.$root.formatDateToPrecise(t.date_created))+"\n ")])]),e._v(" "),n("div",[n("small",[e._v("\n "+e._s(e.$t("last_modified"))+" —\n "+e._s(e.$root.formatDateToPrecise(t.date_modified))+"\n ")])]),e._v(" "),n("div",[n("small",[t.date_submitted?[e._v("\n •\n "+e._s(e.$t("published"))+" —\n "+e._s(e.$root.formatDateToPrecise(t.date_submitted))+"\n ")]:e._e()],2)])])})],2)})],2):e._e()]),e._v(" "),e.$root.current_publication&&!e.ask_if_author_wants_to_create_new_reply&&e.survey_can_edit_publication?n("Publication",{attrs:{publication:e.$root.current_publication,read_only:!e.$root.state.connected}}):e._e()],1)},i.staticRenderFns=[],i._scopeId="data-v-0941fa81"},{"./Publication.vue":202,"./components/modals/QRCode.vue":229,"./components/modals/SettingsModal.vue":231}],205:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{withTitleBar:{type:Boolean,default:!0}},components:{},data:function(){return{is_dragged:!1}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{mousedown:function(e){console.log("METHODS • SystemBar: mousedown"),this.is_dragged=!1},mousemove:function(e){this.is_dragged||(this.is_dragged=!0)},mouseup:function(e){console.log("METHODS • SystemBar: mouseup"),console.log("with is_dragged = "+this.is_dragged),this.is_dragged||this.$root.closeProject(),this.is_dragged=!1}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"systemBar"}},[t("div",{staticClass:"fixedBand"},[t("transition",{attrs:{name:"fade",duration:600}},[this.withTitleBar?t("div",{staticClass:"titleText",on:{mousedown:this.mousedown,mousemove:this.mousemove,mouseup:this.mouseup}},[this._v("do•doc")]):this._e()])],1)])},i.staticRenderFns=[]},{}],206:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=r(e("./components/modals/QRCode.vue")),i=r(e("./components/modals/SettingsModal.vue")),o=r(e("./components/Clients.vue"));function r(e){return e&&e.__esModule?e:{default:e}}n.default={props:["has_back_button","slugProjectName","authors","project"],components:{QRCode:t.default,SettingsModal:i.default,Clients:o.default},data:function(){return{showQRModal:!1,showSettingsModal:!1,show_menu:!1}},created:function(){},mounted:function(){this.menuVisibility()},beforeDestroy:function(){},watch:{"$root.settings.windowWidth":function(){this.menuVisibility()}},computed:{show_advanced_options:function(){return this.$root.screen_is_wide||!this.$root.screen_is_wide&&this.show_menu}},methods:{openChatPanel:function(){this.$eventHub.$emit("resizePanels",[{size:40},{size:0},{size:60}])},menuVisibility:function(){},goBack:function(){this.$root.navigation_back()},goHomeOrReload:function(){"ListView"!==this.$root.do_navigation.view?this.$root.closeProject():window.location.reload()},toggleMenu:function(){this.show_menu=!this.show_menu},urlToPortrait:function(e){if(!e)return"";var t=e.find(function(e){return 180===e.size}).path;return"export_publication"===this.$root.state.mode?"./"+t:"/"+t}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_topbar",class:{"is--collapsable":!e.$root.screen_is_wide}},[n("div",{staticClass:"m_topbar--left"},[n("div",{staticClass:"m_topbar--left--logo"},[n("transition",{attrs:{name:"BackButton",duration:500}},[e.has_back_button?n("button",{staticClass:"backButton text-ellipsis",attrs:{type:"button"},on:{click:function(t){return e.goBack()}}},[e._v("\n ‹\n "),n("span",{staticClass:"backButton--text"},[e._v(e._s(e.$t("back")))])]):e._e()]),e._v(" "),n("img",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[1e3,0]},expression:"{\n placement: 'bottom',\n delay: [1000, 0],\n }"}],attrs:{content:"do•doc version "+e.$root.state.appVersion,src:"/images/i_logo.svg",draggable:"false"},on:{click:function(t){return e.goHomeOrReload()}}})],1),e._v(" "),n("div",{staticClass:"m_topbar--left--breadcrumb"},[e.project.hasOwnProperty("name")?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0],\n }"}],attrs:{type:"button",disabled:"ProjectView"===e.$root.do_navigation.view,content:e.$t("back_to_project")},on:{click:function(t){e.$root.do_navigation.view="ProjectView"}}},[n("span",[e._v(e._s(e.project.name))])]):e._e(),e._v(" "),e.project.hasOwnProperty("name")&&"CaptureView"===e.$root.do_navigation.view?n("button",{attrs:{type:"button"}},[n("span",[e._v("Capture")])]):e._e()]),e._v(" "),e.$root.screen_is_wide?e._e():n("button",{staticClass:"m_topbar--left--menuButton",attrs:{type:"button"},on:{click:function(t){return e.toggleMenu()}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 90 90"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"20px",height:"20px",viewBox:"0 0 90 90","xml:space":"preserve"}},[n("rect",{staticClass:"st0",attrs:{width:"108.2",height:"21"}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{y:"36.5",width:"108.2",height:"21"}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{y:"73",width:"108.2",height:"21"}})])])]),e._v(" "),e.show_advanced_options?n("div",{staticClass:"m_topbar--center"},[n("div",{staticClass:"m_topbar--center--authors"},[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0],\n }"}],staticClass:"m_topbar--center--authors--currentAuthor",attrs:{type:"button",content:e.$t("login")},on:{click:function(t){e.$root.showAuthorsListModal=!0}}},[e.$root.current_author?[e.$root.current_author.hasOwnProperty("preview")&&""!==e.$root.current_author.preview.length?n("div",{staticClass:"m_topbar--center--authors--portrait"},[n("img",{attrs:{src:e.urlToPortrait(e.$root.current_author.preview),width:"100",height:"100",draggable:"false"}})]):e._e(),e._v(" "),n("div",{staticClass:"m_topbar--center--authors--name"},[e._v("\n "+e._s(e.$root.current_author.name)+"\n ")])]:[n("div",{staticClass:"font-medium"},[e._v("("+e._s(e.$t("authors"))+")")])]],2),e._v(" "),n("Clients"),e._v(" "),e.$root.get_total_unread_messages?n("div",{staticClass:"m_unreadMessages"},[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0],\n }"}],attrs:{type:"button",content:e.$t("unread_messages")},on:{click:function(t){return e.openChatPanel()}}},[e._v("\n "+e._s(e.$root.get_total_unread_messages)+"\n ")])]):e._e()],1)]):e._e(),e._v(" "),e.show_advanced_options?n("div",{staticClass:"m_topbar--right"},[n("div",{staticClass:"m_topbar--right--pictos"},[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom-end",delay:[600,0]},expression:"{\n placement: 'bottom-end',\n delay: [600, 0],\n }"}],attrs:{type:"button",content:e.$t("share_access")},on:{click:function(t){e.showQRModal=!e.showQRModal}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 90 90"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"20px",height:"20px",viewBox:"0 0 90 90","xml:space":"preserve"}},[n("path",{attrs:{d:"M48,0v42h42V0H48z M84,36H54V6h30V36z M13,77h16V61H13V77z M0,90h42V48H0V90z M6,54h30v30H6V54z M63,48H48v13h15V48z M69,54\n h8v7h-8v12h-8v-8h-9v8h5v9h-9v8h21v-8h13v-9h-5v-8h13V48H69V54z M0,42h42V0H0V42z M6,6h30v30H6V6z M90,90v-8h-8v8H90z M13,29h16V13\n H13V29z M77,13H61v16h16V13z"}})])]),e._v(" "),e.showQRModal?n("QRCode",{attrs:{slugProjectName:e.slugProjectName},on:{close:function(t){e.showQRModal=!1}}}):e._e(),e._v(" "),n("a",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0],\n }"}],staticClass:"js--openInBrowser",attrs:{target:"_blank",href:"https://dodoc.fr/",content:e.$t("help")}},[n("svg",{staticStyle:{"enable-background":"new 0 0 12 20.3"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"12px",height:"20.3px",viewBox:"0 0 12 20.3","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M9.4,0.6c0.9,0.4,1.5,1,2,1.7C11.8,3,12,3.7,12,4.6c0,0.8-0.1,1.4-0.4,1.9s-0.6,1-1,1.3\n c-0.4,0.3-0.9,0.7-1.5,1.1c-0.8,0.5-1.3,1-1.7,1.4C7.1,10.8,7,11.3,7,12v1H3.6v-1.1c0-0.8,0.1-1.6,0.4-2.2c0.3-0.6,0.6-1.1,1-1.4\n C5.4,8,5.8,7.6,6.4,7.2c0.6-0.4,1.1-0.8,1.4-1.1c0.3-0.3,0.4-0.7,0.4-1.2c0-0.6-0.2-1.1-0.6-1.4C7.2,3,6.6,2.9,5.9,2.9\n c-1.3,0-2.5,0.6-3.6,1.9L0,2.9C1.6,1,3.7,0,6.2,0C7.5,0,8.5,0.2,9.4,0.6z M7,16.4c0.5,0.4,0.7,1,0.7,1.6c0,0.6-0.2,1.2-0.7,1.6\n c-0.5,0.5-1,0.7-1.6,0.7c-0.6,0-1.1-0.2-1.6-0.7c-0.4-0.5-0.7-1-0.7-1.6c0-0.6,0.2-1.2,0.6-1.6c0.4-0.4,1-0.7,1.6-0.7\n S6.5,16,7,16.4z"}})])]),e._v(" "),n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom-end",delay:[600,0]},expression:"{\n placement: 'bottom-end',\n delay: [600, 0],\n }"}],attrs:{type:"button",content:e.$t("settings")},on:{click:function(t){e.showSettingsModal=!e.showSettingsModal}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 90 90"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"90px",height:"90px",viewBox:"0 0 90 90","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M79.8,49.3v-9c0-1,0.6-1.9,1.4-2.3l8.7-4.5l-1.8-5.2l-9.9,1.4c-1,0.2-2-0.3-2.6-1.1l-5.4-7.3\n\tc-0.6-0.8-0.7-1.8-0.2-2.7l4.3-8.6l-4.7-3.2l-6.9,6.8C62,14.3,61,14.5,60,14.2l-8.9-2.7c-1-0.3-1.7-1.1-1.9-2.2L47.5,0h-5.7\n\tl-1.6,9.4c-0.1,1-0.9,1.8-1.8,2.2l-8.9,2.8c-1,0.3-2,0.1-2.7-0.6l-7-6.6l-4.6,3.3l4.4,8.5c0.5,0.9,0.4,1.9-0.2,2.7L14,29\n\tc-0.6,0.8-1.6,1.2-2.6,1.1l-9.7-1.3L0,34l8.7,4.3c0.9,0.5,1.5,1.4,1.5,2.4v9c0,1-0.6,1.9-1.4,2.3l-8.6,4.5l1.8,5.3l9.8-1.4\n\tc1-0.1,2,0.3,2.6,1.1l5.4,7.3c0.6,0.8,0.7,1.8,0.2,2.7L15.7,80l4.6,3.2l6.9-6.8c0.7-0.7,1.8-0.9,2.7-0.6l8.9,2.7\n\tc1,0.3,1.7,1.1,1.9,2.1l1.7,9.4h5.7l1.6-9.4c0.1-1,0.9-1.8,1.8-2.2l8.9-2.8c1-0.3,2-0.1,2.7,0.6l7,6.6l4.6-3.3L70.4,71\n\tc-0.5-0.9-0.4-1.9,0.2-2.7L76,61c0.6-0.8,1.6-1.2,2.6-1.1l9.7,1.3L90,56l-8.7-4.3C80.4,51.2,79.8,50.3,79.8,49.3z M45,63.4\n\tc-10.5,0-19-8.3-19-18.4c0-10.2,8.5-18.4,19-18.4S64,34.8,64,45C64,55.2,55.5,63.4,45,63.4z"}})])]),e._v(" "),n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom-end",delay:[600,0]},expression:"{\n placement: 'bottom-end',\n delay: [600, 0],\n }"}],class:{"is--active":e.$root.app_is_fullscreen},attrs:{content:e.$t("fullscreen")},on:{click:function(t){return e.$root.toggleFullScreen()}}},[e.$root.app_is_fullscreen?e._e():n("svg",{staticStyle:{"enable-background":"new 0 0 133.3 133.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"133.3px",height:"133.2px",viewBox:"-15 -15 160 160","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"58.7,112.2 58.7,133.2 0,133.2 0,74.5 21,74.5 21,112.2 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"112.3,74.5 133.3,74.5 133.3,133.2 74.6,133.2 74.6,112.2 112.3,112.2 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"21,58.7 0,58.7 0,0 58.7,0 58.7,21 21,21 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"133.3,58.7 112.3,58.7 112.3,21 74.6,21 74.6,0 133.3,0 \t"}})]),e._v(" "),e.$root.app_is_fullscreen?n("svg",{staticStyle:{"enable-background":"new 0 0 133.3 133.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"133.3px",height:"133.2px",viewBox:"0 0 133.3 133.2","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"0,95.5 0,74.5 58.7,74.5 58.7,133.2 37.7,133.2 37.7,95.5 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"95.6,133.2 74.6,133.2 74.6,74.5 133.3,74.5 133.3,95.5 95.6,95.5 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"37.7,0 58.7,0 58.7,58.7 0,58.7 0,37.7 37.7,37.7 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"74.6,0 95.6,0 95.6,37.7 133.3,37.7 133.3,58.7 74.6,58.7 \t"}})]):e._e()]),e._v(" "),e.showSettingsModal?n("SettingsModal",{on:{close:function(t){e.showSettingsModal=!1}}}):e._e()],1)]):e._e(),e._v(" "),e.$root.state.connected?e._e():n("div",{staticClass:"m_topbar--status"},[e._v("\n "+e._s(e.$t("notifications.connection_lost"))+"\n "+e._s(e.$t("notifications.contents_wont_be_editable"))+"\n ")])])},i.staticRenderFns=[]},{"./components/Clients.vue":211,"./components/modals/QRCode.vue":229,"./components/modals/SettingsModal.vue":231}],207:[function(e,t,n){"use strict";var i="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},o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=k(e("vue")),a=k(e("store")),s=k(e("underscore")),l=k(e("alertify.js")),c=k(e("../adc-core/auth-client.js")),u=k(e("./locale_strings.js"));e("prismjs");var d=k(e("portal-vue")),p=k(e("vue-i18n")),f=k(e("vue-plyr")),m=e("vue-tippy"),h=k(m),g=k(e("./components/subcomponents/DateField.vue")),v=k(e("./components/subcomponents/ProtectedLock.vue")),_=k(e("./components/subcomponents/Pin.vue")),b=k(e("./components/modals/BaseModal.vue")),y=k(e("moment"));e("moment/locale/fr"),e("moment/locale/en-gb"),e("moment/locale/nl"),e("./moment_locale_oc.js");var w=k(e("../adc-core/custom-socketio.js")),x=k(e("./App.vue"));function k(e){return e&&e.__esModule?e:{default:e}}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(r.default.prototype,"$_",{value:s.default}),Array.prototype.move=function(e,t){this.splice(t,0,this.splice(e,1)[0])},r.default.prototype.$alertify=l.default,c.default.init(),r.default.prototype.$auth=c.default,r.default.prototype.$eventHub=new r.default,r.default.use(d.default),r.default.use(p.default),r.default.use(f.default),r.default.use(h.default),r.default.component("tippy",m.TippyComponent),r.default.component("DateField",g.default),r.default.component("Loader",{name:"Loader",template:'\n <div class="_loader">\n <span class="loader" />\n </div>\n '}),r.default.component("ProtectedLock",v.default),r.default.component("Pin",_.default),r.default.component("Modal",b.default);var C={available:[{key:"fr",name:"Français"},{key:"en",name:"English"},{key:"de",name:"Deutsch"},{key:"nl",name:"Nederlands"},{key:"oc",name:"Occitan"}],default:"en",current:"",init:function(){var e=a.default.get("language");if(void 0!==e&&this.available.find(function(t){return t.key===e})&&(this.current=e),""===this.current){var t=this.available.find(function(e){return window.navigator.language.includes(e.key)});this.current=t?t.key:this.default}}};C.init(),y.default.locale(C.current),r.default.prototype.$moment=y.default,r.default.prototype.$loadScript=function(e){return new Promise(function(t,n){if(document.querySelector('script[src="'+e+'"]'))t();else{var i=document.createElement("script");i.type="text/javascript",i.async=!0,i.src=e,i.addEventListener("load",t),i.addEventListener("error",n),i.addEventListener("abort",n),document.head.appendChild(i)}})},document.documentElement.setAttribute("lang",C.current);var S={};Object.entries(u.default).map(function(e){var t=o(e,2),n=t[0],r=t[1];Object.entries(r).map(function(e){var t=o(e,2),r=t[0],a=t[1];if("object"===(void 0===a?"undefined":i(a))){var s=r,l=a;Object.entries(l).map(function(e){var t=o(e,2),i=t[0],r=t[1];S[i].hasOwnProperty(n)||(S[i][n]={}),S[i][n].hasOwnProperty(s)||(S[i][n][s]={}),S[i][n][s]=r})}else S.hasOwnProperty(r)||(S[r]={}),S[r].hasOwnProperty(n)||(S[r][n]={}),S[r][n]=a})});C.available.map(function(e){return e.key});var M=new p.default({locale:C.current,fallbackLocale:"en",messages:S});r.default.prototype.$socketio=w.default.init(M,c.default,l.default);new r.default({i18n:M,el:"#app",components:{App:x.default},template:"\n <App\n />\n ",data:{store:window.store,state:window.state,justCreatedFolderID:!1,currentTime:"",app_is_fullscreen:!1,do_navigation:{view:"ListView",current_slugProjectName:!1},media_modal:{open:!1,minimized:!1,show_sidebar:!0,current_slugProjectName:!1,current_metaFileName:!1},showSessionPasswordModal:!1,showAuthorsListModal:!1,settings:{has_modal_opened:!1,capture_mode_cant_be_changed:!1,windowWidth:window.innerWidth,windowHeight:window.innerHeight,url_queries:{},capture_options:{selected_mode:"",selected_devicesId:{audioinput:"",videoinput:"",audiooutput:""},ideal_camera_resolution:{name:"",width:"",height:""},distant_flux:{active:!1,username:"dodoc-"+(Math.random().toString(36)+"00000000000000000").slice(2,5),callee_username:""}},current_publication:{slug:!1,page_id:!1,layer_id:!1,accepted_media_type:[],selected_medias:[]},current_chat:{slug:!1},current_author_slug:!1,publi_zoom:.8,show_publi_panel:!1,show_chat_panel:!1,enable_system_bar:window.state.is_electron&&window.state.is_darwin,project_filter:{keyword:"",author:"",name:""},publication_filter:{keyword:"",author:"",name:""},media_filter:{keyword:"",author:"",fav:!1,type:""},opened_folder:!1},lang:{available:C.available,current:C.current}},created:function(){var e=this;if("debug"===window.state.dev_mode&&console.log("ROOT EVENT: created"),"standalone"===this.store.request.display)return!1;if(this.settings.enable_system_bar&&document.body.classList.add("has_systembar"),"debug"===window.state.dev_mode&&console.log("ROOT EVENT: created / checking for password"),window.location.search.length>1)for(var t,n=0,i=window.location.search.substr(1).split("&");n<i.length;n++)t=i[n].split("="),this.settings.url_queries[unescape(t[0])]=t.length>1?unescape(t[1]):"";if(document.addEventListener("fullscreenchange",this.detectFullScreen),document.addEventListener("mozfullscreenchange",this.detectFullScreen),document.addEventListener("webkitfullscreenchange",this.detectFullScreen),window.addEventListener("resize",function(){e.settings.windowWidth=window.innerWidth,e.settings.windowHeight=window.innerHeight}),this.currentTime=this.$moment().millisecond(0),setInterval(function(){return e.currentTime=e.$moment().millisecond(0)},1e3),this.state.noticeOfError)"failed_to_find_folder"===this.state.noticeOfError?this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t('notifications["failed_to_get_folder:"]')+" "+this.store.request.type+"/"+this.store.request.slugFolderName):this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.state.noticeOfError);else if("debug"===window.state.dev_mode&&console.log("ROOT EVENT: created / no errors, checking for content to load"),this.store.request.type&&this.store.request.slugFolderName?(this.$eventHub.$once("socketio.authentificated",function(){e.$socketio.listFolders({type:e.store.request.type})}),this.$eventHub.$once("socketio."+this.store.request.type+".folders_listed",function(){"projects"===e.store.request.type&&e.openProject(e.store.request.slugFolderName),"publications"===e.store.request.type&&(e.settings.current_publication.slug=e.store.request.slugFolderName)}),this.store.request.metaFileName&&this.$eventHub.$once("socketio."+this.store.request.type+".medias_listed",function(){if("projects"===e.store.request.type){var t=e.store.request.metaFileName;e.media_modal.show_sidebar=!1,e.openMedia({slugProjectName:e.store.request.slugFolderName,metaFileName:t})}})):["export_publication","print_publication","link_publication"].includes(this.state.mode)&&Object.keys(this.store.publications).length>0&&(this.settings.current_publication.slug=Object.keys(this.store.publications)[0]),this.$eventHub.$on("socketio.reconnect",function(){e.$socketio.listFolders({type:"authors"}),e.$socketio.listFolders({type:"projects"}),e.$socketio.listFolders({type:"publications"}),e.$socketio.listFolders({type:"chats"}),e.settings.current_publication.slug&&(e.$socketio.listFolder({type:"publications",slugFolderName:e.settings.current_publication.slug}),e.$socketio.listMedias({type:"publications",slugFolderName:e.settings.current_publication.slug})),e.do_navigation.current_slugProjectName&&(e.$socketio.listFolder({type:"projects",slugFolderName:e.do_navigation.current_slugProjectName}),e.$socketio.listMedias({type:"projects",slugFolderName:e.do_navigation.current_slugProjectName}))}),window.onpopstate=function(t){console.log("ROOT EVENT: popstate with event.state.slugProjectName = "+t.state.slugProjectName),e.do_navigation.current_slugProjectName=t.state.slugProjectName},window.addEventListener("tag.newTagDetected",this.newTagDetected),"live"===this.state.mode){if(console.log("ROOT EVENT: created / now connecting with socketio"),this.state.is_electron||(this.$eventHub.$on("socketio.connect",function(){e.$alertify.closeLogOnClick(!0).delay(4e3).success(e.$t('notifications["connected_to_dodoc"]'))}),this.$eventHub.$on("socketio.reconnect",function(){e.$alertify.closeLogOnClick(!0).delay(4e3).success(e.$t('notifications["connected_to_dodoc"]'))})),"has_pass"===this.state.local_options.session_password){var o=this.$auth.getSessionPasswordFromLocalStorage();o?(this.$socketio.connect(o),this.$alertify.closeLogOnClick(!0).delay(4e3).success(this.$t("notifications.using_saved_password")),this.$eventHub.$once("socketio.socketerror",function(){e.showSessionPasswordModal=!0})):this.showSessionPasswordModal=!0,this.$eventHub.$on("socketio.socketerror",function(){e.$alertify.closeLogOnClick(!0).delay(4e3).error(e.$t('notifications["wrong_password_for_dodoc"]')),e.showSessionPasswordModal=!0})}else this.$socketio.connect();"survey"===this.store.request.display&&this.$socketio.listFolders({type:"authors"}),this.$eventHub.$on("socketio.authentificated",function(){e.$socketio.listFolders({type:"authors"}),e.$socketio.listFolders({type:"projects"}),e.$socketio.listFolders({type:"publications"}),e.$socketio.listFolders({type:"chats"}),e.updateNetworkInfos(),e.settings.current_publication.slug&&(e.$socketio.listFolder({type:"publications",slugFolderName:e.settings.current_publication.slug}),e.$socketio.listMedias({type:"publications",slugFolderName:e.settings.current_publication.slug})),e.do_navigation.current_slugProjectName&&(e.$socketio.listFolder({type:"projects",slugFolderName:e.do_navigation.current_slugProjectName}),e.$socketio.listMedias({type:"projects",slugFolderName:e.do_navigation.current_slugProjectName}));var t=e.state.list_authorized_folders.find(function(e){return"authors"===e.type&&e.allowed_slugFolderNames.length>0});t&&e.$eventHub.$once("socketio.authors.folders_listed",function(){if(0!==Object.values(e.store.authors).length){var n=t.allowed_slugFolderNames[0],i=Object.values(e.store.authors).find(function(e){return e.slugFolderName===n});i&&(e.setAuthor(n),e.$alertify.closeLogOnClick(!0).delay(4e3).success(e.$t("notifications.connecting_using_saved_account")+i.name))}})})}},beforeDestroy:function(){this.settings.current_publication.page_id=!1},watch:{"settings.has_modal_opened":function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: var has changed: has_modal_opened: "+this.settings.has_modal_opened),this.has_modal_opened?document.body.style.overflow="hidden":document.body.style.overflow=""},"store.authors":function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: var has changed: store.authors"),!1===this.settings.current_author_slug||this.store.authors.hasOwnProperty(this.settings.current_author_slug)||this.unsetAuthor()},"state.list_authorized_folders":{handler:function(){var e=this.state.list_authorized_folders.find(function(e){return"authors"===e.type});if(e){var t=e.allowed_slugFolderNames;if(t.length>0)return void this.setAuthor(t[0])}this.unsetAuthor()},deep:!0},current_project:function(){this.updateClientInfo({looking_at_project:{slugFolderName:!!this.current_project&&this.current_project.slugFolderName}})},current_publication:function(){this.updateClientInfo({looking_at_publi:{slugFolderName:!!this.current_publication&&this.current_publication.slugFolderName}})},media_modal:{handler:function(){var e={};this.media_modal.open&&(e.slugFolderName=this.media_modal.current_slugProjectName,e.metaFileName=this.media_modal.current_metaFileName),this.updateClientInfo({editing_media:e})},deep:!0},current_chat:function(){this.updateClientInfo({looking_at_chat:{slugFolderName:!!this.current_chat&&this.current_chat.slugFolderName}})}},computed:{current_project:function(){return!!this.do_navigation.current_slugProjectName&&(!(!this.store.hasOwnProperty("projects")||0===Object.keys(this.store.projects).length)&&(this.store.projects.hasOwnProperty(this.do_navigation.current_slugProjectName)?this.store.projects[this.do_navigation.current_slugProjectName]:(this.closeProject(),!1)))},current_author:function(){return!!this.settings.current_author_slug&&(!!this.store.authors.hasOwnProperty(this.settings.current_author_slug)&&this.store.authors[this.settings.current_author_slug])},current_chat:function(){var e=this;return!!this.settings.current_chat.slug&&Object.values(this.store.chats).find(function(t){return t.slugFolderName===e.settings.current_chat.slug})},current_author_is_admin:function(){return this.current_author&&"admin"===this.current_author.role},current_publication:function(){return!(!this.settings.current_publication.slug||!this.store.publications.hasOwnProperty(this.settings.current_publication.slug))&&this.store.publications[this.settings.current_publication.slug]},get_total_unread_messages:function(){var e=this;return Object.values(this.store.chats).reduce(function(t,n){return t+=e.getUnreadMessageCount(n)},0)},all_folders:function(){return Object.values(this.store.projects).reduce(function(e,t){return t.folder&&!e.includes(t.folder)&&e.push(t.folder),e},[])},projects_that_are_accessible:function(){var e=this;return Object.values(this.store.projects).filter(function(t){return e.canSeeFolder({type:"projects",slugFolderName:t.slugFolderName})})},projects_that_are_editable:function(){var e=this;return Object.values(this.store.projects).filter(function(t){return e.canEditFolder({type:"projects",slugFolderName:t.slugFolderName})})},unique_clients:function(){var e=this;return this.$root.state.clients.reduce(function(t,n){return n.id===e.$root.$socketio.socket.id.substring(0,4)?t:e.$root.state.local_options.force_login&&!n.data.hasOwnProperty("author")?t:(n.data.hasOwnProperty("author")&&t.some(function(e){return e.data.slugFolderName===n.data.author.slugFolderName})||t.push(n),t)},[])},current_publication_medias:function(){var e=this;return!(!this.current_publication||!this.current_publication.hasOwnProperty("medias"))&&("page_by_page"===this.current_publication.template&&this.settings.current_publication.page_id?Object.values(this.current_publication.medias).filter(function(t){return t.page_id===e.settings.current_publication.page_id}):this.current_publication.medias)},requested_media:function(){return"projects"===this.store.request.type&&this.store.projects[this.store.request.slugFolderName].medias[this.store.request.metaFileName]},all_authors:function(){return Object.values(this.store.authors)},currentTime_human:function(){return this.$moment(this.currentTime).format("LL LTS")},screen_is_wide:function(){return!(this.settings.windowWidth<750)},consult_domains:function(){return!!this.state.api_domaines_whitelist&&this.state.api_domaines_whitelist.split(",").filter(function(e){return"localhost"!==e})}},methods:{allKeywords:function(e){var t=e.type,n=void 0===t?"projects":t,i=[];for(var o in this.store[n]){var r=this.store[n][o],a=r.keywords;a&&a.map(function(e){i.push(e.title)}),r.hasOwnProperty("medias")&&Object.keys(r.medias).length>0&&Object.values(r.medias).map(function(e){e.hasOwnProperty("keywords")&&e.keywords.length>0&&(i=i.concat(e.keywords.map(function(e){return e.title})))})}return(i=i.filter(function(e,t){return i.indexOf(e)==t})).map(function(e){return{text:e,classes:"tagcolorid_"+parseInt(e,36)%2}})},toggleFullScreen:function(){"debug"===this.$root.state.dev_mode&&console.log("Publication • METHODS: toggleFullScreen");var e=document.documentElement;!1===this.$root.app_is_fullscreen?e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen&&e.webkitRequestFullScreen():document.exitFullscreen?document.exitFullscreen():document.mozExitFullscreen?document.mozExitFullscreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},getURL:function(){if(!this.$root.state.localNetworkInfos.ip)return!1;var e,t=this.$root.state.localNetworkInfos.ip[0],n=new URL(window.location);return"localhost"===n.hostname?n.hostname=t:(e=n.hostname,RegExp("((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])").test(e)&&(n.hostname=t)),n},setReadMessageToLast:function(e){var t=e.chat;if(!this.$root.current_author)return!1;var n={channel:t.slugFolderName,index:t.number_of_medias},i=Array.isArray(this.$root.current_author.last_messages_read_in_channels)?JSON.parse(JSON.stringify(this.$root.current_author.last_messages_read_in_channels)):[],o=i.find(function(e){return e.channel===n.channel});o&&Number(o.index)===Number(n.index)||((i=i.filter(function(e){return e.channel!==n.channel})).push(n),this.$root.editFolder({type:"authors",slugFolderName:this.$root.current_author.slugFolderName,data:{last_messages_read_in_channels:i}}))},getUnreadMessageCount:function(e){if(!this.current_author)return!1;if(!this.canSeeFolder({type:"chats",slugFolderName:e.slugFolderName}))return!1;var t=e.number_of_medias,n=this.current_author.last_messages_read_in_channels;if(n){var i=n.find(function(t){return t.channel===e.slugFolderName});if(i&&i.hasOwnProperty("index"))return Math.max(0,t-Number(i.index))}return Math.max(0,t)},getAllKeywordsFrom:function(e){var t=[];return Object.values(e).map(function(e){e.keywords&&e.keywords.map(function(e){-1==t.indexOf(e.title)&&t.push(e.title)})}),(t=t.sort(function(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())})).map(function(e){return{text:e,classes:"tagcolorid_"+parseInt(e,36)%2}})},findClientsLookingAt:function(e){var t=e.type,n=e.slugFolderName,i=e.metaFileName;if("projects"===t&&i)t="editing_media";else if("projects"===t)t="looking_at_project";else if("publications"===t)t="looking_at_publi";else{if("chats"!==t)return[];t="looking_at_chat"}return this.$root.unique_clients.filter(function(e){return e.data&&e.data.hasOwnProperty(t)&&e.data[t].slugFolderName===n&&(!i||e.data[t].metaFileName===i)})},getAllAuthorsFrom:function(e){var t=[];return Object.values(e).map(function(e){e.authors&&e.authors.map(function(e){-1==t.indexOf(e.slugFolderName)&&t.push(e.slugFolderName)})}),(t=t.sort(function(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())})).map(function(e){return{slugFolderName:e}})},getAuthor:function(e){return this.getFolder({slugFolderName:e,type:"authors"})},getFolder:function(e){var t=e.slugFolderName,n=e.type;return!(0===Object.keys(this.store[n]).length||!this.store[n].hasOwnProperty(t))&&this.store[n][t]},getPublication:function(e){return 0!==Object.keys(this.store.publications).length&&Object.values(this.store.publications).find(function(t){return t.slugFolderName===e})},getAllTypesFrom:function(e){var t=[];return Object.values(e).map(function(e){e.type&&-1==t.indexOf(e.type)&&t.push(e.type)}),t=t.sort(function(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())})},getFolderPassword:function(e){var t=e.type,n=e.slugFolderName,i=this.$auth.getFoldersPasswords();return i.hasOwnProperty(t)&&i[t].hasOwnProperty(n)?i[t][n]:""},detectFullScreen:function(){var e=document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement;this.app_is_fullscreen=!!e},createFolder:function(e){var t=this;return new Promise(function(n,i){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: createfolder: "+JSON.stringify(e,null,4));var o=e.type;e.id=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),t.$socketio.createFolder(e);t.$eventHub.$once("socketio.folder_created_or_updated",function i(r){e.id===r.id?"has_pass"===r.password?(t.$auth.updateFoldersPasswords(A({},o,A({},r.slugFolderName,e.data.password))),t.$socketio.sendAuth(),t.$eventHub.$once("socketio.authentificated",function(){return n(r)})):t.$nextTick(function(){return n(r)}):t.$eventHub.$once("socketio.folder_created_or_updated",i)})})},editFolder:function(e){var t=this;return new Promise(function(n,i){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: editFolder: "+JSON.stringify(e,null,4)),e.id=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),t.$socketio.editFolder(e);t.$eventHub.$once("socketio.folder_created_or_updated",function t(i){if(e.id===i.id)return n(i);this.$eventHub.$once("socketio.folder_created_or_updated",t)})})},removeFolder:function(e){var t=e.type,n=e.slugFolderName;"debug"===window.state.dev_mode&&console.log("ROOT EVENT: removeFolder: slugFolderName = "+n+" of type = "+t),this.$socketio.removeFolder({type:t,slugFolderName:n})},createMedia:function(e){var t=this;return new Promise(function(n,i){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: createMedia"),e.id=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),t.current_author&&(e.hasOwnProperty("additionalMeta")||(e.additionalMeta={}),e.additionalMeta.authors=[{slugFolderName:t.current_author.slugFolderName}]),t.$socketio.createMedia(e);t.$eventHub.$once("socketio.media_created_or_updated",function i(o){e.id===o.id?t.$nextTick(function(){return n(o)}):t.$eventHub.$once("socketio.media_created_or_updated",i)})})},removeMedia:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: removeMedia: "+JSON.stringify(e,null,4)),this.$socketio.removeMedia(e)},editMedia:function(e){var t=this;return new Promise(function(n,i){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: editMedia: "+JSON.stringify(e,null,4)),e.id=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),t.$socketio.editMedia(e);t.$eventHub.$once("socketio.media_created_or_updated",function i(o){e.id===o.id?t.$nextTick(function(){return n(o)}):t.$eventHub.$once("socketio.media_created_or_updated",i)})})},copyMediaToFolder:function(e){var t=this;return new Promise(function(n,i){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: copyMediaToFolder: "+JSON.stringify(e,null,4)),e.id=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),t.$socketio.copyMediaToFolder(e);t.$eventHub.$once("socketio.media_created_or_updated",function i(o){e.id===o.id?t.$nextTick(function(){return n(o)}):t.$eventHub.$once("socketio.media_created_or_updated",i)})})},canSeeFolder:function(e){var t=this,n=e.type,i=e.slugFolderName;if(!this.store[n].hasOwnProperty(i))return!1;if(this.current_author_is_admin)return!0;var o=this.store[n][i];return!(!o.hasOwnProperty("viewing_limited_to")||"everybody"!==o.viewing_limited_to)||(o.hasOwnProperty("viewing_limited_to")&&"only_authors"===o.viewing_limited_to?!(!o.authors||0===o.authors.length)&&o.authors.some(function(e){return e.slugFolderName===t.current_author.slugFolderName}):this.canEditFolder({type:n,slugFolderName:i}))},userHasPasswordSaved:function(e){var t=e.type,n=e.slugFolderName;return this.state.list_authorized_folders.some(function(e){return!!e&&e.hasOwnProperty("type")&&e.type===t&&e.hasOwnProperty("allowed_slugFolderNames")&&e.allowed_slugFolderNames.indexOf(n)>=0})},canEditFolder:function(e){var t=this,n=e.type,i=e.slugFolderName;if(!this.store[n].hasOwnProperty(i))return!1;var o=this.store[n][i];return!!this.current_author_is_admin||(!o.hasOwnProperty("editing_limited_to")||"nobody"!==o.editing_limited_to)&&(!("has_pass"===o.password||o.hasOwnProperty("editing_limited_to")&&""!==o.editing_limited_to&&"with_password"!==o.editing_limited_to)||(!(!o.hasOwnProperty("editing_limited_to")||"everybody"!==o.editing_limited_to)||("has_pass"!==o.password||o.hasOwnProperty("editing_limited_to")&&""!==o.editing_limited_to&&"with_password"!==o.editing_limited_to?!(!o.hasOwnProperty("editing_limited_to")||"only_authors"!==o.editing_limited_to)&&(!(!o.authors||0===o.authors.length)&&o.authors.some(function(e){return e.slugFolderName===t.current_author.slugFolderName})):this.state.list_authorized_folders.some(function(e){return!!e&&e.hasOwnProperty("type")&&e.type===n&&e.hasOwnProperty("allowed_slugFolderNames")&&e.allowed_slugFolderNames.indexOf(i)>=0}))))},openProject:function(e){return"debug"===window.state.dev_mode&&console.log("ROOT EVENT: openProject: "+e),this.store.projects.hasOwnProperty(e)?this.canSeeFolder({type:"projects",slugFolderName:e})?(this.do_navigation.view="ProjectView",this.do_navigation.current_slugProjectName=e,void history.pushState({slugProjectName:e},this.store.projects[e].name,"/"+e)):(console.log("User can’t see project."),this.closeProject(),!1):(console.log("Missing folder key on the page, aborting."),this.closeProject(),!1)},closeProject:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: closeProject"),this.do_navigation.view="ListView",this.do_navigation.current_slugProjectName="",history.pushState({slugProjectName:""},"","/")},openMedia:function(e){var t=e.slugProjectName,n=e.metaFileName;"debug"===window.state.dev_mode&&console.log("ROOT EVENT: openMedia with slugProjectName = "+t+" and metaFileName = "+n),this.media_modal.open=!0,this.media_modal.minimized=!1,this.media_modal.current_slugProjectName=t,this.media_modal.current_metaFileName=n},closeMedia:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: closeMedia"),this.media_modal.open=!1},setProjectKeywordFilter:function(e){this.settings.project_filter.keyword!==e?this.settings.project_filter.keyword=e:this.settings.project_filter.keyword=""},setProjectAuthorFilter:function(e){this.settings.project_filter.author!==e?this.settings.project_filter.author=e:this.settings.project_filter.author=""},setMediaKeywordFilter:function(e){this.settings.media_filter.keyword!==e?this.settings.media_filter.keyword=e:this.settings.media_filter.keyword=""},setPubliKeywordFilter:function(e){this.settings.publication_filter.keyword!==e?this.settings.publication_filter.keyword=e:this.settings.publication_filter.keyword=""},setPubliAuthorFilter:function(e){this.settings.publication_filter.author!==e?this.settings.publication_filter.author=e:this.settings.publication_filter.author=""},setMediaAuthorFilter:function(e){this.settings.media_filter.author!==e?this.settings.media_filter.author=e:this.settings.media_filter.author=""},setFavFilter:function(){this.settings.media_filter.fav=!this.settings.media_filter.fav},setTypeFilter:function(e){this.settings.media_filter.type!==e&&e.length>0?this.settings.media_filter.type=e:this.settings.media_filter.type=""},filterMedia:function(e){var t=this;return(!this.settings.media_filter.fav||function(e){return e.hasOwnProperty("fav")&&"boolean"==typeof e.fav&&e.fav===t.settings.media_filter.fav}(e))&&(!this.settings.media_filter.keyword||function(e){return e.hasOwnProperty("keywords")&&"object"===i(e.keywords)&&e.keywords.filter(function(e){return e.title===t.settings.media_filter.keyword}).length>0}(e))&&(!this.settings.media_filter.author||function(e){return e.hasOwnProperty("authors")&&"object"===i(e.authors)&&e.authors.filter(function(e){return e.slugFolderName===t.settings.media_filter.author}).length>0}(e))&&(!this.settings.media_filter.type||function(e){return e.hasOwnProperty("type")&&"string"==typeof e.type&&t.settings.media_filter.type.includes(e.type)}(e))},updateLocalLang:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: updateLocalLang"),M.locale=e,y.default.locale(e),this.lang.current=e,document.documentElement.setAttribute("lang",e),a.default.set("language",e)},setAuthor:function(e){if(this.settings.current_author_slug!==e){"debug"===this.state.dev_mode&&console.log("ROOT EVENT: setAuthor");var t=Object.values(this.store.authors).find(function(t){return t.slugFolderName===e});t&&(this.settings.current_author_slug=e,this.$socketio.socket.emit("updateClientInfo",{author:{slugFolderName:t.slugFolderName}}),this.$socketio.listFolders({type:"authors"}),this.$eventHub.$emit("authors.newAuthorSet"))}},unsetAuthor:function(){this.settings.current_author_slug&&("debug"===this.state.dev_mode&&console.log("ROOT EVENT: unsetAuthor"),this.$auth.removeAllFoldersPassword({type:"authors"}),this.$socketio.sendAuth(),this.settings.current_author_slug=!1,this.$socketio.socket.emit("updateClientInfo",{author:{}}))},updateClientInfo:function(e){this.$socketio.socket&&("debug"===window.state.dev_mode&&console.log("ROOT EVENT: updateClientInfo"),this.$socketio.socket.emit("updateClientInfo",e))},togglePubliPanel:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: togglePubliPanel"),this.settings.show_publi_panel?this.closePubliPanel():this.openPubliPanel()},openPubliPanel:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: openPubliPanel"),this.settings.show_publi_panel=!0,this.settings.current_publication.slug=!1,this.$socketio.listFolders({type:"publications"})},closePubliPanel:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: closePubliPanel"),this.settings.show_publi_panel=!1,this.settings.current_publication.slug=!1},openChatPanel:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: openChatPanel"),this.settings.show_chat_panel=!0},closeChatPanel:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: closeChatPanel"),this.settings.show_chat_panel=!1},openChat:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: openChat: "+e),this.settings.current_chat.slug=e},closeChat:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: closeChat"),this.settings.current_chat.slug=!1},openPublication:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: openPublication: "+e),this.settings.current_publication.slug=e},closePublication:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: closePublication"),this.settings.current_publication.slug=!1},listSpecificMedias:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: listSpecificMedias with medias_list = "+JSON.stringify(e,null,4)),this.$socketio.listSpecificMedias(e)},setPublicationZoom:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: setPublicationZoom with val = "+e),this.settings.publi_zoom=e},newTagDetected:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: newTagDetected with e.detail = "+e.detail);var t=this.$_.findWhere(this.store.authors,{nfc_tag:e.detail});if(!t)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.no_content_found_with_nfc_tag")),void this.$eventHub.$emit("tag.new_tag_not_attributed",e.detail);this.$alertify.closeLogOnClick(!0).delay(4e3).success(this.$t("notifications.author_found_with_nfc_tag")+' <button class="bg-blanc padding-none c-bleumarine font-thin">'+t.name+"</button>"),this.setAuthor(t.slugFolderName)},setMediaFilter:function(e){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: setMediaFilter"),this.settings.media_filter=e},unsetMediaFilter:function(){"debug"===window.state.dev_mode&&console.log("ROOT EVENT: unsetMediaFilter"),this.settings.media_filter={}},getOriginalMediaMeta:function(e){var t=e.slugProjectName,n=e.slugMediaName;if(!this.store.projects.hasOwnProperty(t))return console.error("Missing project in store — not expected : "+t),void console.error("Medias from project was probably added to the publication before it was removed altogether.");var i=this.store.projects[t].medias;if(i.hasOwnProperty(n)){var o=JSON.parse(JSON.stringify(i[n]));return o.hasOwnProperty("_isAbsent")&&o._isAbsent?(console.error("Missing media in store — not expected : "+t+" / "+n),console.error("Media was probably added to the publication before it was removed."),!1):o}return{}},loadAllProjectsMedias:function(){var e=this;"debug"===window.state.dev_mode&&console.log("ROOT EVENT: loadAllProjectsMedias"),Object.keys(this.store.projects).forEach(function(t){e.store.projects[t];e.$socketio.listMedias({type:"projects",slugFolderName:t})});var t=Object.keys(this.store.projects).length;this.$eventHub.$on("socketio.projects.medias_listed",function(){0===--t&&e.$eventHub.$emit("socketio.has_finished_loading_all_medias")}),setTimeout(function(){e.$eventHub.$emit("socketio.has_finished_loading_all_medias")},5e3)},formatDateToHuman:function(e){return this.$moment(e,"YYYY-MM-DD HH:mm:ss").format("LL")},formatDateToCalendar:function(e){return this.$moment(e,"YYYY-MM-DD HH:mm:ss").calendar()},formatDateToPrecise:function(e){return this.$moment(e,"YYYY-MM-DD HH:mm:ss").format("LTS L")},formatDurationToMinuteSeconds:function(e){return this.$moment.utc(e).format("mm:ss")},formatDurationToHoursMinutesSeconds:function(e){return this.$moment.utc(e).format("HH:mm:ss")},updateNetworkInfos:function(){this.$socketio.updateNetworkInfos()},navigation_back:function(){"CaptureView"===this.do_navigation.view?this.do_navigation.view="ProjectView":"ProjectView"===this.do_navigation.view&&this.closeProject()},getFileMeta:function(e){var t=e.type,n=e.media;if(n.hasOwnProperty("file_meta")&&n.file_meta.some(function(e){return e.hasOwnProperty(t)}))return n.file_meta.find(function(e){return e.hasOwnProperty(t)})[t];if(n.hasOwnProperty(t))return n[t];if(n.hasOwnProperty("_linked_media")){if(n._linked_media.hasOwnProperty("file_meta")&&n._linked_media.file_meta.some(function(e){return e.hasOwnProperty(t)}))return n._linked_media.file_meta.find(function(e){return e.hasOwnProperty(t)})[t];if(n._linked_media.hasOwnProperty(t)&&n._linked_media[t])return n._linked_media[t]}return!1},formatBytes:function(e,t){if(0==e)return"0 "+this.$t("bytes");var n=[this.$t("bytes"),this.$t("kb"),this.$t("mb"),this.$t("gb"),"TB","PB","EB","ZB","YB"],i=t||2,o=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,o)).toFixed(i))+" "+n[o]}}})},{"../adc-core/auth-client.js":193,"../adc-core/custom-socketio.js":194,"./App.vue":196,"./components/modals/BaseModal.vue":216,"./components/subcomponents/DateField.vue":258,"./components/subcomponents/Pin.vue":273,"./components/subcomponents/ProtectedLock.vue":275,"./locale_strings.js":284,"./moment_locale_oc.js":285,"alertify.js":4,moment:98,"moment/locale/en-gb":95,"moment/locale/fr":96,"moment/locale/nl":97,"portal-vue":111,prismjs:112,store:156,underscore:170,vue:177,"vue-i18n":171,"vue-plyr":172,"vue-tippy":175}],208:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement,t=this._self._c||e;return t("footer",{staticClass:"m_footer limited-width"},[t("div",{staticClass:"padding-vert-medium padding-sides-medium"},[t("p",[this._v("do•doc version "+this._s(this.$root.state.appVersion))])])])},i.staticRenderFns=[],i._scopeId="data-v-7a219ba8"},{}],209:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t="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},i=s(e("./subcomponents/AccessController.vue")),o=s(e("./modals/EditChat.vue")),r=s(e("./subcomponents/ClientsCheckingOut.vue")),a=s(e("linkifyjs/html"));function s(e){return e&&e.__esModule?e:{default:e}}n.default={props:{chat:Object},components:{AccessController:i.default,EditChat:o.default,ClientsCheckingOut:r.default},data:function(){return{new_message:"",is_scrolled_to_bottom:!1,is_scrolled_to_top:!1,last_read_message_index_on_opening:!1,show_chat_options:!1,show_edit_chat:!1,first_message_index_to_show:!1,is_loading:!1}},created:function(){},mounted:function(){var e=this;this.is_loading=!0,this.$socketio.listFolders({type:"chats",slugFolderName:this.chat.slugFolderName}),this.$socketio.listMedias({type:"chats",slugFolderName:this.chat.slugFolderName}),this.$eventHub.$once("socketio.chats.medias_listed",function(){}),this.$eventHub.$once("socketio.chats.medias_listed",function(){e.is_loading=!1;var t=e.$root.current_author.last_messages_read_in_channels;if(t&&t.some(function(t){return t.channel===e.chat.slugFolderName})){var n=t.find(function(t){return t.channel===e.chat.slugFolderName});e.last_read_message_index_on_opening=n.index,e.first_message_index_to_show=Math.max(0,n.index-10),e.$nextTick(function(){n.index!==e.sorted_messages.length?e.$refs.sinceLastVisit&&(e.scrollToMessage(e.$refs.sinceLastVisit[0]),e.$refs.chat_content.style.scrollBehavior="smooth"):(e.scrollToBottom(),e.$refs.chat_content.style.scrollBehavior="smooth")})}}),setInterval(function(){if(e.$refs.chat_content){if(0===e.$refs.chat_content.scrollTop&&e.$refs.chat_content.offsetHeight>e.$refs.chat_content.scrollHeight)return e.is_scrolled_to_top=!0,void(e.is_scrolled_to_bottom=!1);e.is_scrolled_to_top=!1,e.$refs.chat_content.scrollTop+e.$refs.chat_content.offsetHeight+30>=e.$refs.chat_content.scrollHeight?(e.is_scrolled_to_bottom=!0,e.setReadMessageToLast()):e.is_scrolled_to_bottom=!1}},1e3)},beforeDestroy:function(){},watch:{grouped_messages:function(){var e=this;this.is_scrolled_to_bottom&&this.$nextTick(function(){e.scrollToBottom()})}},computed:{sorted_messages:function(){if("object"!==t(this.chat.medias))return[];var e=this.$_.sortBy(this.chat.medias,"date_created");return e.map(function(e,t){return e.index=t}),this.first_message_index_to_show?e.slice(this.first_message_index_to_show):e},grouped_messages:function(){var e=this,t=this.$_.groupBy(this.sorted_messages,function(t){var n=void 0;return t.hasOwnProperty("date_created")&&t.date_created?(n=t.date_created,e.$moment(n).format("YYYY-MM-DD")):e.$t("invalid_date")});return t=this.$_.pairs(t),t=this.$_.sortBy(t)}},methods:{scrollToBottom:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Chat: scrollToBottom"),this.$refs.chat_content.scrollTop=this.$refs.chat_content.scrollHeight},scrollToMessage:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Chat: scrollToMessage"),this.$refs.chat_content.scrollTop=e.offsetTop-100},sanitizeMessage:function(e){return"~removed"===e?"<small>"+this.$t("message_was_removed")+"</small>":(e=(new DOMParser).parseFromString(e,"text/html").body.textContent||"",e=(0,a.default)(e,{defaultProtocol:"https",linkClass:"js--openInBrowser"}))},setReadMessageToLast:function(){this.$root.setReadMessageToLast({chat:this.chat})},isCurrentAuthor:function(e){return Array.isArray(e.authors)&&this.$root.current_author&&(e.authors[0].name===this.$root.current_author.name||e.authors[0].slugFolderName===this.$root.current_author.slugFolderName)},getMessageAuthor:function(e){if(e.authors&&e.authors.length>0){var t=e.authors[0];if(t.hasOwnProperty("slugFolderName")&&this.$root.getAuthor(t.slugFolderName))return this.$root.getAuthor(t.slugFolderName);if(t.hasOwnProperty("name"))return t}return!1},urlToPortrait:function(e){if(!e||!e.preview)return!1;var t=e.preview.find(function(e){return 50===e.size});return!(!t||!t.path)&&(t=t.path)},removeMessage:function(e){var t=this;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Chat: removeMedia"),this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sure_to_remove_message"),function(){t.$root.editMedia({type:"chats",slugFolderName:t.chat.slugFolderName,slugMediaName:e.metaFileName,data:{text:"~removed"}})},function(){})},postNewMessage:function(){var e=this;if(!this.$root.current_author)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.need_to_be_author_to_post")),!1;this.$root.createMedia({type:"chats",slugFolderName:this.chat.slugFolderName,additionalMeta:{text:this.new_message,authors:[{slugFolderName:this.$root.current_author.slugFolderName}]}}).then(function(t){e.$nextTick(function(){e.setReadMessageToLast()})}),this.new_message=""},removeChat:function(){var e=this;this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sure_to_remove_chat"),function(){e.$root.removeFolder({type:"chats",slugFolderName:e.chat.slugFolderName}),e.$root.closeChat()},function(){})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_chat",on:{click:function(t){return t.target!==t.currentTarget?null:e.$root.closeChat()}}},[n("div",{staticClass:"m_chat--content"},[n("div",{staticClass:"m_chat--content--topbar",class:{"has--content_hidden_behind":!e.is_scrolled_to_top}},[n("div",{staticClass:"m_chat--content--topbar--firstLine"},[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0],\n }"}],staticClass:"m_chat--content--topbar--backbutton",attrs:{type:"button",content:e.$t("close")},on:{click:function(t){return e.$root.closeChat()}}},[e._v("\n ‹\n ")]),e._v(" "),n("span",{staticClass:"m_chat--content--topbar--name"},[e.chat.pinned?n("Pin"):e._e(),e._v("\n "+e._s(e.chat.name)+"\n "),n("ProtectedLock",{attrs:{editing_limited_to:e.chat.editing_limited_to,is_protected:!1}})],1),e._v(" "),n("div",{staticClass:"m_chat--content--topbar--options"},[n("button",{staticClass:"buttonLink",class:{"is--active":e.show_chat_options},attrs:{type:"button"},on:{click:function(t){e.show_chat_options=!e.show_chat_options}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 77.6 85.4"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"77.6px",height:"85.4px",viewBox:"0 0 77.6 85.4","xml:space":"preserve"}},[n("defs"),e._v(" "),n("g",[n("path",{attrs:{d:"M73.9,39h-7.6c-1.6-5.6-6.7-9.7-12.7-9.7S42.5,33.5,40.8,39H3.7c-2,0-3.7,1.6-3.7,3.7c0,2,1.6,3.7,3.7,3.7h37.1\n\t\tc1.6,5.6,6.7,9.7,12.7,9.7s11.1-4.1,12.7-9.7h7.6c2,0,3.7-1.6,3.7-3.7C77.6,40.7,76,39,73.9,39z M53.6,48.7c-3.2,0-6-2.6-6-6\n\t\ts2.6-6,6-6s6,2.6,6,6S56.8,48.7,53.6,48.7z"}}),e._v(" "),n("path",{attrs:{d:"M3.7,17.1h7.9c1.6,5.6,6.7,9.7,12.7,9.7s11.1-4.1,12.7-9.7h36.9c2,0,3.7-1.6,3.7-3.7S76,9.7,73.9,9.7H37\n\t\tC35.4,4.1,30.3,0,24.3,0S13.2,4.1,11.6,9.7H3.7c-2,0-3.7,1.6-3.7,3.7S1.6,17.1,3.7,17.1z M24.3,7.4c3.2,0,6,2.6,6,6s-2.6,6-6,6\n\t\ts-6-2.8-6-6S21.1,7.4,24.3,7.4z"}}),e._v(" "),n("path",{attrs:{d:"M73.9,68.3H37c-1.6-5.6-6.7-9.7-12.7-9.7s-11.1,4.1-12.7,9.7H3.7c-2,0-3.7,1.6-3.7,3.7s1.6,3.7,3.7,3.7h7.9\n\t\tc1.6,5.6,6.7,9.7,12.7,9.7s11.1-4.1,12.7-9.7h36.9c2,0,3.7-1.6,3.7-3.7S76,68.3,73.9,68.3z M24.3,78c-3.2,0-6-2.6-6-6s2.6-6,6-6\n\t\ts6,2.6,6,6S27.5,78,24.3,78z"}})])]),e._v("\n "+e._s(e.$t("advanced_options"))+"\n ")])])]),e._v(" "),n("ClientsCheckingOut",{attrs:{type:"chats",slugFolderName:e.chat.slugFolderName}}),e._v(" "),e.show_chat_options?n("div",{staticClass:"m_chat--content--topbar--optionbar"},[n("div",[e.chat.authors?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("author")))]),e._v(" "),n("div",{staticClass:"m_authorField"},e._l(e.chat.authors,function(t){return e.$root.getAuthor(t.slugFolderName)?n("span",{key:t.slugFolderName,staticClass:"is--active",class:{"is--loggedInAuthor":e.$root.current_author&&e.$root.current_author.slugFolderName===t.slugFolderName}},[e.$root.getAuthor(t.slugFolderName)?[e._v("\n "+e._s(e.$root.getAuthor(t.slugFolderName).name)+"\n ")]:[e._v(e._s(t.slugFolderName))]],2):e._e()}),0)]):e._e(),e._v(" "),n("AccessController",{attrs:{folder:e.chat,context:"full",type:"chats"},on:{closeFolder:function(t){return e.$root.closeChat()}}})],1),e._v(" "),n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){e.show_edit_chat=!0}}},[e._v("\n "+e._s(e.$t("edit"))+"\n ")]),e._v(" "),n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){return e.removeChat()}}},[e._v("\n "+e._s(e.$t("remove"))+"\n ")])]):e._e()],1),e._v(" "),e.show_edit_chat?n("EditChat",{attrs:{chat:e.chat},on:{close:function(t){e.show_edit_chat=!1}}}):e._e(),e._v(" "),n("div",{ref:"chat_content",staticClass:"m_chat--content--discussion"},[0!==e.sorted_messages.length||e.is_loading?e._e():n("small",{staticClass:"_no_message_message"},[e._v(e._s(e.$t("no_message_yet")))]),e._v(" "),e.first_message_index_to_show?n("button",{staticClass:"_button_showOlderMessages",attrs:{type:"button"},on:{click:function(t){e.first_message_index_to_show=0,e.is_scrolled_to_bottom=!1}}},[n("span",[e._v(e._s(e.$t("show_older_messages")))])]):e._e(),e._v(" "),e._l(e.grouped_messages,function(t){return n("div",{key:t[0]},[n("h3",{staticClass:"label c-noir margin-small text-centered"},[e._v("\n "+e._s(e.$root.formatDateToHuman(t[0]))+"\n ")]),e._v(" "),e._l(t[1],function(t){return[n("div",{key:t.metaFileName,staticClass:"m_message",class:{"is--currentauthor":e.isCurrentAuthor(t),"is--lastReadMessage":t.index===e.last_read_message_index_on_opening}},[t.authors?n("div",{staticClass:"m_message--meta"},[e.getMessageAuthor(t)?n("div",{staticClass:"m_message--meta--author"},[n("span",[e.urlToPortrait(e.getMessageAuthor(t))?n("img",{staticClass:"_pp",attrs:{src:e.urlToPortrait(e.getMessageAuthor(t))}}):n("span",{staticClass:"_no_pp"}),e._v("\n "+e._s(e.getMessageAuthor(t).name)+"\n ")])]):e._e(),e._v(" "),n("div",{staticClass:"m_message--meta--date"},[n("span",[e._v(e._s(e.$moment(t.date_created).format("HH:mm")))]),e._v(" "),e.isCurrentAuthor(t)||e.$root.current_author_is_admin?n("button",{staticClass:"button-nostyle padding-top-verysmall",attrs:{type:"button"},on:{click:function(n){return e.removeMessage(t)}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M91.6,17H62.9V0H28.7v17H0v9.4h11.3V95h69V26.4h11.3V17z M64.4,69.4L57.8,76l-12-12l-12,12l-6.6-6.6l12-12\n l-12-12l6.6-6.6l12,12l12-12l6.6,6.6l-12,12L64.4,69.4z M38.1,9.4h15.3V17H38.1V9.4z"}})])]):e._e()])]):e._e(),e._v(" "),n("div",{staticClass:"m_message--text"},[n("span",{domProps:{innerHTML:e._s(e.sanitizeMessage(t.text))}})])]),e._v(" "),t.index===Number(e.last_read_message_index_on_opening)?n("div",{key:"unread-notif_"+t.metaFileName,ref:"sinceLastVisit",refInFor:!0,staticClass:"m_sinceLastVisit"},[n("span",[e._v(e._s(e.$t("last_read_message")))])]):e._e()]})],2)}),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:400}},[e.is_loading?n("Loader"):e._e()],1)],2),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:400}},[e.is_scrolled_to_bottom?e._e():n("div",{staticClass:"m_chat--content--scrollToBottom"},[n("button",{attrs:{type:"button"},on:{click:function(t){return e.scrollToBottom()}}},[n("img",{attrs:{src:"/images/i_arrow_right.svg",draggable:"false"}})])])]),e._v(" "),n("div",{staticClass:"m_chat--content--post",class:{"has--hidden_content_above":!e.is_scrolled_to_bottom}},[e.$root.current_author?[n("label",[e._v(e._s(e.$t("post_a_message")))]),e._v(" "),n("form",{staticClass:"input-group",on:{submit:function(t){return t.preventDefault(),e.postNewMessage()}}},[n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.new_message,expression:"new_message",modifiers:{trim:!0}}],attrs:{type:"text",required:"",autofocus:""},domProps:{value:e.new_message},on:{input:function(t){t.target.composing||(e.new_message=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),n("button",{staticClass:"bg-rouge",attrs:{type:"submit",disabled:!e.new_message},domProps:{innerHTML:e._s(e.$t("send"))}})])]:[n("div",[n("button",{staticClass:"button-thin bg-bleumarine",attrs:{type:"button"},on:{click:function(t){e.$root.showAuthorsListModal=!0}}},[e._v("\n "+e._s(e.$t("login_to_post"))+"\n ")])])]],2)],1)])},i.staticRenderFns=[]},{"./modals/EditChat.vue":221,"./subcomponents/AccessController.vue":250,"./subcomponents/ClientsCheckingOut.vue":255,"linkifyjs/html":77}],210:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(e("./subcomponents/AccessController.vue")),i=o(e("./subcomponents/ClientsCheckingOut.vue"));function o(e){return e&&e.__esModule?e:{default:e}}n.default={props:{chat:Object},components:{AccessController:t.default,ClientsCheckingOut:i.default},data:function(){return{show_access_control:!1}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{can_see_chat:function(){return this.$root.canSeeFolder({type:"chats",slugFolderName:this.chat.slugFolderName})}},methods:{openChat:function(){if(!this.can_see_chat)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.cant_open_chat")),void(this.show_access_control=!0);this.$root.openChat(this.chat.slugFolderName)},closeChat:function(){this.$root.closeChat()},setUnreadToZero:function(){this.$root.setReadMessageToLast({chat:this.chat})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_chatRow",class:{"is--open":e.$root.current_chat&&e.$root.current_chat.slugFolderName===e.chat.slugFolderName,"is--pinned":e.chat.pinned}},[n("div",{staticClass:"m_chatRow--firstLine"},[n("div",[e.$root.getUnreadMessageCount(e.chat)&&e.can_see_chat?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0],\n }"}],staticClass:"m_chatRow--unreadCounter",attrs:{type:"button",content:e.$t("unread_messages")},on:{click:function(t){return e.setUnreadToZero()}}},[e._v("\n "+e._s(e.$root.getUnreadMessageCount(e.chat))+"\n ")]):e._e(),e._v(" "),n("span",{staticClass:"m_chatRow--name"},[e.chat.pinned?n("Pin"):e._e(),e._v("\n "+e._s(e.chat.name)+"\n "),n("ProtectedLock",{attrs:{editing_limited_to:e.chat.editing_limited_to,is_protected:!e.can_see_chat}})],1)]),e._v(" "),n("small",{staticClass:"c-blanc text-lc"},[e._v("\n "+e._s(e.$t("last_message"))+" —\n "+e._s(e.$root.formatDateToCalendar(e.chat.date_modified))+"\n ")]),e._v(" "),n("button",{staticClass:"buttonLink bg-rouge",class:{"is--disabled":!e.can_see_chat},attrs:{type:"button"},on:{click:function(t){return e.openChat()}}},[e._v("\n "+e._s(e.$t("open"))+"\n ")]),e._v(" "),n("ClientsCheckingOut",{attrs:{type:"chats",slugFolderName:e.chat.slugFolderName}})],1),e._v(" "),n("div",{staticClass:"m_chatRow--secondLine"},[n("label",{staticClass:"m_chatRow--secondLine--toggleAccessControl"},[n("button",{staticClass:"button-nostyle text-uc button-triangle c-blanc",class:{"is--active":e.show_access_control},attrs:{type:"button"},on:{click:function(t){e.show_access_control=!e.show_access_control}}},[e._v("\n "+e._s(e.$t("manage_access"))+"\n ")])]),e._v(" "),e.show_access_control?n("div",[e.chat.authors?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("author")))]),e._v(" "),n("div",{staticClass:"m_authorField"},e._l(e.chat.authors,function(t){return e.$root.getAuthor(t.slugFolderName)?n("span",{key:t.slugFolderName,staticClass:"is--active",class:{"is--loggedInAuthor":e.$root.current_author&&e.$root.current_author.slugFolderName===t.slugFolderName}},[e.$root.getAuthor(t.slugFolderName)?[e._v("\n "+e._s(e.$root.getAuthor(t.slugFolderName).name)+"\n ")]:[e._v("\n "+e._s(t.slugFolderName)+"\n ")]],2):e._e()}),0)]):e._e(),e._v(" "),n("AccessController",{attrs:{folder:e.chat,context:"full",type:"chats"},on:{openFolder:function(t){return e.openChat()},closeFolder:e.closeChat}})],1):e._e()])])},i.staticRenderFns=[],i._scopeId="data-v-96022b60"},{"./subcomponents/AccessController.vue":250,"./subcomponents/ClientsCheckingOut.vue":255}],211:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{},components:{},data:function(){return{showClientList:!1}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.$root.unique_clients&&e.$root.unique_clients.length?n("div",{staticClass:"m_clientsList"},[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0],\n }"}],staticClass:"m_clientsList--indicator",attrs:{type:"button",content:e.$t("other_users_connected")},on:{click:function(t){e.showClientList=!e.showClientList}}},[n("span",[e._v(e._s(e.$root.unique_clients.length))])]),e._v(" "),e.showClientList?n("div",{staticClass:"m_clientsList--list"},[n("button",{staticClass:"m_clientsList--list--close",attrs:{type:"button"},on:{click:function(t){e.showClientList=!1}}},[e._v("\n ×\n ")]),e._v(" "),n("label",[e._v(e._s(e.$t("other_users")))]),e._v(" "),n("br"),e._v(" "),e._l(e.$root.unique_clients,function(t){return n("span",{key:t.id,staticClass:"m_clientsList--list--client"},[t.data.hasOwnProperty("author")?[e._v(e._s(e.$root.getAuthor(t.data.author.slugFolderName).name))]:[e._v(e._s(e.$t("anonymous")))]],2)})],2):e._e()]):e._e()},i.staticRenderFns=[]},{}],212:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t="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},i=c(e("./modals/UploadFileModal.vue")),o=c(e("./subcomponents/MediaCard.vue")),r=c(e("./subcomponents/TagsAndAuthorFilters.vue")),a=c(e("./subcomponents/SelectorBar.vue")),s=e("timers"),l=c(e("debounce"));function c(e){return e&&e.__esModule?e:{default:e}}n.default={props:{project:Object,slugProjectName:String,read_only:Boolean,can_edit_project:Boolean},components:{MediaCard:o.default,UploadFileModal:i.default,TagsAndAuthorFilters:r.default,SelectorBar:a.default},data:function(){return{mediaSort:{field:"date_uploaded"},id:(Math.random().toString(36)+"00000000000000000").slice(2,8),selected_files:[],is_iOS_device:!!window.navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform),show_filters:!1,show_drop_container:!1,media_metaFileName_initially_present:[],last_media_added:[],selected_medias:[],folded_days:[]}},mounted:function(){(this.$root.settings.media_filter.keyword||this.$root.settings.media_filter.author||this.$root.settings.media_filter.fav||this.$root.settings.media_filter.type)&&(this.show_filters=!0),document.addEventListener("dragover",this.ondragover),this.cancelDragOver=(0,l.default)(this.cancelDragOver,300),this.$eventHub.$on("modal.prev_media",this.prevMedia),this.$eventHub.$on("modal.next_media",this.nextMedia),this.$eventHub.$on("socketio.media_created_or_updated",this.media_created)},created:function(){},beforeDestroy:function(){this.$root.settings.media_filter.author="",this.$root.settings.media_filter.keyword="",this.$root.settings.media_filter.fav=!1,this.$root.settings.media_filter.type="",document.removeEventListener("dragover",this.ondragover),this.$eventHub.$off("modal.prev_media",this.prevMedia),this.$eventHub.$off("modal.next_media",this.nextMedia),this.$eventHub.$off("socketio.media_created_or_updated",this.media_created)},watch:{"project.medias":function(){var e=this;0===this.media_metaFileName_initially_present.length?this.media_metaFileName_initially_present=Object.values(this.project.medias).map(function(e){return e.metaFileName}):this.last_media_added=Object.values(this.project.medias).map(function(e){return e.metaFileName}).filter(function(t){return!e.media_metaFileName_initially_present.includes(t)})}},computed:{mediaKeywords:function(){return this.$root.getAllKeywordsFrom(this.project.medias)},mediaAuthors:function(){return this.$root.getAllAuthorsFrom(this.project.medias)},mediaTypes:function(){return this.$root.getAllTypesFrom(this.project.medias)},allMedias:function(){if(!this.project.medias||"object"!==t(this.project.medias))return!1;var e=Object.values(this.project.medias).filter(function(e){return!e.hasOwnProperty("_isAbsent")||!1===e._isAbsent});return e},filteredMedias:function(){var e=this;return this.allMedias.filter(function(t){return e.$root.filterMedia(t)})},sortedMedias:function(){var e=this.$_.sortBy(this.filteredMedias,this.mediaSort.field);return e.reverse()},groupedMedias:function(){var e=this,t=this.$_.groupBy(this.sortedMedias,function(t){var n=void 0;return t.hasOwnProperty(e.mediaSort.field)&&t[e.mediaSort.field]?(n=t[e.mediaSort.field],e.$moment(n).format("YYYY-MM-DD")):e.$t("invalid_date")});return t=this.$_.pairs(t),t=(t=this.$_.sortBy(t)).reverse()}},methods:{prevMedia:function(){this.mediaNav(-1)},nextMedia:function(){this.mediaNav(1)},toggleDayFolding:function(e){this.folded_days.includes(e)?this.folded_days=this.folded_days.filter(function(t){return t!==e}):this.folded_days.push(e)},mediaNav:function(e){var t=this,n=this.sortedMedias.findIndex(function(e){return e.metaFileName===t.$root.media_modal.current_metaFileName}),i=this.sortedMedias[n+e];this.$root.closeMedia(),i&&i.hasOwnProperty("metaFileName")&&i.metaFileName&&this.$nextTick(function(){t.openMediaModal(i.metaFileName)})},toggleSelectMedia:function(e){var t=e.slugFolderName,n=e.metaFileName;if(this.mediaIsSelected({slugFolderName:t,metaFileName:n}))this.selected_medias=this.selected_medias.filter(function(e){return!(e.slugFolderName===t&&e.metaFileName===n)});else{if(!this.can_edit_project)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t('notifications["access_or_editing_restricted_to_authors"]')),!1;this.selected_medias.push({slugFolderName:t,metaFileName:n})}},mediaIsSelected:function(e){var t=e.slugFolderName,n=e.metaFileName;return this.selected_medias.some(function(e){return e.metaFileName===n&&e.slugFolderName===t})},media_created:function(e){},openMediaModal:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaLibrary: openMediaModal"),this.$root.openMedia({slugProjectName:this.slugProjectName,metaFileName:e})},createTextMedia:function(){var e=this;this.$root.createMedia({slugFolderName:this.slugProjectName,type:"projects",additionalMeta:{type:"text"}}).then(function(t){e.openMediaModal(t.metaFileName)})},openCapture:function(){var e=this;if(this.is_iOS_device)return this.$alertify.closeLogOnClick(!0).delay(8e3).error(this.$t("notifications.ios_not_compatible_with_capture")),void(0,s.setTimeout)(function(){e.$alertify.closeLogOnClick(!0).delay(8e3).success(e.$t("notifications.instead_import_with_this_button"))},1500);this.$root.do_navigation.view="CaptureView"},updateInputFiles:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • AddMedia / updateSelectedFiles"),this.selected_files=Array.from(e.target.files),e.target.value=""},ondragover:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • AddMedia / ondragover"),this.show_drop_container=!0,this.cancelDragOver()},cancelDragOver:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • AddMedia / cancelDragOver"),this.show_drop_container=!1},dropHandler:function(e){if("debug"===this.$root.state.dev_mode&&console.log("METHODS • AddMedia / dropHandler"),e.preventDefault(),e.dataTransfer.items){for(var t=[],n=0;n<e.dataTransfer.items.length;n++)"file"===e.dataTransfer.items[n].kind&&t.push(e.dataTransfer.items[n].getAsFile());this.selected_files=t}else for(n=0;n<e.dataTransfer.files.length;n++)this.selected_files=Array.from(e.dataTransfer.files)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_project--library"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.$root.state.connected,expression:"$root.state.connected"}],staticClass:"m_actionbar"},[e.can_edit_project?n("div",{staticClass:"m_actionbar--buttonBar"},["has_pass"===e.project.password||"has_pass"!==e.project.password?n("button",{staticClass:"barButton barButton_capture",class:{"is--disabled":e.is_iOS_device},attrs:{type:"button",disabled:e.read_only||!e.can_edit_project},on:{click:e.openCapture}},[n("span",[e._v(e._s(e.$t("capture")))])]):e._e(),e._v(" "),"has_pass"===e.project.password||"has_pass"!==e.project.password?n("label",{staticClass:"barButton barButton_import button",attrs:{disabled:e.read_only||!e.can_edit_project,for:"add_file_"+e.id}},[n("span",[e._v("\n "+e._s(e.$t("import"))+"\n ")]),e._v(" "),n("input",{staticStyle:{width:"1px",height:"1px",overflow:"hidden"},attrs:{type:"file",multiple:"",id:"add_file_"+e.id,name:"file",disabled:e.read_only||!e.can_edit_project,accept:""},on:{change:function(t){return e.updateInputFiles(t)}}})]):e._e(),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:150}},[!e.read_only&&e.show_drop_container&&e.can_edit_project?n("div",{staticClass:"_drop_indicator",on:{drop:function(t){return e.dropHandler(t)}}},[n("div",[n("img",{attrs:{src:"/images/i_importer.svg",draggable:"false"}}),e._v(" "),n("label",[e._v(e._s(e.$t("drop_here_to_import")))])])]):e._e()]),e._v(" "),e.selected_files.length>0?n("UploadFileModal",{attrs:{read_only:e.read_only,slugFolderName:e.slugProjectName,type:"projects",selected_files:e.selected_files},on:{close:function(t){e.selected_files=[]},"update:selected_files":function(t){e.selected_files=t}}}):e._e(),e._v(" "),n("button",{staticClass:"barButton barButton_text",attrs:{type:"button",disabled:e.read_only||!e.can_edit_project},on:{click:e.createTextMedia}},[n("span",[e._v(e._s(e.$t("write")))])])],1):e._e(),e._v(" "),n("div",{staticClass:"m_actionbar--text"},[n("span",{class:{"c-rouge":e.sortedMedias.length!==e.allMedias.length}},[e._v("\n "+e._s(e.sortedMedias.length)+"\n "+e._s(e.$t("medias_of"))+"\n "+e._s(e.allMedias.length)+"\n ")]),e._v(" "),e.$root.allKeywords.length>=0?[e._v("\n —\n "),n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_filters},attrs:{type:"button"},on:{click:function(t){e.show_filters=!e.show_filters}}},[e._v("\n "+e._s(e.$t("filters"))+"\n ")])]:e._e(),e._v(" "),!e.show_medias_instead_of_projects&&e.show_filters?[n("TagsAndAuthorFilters",{attrs:{allKeywords:e.mediaKeywords,allAuthors:e.mediaAuthors,allTypes:e.mediaTypes,keywordFilter:e.$root.settings.media_filter.keyword,authorFilter:e.$root.settings.media_filter.author,favFilter:e.$root.settings.media_filter.fav},on:{setKeywordFilter:function(t){return e.$root.setMediaKeywordFilter(t)},setAuthorFilter:function(t){return e.$root.setMediaAuthorFilter(t)},setFavFilter:function(t){return e.$root.setFavFilter(t)},setTypeFilter:function(t){return e.$root.setTypeFilter(t)}}})]:e._e()],2)]),e._v(" "),n("transition-group",{staticClass:"m_project--library--medias",attrs:{name:"list-complete"}},e._l(e.groupedMedias,function(t){var i=t[0],o=t[1];return n("div",{key:i},[n("h3",{staticClass:"font-folder_title margin-sides-small margin-none margin-bottom-small"},[e._v("\n "+e._s(e.$root.formatDateToHuman(i))+"\n "),o.length>0?n("span",{staticClass:"_media_counter"},[e._v(e._s(o.length))]):e._e(),e._v(" "),n("button",{staticClass:"button-nostyle text-uc button-triangle _fold_button",class:{"is--active":!e.folded_days.includes(i)},attrs:{type:"button"},domProps:{innerHTML:e._s(e.folded_days.includes(i)?e.$t("unfold"):e.$t("fold"))},on:{click:function(t){return e.toggleDayFolding(i)}}})]),e._v(" "),e.folded_days.includes(i)?e._e():n("div",{staticClass:"m_mediaShowAll"},e._l(o,function(t){return n("div",{key:t.slugMediaName},[n("MediaCard",{key:t.metaFileName,class:{"is--just_added":e.last_media_added.includes(t.metaFileName),"is--opened_in_media_modal":e.$root.media_modal.current_slugProjectName===e.slugProjectName&&t.metaFileName===e.$root.media_modal.current_metaFileName},attrs:{media:t,metaFileName:t.metaFileName,slugProjectName:e.slugProjectName,can_edit_media:e.can_edit_project,preview_size:180,is_selected:e.mediaIsSelected({slugFolderName:e.slugProjectName,metaFileName:t.metaFileName})},on:{toggleSelect:function(n){return e.toggleSelectMedia({slugFolderName:e.slugProjectName,metaFileName:t.metaFileName})}}})],1)}),0)])}),0),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:400}},[e.selected_medias.length>0?n("SelectorBar",{attrs:{selected_medias:e.selected_medias,slugFolderName:e.slugProjectName},on:{deselect:function(t){e.selected_medias=[]}}}):e._e()],1)],1)},i.staticRenderFns=[]},{"./modals/UploadFileModal.vue":233,"./subcomponents/MediaCard.vue":264,"./subcomponents/SelectorBar.vue":279,"./subcomponents/TagsAndAuthorFilters.vue":281,debounce:41,timers:168}],213:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(e("./modals/EditProject.vue")),i=a(e("./MediaLibrary.vue")),o=a(e("./subcomponents/AccessController.vue")),r=a(e("./subcomponents/ClientsCheckingOut.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{project:Object,read_only:Boolean,context:String,is_selected:Boolean},components:{EditProject:t.default,MediaLibrary:i.default,AccessController:o.default,ClientsCheckingOut:r.default},data:function(){return{slugProjectName:this.project.slugFolderName,showEditProjectModal:!1,remember_project_password_for_this_device:!0,show_advanced_options:!1,local_is_selected:!1,id:(Math.random().toString(36)+"00000000000000000").slice(2,8),is_hovered:!1,showDuplicateProjectMenu:!1,copy_project_name:this.$t("copy_of")+" "+this.project.name,zip_export_started:!1,is_loading:!1}},watch:{showInputPasswordField:function(){var e=this;this.showInputPasswordField&&this.$nextTick(function(){e.$refs.passwordField&&e.$refs.passwordField.focus()})},is_selected:function(){this.local_is_selected=this.is_selected},"project.viewing_limited_to":function(){this.$socketio.listMedias({type:"projects",slugFolderName:this.slugProjectName})}},mounted:function(){var e=this;"full"===this.context&&(this.is_loading=!0,this.$socketio.listFolders({type:"projects",slugFolderName:this.slugProjectName}),this.$socketio.listMedias({type:"projects",slugFolderName:this.slugProjectName}),this.$eventHub.$once("socketio.projects.medias_listed",function(){e.is_loading=!1}))},beforeDestroy:function(){},computed:{previewURL:function(){if(!this.project.hasOwnProperty("preview")||""===this.project.preview)return!1;var e=this.project.preview.filter(function(e){return 640===e.size});return e.length>0&&""+e[0].path},can_see_project:function(){return this.$root.canSeeFolder({type:"projects",slugFolderName:this.slugProjectName})},can_edit_project:function(){return this.$root.canEditFolder({type:"projects",slugFolderName:this.slugProjectName})}},methods:{openProject:function(){this.can_see_project?this.$root.openProject(this.slugProjectName):this.showInputPasswordField=!this.showInputPasswordField},closeProject:function(){this.$root.closeProject()},removeProject:function(){var e=this;this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemoveProject"),function(){e.$root.removeFolder({type:"projects",slugFolderName:e.slugProjectName}),e.closeProject()},function(){})},project_password:function(){return"has_pass"!==this.password?"":this.$root.getFolderPassword({type:"projects",slugFolderName:this.slugProjectName})},duplicateWithNewName:function(e){var t=this;if(console.log("METHODS • Project: duplicateWithNewName"),function(){var e=[];for(var t in window.store.projects){var n=window.store.projects[t].name;e.push(n)}return e}().indexOf(this.copy_project_name)>=0)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.name_already_exists")),!1;this.$socketio.copyFolder({type:"projects",slugFolderName:this.slugProjectName,new_folder_name:this.copy_project_name}),this.showDuplicateProjectMenu=!1,this.$alertify.closeLogOnClick(!0).delay(4e3).log(this.$t("notifications.copy_in_progress")),this.$eventHub.$once("socketio.projects.folder_listed",function(){t.$alertify.closeLogOnClick(!0).delay(4e3).success(t.$t("notifications.copy_completed"))})},downloadProjectArchive:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("Project • METHODS: downloadProjectArchive"),this.zip_export_started=!0,setTimeout(function(){e.zip_export_started=!1},2e3);var t=window.location.origin+"/_archives/projects/"+this.slugProjectName+"?socketid="+this.$root.$socketio.socket.id;"debug"===this.$root.state.dev_mode&&console.log("Project • METHODS: downloadProjectArchive with query "+t),window.open(t,"_blank")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_project",class:{"is--hovered":e.is_hovered&&e.can_see_project,"is--selected":e.is_selected,"is--accessible":e.can_see_project},on:{mouseover:function(t){e.is_hovered=!0},mouseleave:function(t){e.is_hovered=!1}}},[n("div",{staticClass:"m_project--presentation",class:{"is--full":"full"===e.context}},[e.previewURL?n("div",{staticClass:"m_project--presentation--vignette"},[n("img",{attrs:{src:e.previewURL,draggable:"false"}})]):"full"===e.context&&e.can_edit_project?n("div",{staticClass:"m_project--presentation--novignette"},[n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){e.showEditProjectModal=!0}}},[e._v(e._s(e.$t("add_a_cover_image")))])]):e._e(),e._v(" "),n("div",{staticClass:"m_project--presentation--text"},[n("h2",{staticClass:"m_project--presentation--text--title"},[e._v("\n "+e._s(e.project.name)+"\n "),n("ProtectedLock",{attrs:{editing_limited_to:e.project.editing_limited_to,is_protected:!e.can_edit_project}})],1),e._v(" "),n("div",{staticClass:"m_project--presentation--text--infos"},[n("div",{staticClass:"m_keywordField"},e._l(e.project.keywords,function(t){return n("span",{key:t.title,class:["tagcolorid_"+parseInt(t.title,36)%2,{"is--active":e.$root.settings.project_filter.keyword===t.title}]},[e._v(e._s(t.title))])}),0),e._v(" "),e.project.authors?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("author")))]),e._v(" "),n("div",{staticClass:"m_authorField"},e._l(e.project.authors,function(t){return e.$root.getAuthor(t.slugFolderName)?n("span",{key:t.slugFolderName,staticClass:"is--active",class:{"is--loggedInAuthor":e.$root.current_author&&e.$root.current_author.slugFolderName===t.slugFolderName}},[e.$root.getAuthor(t.slugFolderName)?[e._v(e._s(e.$root.getAuthor(t.slugFolderName).name))]:[e._v(e._s(t.slugFolderName))]],2):e._e()}),0)]):e._e(),e._v(" "),e.project.folder&&"full"===e.context?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("folder")))]),e._v(" "),n("div",{staticClass:"m_folderField"},[n("span",[e._v(e._s(e.project.folder))])])]):e._e(),e._v(" "),n("DateField",{attrs:{title:"created",date:e.project.date_created}}),e._v(" "),n("DateField",{attrs:{title:"edited",date:e.project.date_modified}}),e._v(" "),n("AccessController",{attrs:{folder:e.project,context:e.context,type:"projects"},on:{openFolder:e.openProject,closeFolder:e.closeProject}})],1)]),e._v(" "),n("div",{staticClass:"m_project--presentation--buttons"},["full"!==e.context&&e.can_see_project?n("button",{staticClass:"m_project--presentation--buttons--openButton button-redthin",attrs:{type:"button"},on:{click:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.openProject(t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:t.shiftKey?"button"in t&&0!==t.button?null:t.ctrlKey||t.altKey||t.metaKey?null:e.$emit("toggleSelect"):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:t.metaKey?"button"in t&&0!==t.button?null:t.ctrlKey||t.shiftKey||t.altKey?null:e.$emit("toggleSelect"):null}]}},[e.project.folder?e._e():n("span",{},[e._v(e._s(e.$t("open")))]),e._v(" "),n("svg",{staticClass:"m_project--presentation--buttons--openButton--icon inline-svg",staticStyle:{"enable-background":"new 0 0 46.3 46.3"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"46.3px",height:"46.3px",viewBox:"0 0 46.3 46.3","xml:space":"preserve"}},[n("path",{staticClass:"st0",staticStyle:{fill:"currentColor"},attrs:{d:"M38.1,29.1L37.8,23c-0.1-3.7-0.1-6.7,0.6-9.7l-33,33L0,40.9L32.9,7.9c-2.9,0.6-6,0.6-9.6,0.5l-6.2-0.3L17.8,0\n\t\tl27.1,1.4l1.4,27.1L38.1,29.1z"}})])]):e._e(),e._v(" "),"full"!==e.context?n("button",{staticClass:"m_project--presentation--buttons--invisibleOpenButton",class:{"is--disabled":!e.can_see_project},attrs:{type:"button"},on:{click:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.openProject(t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:t.shiftKey?"button"in t&&0!==t.button?null:t.ctrlKey||t.altKey||t.metaKey?null:e.$emit("toggleSelect"):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:t.metaKey?"button"in t&&0!==t.button?null:t.ctrlKey||t.shiftKey||t.altKey?null:e.$emit("toggleSelect"):null}]}},[n("span",{},[e._v(e._s(e.$t("open")))])]):e._e(),e._v(" "),"full"!==e.context&&(e.is_hovered||e.is_selected)?n("label",{staticClass:"m_project--presentation--buttons--selectionButton input-selector",attrs:{for:e.is_selected+e.id},on:{click:function(e){e.stopPropagation()}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.local_is_selected,expression:"local_is_selected"}],class:{disabled:!e.can_see_project||!e.can_edit_project},attrs:{id:e.is_selected+e.id,type:"checkbox"},domProps:{checked:Array.isArray(e.local_is_selected)?e._i(e.local_is_selected,null)>-1:e.local_is_selected},on:{change:[function(t){var n=e.local_is_selected,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&(e.local_is_selected=n.concat([null])):r>-1&&(e.local_is_selected=n.slice(0,r).concat(n.slice(r+1)))}else e.local_is_selected=o},function(t){return e.$emit("toggleSelect")}]}})]):e._e(),e._v(" "),e.can_see_project&&e.can_edit_project&&"full"===e.context?n("button",{staticClass:"buttonLink",attrs:{type:"button",disabled:e.read_only},on:{click:function(t){e.showEditProjectModal=!0}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 100.7 101"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"100.7px",height:"101px",viewBox:"0 0 100.7 101","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M100.7,23.2L77.5,0l-66,66.2l0,0L0,101l34.7-11.6l0,0L100.7,23.2z M19.1,91.5l-9.4-9.7l4-12.4l18,17.8\n L19.1,91.5z"}})]),e._v("\n "+e._s(e.$t("edit"))+"\n ")]):e._e(),e._v(" "),e.can_see_project&&e.can_edit_project&&"full"===e.context?n("button",{staticClass:"buttonLink",attrs:{type:"button",disabled:e.read_only},on:{click:function(t){return e.removeProject()}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M91.6,17H62.9V0H28.7v17H0v9.4h11.3V95h69V26.4h11.3V17z M64.4,69.4L57.8,76l-12-12l-12,12l-6.6-6.6l12-12\n l-12-12l6.6-6.6l12,12l12-12l6.6,6.6l-12,12L64.4,69.4z M38.1,9.4h15.3V17H38.1V9.4z"}})]),e._v("\n "+e._s(e.$t("remove"))+"\n ")]):e._e(),e._v(" "),e.can_see_project&&e.can_edit_project&&"full"===e.context?n("button",{staticClass:"buttonLink",class:{"is--active":e.show_advanced_options},attrs:{type:"button"},on:{click:function(t){e.show_advanced_options=!e.show_advanced_options}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 77.6 85.4"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"77.6px",height:"85.4px",viewBox:"0 0 77.6 85.4","xml:space":"preserve"}},[n("defs"),e._v(" "),n("g",[n("path",{attrs:{d:"M73.9,39h-7.6c-1.6-5.6-6.7-9.7-12.7-9.7S42.5,33.5,40.8,39H3.7c-2,0-3.7,1.6-3.7,3.7c0,2,1.6,3.7,3.7,3.7h37.1\n\t\tc1.6,5.6,6.7,9.7,12.7,9.7s11.1-4.1,12.7-9.7h7.6c2,0,3.7-1.6,3.7-3.7C77.6,40.7,76,39,73.9,39z M53.6,48.7c-3.2,0-6-2.6-6-6\n\t\ts2.6-6,6-6s6,2.6,6,6S56.8,48.7,53.6,48.7z"}}),e._v(" "),n("path",{attrs:{d:"M3.7,17.1h7.9c1.6,5.6,6.7,9.7,12.7,9.7s11.1-4.1,12.7-9.7h36.9c2,0,3.7-1.6,3.7-3.7S76,9.7,73.9,9.7H37\n\t\tC35.4,4.1,30.3,0,24.3,0S13.2,4.1,11.6,9.7H3.7c-2,0-3.7,1.6-3.7,3.7S1.6,17.1,3.7,17.1z M24.3,7.4c3.2,0,6,2.6,6,6s-2.6,6-6,6\n\t\ts-6-2.8-6-6S21.1,7.4,24.3,7.4z"}}),e._v(" "),n("path",{attrs:{d:"M73.9,68.3H37c-1.6-5.6-6.7-9.7-12.7-9.7s-11.1,4.1-12.7,9.7H3.7c-2,0-3.7,1.6-3.7,3.7s1.6,3.7,3.7,3.7h7.9\n\t\tc1.6,5.6,6.7,9.7,12.7,9.7s11.1-4.1,12.7-9.7h36.9c2,0,3.7-1.6,3.7-3.7S76,68.3,73.9,68.3z M24.3,78c-3.2,0-6-2.6-6-6s2.6-6,6-6\n\t\ts6,2.6,6,6S27.5,78,24.3,78z"}})])]),e._v("\n "+e._s(e.$t("advanced_options"))+"\n ")]):e._e(),e._v(" "),e.show_advanced_options?n("div",[e.can_see_project&&e.can_edit_project&&"full"===e.context?n("button",{staticClass:"buttonLink",attrs:{type:"button",disabled:e.zip_export_started},on:{click:e.downloadProjectArchive}},[e.zip_export_started?[n("span",{staticClass:"loader loader-small"})]:[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 46.7 70"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"46.7px",height:"70px",viewBox:"0 0 46.7 70","xml:space":"preserve"}},[n("g",[n("g",[n("path",{staticClass:"st0",attrs:{d:"M8.5,35.2l4.6,4.2c2.7,2.5,4.8,4.7,6.4,7.3l0-46.7h7.7l0,46.6c1.7-2.5,3.8-4.7,6.4-7.1l4.6-4.2l5.3,6.2 L23.3,59.6L3.2,41.5L8.5,35.2z"}})]),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"46.7,70 0,70 0,62.4 46.6,62.4 \t"}})])])],e._v("\n "+e._s(e.$t("download"))+"\n ")],2):e._e(),e._v(" "),e.can_see_project&&e.can_edit_project&&"full"===e.context?n("button",{staticClass:"buttonLink",class:{"is--active":e.showDuplicateProjectMenu},attrs:{type:"button",disabled:e.read_only},on:{click:function(t){e.showDuplicateProjectMenu=!e.showDuplicateProjectMenu}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"39.5,11.8 83,11.8 83,55.4 72.7,55.4 72.7,67.2 94.8,67.2 94.8,0 27.7,0 27.7,22.2 39.5,22.2 \t"}}),e._v(" "),n("path",{staticClass:"st0",attrs:{d:"M67.2,27.7L0,27.7l0,67.2l67.2,0L67.2,27.7z M55.4,83l-43.6,0l0-43.6l43.6,0L55.4,83z"}})]),e._v("\n "+e._s(e.$t("duplicate"))+"\n ")]):e._e(),e._v(" "),e.showDuplicateProjectMenu?n("div",{staticClass:"margin-bottom-small"},[n("label",{domProps:{innerHTML:e._s(e.$t("name_of_copy"))}}),e._v(" "),n("form",{staticClass:"input-group",on:{submit:function(t){return t.preventDefault(),e.duplicateWithNewName()}}},[n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.copy_project_name,expression:"copy_project_name",modifiers:{trim:!0}}],attrs:{type:"text",required:"",autofocus:""},domProps:{value:e.copy_project_name},on:{input:function(t){t.target.composing||(e.copy_project_name=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),n("button",{staticClass:"bg-bleuvert",attrs:{type:"submit"},domProps:{innerHTML:e._s(e.$t("copy"))}})])]):e._e()]):e._e()]),e._v(" "),e.showEditProjectModal?n("EditProject",{attrs:{project:e.project,project_password:e.project_password(),slugProjectName:e.slugProjectName,read_only:e.read_only},on:{close:function(t){e.showEditProjectModal=!1}}}):e._e(),e._v(" "),n("ClientsCheckingOut",{attrs:{type:"projects",slugFolderName:e.slugProjectName}})],1),e._v(" "),"full"===e.context?n("MediaLibrary",{attrs:{slugProjectName:e.slugProjectName,project:e.project,read_only:e.read_only,can_edit_project:e.can_edit_project}}):e._e(),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:400}},[e.is_loading?n("Loader"):e._e()],1)],1)},i.staticRenderFns=[],i._scopeId="data-v-96429af2"},{"./MediaLibrary.vue":212,"./modals/EditProject.vue":224,"./subcomponents/AccessController.vue":250,"./subcomponents/ClientsCheckingOut.vue":255}],214:[function(e,t,n){e("vueify/lib/insert-css").insert(".font-folder_title[data-v-66d26590]{font-size:70%}");!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(e("./subcomponents/AccessController.vue")),i=o(e("./subcomponents/ClientsCheckingOut.vue"));function o(e){return e&&e.__esModule?e:{default:e}}n.default={props:{publication:Object},components:{AccessController:t.default,ClientsCheckingOut:i.default},data:function(){return{show_input_pwd:!1}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{show_input_pwd:function(){var e=this;this.show_input_pwd&&this.$nextTick(function(){e.$refs.passwordField&&e.$refs.passwordField.focus()})}},computed:{attached_project:function(){var e=this;return Object.values(this.$root.store.projects).find(function(t){return t.slugFolderName===e.publication.attached_to_project})},slugPubliName:function(){return this.publication.slugFolderName},can_edit_publi:function(){return this.$root.canEditFolder({type:"publications",slugFolderName:this.slugPubliName})},can_see_publi:function(){return this.$root.canSeeFolder({type:"publications",slugFolderName:this.slugPubliName})}},methods:{openPublication:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: openPublication / slugPubliName = "+this.slugPubliName),this.can_see_publi&&this.$root.openPublication(this.slugPubliName)},publi_password:function(){return"has_pass"!==this.password?"":this.$root.getFolderPassword({type:"publications",slugFolderName:this.slugPubliName})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("tr",{on:{click:function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.openPublication(t)}}},[n("td",[e._v("\n "+e._s(e.publication.name)+"\n "),n("ProtectedLock",{attrs:{editing_limited_to:e.publication.editing_limited_to,is_protected:!e.can_edit_publi}})],1),e._v(" "),n("td",{attrs:{width:"150px"}},[n("small",[e._v(e._s(e.$root.formatDateToHuman(e.publication.date_created)))])]),e._v(" "),n("td",{attrs:{width:"150px"}},[e.publication.authors?n("div",{staticClass:"m_authorField"},[e._l(e.publication.authors,function(t){return e.$root.getAuthor(t.slugFolderName)?n("span",{key:t.slugFolderName,staticClass:"is--active",class:{"is--loggedInAuthor":e.$root.current_author&&e.$root.current_author.slugFolderName===t.slugFolderName}},[e.$root.getAuthor(t.slugFolderName)?[e._v(e._s(e.$root.getAuthor(t.slugFolderName).name))]:[e._v(e._s(t.slugFolderName))]],2):e._e()}),e._v(" "),n("ClientsCheckingOut",{attrs:{type:"publications",slugFolderName:e.slugPubliName}})],2):e._e()]),e._v(" "),n("td",{staticClass:"font-verysmall strong"},[e.publication.number_of_medias?[e._v(e._s(e.publication.number_of_medias))]:[e._v("—")]],2),e._v(" "),n("td",{staticClass:"font-folder_title"},[e.attached_project?[e._v(e._s(e.attached_project.name))]:[e._v("—")]],2),e._v(" "),n("td",[n("AccessController",{attrs:{folder:e.publication,context:"short",type:"publications"},on:{openFolder:e.openPublication}}),e._v(" "),e.can_see_publi?n("button",{staticClass:"m_project--presentation--buttons--openButton button-redthin",attrs:{type:"button"},on:{click:function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.openPublication(t)}}},[n("span",{},[e._v(e._s(e.$t("open")))])]):e._e()],1)])},i.staticRenderFns=[],i._scopeId="data-v-66d26590"},{"./subcomponents/AccessController.vue":250,"./subcomponents/ClientsCheckingOut.vue":255,"vueify/lib/insert-css":182}],215:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(e("./../subcomponents/Author.vue")),i=o(e("./../subcomponents/CreateAuthor.vue"));function o(e){return e&&e.__esModule?e:{default:e}}n.default={props:{authors:{type:Object,default:{}},prevent_close:{type:Boolean,default:!1}},components:{Author:t.default,CreateAuthor:i.default},data:function(){return{openCreateAuthorPanel:!1,editAuthorSlug:!1,show_detail:!1,is_loading:!1}},created:function(){},mounted:function(){var e=this;this.is_loading=!0,this.$socketio.listFolders({type:"authors"}),this.$eventHub.$once("socketio.authors.folders_listed",function(){e.is_loading=!1})},beforeDestroy:function(){},watch:{},computed:{sorted_authors:function(){var e=this,t=Object.values(this.authors).sort(function(e,t){return!(!e.name||!t.name)&&e.name.localeCompare(t.name)});return this.$root.current_author&&t.some(function(n,i){return n.slugFolderName===e.$root.current_author.slugFolderName&&t.unshift(t.splice(i,1)[0])}),t}},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{ref:"modal",attrs:{typeOfModal:"LargeAndScroll",prevent_close:e.prevent_close,is_loading:e.is_loading},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("authors_list")))])]),e._v(" "),n("template",{slot:"preview"},[n("div",{},[n("div",{staticClass:"margin-sides-medium margin-vert-small"},[e.$root.state.local_options.force_login&&!e.$root.current_author?n("div",[n("strong",[e._v(e._s(e.$t("login_to_access")))])]):e._e(),e._v(" "),n("small",[e._v(e._s(e.$t("when_logged_as_author_content_will_be_tagged")))]),e._v(" "),e.show_detail?e._e():n("button",{staticClass:"buttonLink margin-left-none padding-left-none",attrs:{type:"button"},on:{click:function(t){e.show_detail=!e.show_detail}}},[e._v("\n + "+e._s(e.$t("more_informations"))+"\n ")]),e._v(" "),n("div",[e.show_detail?n("small",[e._v(e._s(e.$t("more_informations_on_authors")))]):e._e()])]),e._v(" "),n("transition-group",{staticClass:"m_authorsList",attrs:{tag:"div",name:"list-complete"}},[n("div",{key:"createAuthor"},[n("div",{staticClass:"m_authorsList--createAuthor"},[0==e.openCreateAuthorPanel?n("button",{staticClass:"m_authorsList--createAuthor--createButton bg-bleumarine",attrs:{type:"button"},on:{click:function(t){e.openCreateAuthorPanel=!0}}},[e._v("\n "+e._s(e.$t("create_an_author"))+"\n ")]):n("CreateAuthor",{attrs:{read_only:e.read_only},on:{close:function(t){e.openCreateAuthorPanel=!1}}})],1)]),e._v(" "),Object.keys(e.sorted_authors).length>0?[e._l(e.sorted_authors,function(t){return[n("Author",{key:t.slugFolderName,attrs:{author:t},on:{close:function(t){return e.$emit("close")}}})]})]:e._e()],2)],1)])],2)},i.staticRenderFns=[]},{"./../subcomponents/Author.vue":253,"./../subcomponents/CreateAuthor.vue":257}],216:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={name:"BaseModal",props:{backgroundColor:{type:String,default:"white"},read_only:{type:Boolean,default:!0},typeOfModal:{type:String,default:"EditMeta"},askBeforeClosingModal:{type:Boolean,default:!1},isFile:{type:Boolean,default:!1},show_sidebar:{type:Boolean,default:!0},can_minimize:{type:Boolean,default:!1},media_navigation:{type:Boolean,default:!1},is_minimized:{type:Boolean,default:!1},prevent_close:{type:Boolean,default:!1},is_loading:{type:Boolean,default:!1}},data:function(){return{showModal:!1,windowHeight:window.innerHeight,has_confirm_close_modal_open:!1}},mounted:function(){var e=this;console.log("MOUNTED • BaseModal"),setTimeout(function(){if(e.showModal=!0,void 0!==Modernizr&&!Modernizr.touchevents){if(e.$refs.modalContent&&e.$refs.modalContent.querySelector("[autofocus]")){var t=e.$refs.modalContent.querySelector("[autofocus]");t.classList.contains("quillWrapper")?t.querySelector(".ql-editor").focus():t.focus(),t.hasAttribute("autoselect")&&t.select()}e.isFile&&e.$refs.form&&e.$refs.form.setAttribute("enctype","multipart/form-data")}},100)},computed:{},methods:{modalKeyListener:function(e){if("debug"===window.state.dev_mode&&console.log("METHODS • BaseModal: modalKeyListener"),"Escape"===e.key)return this.has_confirm_close_modal_open||this.closeModal(),void e.preventDefault();"input"===e.target.tagName.toLowerCase()||"textarea"===e.target.tagName.toLowerCase()||e.target.className.includes("ql-editor")||("ArrowRight"!==e.key?"ArrowLeft"!==e.key||this.prevMedia():this.nextMedia())},closeModal:function(){var e=this;console.log("METHODS • BaseModal: closeModal with askBeforeClosingModal = "+this.askBeforeClosingModal),this.prevent_close||(this.askBeforeClosingModal?(this.has_confirm_close_modal_open=!0,this.$alertify.okBtn(this.$t("save_changes")).cancelBtn(this.$t("close_the_window")).confirm(this.$t("changes_not_saved_sureToCloseModal"),function(){e.$emit("submit"),e.showModal=!1,setTimeout(function(){e.$emit("close")},400)},function(){e.showModal=!1,setTimeout(function(){e.$emit("close")},400)})):(this.showModal=!1,setTimeout(function(){e.$emit("close")},400)))},prevMedia:function(){var e=this;console.log("METHODS • BaseModal: prevMedia with askBeforeClosingModal = "+this.askBeforeClosingModal),this.$root.app_is_fullscreen||(this.askBeforeClosingModal?(this.has_confirm_close_modal_open=!0,this.$alertify.okBtn(this.$t("save_changes")).cancelBtn(this.$t("close_the_window")).confirm(this.$t("changes_not_saved_sureToCloseModal"),function(){e.$emit("submit"),e.$eventHub.$emit("modal.prev_media")},function(){e.$eventHub.$emit("modal.prev_media")})):this.$eventHub.$emit("modal.prev_media"))},nextMedia:function(){var e=this;console.log("METHODS • BaseModal: nextMedia with askBeforeClosingModal = "+this.askBeforeClosingModal),this.$root.app_is_fullscreen||(this.askBeforeClosingModal?(this.has_confirm_close_modal_open=!0,this.$alertify.okBtn(this.$t("save_changes")).cancelBtn(this.$t("close_the_window")).confirm(this.$t("changes_not_saved_sureToCloseModal"),function(){e.$emit("submit"),e.$eventHub.$emit("modal.next_media")},function(){e.$eventHub.$emit("modal.next_media")})):this.$eventHub.$emit("modal.next_media"))},toggleMinimize:function(){console.log("METHODS • BaseModal: toggleMinimize"),this.$root.media_modal.minimized=!this.$root.media_modal.minimized},toggleSidebar:function(){console.log("METHODS • BaseModal: toggleSidebar"),this.$root.media_modal.show_sidebar=!this.$root.media_modal.show_sidebar}},created:function(){document.addEventListener("keydown",this.modalKeyListener),document.body.classList.add("has_modal_opened"),this.$root.settings.has_modal_opened=!0},beforeDestroy:function(){document.removeEventListener("keydown",this.modalKeyListener),document.body.classList.remove("has_modal_opened"),this.$root.settings.has_modal_opened=!1}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("portal",{attrs:{to:"modal_container"}},[n("div",{staticClass:"m_modal--mask",class:["typeOfModal-"+e.typeOfModal,{is_invisible:!e.showModal},{is_minimized:e.is_minimized}],style:"height: "+e.$root.settings.windowHeight+"px",on:{click:function(t){return t.target!==t.currentTarget?null:e.closeModal(t)}}},[n("div",{staticClass:"m_modal--container",class:["color-"+e.backgroundColor,{is_invisible:!e.showModal},{is_minimized:e.is_minimized}],on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:t.ctrlKey?e.$emit("submit"):null}}},[n("div",{ref:"modalContent",staticClass:"m_modal--container--content"},[this.$slots.preview?n("div",{staticClass:"m_modal--preview"},[this.$slots.sidebar?e._e():[n("div",{staticClass:"m_modal--header"},[n("h3",{staticClass:"margin-none"},[e._t("header",[e._v("default header")])],2)])],e._v(" "),e._t("preview",[e._v("default preview")])],2):e._e(),e._v(" "),this.$slots.sidebar&&!e.is_minimized?n("form",{ref:"form",staticClass:"m_modal--sidebar",class:{is_collapsed:!e.show_sidebar},on:{submit:function(t){return t.preventDefault(),e.$emit("submit")}}},[e.can_minimize?n("button",{staticClass:"m_modal--sidebar--toggle",attrs:{type:"button"},on:{click:e.toggleSidebar}},[e._v("\n ☰\n ")]):e._e(),e._v(" "),this.$slots.sidebar&&e.show_sidebar&&!e.is_minimized?[n("div",{staticClass:"m_modal--header"},[n("h3",{staticClass:"margin-none"},[e._t("header",[e._v("default header")])],2)]),e._v(" "),n("div",{staticClass:"m_modal--metaOptions"},[e._t("sidebar",[e._v("default sidebar")])],2),e._v(" "),this.$slots.submit_button?n("div",{staticClass:"m_modal--buttons"},[n("button",{staticClass:"button button-bg_rounded bg-bleuvert",attrs:{type:"submit",disabled:e.read_only||e.is_loading}},[n("img",{attrs:{src:"/images/i_enregistre.svg",draggable:"false"}}),e._v(" "),n("span",{staticClass:"text-cap font-verysmall"},[e._t("submit_button",[e._v(e._s(e.$t("save")))])],2)])]):e._e()]:e._e()],2):e._e(),e._v(" "),this.$slots.buttons?n("form",{ref:"form",staticClass:"m_modal--buttons",on:{submit:function(t){return t.preventDefault(),e.$emit("submit")}}},[n("button",{staticClass:"button button-bg_rounded bg-orange",attrs:{type:"button"},on:{click:e.closeModal}},[n("img",{attrs:{src:"/images/i_clear.svg",draggable:"false"}}),e._v(" "),n("span",{staticClass:"text-cap font-verysmall"},[e._t("cancel_button",[e._v(e._s(e.$t("cancel")))])],2)]),e._v(" "),n("button",{staticClass:"button button-bg_rounded bg-bleuvert",attrs:{type:"submit",disabled:e.read_only}},[n("img",{attrs:{src:"/images/i_enregistre.svg",draggable:"false"}}),e._v(" "),n("span",{staticClass:"text-cap font-verysmall"},[e._t("submit_button",[e._v(e._s(e.$t("save")))])],2)])]):e._e(),e._v(" "),e.is_loading?n("Loader"):e._e()],1)]),e._v(" "),n("transition",{attrs:{name:"fade",duration:600}},[!e.showModal||e.is_minimized||e.prevent_close?e._e():n("button",{staticClass:"button-round m_modal--close_button padding-verysmall",on:{click:e.closeModal}},[n("img",{attrs:{src:"/images/i_close_sansfond.svg",draggable:"false"}})])]),e._v(" "),n("transition",{attrs:{name:"fade",duration:600}},[e.showModal&&e.can_minimize?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"right",delay:[600,0]},expression:"{\n placement: 'right',\n delay: [600, 0],\n }"}],staticClass:"button-round bg-blanc m_modal--minimize_button padding-verysmall",class:{is_minimized:e.is_minimized},attrs:{content:e.$t("minimize_media")},on:{click:e.toggleMinimize}},[n("img",{attrs:{src:"/images/i_minimize.svg",draggable:"false"}})]):e._e()]),e._v(" "),n("transition",{attrs:{name:"fade",duration:600}},[e.showModal&&e.media_navigation&&!e.is_minimized?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"left",delay:[600,0]},expression:"{\n placement: 'left',\n delay: [600, 0],\n }"}],staticClass:"button-round bg-blanc m_modal--nav_left padding-verysmall",attrs:{content:e.$t("previous_media")},on:{click:function(t){return e.prevMedia()}}},[n("img",{attrs:{src:"/images/i_arrow_left.svg",draggable:"false"}})]):e._e()]),e._v(" "),n("transition",{attrs:{name:"fade",duration:600}},[e.showModal&&e.media_navigation&&!e.is_minimized?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"right",delay:[600,0]},expression:"{\n placement: 'right',\n delay: [600, 0],\n }"}],staticClass:"button-round bg-blanc m_modal--nav_right padding-verysmall",attrs:{content:e.$t("next_media")},on:{click:function(t){return e.nextMedia()}}},[n("img",{attrs:{src:"/images/i_arrow_right.svg",draggable:"false"}})]):e._e()])],1)])},i.staticRenderFns=[]},{}],217:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("../../CaptureView.vue"),o=(t=i)&&t.__esModule?t:{default:t};n.default={props:{slugFolderName:String,type:String,read_only:Boolean,available_modes:Array},components:{CaptureView:o.default},data:function(){return{}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"LargeAndNoScroll",askBeforeClosingModal:e.askBeforeClosingModal,is_loading:e.is_sending_content_to_server},on:{close:function(t){return e.$emit("close")},submit:e.editThisChat}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("edit_a_chat")))])]),e._v(" "),n("template",{slot:"preview"},[n("CaptureView",{attrs:{slugFolderName:e.slugFolderName,type:e.type,read_only:e.read_only,can_add_to_fav:!1,available_modes:e.available_modes},on:{insertMedias:function(t){return e.$emit("insertMedias",t)}}})],1)],2)},i.staticRenderFns=[],i._scopeId="data-v-bded76ce"},{"../../CaptureView.vue":197}],218:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(e("../subcomponents/AuthorsInput.vue")),i=o(e("../subcomponents/EditAccessControl.vue"));function o(e){return e&&e.__esModule?e:{default:e}}n.default={props:{read_only:Boolean},components:{AuthorsInput:t.default,EditAccessControl:i.default},data:function(){return{show_authors:!0,show_access_control:!0,is_sending_content_to_server:!1,chatdata:{name:"",pinned:!1,authors:this.$root.current_author?[{slugFolderName:this.$root.current_author.slugFolderName}]:[],editing_limited_to:"everybody",viewing_limited_to:"everybody"},askBeforeClosingModal:!1}},watch:{"chatdata.name":function(){this.chatdata.name.length>0?this.askBeforeClosingModal=!0:this.askBeforeClosingModal=!1},preview:function(){this.preview?this.askBeforeClosingModal=!0:this.askBeforeClosingModal=!1}},computed:{},methods:{newChat:function(e){var t=this;if(console.log("newChat"),Object.values(this.$root.store.chats).some(function(e){return e.name===t.chatdata.name}))return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.name_already_exists")),!1;this.is_sending_content_to_server=!0,this.$root.createFolder({type:"chats",data:this.chatdata}).then(function(e){t.$emit("close"),t.$root.openChat(e.slugFolderName)})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"EditMeta",askBeforeClosingModal:e.askBeforeClosingModal,is_loading:e.is_sending_content_to_server},on:{close:function(t){return e.$emit("close")},submit:e.newChat}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("create_a_chat")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("chat_name")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.chatdata.name,expression:"chatdata.name",modifiers:{trim:!0}}],attrs:{type:"text",required:"",autofocus:""},domProps:{value:e.chatdata.name},on:{input:function(t){t.target.composing||e.$set(e.chatdata,"name",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.chatdata.pinned,expression:"chatdata.pinned"}],staticClass:"switch",attrs:{type:"checkbox",id:"pinnedswitch_editmedia"},domProps:{checked:Array.isArray(e.chatdata.pinned)?e._i(e.chatdata.pinned,null)>-1:e.chatdata.pinned},on:{change:function(t){var n=e.chatdata.pinned,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&e.$set(e.chatdata,"pinned",n.concat([null])):r>-1&&e.$set(e.chatdata,"pinned",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.chatdata,"pinned",o)}}}),e._v(" "),n("label",{class:{"c-rouge":e.chatdata.pinned},attrs:{for:"pinnedswitch_editmedia"}},[e._v("\n "+e._s(e.$t("pinned_to_the_top_of_the_list"))+"\n "),n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 78.5 106.4"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"78.5px",height:"106.4px",viewBox:"0 0 78.5 106.4","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"60.4,29.7 78.5,7.3 78.5,7.3 12.7,7.3 12.7,52 78.5,52 78.5,52 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"9.6,106.4 0,106.4 0,2 9.6,0 "}})])])])]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_authors},attrs:{type:"button"},on:{click:function(t){e.show_authors=!e.show_authors}}},[e._v("\n "+e._s(e.$t("participants"))+"\n ")])]),e._v(" "),e.show_authors?n("div",[n("AuthorsInput",{attrs:{currentAuthors:e.chatdata.authors},on:{"update:currentAuthors":function(t){return e.$set(e.chatdata,"authors",t)},"update:current-authors":function(t){return e.$set(e.chatdata,"authors",t)}}}),e._v(" "),n("small",[e._v(e._s(e.$t("author_instructions")))])],1):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_access_control},attrs:{type:"button"},on:{click:function(t){e.show_access_control=!e.show_access_control}}},[e._v("\n "+e._s(e.$t("manage_access"))+"\n ")])]),e._v(" "),e.show_access_control?n("div",[n("EditAccessControl",{attrs:{editing_limited_to:e.chatdata.editing_limited_to,viewing_limited_to:e.chatdata.viewing_limited_to,can_have_password:!1,can_have_readonly:!1,authors:e.chatdata.authors},on:{"update:editing_limited_to":function(t){return e.$set(e.chatdata,"editing_limited_to",t)},"update:viewing_limited_to":function(t){return e.$set(e.chatdata,"viewing_limited_to",t)},"update:authors":function(t){return e.$set(e.chatdata,"authors",t)}}})],1):e._e()])]),e._v(" "),n("template",{slot:"submit_button"},[e._v(e._s(e.$t("create")))])],2)},i.staticRenderFns=[]},{"../subcomponents/AuthorsInput.vue":254,"../subcomponents/EditAccessControl.vue":260}],219:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(e("../subcomponents/EditAccessControl.vue")),i=a(e("../subcomponents/ImageSelect.vue")),o=a(e("../subcomponents/TagsInput.vue")),r=a(e("../subcomponents/AuthorsInput.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{read_only:Boolean},components:{EditAccessControl:t.default,ImageSelect:i.default,TagsInput:o.default,AuthorsInput:r.default},data:function(){return{show_folder:!!this.$root.settings.opened_folder,show_image:!1,show_keywords:!1,show_authors:this.$root.current_author,show_access_control:!0,is_sending_content_to_server:!1,existing_group_name:this.$root.settings.opened_folder?this.$root.settings.opened_folder:"_none",new_group_name:"",enable_visible_to_all:!1,projectdata:{name:"",editing_limited_to:this.$root.current_author?"only_authors":"everybody",viewing_limited_to:"everybody",password:"",authors:this.$root.current_author?[{slugFolderName:this.$root.current_author.slugFolderName}]:[],keywords:[]},preview:void 0,askBeforeClosingModal:!1}},watch:{"projectdata.name":function(){this.projectdata.name.length>0?this.askBeforeClosingModal=!0:this.askBeforeClosingModal=!1},preview:function(){this.preview?this.askBeforeClosingModal=!0:this.askBeforeClosingModal=!1},"projectdata.editing_limited_to":function(){"everybody"===this.projectdata.editing_limited_to?this.projectdata.viewing_limited_to="everybody":"only_authors"===this.projectdata.editing_limited_to&&(this.show_authors=!0)}},computed:{},methods:{newProject:function(e){var t=this;return console.log("newProject"),function(){var e=[];for(var t in window.store.projects){var n=window.store.projects[t].name;e.push(n)}return e}().indexOf(this.projectdata.name)>=0?(this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.name_already_exists")),!1):(this.preview&&(this.projectdata.preview_rawdata=this.preview),this.existing_group_name?"_none"===this.existing_group_name?this.projectdata.folder="":this.projectdata.folder=this.existing_group_name:this.new_group_name&&(this.projectdata.folder=this.new_group_name.toUpperCase()),"only_authors"===this.projectdata.editing_limited_to&&0===this.projectdata.authors.length?(this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.if_only_authors_select_authors")),this.show_authors=!0,!1):(this.is_sending_content_to_server=!0,void this.$root.createFolder({type:"projects",data:this.projectdata}).then(function(e){t.$emit("close",""),t.$root.openProject(e.slugFolderName)})))}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"EditMeta",askBeforeClosingModal:e.askBeforeClosingModal,is_loading:e.is_sending_content_to_server},on:{close:function(t){return e.$emit("close")},submit:e.newProject}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("create_a_project")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("project_name")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.projectdata.name,expression:"projectdata.name",modifiers:{trim:!0}}],attrs:{type:"text",required:"",autofocus:""},domProps:{value:e.projectdata.name},on:{input:function(t){t.target.composing||e.$set(e.projectdata,"name",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_authors},attrs:{type:"button"},on:{click:function(t){e.show_authors=!e.show_authors}}},[e._v("\n "+e._s(e.$t("author"))+"\n ")])]),e._v(" "),e.show_authors?n("div",[n("AuthorsInput",{attrs:{currentAuthors:e.projectdata.authors},on:{"update:currentAuthors":function(t){return e.$set(e.projectdata,"authors",t)},"update:current-authors":function(t){return e.$set(e.projectdata,"authors",t)}}}),e._v(" "),n("small",[e._v(e._s(e.$t("author_instructions")))])],1):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_access_control},attrs:{type:"button"},on:{click:function(t){e.show_access_control=!e.show_access_control}}},[e._v("\n "+e._s(e.$t("manage_access"))+"\n ")])]),e._v(" "),e.show_access_control?n("div",[n("EditAccessControl",{attrs:{editing_limited_to:e.projectdata.editing_limited_to,viewing_limited_to:e.projectdata.viewing_limited_to,password:e.projectdata.password,authors:e.projectdata.authors},on:{"update:editing_limited_to":function(t){return e.$set(e.projectdata,"editing_limited_to",t)},"update:viewing_limited_to":function(t){return e.$set(e.projectdata,"viewing_limited_to",t)},"update:password":function(t){return e.$set(e.projectdata,"password",t)},"update:authors":function(t){return e.$set(e.projectdata,"authors",t)}}})],1):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_image},attrs:{type:"button"},on:{click:function(t){e.show_image=!e.show_image}}},[e._v("\n "+e._s(e.$t("cover_image"))+"\n ")])]),e._v(" "),e.show_image?n("div",[n("ImageSelect",{attrs:{load_from_projects_medias:!0},on:{newPreview:function(t){e.preview=t}}})],1):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_folder},attrs:{type:"button"},on:{click:function(t){e.show_folder=!e.show_folder}}},[e._v("\n "+e._s(e.$t("folder"))+"\n ")])]),e._v(" "),e.show_folder?n("div",[n("div",{},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.existing_group_name,expression:"existing_group_name"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.existing_group_name=t.target.multiple?n:n[0]}}},[n("option",{key:"none",domProps:{value:"_none"}},[e._v(e._s(e.$t("none")))]),e._v(" "),n("option",{key:"create",domProps:{value:""}},[e._v("** "+e._s(e.$t("create_new_folder"))+" **")]),e._v(" "),e._l(e.$root.all_folders,function(t){return n("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])})],2)]),e._v(" "),""===e.existing_group_name?n("div",[n("label",{domProps:{innerHTML:e._s(e.$t("new_folder_name"))}}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.new_group_name,expression:"new_group_name",modifiers:{trim:!0}}],staticClass:"text-uc",attrs:{type:"text"},domProps:{value:e.new_group_name},on:{input:function(t){t.target.composing||(e.new_group_name=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]):e._e()]):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_keywords},attrs:{type:"button"},on:{click:function(t){e.show_keywords=!e.show_keywords}}},[e._v("\n "+e._s(e.$t("keywords"))+"\n ")])]),e._v(" "),e.show_keywords?n("div",[n("TagsInput",{on:{tagsChanged:function(t){return e.projectdata.keywords=t}}})],1):e._e()])]),e._v(" "),n("template",{slot:"submit_button"},[e._v(e._s(e.$t("create")))])],2)},i.staticRenderFns=[]},{"../subcomponents/AuthorsInput.vue":254,"../subcomponents/EditAccessControl.vue":260,"../subcomponents/ImageSelect.vue":262,"../subcomponents/TagsInput.vue":282}],220:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=r(e("../subcomponents/EditAccessControl.vue")),i=r(e("../subcomponents/TagsInput.vue")),o=r(e("../subcomponents/AuthorsInput.vue"));function r(e){return e&&e.__esModule?e:{default:e}}n.default={props:{read_only:Boolean,default_name:{default:"",type:String},default_template:{default:"page_by_page",type:String}},components:{EditAccessControl:t.default,TagsInput:i.default,AuthorsInput:o.default},data:function(){return{publidata:{name:this.default_name,editing_limited_to:this.$root.current_author?"only_authors":"everybody",viewing_limited_to:"everybody",password:"",template:this.default_template,keywords:[],authors:this.$root.current_author?[{slugFolderName:this.$root.current_author.slugFolderName}]:[],attached_to_project:this.$root.do_navigation.current_slugProjectName,is_model:!1,follows_model:""},show_attached_project:this.$root.do_navigation.current_slugProjectName,show_password:!1,show_keywords:!1,show_authors:this.$root.current_author,show_model_options:!0,publi_follows_model:!1,show_access_control:!0}},watch:{publidata:{handler:function(){this.askBeforeClosingModal=!0},deep:!0}},mounted:function(){},computed:{model_recipes_of_this_template:function(){var e=this;return Object.values(window.store.publications).filter(function(t){return e.publidata.template===t.template&&!0===t.is_model})}},methods:{newPublication:function(e){var t=this;"debug"===this.$root.state.dev_mode&&console.log("METHODS • CreatePublication: newPublication");var n=this.publidata.name;if(function(){var e=[];for(var t in window.store.publications){var n=window.store.publications[t].name;e.push(n)}return e}().indexOf(this.publidata.name)>=0)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.name_already_exists")),!1;if("only_authors"===this.publidata.editing_limited_to&&0===this.publidata.authors.length)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.if_only_authors_select_authors")),this.show_authors=!0,!1;var i={name:n,editing_limited_to:this.publidata.editing_limited_to,viewing_limited_to:this.publidata.viewing_limited_to,password:this.publidata.password,template:this.publidata.template,authors:this.publidata.authors,keywords:this.publidata.keywords,attached_to_project:this.publidata.attached_to_project,is_model:this.publidata.is_model,follows_model:this.publidata.follows_model};"page_by_page"===i.template?(i.pages=[{id:+new Date+"_"+(Math.random().toString(36)+"00000000000000000").slice(2,3)}],i.width=210,i.height=297):"drawing_pad"===i.template?(i.layers=[{type:"medias",name:this.$t("media_layer_1"),id:+new Date+"_"+(Math.random().toString(36)+"00000000000000000").slice(2,3)}],i.width=200,i.height=150):"video_effects"===i.template&&(i.effects=[{type:"",id:+new Date+"_"+(Math.random().toString(36)+"00000000000000000").slice(2,3)}]),this.$root.createFolder({type:"publications",data:i}).then(function(e){t.$emit("close",""),t.$root.openPublication(e.slugFolderName)})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"EditMeta",askBeforeClosingModal:e.askBeforeClosingModal},on:{close:function(t){return e.$emit("close")},submit:e.newPublication}},[n("template",{slot:"header"},[n("span",[e._v(e._s(e.$t(e.publidata.template)))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("name")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.publidata.name,expression:"publidata.name",modifiers:{trim:!0}}],attrs:{type:"text",required:"",autofocus:"",autoselect:""},domProps:{value:e.publidata.name},on:{input:function(t){t.target.composing||e.$set(e.publidata,"name",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_model_options},attrs:{type:"button"},on:{click:function(t){e.show_model_options=!e.show_model_options}}},[e._v("\n "+e._s(e.$t("model"))+"\n ")])]),e._v(" "),e.show_model_options?n("div",[n("div",{staticClass:"margin-bottom-small"},[n("div",[n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.publidata.is_model,expression:"publidata.is_model"}],staticClass:"switch",attrs:{type:"checkbox",id:"is_model_switch"},domProps:{checked:Array.isArray(e.publidata.is_model)?e._i(e.publidata.is_model,null)>-1:e.publidata.is_model},on:{change:function(t){var n=e.publidata.is_model,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&e.$set(e.publidata,"is_model",n.concat([null])):r>-1&&e.$set(e.publidata,"is_model",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.publidata,"is_model",o)}}}),e._v(" "),n("label",{class:{"c-rouge":e.publidata.is_model},attrs:{for:"is_model_switch"}},[e._v(e._s(e.$t("publi_is_model")))])])]),e._v(" "),n("small",[e._v(e._s(e.$t("publi_is_model_instructions")))])]),e._v(" "),e.publidata.is_model?e._e():n("div",{staticClass:"margin-bottom-small"},[n("div",[n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.publi_follows_model,expression:"publi_follows_model"}],staticClass:"switch",attrs:{type:"checkbox",id:"follows_model_switch"},domProps:{checked:Array.isArray(e.publi_follows_model)?e._i(e.publi_follows_model,null)>-1:e.publi_follows_model},on:{change:function(t){var n=e.publi_follows_model,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&(e.publi_follows_model=n.concat([null])):r>-1&&(e.publi_follows_model=n.slice(0,r).concat(n.slice(r+1)))}else e.publi_follows_model=o}}}),e._v(" "),n("label",{class:{"c-rouge":e.publi_follows_model},attrs:{for:"follows_model_switch"}},[e._v(e._s(e.$t("select_publi_model")))])])]),e._v(" "),n("small",[e._v(e._s(e.$t("select_publi_model_instructions")))])]),e._v(" "),e.publi_follows_model&&!e.publidata.is_model?n("div",[0===e.model_recipes_of_this_template.length?n("small",[e._v(e._s(e.$t("no_models_yet")))]):e._e(),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.publidata.follows_model,expression:"publidata.follows_model"}],attrs:{disabled:0===e.model_recipes_of_this_template.length},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.publidata,"follows_model",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:""}},[e._v("** "+e._s(e.$t("none"))+" **")]),e._v(" "),e._l(e.model_recipes_of_this_template,function(t){return n("option",{key:t.slugFolderName,domProps:{value:t.slugFolderName}},[e._v(e._s(t.name))])})],2)]):e._e()]):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_authors},attrs:{type:"button"},on:{click:function(t){e.show_authors=!e.show_authors}}},[e._v("\n "+e._s(e.$t("author"))+"\n ")])]),e._v(" "),e.show_authors?n("div",[n("AuthorsInput",{attrs:{currentAuthors:e.publidata.authors},on:{"update:currentAuthors":function(t){return e.$set(e.publidata,"authors",t)},"update:current-authors":function(t){return e.$set(e.publidata,"authors",t)}}}),e._v(" "),n("small",[e._v(e._s(e.$t("author_instructions")))])],1):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_access_control},attrs:{type:"button"},on:{click:function(t){e.show_access_control=!e.show_access_control}}},[e._v("\n "+e._s(e.$t("manage_access"))+"\n ")])]),e._v(" "),e.show_access_control?n("div",[n("EditAccessControl",{attrs:{editing_limited_to:e.publidata.editing_limited_to,viewing_limited_to:e.publidata.viewing_limited_to,password:e.publidata.password,authors:e.publidata.authors},on:{"update:editing_limited_to":function(t){return e.$set(e.publidata,"editing_limited_to",t)},"update:viewing_limited_to":function(t){return e.$set(e.publidata,"viewing_limited_to",t)},"update:password":function(t){return e.$set(e.publidata,"password",t)},"update:authors":function(t){return e.$set(e.publidata,"authors",t)}}})],1):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_attached_project},attrs:{type:"button"},on:{click:function(t){e.show_attached_project=!e.show_attached_project}}},[e._v("\n "+e._s(e.$t("attached_to_project"))+"\n ")])]),e._v(" "),e.show_attached_project?n("div",[n("select",{directives:[{name:"model",rawName:"v-model",value:e.publidata.attached_to_project,expression:"publidata.attached_to_project"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.publidata,"attached_to_project",t.target.multiple?n:n[0])}}},[n("option",{key:"''",domProps:{value:""}},[e._v("** "+e._s(e.$t("none"))+" **")]),e._v(" "),e._l(e.$root.projects_that_are_accessible,function(t){return n("option",{key:t.slugFolderName,domProps:{value:t.slugFolderName}},[e._v(e._s(t.name))])})],2),e._v(" "),n("small",[e._v(e._s(e.$t("attached_to_project_instructions")))])]):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_keywords},attrs:{type:"button"},on:{click:function(t){e.show_keywords=!e.show_keywords}}},[e._v("\n "+e._s(e.$t("keywords"))+"\n ")])]),e._v(" "),e.show_keywords?n("div",[n("TagsInput",{attrs:{type:"publications"},on:{tagsChanged:function(t){return e.publidata.keywords=t}}})],1):e._e()])]),e._v(" "),n("template",{slot:"submit_button"},[e._v(e._s(e.$t("create")))])],2)},i.staticRenderFns=[]},{"../subcomponents/AuthorsInput.vue":254,"../subcomponents/EditAccessControl.vue":260,"../subcomponents/TagsInput.vue":282}],221:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(e("../subcomponents/AuthorsInput.vue")),i=o(e("../subcomponents/EditAccessControl.vue"));function o(e){return e&&e.__esModule?e:{default:e}}n.default={props:{chat:Object,read_only:Boolean},components:{AuthorsInput:t.default,EditAccessControl:i.default},data:function(){return{show_authors:!!this.chat.authors,show_access_control:!!this.chat.editing_limited_to,is_sending_content_to_server:!1,chatdata:{name:this.chat.name,pinned:!!this.chat.pinned&&this.chat.pinned,authors:this.chat.authors,editing_limited_to:this.chat.editing_limited_to?this.chat.editing_limited_to:this.chat.password?"with_password":"everybody",viewing_limited_to:this.chat.viewing_limited_to},askBeforeClosingModal:!1}},watch:{"chatdata.name":function(){this.chatdata.name.length>0?this.askBeforeClosingModal=!0:this.askBeforeClosingModal=!1},preview:function(){this.preview?this.askBeforeClosingModal=!0:this.askBeforeClosingModal=!1}},computed:{},methods:{editThisChat:function(e){var t=this;if(console.log("editThisChat"),this.chatdata.name!==this.chat.name&&Object.values(this.$root.store.chats).some(function(e){return e.name===t.chatdata.name}))return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.name_already_exists")),!1;this.is_sending_content_to_server=!0,this.$root.editFolder({type:"chats",slugFolderName:this.chat.slugFolderName,data:this.chatdata}).then(function(e){t.$emit("close")})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"EditMeta",askBeforeClosingModal:e.askBeforeClosingModal,is_loading:e.is_sending_content_to_server},on:{close:function(t){return e.$emit("close")},submit:e.editThisChat}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("edit_a_chat")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("chat_name")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.chatdata.name,expression:"chatdata.name",modifiers:{trim:!0}}],attrs:{type:"text",required:"",autofocus:""},domProps:{value:e.chatdata.name},on:{input:function(t){t.target.composing||e.$set(e.chatdata,"name",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.chatdata.pinned,expression:"chatdata.pinned"}],staticClass:"switch",attrs:{type:"checkbox",id:"pinnedswitch_editmedia"},domProps:{checked:Array.isArray(e.chatdata.pinned)?e._i(e.chatdata.pinned,null)>-1:e.chatdata.pinned},on:{change:function(t){var n=e.chatdata.pinned,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&e.$set(e.chatdata,"pinned",n.concat([null])):r>-1&&e.$set(e.chatdata,"pinned",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.chatdata,"pinned",o)}}}),e._v(" "),n("label",{class:{"c-rouge":e.chatdata.pinned},attrs:{for:"pinnedswitch_editmedia"}},[e._v("\n "+e._s(e.$t("pinned_to_the_top_of_the_list"))+"\n "),n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 78.5 106.4"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"78.5px",height:"106.4px",viewBox:"0 0 78.5 106.4","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"60.4,29.7 78.5,7.3 78.5,7.3 12.7,7.3 12.7,52 78.5,52 78.5,52 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"9.6,106.4 0,106.4 0,2 9.6,0 "}})])])])]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_authors},attrs:{type:"button"},on:{click:function(t){e.show_authors=!e.show_authors}}},[e._v("\n "+e._s(e.$t("participants"))+"\n ")])]),e._v(" "),e.show_authors?n("div",[n("AuthorsInput",{attrs:{currentAuthors:e.chatdata.authors},on:{"update:currentAuthors":function(t){return e.$set(e.chatdata,"authors",t)},"update:current-authors":function(t){return e.$set(e.chatdata,"authors",t)}}}),e._v(" "),n("small",[e._v(e._s(e.$t("author_instructions")))])],1):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_access_control},attrs:{type:"button"},on:{click:function(t){e.show_access_control=!e.show_access_control}}},[e._v("\n "+e._s(e.$t("manage_access"))+"\n ")])]),e._v(" "),e.show_access_control?n("div",[n("EditAccessControl",{attrs:{editing_limited_to:e.chatdata.editing_limited_to,viewing_limited_to:e.chatdata.viewing_limited_to,can_have_password:!1,can_have_readonly:!1,authors:e.chatdata.authors},on:{"update:editing_limited_to":function(t){return e.$set(e.chatdata,"editing_limited_to",t)},"update:viewing_limited_to":function(t){return e.$set(e.chatdata,"viewing_limited_to",t)},"update:authors":function(t){return e.$set(e.chatdata,"authors",t)}}})],1):e._e()])]),e._v(" "),n("template",{slot:"submit_button"},[e._v(e._s(e.$t("create")))])],2)},i.staticRenderFns=[]},{"../subcomponents/AuthorsInput.vue":254,"../subcomponents/EditAccessControl.vue":260}],222:[function(e,t,n){e("vueify/lib/insert-css").insert(".m_mediaOptions{position:absolute;bottom:0;z-index:100;margin:60px 10px}");!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=l(e("../subcomponents/MediaContent.vue")),i=l(e("./qr/CreateQRCode.vue")),o=e("timers"),r=l(e("../subcomponents/AuthorsInput.vue")),a=l(e("../subcomponents/TagsInput.vue")),s=l(e("../subcomponents/ClientsCheckingOut.vue"));function l(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugProjectName:String,slugMediaName:String,media:Object,read_only:{type:Boolean,default:!0}},components:{MediaContent:t.default,CreateQRCode:i.default,AuthorsInput:r.default,TagsInput:a.default,ClientsCheckingOut:s.default},data:function(){return{showQRModal:!1,showCopyToProjectOptions:!1,is_minimized:!1,show_edit_media_options:!1,show_media_infos:!1,is_loading_or_saving:!1,upload_to_folder:this.slugProjectName,is_sending_content_to_server:!1,mediadata:{type:this.media.type,authors:this.media.authors,caption:this.media.caption,keywords:this.media.keywords,fav:this.media.fav,content:this.media.content},mediaURL:"/"+this.slugProjectName+"/"+this.media.media_filename,askBeforeClosingModal:!1,trim_options:{beginning:"",end:""},current_video_time:"00:00:00",adjust_mode:!1,is_ready:!1,quality:720,available_qualities:[{label:"very_high",height:1080},{label:"high",height:720},{label:"medium",height:480},{label:"low",height:360}]}},watch:{mediadata:{handler:function(){this.is_ready&&(this.askBeforeClosingModal=!0)},deep:!0},"trim_options.beginning":function(){""===this.trim_options.beginning&&(this.trim_options.beginning="00:00:00")},"trim_options.end":function(){""===this.trim_options.end&&(this.trim_options.end=this.$root.formatDurationToHoursMinutesSeconds(1e3*this.media_duration))},adjust_mode:function(){"trim"===this.adjust_mode&&(this.trim_options.beginning="00:00:00",this.trim_options.end=this.$root.formatDurationToHoursMinutesSeconds(1e3*this.media_duration))},show_edit_media_options:function(){this.adjust_mode=!1}},created:function(){var e=this;"string"==typeof this.mediadata.authors&&(""!==this.mediadata.authors?this.mediadata.authors=this.mediadata.authors.split(",").map(function(e){return{name:e}}):this.mediadata.authors=[]),this.$nextTick(function(){e.is_ready=!0})},computed:{all_projects:function(){return this.$root.projects_that_are_accessible},can_edit_media:function(){return this.$root.canEditFolder({type:"projects",slugFolderName:this.slugProjectName})},project_name:function(){return!(!this.slugProjectName||!this.$root.store.projects.hasOwnProperty(this.slugProjectName))&&this.$root.store.projects[this.slugProjectName].name},trim_options_valid:function(){var e=+this.$moment.duration(this.trim_options.beginning),t=+this.$moment.duration(this.trim_options.end),n=+this.$moment.duration(1e3*this.media_duration);return e>=t?(this.$t("beginning")+" >= "+this.$t("end")).toLowerCase():e>n?(this.$t("beginning")+" > "+this.$t("duration")).toLowerCase():t>n?(this.$t("end")+" > "+this.$t("duration")).toLowerCase():!(t<0)||(this.$t("end")+" < 0").toLowerCase()},media_size:function(){return!(!this.media.file_meta||!this.media.file_meta.find(function(e){return e.hasOwnProperty("size")}))&&this.media.file_meta.find(function(e){return e.hasOwnProperty("size")}).size},media_dimensions:function(){return!!(this.media.file_meta&&this.media.file_meta.find(function(e){return e.hasOwnProperty("width")})&&this.media.file_meta.find(function(e){return e.hasOwnProperty("height")}))&&this.media.file_meta.find(function(e){return e.hasOwnProperty("width")}).width+" × "+this.media.file_meta.find(function(e){return e.hasOwnProperty("height")}).height},media_duration:function(){return!!(this.media.hasOwnProperty("duration")||this.media.hasOwnProperty("file_meta")&&this.media.file_meta.some(function(e){return e.hasOwnProperty("duration")}))&&(this.media.hasOwnProperty("duration")?this.media.duration:this.media.file_meta.find(function(e){return e.hasOwnProperty("duration")}).duration)}},methods:{printMedia:function(){window.print()},toggleAdjustMode:function(e){e===this.adjust_mode?this.adjust_mode=!1:this.adjust_mode=e},videoTimeUpdated:function(e){this.current_video_time=this.$moment.utc(1e3*e).format("HH:mm:ss.SS")},minimizeMediaAndShowProject:function(){this.$root.media_modal.minimized=!0,this.$root.openProject(this.slugProjectName)},testTrim:function(){console.log("testTrim");var e=document.querySelector(".m_modal--mask .plyr video"),t=this.$moment.duration(this.trim_options.beginning).asSeconds(),n=this.$moment.duration(this.trim_options.end).asSeconds();e.currentTime=t,e.play();window.requestAnimationFrame(function t(){e.currentTime>=n?e.pause():window.requestAnimationFrame(t)})},removeMedia:function(){var e=this;this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemoveMedia"),function(){e.$root.removeMedia({type:"projects",slugFolderName:e.slugProjectName,slugMediaName:e.slugMediaName}),e.$emit("close","")},function(){})},editThisMedia:function(){var e=this;console.log("editThisMedia"),this.$eventHub.$once("socketio.projects.media_listed",this.editWereSaved),this.$root.editMedia({type:"projects",slugFolderName:this.slugProjectName,slugMediaName:this.slugMediaName,data:this.mediadata}),(0,o.setTimeout)(function(){e.is_sending_content_to_server=!0,(0,o.setTimeout)(function(){e.is_sending_content_to_server&&(e.is_sending_content_to_server=!1,e.$alertify.closeLogOnClick(!0).delay(4e3).error(e.$t("notifications.failed_to_save_media")))},5e3)},250)},editWereSaved:function(){this.$alertify.closeLogOnClick(!0).delay(4e3).success(this.$t("notifications.successfully_saved")),this.is_sending_content_to_server=!1,this.$emit("close","")},copyMediaToProject:function(e){console.log("copyMediaToProject "+e),this.$socketio.copyMediaToFolder({type:"projects",from_slugFolderName:this.slugProjectName,to_slugFolderName:e,slugMediaName:this.slugMediaName}),this.showCopyToProjectOptions=!1},editRawMedia:function(e,t){var n=this;console.log("editRawMedia"),this.is_loading_or_saving=!0,this.$root.editMedia({type:"projects",slugFolderName:this.slugProjectName,slugMediaName:this.slugMediaName,data:this.mediadata,recipe_with_data:{apply_to:this.media.media_filename,type:e,detail:t}}).then(function(e){n.is_loading_or_saving=!1,n.adjust_mode=!1})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:(e.media.type,"LargeAndNoScroll"),askBeforeClosingModal:e.askBeforeClosingModal,show_sidebar:e.$root.media_modal.show_sidebar,is_minimized:e.$root.media_modal.minimized,is_loading:e.is_sending_content_to_server,can_minimize:!0,media_navigation:!0},on:{close:function(t){return e.$emit("close")},submit:e.editThisMedia}},[n("template",{slot:"header"},[n("div",{},[e.can_edit_media?[e._v(e._s(e.$t("edit_the_media")))]:[e._v(e._s(e.$t("media")))]],2),e._v(" "),n("small",{staticClass:"font-normal"},[e._v(e._s(e.media.media_filename))]),e._v(" "),n("ClientsCheckingOut",{attrs:{type:"projects",slugFolderName:e.slugProjectName,metaFileName:e.media.metaFileName}})],1),e._v(" "),n("template",{slot:"sidebar"},[e.read_only?e._e():n("div",{staticClass:"m_modal--buttonrow"},[n("a",{staticClass:"buttonLink hide_on_print",attrs:{download:e.media.media_filename,href:e.mediaURL,target:"_blank",disabled:e.read_only}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 46.7 70"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"46.7px",height:"70px",viewBox:"0 0 46.7 70","xml:space":"preserve"}},[n("g",[n("g",[n("path",{staticClass:"st0",attrs:{d:"M8.5,35.2l4.6,4.2c2.7,2.5,4.8,4.7,6.4,7.3l0-46.7h7.7l0,46.6c1.7-2.5,3.8-4.7,6.4-7.1l4.6-4.2l5.3,6.2\n\t\t\tL23.3,59.6L3.2,41.5L8.5,35.2z"}})]),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"46.7,70 0,70 0,62.4 46.6,62.4 \t"}})])]),e._v("\n "+e._s(e.$t("download"))+"\n ")]),e._v(" "),n("button",{staticClass:"buttonLink",class:{"is--active":e.showQRModal},attrs:{type:"button"},on:{click:function(t){e.showQRModal=!e.showQRModal}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 90 90"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"20px",height:"20px",viewBox:"0 0 90 90","xml:space":"preserve"}},[n("path",{attrs:{d:"M48,0v42h42V0H48z M84,36H54V6h30V36z M13,77h16V61H13V77z M0,90h42V48H0V90z M6,54h30v30H6V54z M63,48H48v13h15V48z M69,54\n h8v7h-8v12h-8v-8h-9v8h5v9h-9v8h21v-8h13v-9h-5v-8h13V48H69V54z M0,42h42V0H0V42z M6,6h30v30H6V6z M90,90v-8h-8v8H90z M13,29h16V13\n H13V29z M77,13H61v16h16V13z"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("share")))])]),e._v(" "),e.showQRModal?[n("hr"),e._v(" "),n("CreateQRCode",{attrs:{slugFolderName:e.slugProjectName,media:e.media}})]:e._e(),e._v(" "),e.can_edit_media?n("button",{staticClass:"buttonLink",class:{"is--active":e.showCopyToProjectOptions},attrs:{type:"button"},on:{click:function(t){e.showCopyToProjectOptions=!e.showCopyToProjectOptions}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"39.5,11.8 83,11.8 83,55.4 72.7,55.4 72.7,67.2 94.8,67.2 94.8,0 27.7,0 27.7,22.2 39.5,22.2 \t"}}),e._v(" "),n("path",{staticClass:"st0",attrs:{d:"M67.2,27.7L0,27.7l0,67.2l67.2,0L67.2,27.7z M55.4,83l-43.6,0l0-43.6l43.6,0L55.4,83z"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("duplicate")))])]):e._e(),e._v(" "),e.showCopyToProjectOptions?n("div",{staticClass:"margin-bottom-small"},[n("label",{domProps:{innerHTML:e._s(e.$t("add_to_project"))}}),e._v(" "),n("div",{staticClass:"input-group"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.upload_to_folder,expression:"upload_to_folder"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.upload_to_folder=t.target.multiple?n:n[0]}}},e._l(e.all_projects,function(t){return n("option",{key:t.slugFolderName,domProps:{value:t.slugFolderName}},[e._v("\n "+e._s(t.name)+"\n ")])}),0),e._v(" "),n("button",{staticClass:"bg-bleuvert",attrs:{type:"button",disabled:""===e.upload_to_folder},domProps:{innerHTML:e._s(e.$t("copy"))},on:{click:function(t){return e.copyMediaToProject(e.upload_to_folder)}}})])]):e._e(),e._v(" "),!e.can_edit_media||"image"!==e.media.type&&"video"!==e.media.type&&"audio"!==e.media.type?e._e():n("button",{staticClass:"buttonLink",class:{"is--active":e.show_edit_media_options},attrs:{type:"button"},on:{click:function(t){e.show_edit_media_options=!e.show_edit_media_options}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 77.6 85.4"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"77.6px",height:"85.4px",viewBox:"0 0 77.6 85.4","xml:space":"preserve"}},[n("path",{attrs:{d:"M73.9,39h-7.6c-1.6-5.6-6.7-9.7-12.7-9.7S42.5,33.5,40.8,39H3.7c-2,0-3.7,1.6-3.7,3.7c0,2,1.6,3.7,3.7,3.7h37.1\n\t\tc1.6,5.6,6.7,9.7,12.7,9.7s11.1-4.1,12.7-9.7h7.6c2,0,3.7-1.6,3.7-3.7C77.6,40.7,76,39,73.9,39z M53.6,48.7c-3.2,0-6-2.6-6-6\n\t\ts2.6-6,6-6s6,2.6,6,6S56.8,48.7,53.6,48.7z"}}),e._v(" "),n("path",{attrs:{d:"M3.7,17.1h7.9c1.6,5.6,6.7,9.7,12.7,9.7s11.1-4.1,12.7-9.7h36.9c2,0,3.7-1.6,3.7-3.7S76,9.7,73.9,9.7H37\n\t\tC35.4,4.1,30.3,0,24.3,0S13.2,4.1,11.6,9.7H3.7c-2,0-3.7,1.6-3.7,3.7S1.6,17.1,3.7,17.1z M24.3,7.4c3.2,0,6,2.6,6,6s-2.6,6-6,6\n\t\ts-6-2.8-6-6S21.1,7.4,24.3,7.4z"}}),e._v(" "),n("path",{attrs:{d:"M73.9,68.3H37c-1.6-5.6-6.7-9.7-12.7-9.7s-11.1,4.1-12.7,9.7H3.7c-2,0-3.7,1.6-3.7,3.7s1.6,3.7,3.7,3.7h7.9\n\t\tc1.6,5.6,6.7,9.7,12.7,9.7s11.1-4.1,12.7-9.7h36.9c2,0,3.7-1.6,3.7-3.7S76,68.3,73.9,68.3z M24.3,78c-3.2,0-6-2.6-6-6s2.6-6,6-6\n\t\ts6,2.6,6,6S27.5,78,24.3,78z"}})]),e._v("\n "+e._s(e.$t("adjust"))+"\n ")]),e._v(" "),e.show_edit_media_options?n("div",{staticClass:"bg-gris_tresclair border",staticStyle:{position:"relative"}},[n("transition",{attrs:{name:"fade_fast",duration:400}},[e.is_loading_or_saving?n("Loader"):e._e()],1),e._v(" "),"image"===e.media.type?n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){return e.editRawMedia("rotate_image",{angle:90})}}},[e._v("\n "+e._s(e.$t("rotate_clockwise"))+"\n ")]):e._e(),e._v(" "),"video"===e.media.type||"audio"===e.media.type?n("button",{staticClass:"buttonLink",class:{"is--active":"optimize"===e.adjust_mode},attrs:{type:"button"},on:{click:function(t){return e.toggleAdjustMode("optimize")}}},[e._v("\n "+e._s(e.$t("optimize"))+"\n ")]):e._e(),e._v(" "),e.media.original_media_filename?n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){return e.editRawMedia("reset")}}},[e._v("\n "+e._s(e.$t("revert_to_original"))+"\n ")]):e._e(),e._v(" "),"video"===e.media.type||"audio"===e.media.type?n("button",{staticClass:"buttonLink",class:{"is--active":"trim"===e.adjust_mode},attrs:{type:"button"},on:{click:function(t){return e.toggleAdjustMode("trim")}}},[e._v("\n "+e._s(e.$t("trim"))+"\n ")]):e._e(),e._v(" "),e.adjust_mode?n("div",{},["trim"===e.adjust_mode?[n("div",{staticClass:"margin-sides-small margin-vert-verysmall"},[n("small",[e._v(e._s(e.$t("trim_instructions")))])]),e._v(" "),n("div",{staticClass:"flex-wrap flex-space-betwen"},[n("div",{staticClass:"margin-small margin-vert-verysmall"},[n("label",[e._v(e._s(e.$t("beginning")))]),e._v(" "),n("div",{},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.trim_options.beginning,expression:"trim_options.beginning"}],staticClass:"bg-blanc",attrs:{type:"time",step:"0.1"},domProps:{value:e.trim_options.beginning},on:{input:function(t){t.target.composing||e.$set(e.trim_options,"beginning",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"margin-small margin-vert-verysmall"},[n("label",[e._v(e._s(e.$t("end")))]),e._v(" "),n("div",{},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.trim_options.end,expression:"trim_options.end"}],staticClass:"bg-blanc",attrs:{type:"time",step:"0.1"},domProps:{value:e.trim_options.end},on:{input:function(t){t.target.composing||e.$set(e.trim_options,"end",t.target.value)}}})])])]),e._v(" "),n("div",[!0!==e.trim_options_valid?n("small",[n("span",{domProps:{innerHTML:e._s(e.$t("error:"))}}),e._v("\n "+e._s(e.trim_options_valid)+"\n ")]):e._e()]),e._v(" "),n("div",{staticClass:"margin-sides-verysmall margin-vert-verysmall"},[n("button",{staticClass:"button-thin",attrs:{type:"button",disabled:!0!==e.trim_options_valid},on:{click:e.testTrim}},[e._v("\n "+e._s(e.$t("test"))+"\n ")]),e._v(" "),n("button",{staticClass:"button-greenthin",attrs:{type:"button",disabled:!0!==e.trim_options_valid},on:{click:function(t){return e.editRawMedia("trim",e.trim_options)}}},[e._v("\n "+e._s(e.$t("trim"))+"\n ")])])]:"optimize"===e.adjust_mode?[n("div",{staticClass:"margin-sides-small margin-vert-verysmall"},[n("small",[e._v(e._s(e.$t("optimize_instructions")))])]),e._v(" "),n("div",{staticClass:"margin-sides-medium margin-bottom-small"},[n("label",[e._v(e._s(e.$t("quality")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.quality,expression:"quality"}],staticClass:"bg-blanc",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.quality=t.target.multiple?n:n[0]}}},e._l(e.available_qualities,function(t){return n("option",{key:t.height,domProps:{value:t.height}},[e._v("\n "+e._s(e.$t(t.label))+"\n ")])}),0),e._v(" "),n("small",[e._v(e._s(e.quality)+"p")])]),e._v(" "),n("div",{staticClass:"margin-sides-verysmall margin-vert-verysmall"},[n("button",{staticClass:"button-greenthin",attrs:{type:"button"},on:{click:function(t){return e.editRawMedia("optimize",{quality:e.quality})}}},[e._v("\n "+e._s(e.$t("optimize"))+"\n ")])])]:e._e(),e._v(" "),n("small",[e._v("\n "+e._s(e.$t("adjust_infos"))+"\n ")])],2):e._e()],1):e._e(),e._v(" "),e.can_edit_media?n("button",{staticClass:"buttonLink hide_on_print",attrs:{type:"button",disabled:e.read_only},on:{click:function(t){return t.preventDefault(),e.removeMedia()}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M91.6,17H62.9V0H28.7v17H0v9.4h11.3V95h69V26.4h11.3V17z M64.4,69.4L57.8,76l-12-12l-12,12l-6.6-6.6l12-12\n l-12-12l6.6-6.6l12,12l12-12l6.6,6.6l-12,12L64.4,69.4z M38.1,9.4h15.3V17H38.1V9.4z"}})]),e._v("\n "+e._s(e.$t("remove"))+"\n ")]):e._e(),e._v(" "),n("hr",{staticClass:"hide_on_print"})],2),e._v(" "),n("div",{staticClass:"hide_on_print"},[e.can_edit_media||!e.can_edit_media&&e.mediadata.fav?n("div",{staticClass:"margin-bottom-small"},[n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.mediadata.fav,expression:"mediadata.fav"}],staticClass:"switch",attrs:{type:"checkbox",id:"favswitch_editmedia",disabled:!e.can_edit_media},domProps:{checked:Array.isArray(e.mediadata.fav)?e._i(e.mediadata.fav,null)>-1:e.mediadata.fav},on:{change:function(t){var n=e.mediadata.fav,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&e.$set(e.mediadata,"fav",n.concat([null])):r>-1&&e.$set(e.mediadata,"fav",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.mediadata,"fav",o)}}}),e._v(" "),n("label",{class:{"c-rouge":e.mediadata.fav},attrs:{for:"favswitch_editmedia"}},[e._v("\n "+e._s(e.$t("fav"))+"\n "),n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 78.5 106.4"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"78.5px",height:"106.4px",viewBox:"0 0 78.5 106.4","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"60.4,29.7 78.5,7.3 78.5,7.3 12.7,7.3 12.7,52 78.5,52 78.5,52 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"9.6,106.4 0,106.4 0,2 9.6,0 "}})])])])]):e._e(),e._v(" "),n("div",{staticClass:"margin-vert-verysmall"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_media_infos},attrs:{type:"button"},on:{click:function(t){e.show_media_infos=!e.show_media_infos}}},[e._v("\n "+e._s(e.$t("infos_about_the_media"))+"\n ")])]),e._v(" "),e.show_media_infos?n("div",{staticClass:"margin-vert-verysmall"},[e.media.type?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("type")))]),e._v(" "),n("div",[e._v(e._s(e.$t(e.media.type)))])]):e._e(),e._v(" "),e.media_size&&"text"!==e.media.type?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("size")))]),e._v(" "),n("div",[e._v(e._s(e.$root.formatBytes(e.media_size)))])]):e._e(),e._v(" "),e.media_dimensions?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("dimensions")))]),e._v(" "),n("div",[e._v(e._s(e.media_dimensions))])]):e._e(),e._v(" "),e.media_duration?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("duration")))]),e._v(" "),n("div",[e._v("\n "+e._s(e.$root.formatDurationToHoursMinutesSeconds(1e3*e.media_duration))+"\n ")])]):e._e(),e._v(" "),e.project_name&&e.$root.current_project.slugFolderName!==e.slugProjectName?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("project")))]),e._v(" "),n("div",[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],staticStyle:{"text-transform":"initial"},attrs:{type:"button",content:e.$t("open_project")},on:{click:e.minimizeMediaAndShowProject}},[e._v("\n "+e._s(e.project_name)+"\n ↑\n ")])])]):e._e(),e._v(" "),n("DateField",{attrs:{title:"created",date:e.media.date_created,show_detail_initially:!0}}),e._v(" "),e.media.hasOwnProperty("date_uploaded")?n("DateField",{attrs:{title:"uploaded",date:e.media.date_uploaded,show_detail_initially:!0}}):e._e(),e._v(" "),e.media.hasOwnProperty("date_uploaded")&&e.media.date_uploaded!==e.media.date_modified?n("DateField",{attrs:{title:"edited",date:e.media.date_modified,show_detail_initially:!0}}):e._e()],1):e._e()]),e._v(" "),!e.read_only||e.mediadata.caption?n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("caption")))]),e._v(" "),n("br"),e._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.mediadata.caption,expression:"mediadata.caption"}],attrs:{readonly:e.read_only||!e.can_edit_media},domProps:{value:e.mediadata.caption},on:{input:function(t){t.target.composing||e.$set(e.mediadata,"caption",t.target.value)}}})]):e._e(),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("keywords")))]),e._v(" "),n("TagsInput",{attrs:{keywords:e.mediadata.keywords,read_only:e.read_only||!e.can_edit_media},on:{tagsChanged:function(t){return e.mediadata.keywords=t}}})],1),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("author")))]),e._v(" "),n("AuthorsInput",{attrs:{currentAuthors:e.mediadata.authors,read_only:e.read_only||!e.can_edit_media},on:{"update:currentAuthors":function(t){return e.$set(e.mediadata,"authors",t)},"update:current-authors":function(t){return e.$set(e.mediadata,"authors",t)}}}),e._v(" "),e.can_edit_media?n("small",[e._v(e._s(e.$t("author_instructions")))]):e._e()],1)])]),e._v(" "),n("template",{slot:"submit_button"},[e._v(e._s(e.$t("save")))]),e._v(" "),n("template",{slot:"preview"},[n("MediaContent",{ref:"mediacontent",attrs:{context:"edit",slugFolderName:e.slugProjectName,media:e.media,folderType:"projects",read_only:e.read_only||!e.can_edit_media},on:{videoTimeUpdated:e.videoTimeUpdated},model:{value:e.mediadata.content,callback:function(t){e.$set(e.mediadata,"content",t)},expression:"mediadata.content"}}),e._v(" "),n("div",{staticClass:"m_mediaOptions"},["trim"===e.adjust_mode?n("div",[n("button",{staticClass:"button-thin bg-bleumarine",attrs:{type:"button",disabled:e.current_video_time===e.trim_options.beginning},on:{click:function(t){e.trim_options.beginning=e.current_video_time}}},[e._v("\n "+e._s(e.$t("set_as_beginning"))+" ("+e._s(e.trim_options.beginning)+")\n ")]),e._v(" "),"trim"===e.adjust_mode?n("button",{staticClass:"button-thin bg-bleumarine",attrs:{type:"button",disabled:e.current_video_time===e.trim_options.end},on:{click:function(t){e.trim_options.end=e.current_video_time}}},[e._v("\n "+e._s(e.$t("set_as_end"))+"\n ("+e._s(e.trim_options.end)+")\n ")]):e._e()]):e._e()]),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:400}},[e.is_loading_or_saving?n("Loader"):e._e()],1)],1)],2)},i.staticRenderFns=[]},{"../subcomponents/AuthorsInput.vue":254,"../subcomponents/ClientsCheckingOut.vue":255,"../subcomponents/MediaContent.vue":265,"../subcomponents/TagsInput.vue":282,"./qr/CreateQRCode.vue":234,timers:168,"vueify/lib/insert-css":182}],223:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(e("../subcomponents/PlaceholderConstraints.vue")),i=o(e("../subcomponents/MediaField.vue"));function o(e){return e&&e.__esModule?e:{default:e}}n.default={props:{read_only:Boolean,media:Object},components:{MediaField:i.default,PlaceholderConstraints:t.default},data:function(){return{}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"MediumAndScroll"},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("placeholder")))])]),e._v(" "),n("template",{slot:"preview"},[n("div",{staticClass:"m_mediaStory padding-small",class:"type-"+e.media.type},[n("div",{class:"type-"+e.media.type},[n("div",{staticClass:"_placeholder"},[n("div",{staticClass:"_placeholder--instructions"},[n("label",[e._v(e._s(e.$t("instructions")))]),e._v(" "),n("MediaField",{attrs:{value:e.media.instructions,show_edit_button:!0,add_instructions:e.$t("add_instructions"),edit_instructions:e.$t("edit_instructions"),read_only:e.read_only},on:{updateField:function(t){return e.$emit("updateMediaPubliMeta",{instructions:t})}}})],1),e._v(" "),n("div",{staticClass:"_placeholder--constraints"},[n("label",{domProps:{innerHTML:e._s(e.$t("type_of_expected_contents:"))}}),e._v(" "),n("PlaceholderConstraints",{attrs:{available_modes:e.media.available_modes,read_only:e.preview_mode||e.read_only,paged_mode:!0},on:{updateField:function(t){return e.$emit("updateMediaPubliMeta",{available_modes:t})}}})],1)])])])]),e._v(" "),n("template",{slot:"submit_button"},[e._v(e._s(e.$t("create")))])],2)},i.staticRenderFns=[],i._scopeId="data-v-038228db"},{"../subcomponents/MediaField.vue":266,"../subcomponents/PlaceholderConstraints.vue":274}],224:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(e("../subcomponents/EditAccessControl.vue")),i=(a(e("slugg")),a(e("../subcomponents/ImageSelect.vue"))),o=a(e("../subcomponents/TagsInput.vue")),r=a(e("../subcomponents/AuthorsInput.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugProjectName:String,project:Object,read_only:Boolean},components:{EditAccessControl:t.default,ImageSelect:i.default,TagsInput:o.default,AuthorsInput:r.default},data:function(){return{show_folder:!!this.project.folder,show_image:!!this.project.preview,show_password:"has_pass"===this.project.password,show_keywords:!!this.project.keywords,show_authors:!!this.project.authors,show_access_control:!!this.project.editing_limited_to,is_sending_content_to_server:!1,existing_group_name:this.project.folder?this.project.folder:"",new_group_name:"",projectdata:{name:this.project.name,authors:this.project.authors,editing_limited_to:this.project.editing_limited_to?this.project.editing_limited_to:this.project.password?"with_password":"everybody",viewing_limited_to:this.project.viewing_limited_to,keywords:this.project.keywords,password:this.$root.getFolderPassword({type:"projects",slugFolderName:this.slugProjectName})},tag:"",preview_rawdata:void 0,askBeforeClosingModal:!1}},watch:{projectdata:{handler:function(){this.askBeforeClosingModal=!0},deep:!0},preview_rawdata:function(){this.askBeforeClosingModal=!0},"projectdata.editing_limited_to":function(){"everybody"===this.projectdata.editing_limited_to?this.projectdata.viewing_limited_to="everybody":"only_authors"===this.projectdata.editing_limited_to&&(this.show_authors=!0)}},mounted:function(){},computed:{previewURL:function(){if(!this.project.hasOwnProperty("preview")||""===this.project.preview)return"";var e=this.project.preview.filter(function(e){return 640===e.size});return e.length>0?""+e[0].path:""}},methods:{editThisProject:function(e){if(console.log("editThisProject"),this.projectdata.name!==this.project.name){if(function(){var e=[];for(var t in window.store.projects){var n=window.store.projects[t].name;e.push(n)}return e}().indexOf(this.projectdata.name)>=0)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.name_already_exists")),!1}var t,n,i;if(void 0!==this.preview_rawdata&&(this.projectdata.preview_rawdata=this.preview_rawdata),this.projectdata.password&&this.$auth.updateFoldersPasswords({projects:(t={},n=this.slugProjectName,i=this.projectdata.password,n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t)}),this.existing_group_name?"_none"===this.existing_group_name?this.projectdata.folder="":this.projectdata.folder=this.existing_group_name:this.new_group_name&&(this.projectdata.folder=this.new_group_name.toUpperCase()),!("only_authors"!==this.projectdata.editing_limited_to||this.projectdata.authors&&Array.isArray(this.projectdata.authors)&&0!==this.projectdata.authors.length))return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.if_only_authors_select_authors")),this.show_authors=!0,!1;this.is_sending_content_to_server=!0,this.$root.editFolder({type:"projects",slugFolderName:this.slugProjectName,data:this.projectdata}),this.$emit("close","")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"EditMeta",askBeforeClosingModal:e.askBeforeClosingModal,is_loading:e.is_sending_content_to_server},on:{close:function(t){return e.$emit("close")},submit:e.editThisProject}},[n("template",{slot:"header"},[n("div",{},[e._v(e._s(e.$t("edit_project")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("project_name")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.projectdata.name,expression:"projectdata.name",modifiers:{trim:!0}}],staticClass:"input-big",attrs:{type:"text",required:"",readonly:e.read_only},domProps:{value:e.projectdata.name},on:{input:function(t){t.target.composing||e.$set(e.projectdata,"name",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_authors},attrs:{type:"button"},on:{click:function(t){e.show_authors=!e.show_authors}}},[e._v("\n "+e._s(e.$t("author"))+"\n ")])]),e._v(" "),e.show_authors?[n("AuthorsInput",{attrs:{currentAuthors:e.projectdata.authors},on:{"update:currentAuthors":function(t){return e.$set(e.projectdata,"authors",t)},"update:current-authors":function(t){return e.$set(e.projectdata,"authors",t)}}}),e._v(" "),n("small",[e._v(e._s(e.$t("author_instructions")))])]:e._e()],2),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_access_control},attrs:{type:"button"},on:{click:function(t){e.show_access_control=!e.show_access_control}}},[e._v("\n "+e._s(e.$t("manage_access"))+"\n ")])]),e._v(" "),e.show_access_control?n("div",[n("EditAccessControl",{attrs:{editing_limited_to:e.projectdata.editing_limited_to,viewing_limited_to:e.projectdata.viewing_limited_to,password:e.projectdata.password,authors:e.projectdata.authors},on:{"update:editing_limited_to":function(t){return e.$set(e.projectdata,"editing_limited_to",t)},"update:viewing_limited_to":function(t){return e.$set(e.projectdata,"viewing_limited_to",t)},"update:password":function(t){return e.$set(e.projectdata,"password",t)},"update:authors":function(t){return e.$set(e.projectdata,"authors",t)}}})],1):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_image},attrs:{type:"button"},on:{click:function(t){e.show_image=!e.show_image}}},[e._v("\n "+e._s(e.$t("cover_image"))+"\n ")])]),e._v(" "),e.show_image?[n("ImageSelect",{attrs:{previewURL:e.previewURL,load_from_projects_medias:!0,slugProjectName:e.slugProjectName},on:{newPreview:function(t){e.preview_rawdata=t}}})]:e._e()],2),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_folder},attrs:{type:"button"},on:{click:function(t){e.show_folder=!e.show_folder}}},[e._v("\n "+e._s(e.$t("folder"))+"\n ")])]),e._v(" "),e.show_folder?n("div",[e.$root.all_folders.length?[n("div",{staticClass:"input-group margin-bottom-none"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.existing_group_name,expression:"existing_group_name"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.existing_group_name=t.target.multiple?n:n[0]}}},[e.project.folder?n("option",{key:"none",domProps:{value:"_none"}},[e._v(e._s(e.$t("none")))]):e._e(),e._v(" "),n("option",{key:"create",domProps:{value:""}},[e._v("** "+e._s(e.$t("create_new_folder"))+" **")]),e._v(" "),e._l(e.$root.all_folders,function(t){return n("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])})],2)])]:e._e(),e._v(" "),""===e.existing_group_name?n("div",[n("label",{domProps:{innerHTML:e._s(e.$t("new_folder_name"))}}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.new_group_name,expression:"new_group_name",modifiers:{trim:!0}}],staticClass:"text-uc",attrs:{type:"text"},domProps:{value:e.new_group_name},on:{input:function(t){t.target.composing||(e.new_group_name=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]):e._e()],2):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_keywords},attrs:{type:"button"},on:{click:function(t){e.show_keywords=!e.show_keywords}}},[e._v("\n "+e._s(e.$t("keywords"))+"\n ")])]),e._v(" "),e.show_keywords?[n("TagsInput",{attrs:{keywords:e.projectdata.keywords},on:{tagsChanged:function(t){return e.projectdata.keywords=t}}})]:e._e()],2)]),e._v(" "),n("template",{slot:"submit_button"},[e._v(e._s(e.$t("save")))])],2)},i.staticRenderFns=[]},{"../subcomponents/AuthorsInput.vue":254,"../subcomponents/EditAccessControl.vue":260,"../subcomponents/ImageSelect.vue":262,"../subcomponents/TagsInput.vue":282,slugg:145}],225:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(e("../subcomponents/EditAccessControl.vue")),i=a(e("../subcomponents/ImageSelect.vue")),o=a(e("../subcomponents/TagsInput.vue")),r=a(e("../subcomponents/AuthorsInput.vue"));a(e("slugg"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,publi_password:String,read_only:Boolean},components:{EditAccessControl:t.default,ImageSelect:i.default,TagsInput:o.default,AuthorsInput:r.default},data:function(){return{publidata:{name:this.publication.name,editing_limited_to:this.publication.editing_limited_to?this.publication.editing_limited_to:"has_pass"===this.publication.password?"with_password":"everybody",viewing_limited_to:this.publication.viewing_limited_to,attached_to_project:this.publication.attached_to_project?this.publication.attached_to_project:"",password:this.publi_password,authors:"string"==typeof this.publication.authors&&""!==this.publication.authors?this.publication.authors.split(",").map(function(e){return{name:e}}):this.publication.authors,keywords:this.publication.keywords,is_model:this.publication.is_model,follows_model:this.publication.follows_model?this.publication.follows_model:""},tag:"",preview:void 0,askBeforeClosingModal:!1,show_attached_project:!!this.publication.attached_to_project,show_keywords:!!this.publication.keywords,show_authors:!!this.publication.authors,show_access_control:!!this.publication.editing_limited_to,show_model_options:this.publication.is_model||!!this.publication.follows_model,publi_follows_model:!!this.publication.follows_model}},watch:{publidata:{handler:function(){this.askBeforeClosingModal=!0},deep:!0}},mounted:function(){},computed:{model_recipes_of_this_template:function(){var e=this;return Object.values(this.$root.store.publications).filter(function(t){return e.publication.template===t.template&&!0===t.is_model&&t.slugFolderName!==e.publication.slugFolderName})}},methods:{editThisPublication:function(e){if(console.log("editThisPublication"),this.publidata.name!==this.publication.name){if(function(){var e=[];for(var t in window.store.publications){var n=window.store.publications[t].name;e.push(n)}return e}().indexOf(this.publidata.name)>=0)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.name_already_exists")),!1}return void 0!==this.preview&&(this.publidata.preview_rawdata=this.preview),"only_authors"!==this.publidata.editing_limited_to||this.publidata.authors&&Array.isArray(this.publidata.authors)&&0!==this.publidata.authors.length?this.publidata.is_model&&"everybody"!==this.publidata.viewing_limited_to&&"everybody"!==this.publidata.editing_limited_to?(this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.models_must_be_visible_to_everybody")),this.show_access_control=!0,!1):(this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:this.publidata}),void this.$emit("close","")):(this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.if_only_authors_select_authors")),this.show_authors=!0,!1)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"EditMeta",askBeforeClosingModal:e.askBeforeClosingModal},on:{close:function(t){return e.$emit("close")},submit:e.editThisPublication}},[n("template",{slot:"header"},[n("div",{},[e._v(e._s(e.$t("edit_publication")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("name")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.publidata.name,expression:"publidata.name",modifiers:{trim:!0}}],staticClass:"input-big",attrs:{type:"text",required:"",autofocus:"",readonly:e.read_only},domProps:{value:e.publidata.name},on:{input:function(t){t.target.composing||e.$set(e.publidata,"name",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_model_options},attrs:{type:"button"},on:{click:function(t){e.show_model_options=!e.show_model_options}}},[e._v("\n "+e._s(e.$t("model"))+"\n ")])]),e._v(" "),e.show_model_options?n("div",[n("div",{staticClass:"margin-bottom-small"},[n("div",[n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.publidata.is_model,expression:"publidata.is_model"}],staticClass:"switch",attrs:{type:"checkbox",id:"is_model_switch"},domProps:{checked:Array.isArray(e.publidata.is_model)?e._i(e.publidata.is_model,null)>-1:e.publidata.is_model},on:{change:function(t){var n=e.publidata.is_model,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&e.$set(e.publidata,"is_model",n.concat([null])):r>-1&&e.$set(e.publidata,"is_model",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.publidata,"is_model",o)}}}),e._v(" "),n("label",{class:{"c-rouge":e.publidata.is_model},attrs:{for:"is_model_switch"}},[e._v(e._s(e.$t("publi_is_model")))])])]),e._v(" "),n("small",[e._v(e._s(e.$t("publi_is_model_instructions")))])]),e._v(" "),e.publidata.is_model?e._e():n("div",{staticClass:"margin-bottom-small"},[n("div",[n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.publi_follows_model,expression:"publi_follows_model"}],staticClass:"switch",attrs:{type:"checkbox",id:"follows_model_switch"},domProps:{checked:Array.isArray(e.publi_follows_model)?e._i(e.publi_follows_model,null)>-1:e.publi_follows_model},on:{change:function(t){var n=e.publi_follows_model,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&(e.publi_follows_model=n.concat([null])):r>-1&&(e.publi_follows_model=n.slice(0,r).concat(n.slice(r+1)))}else e.publi_follows_model=o}}}),e._v(" "),n("label",{class:{"c-rouge":e.publi_follows_model},attrs:{for:"follows_model_switch"}},[e._v(e._s(e.$t("select_publi_model")))])])]),e._v(" "),n("small",[e._v(e._s(e.$t("select_publi_model_instructions")))])]),e._v(" "),e.publi_follows_model&&!e.publidata.is_model?n("div",[0===e.model_recipes_of_this_template.length?n("small",[e._v(e._s(e.$t("no_models_yet")))]):e._e(),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.publidata.follows_model,expression:"publidata.follows_model"}],attrs:{disabled:0===e.model_recipes_of_this_template.length},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.publidata,"follows_model",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:""}},[e._v("** "+e._s(e.$t("none"))+" **")]),e._v(" "),e._l(e.model_recipes_of_this_template,function(t){return n("option",{key:t.slugFolderName,domProps:{value:t.slugFolderName}},[e._v(e._s(t.name))])})],2)]):e._e()]):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_authors},attrs:{type:"button"},on:{click:function(t){e.show_authors=!e.show_authors}}},[e._v("\n "+e._s(e.$t("author"))+"\n ")])]),e._v(" "),e.show_authors?n("div",[n("AuthorsInput",{attrs:{currentAuthors:e.publidata.authors},on:{"update:currentAuthors":function(t){return e.$set(e.publidata,"authors",t)},"update:current-authors":function(t){return e.$set(e.publidata,"authors",t)}}}),e._v(" "),n("small",[e._v(e._s(e.$t("author_instructions")))])],1):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_access_control},attrs:{type:"button"},on:{click:function(t){e.show_access_control=!e.show_access_control}}},[e._v("\n "+e._s(e.$t("manage_access"))+"\n ")])]),e._v(" "),e.show_access_control?n("div",[n("EditAccessControl",{attrs:{editing_limited_to:e.publidata.editing_limited_to,viewing_limited_to:e.publidata.viewing_limited_to,password:e.publidata.password,authors:e.publidata.authors},on:{"update:editing_limited_to":function(t){return e.$set(e.publidata,"editing_limited_to",t)},"update:viewing_limited_to":function(t){return e.$set(e.publidata,"viewing_limited_to",t)},"update:password":function(t){return e.$set(e.publidata,"password",t)},"update:authors":function(t){return e.$set(e.publidata,"authors",t)}}})],1):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_attached_project},attrs:{type:"button"},on:{click:function(t){e.show_attached_project=!e.show_attached_project}}},[e._v("\n "+e._s(e.$t("attached_to_project"))+"\n ")])]),e._v(" "),e.show_attached_project?n("div",[n("select",{directives:[{name:"model",rawName:"v-model",value:e.publidata.attached_to_project,expression:"publidata.attached_to_project"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.publidata,"attached_to_project",t.target.multiple?n:n[0])}}},[n("option",{key:"''",domProps:{value:""}},[e._v("** "+e._s(e.$t("none"))+" **")]),e._v(" "),e._l(Object.values(e.$root.store.projects),function(t){return n("option",{key:t.slugFolderName,domProps:{value:t.slugFolderName}},[e._v(e._s(t.name))])})],2),e._v(" "),n("small",[e._v(e._s(e.$t("attached_to_project_instructions")))])]):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_keywords},attrs:{type:"button"},on:{click:function(t){e.show_keywords=!e.show_keywords}}},[e._v("\n "+e._s(e.$t("keywords"))+"\n ")])]),e._v(" "),e.show_keywords?[n("TagsInput",{attrs:{keywords:e.publidata.keywords,type:"publications"},on:{tagsChanged:function(t){return e.publidata.keywords=t}}})]:e._e()],2)]),e._v(" "),n("template",{slot:"submit_button"},[e._v(e._s(e.$t("save")))])],2)},i.staticRenderFns=[]},{"../subcomponents/AuthorsInput.vue":254,"../subcomponents/EditAccessControl.vue":260,"../subcomponents/ImageSelect.vue":262,"../subcomponents/TagsInput.vue":282,slugg:145}],226:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e("timers"),i=r(e("../subcomponents/AddCreationToProject.vue")),o=r(e("./qr/CreateQRCode.vue"));function r(e){return e&&e.__esModule?e:{default:e}}n.default={props:{publication:Object,slugPubliName:String},components:{AddCreationToProject:i.default,CreateQRCode:o.default},data:function(){return{doc_request_status:!1,link_to_doc:!1,path_to_doc:!1,web_export_started:!1,exported_doc_name:"",show_link_infos:!1,link_to_page_zip:!1,export_type:"pdf",pagenumber_to_export:1}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{export_type:function(){this.doc_request_status=!1},pagenumber_to_export:function(){this.doc_request_status=!1}},computed:{},methods:{downloadDoc:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • ExportPagePubli: downloadDoc"),this.link_to_doc=!1,this.path_to_doc=!1,this.$eventHub.$on("socketio.publication.pdfIsGenerated",this.publiIsGenerated);var e={type:this.export_type};"png"===e.type&&(e.page_to_export=this.pagenumber_to_export),this.$socketio.downloadPubliPDF({slugPubliName:this.slugPubliName,options:e}),this.doc_request_status="waiting_for_server"},publiIsGenerated:function(e){var t=e.pdfName,n=(e.docPath,e.imageName);"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: publiIsGenerated"),this.$eventHub.$off("socketio.publication.pdfIsGenerated",this.publiIsGenerated),this.doc_request_status="generated",this.exported_doc_name=t||n,this.link_to_doc=window.location.origin+"/_publications/print/doc/"+this.exported_doc_name},downloadWeb:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: downloadWeb"),this.web_export_started=!0,(0,t.setTimeout)(function(){e.web_export_started=!1},2e3);var n=window.location.origin+"/_publications/web/"+this.slugPubliName+"?socketid="+this.$root.$socketio.socket.id;"debug"===this.$root.state.dev_mode&&console.log("Project • METHODS: downloadWeb with query "+n),window.open(n,"_blank")},getLink:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: getLink"),this.show_link_infos=!0}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{staticClass:"m_exportModal",attrs:{typeOfModal:"EditMeta"},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("export_creation")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-sides-medium font-small"},[n("div",{},[n("div",{staticClass:"margin-bottom-small"},[n("div",{domProps:{innerHTML:e._s(e.$t("get_pdf"))}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("type")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.export_type,expression:"export_type"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.export_type=t.target.multiple?n:n[0]}}},[n("option",{attrs:{value:"pdf"}},[e._v(e._s(e.$t("multipage_pdf")))]),e._v(" "),n("option",{attrs:{value:"png"}},[e._v(e._s(e.$t("singlepage_image")))])])]),e._v(" "),"png"===e.export_type&&Array.isArray(e.publication.pages)&&e.publication.pages.length>1?n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("page")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.pagenumber_to_export,expression:"pagenumber_to_export"}],attrs:{type:"number",step:"1",min:"1",max:e.publication.pages.length},domProps:{value:e.pagenumber_to_export},on:{input:function(t){t.target.composing||(e.pagenumber_to_export=t.target.value)}}})]):e._e(),e._v(" "),n("button",{staticClass:"margin-small margin-left-none bg-bleuvert c-blanc button-allwide",attrs:{type:"button",disabled:!1!==e.doc_request_status},on:{click:e.downloadDoc}},[e.doc_request_status?"waiting_for_server"===e.doc_request_status?[n("span",{staticClass:"loader loader-xs"}),e._v("\n "+e._s(e.$t("notifications.creation_in_progress"))+"\n ")]:"generated"===e.doc_request_status?[e._v("\n "+e._s(e.$t("notifications.doc_created"))+"\n ")]:e._e():[e._v(e._s(e.$t("create")))]],2),e._v(" "),"generated"===e.doc_request_status?n("div",[!1!==e.link_to_doc?n("a",{staticClass:"buttonLink margin-left-none",attrs:{href:e.link_to_doc,target:"_blank",download:""}},[e._v(e._s(e.$t("download")))]):e._e(),e._v(" "),!1!==e.link_to_doc?[e.$root.state.is_electron?n("a",{staticClass:"buttonLink margin-left-none",attrs:{href:e.link_to_doc,target:"_blank"}},[e._v(e._s(e.$t("open_in_app")))]):e._e(),e._v(" "),n("AddCreationToProject",{attrs:{publication:e.publication,media_filename:e.exported_doc_name},on:{close:function(t){return e.$emit("close")}}})]:e._e()],2):e._e()]),e._v(" "),n("hr"),e._v(" "),n("div",{},[n("div",{domProps:{innerHTML:e._s(e.$t("get_website"))}}),e._v(" "),n("button",{staticClass:"margin-small margin-left-none bg-bleumarine c-blanc button-allwide",attrs:{type:"button",disabled:e.web_export_started},on:{click:e.downloadWeb}},[e.web_export_started?[n("span",{staticClass:"loader loader-xs"})]:e._e(),e._v("\n "+e._s(e.$t("download_website"))+"\n ")],2)]),e._v(" "),n("hr"),e._v(" "),n("div",{},[n("div",{domProps:{innerHTML:e._s(e.$t("get_a_link"))}}),e._v(" "),e.show_link_infos?e._e():n("button",{staticClass:"margin-small margin-left-none bg-bleumarine c-blanc button-allwide",attrs:{type:"button",disabled:e.publication.hasOwnProperty("editing_limited_to")&&"everybody"!==e.publication.editing_limited_to&&e.publication.hasOwnProperty("viewing_limited_to")&&"everybody"!==e.publication.viewing_limited_to},on:{click:e.getLink}},[e._v(e._s(e.$t("share")))]),e._v(" "),e.publication.hasOwnProperty("viewing_limited_to")&&"everybody"!==e.publication.viewing_limited_to?n("small",[e._v(e._s(e.$t("set_visibility_to_everybody")))]):e._e(),e._v(" "),e.show_link_infos?n("CreateQRCode",{attrs:{type:"publications",slugFolderName:e.slugPubliName}}):e._e()],1)])])],2)},i.staticRenderFns=[]},{"../subcomponents/AddCreationToProject.vue":252,"./qr/CreateQRCode.vue":234,timers:168}],227:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("../subcomponents/AddCreationToProject.vue"),o=(t=i)&&t.__esModule?t:{default:t};e("timers");n.default={props:{publication:Object,slugPubliName:String},components:{AddCreationToProject:o.default},data:function(){return{video_request_status:!1,link_to_video:!1,video_is_playing:!1,framerate:4,seconds_per_image:.25,quality:720,available_qualities:[{label:"very_high",height:1080},{label:"high",height:720},{label:"medium",height:480},{label:"low",height:360}],exported_video_name:!1,plyr_options:{controls:["play-large","play","progress","current-time","mute","volume","fullscreen"],iconUrl:"/images/plyr.svg"}}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{quality:function(){"generated"===this.video_request_status&&(this.video_request_status=!1)},framerate:function(){this.seconds_per_image=1/this.framerate,this.framerate=this.framerate.toFixed(1),"generated"===this.video_request_status&&(this.video_request_status=!1)},seconds_per_image:function(){this.framerate=1/this.seconds_per_image}},computed:{},methods:{downloadVideo:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • ExportVideoPubli: downloadVideo"),this.$eventHub.$once("socketio.publication.publiStopmotionIsGenerated",this.videoPubliIsGenerated),this.$eventHub.$once("socketio.publication.publiStopmotionFailed",this.videoPubliFailedToGenerate),this.$socketio.downloadStopmotionPubli({slugPubliName:this.slugPubliName,options:{framerate:this.framerate,quality:this.quality}}),this.video_request_status="waiting_for_server"},videoPubliIsGenerated:function(e){var t=e.videoName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: videoPubliIsGenerated"),this.$eventHub.$off("socketio.publication.publiStopmotionFailed"),this.video_request_status="generated",this.link_to_video=window.location.origin+"/_publications/video/"+t,this.exported_video_name=t},videoPubliFailedToGenerate:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: videoPubliFailedToGenerate"),this.$eventHub.$off("socketio.publication.publiStopmotionIsGenerated"),this.video_request_status="failed"}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{staticClass:"m_exportModal",attrs:{typeOfModal:"ExportVideo"},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("export_creation")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-sides-medium font-small"},[n("div",{},[n("p",[e._v(e._s(e.$t("export_stopmotion_instructions")))]),e._v(" "),n("hr"),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v("\n "+e._s(e.$t("framerate"))+" : "+e._s(e.framerate)+"fps =\n "),e.framerate<=1?[e._v(e._s(e.$t("very_slow")))]:e.framerate<=10?[e._v(e._s(e.$t("slow")))]:e.framerate<=20?[e._v(e._s(e.$t("speed_medium")))]:e.framerate<=30?[e._v(e._s(e.$t("fast")))]:e._e()],2),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.framerate,expression:"framerate",modifiers:{number:!0}}],attrs:{type:"range",min:"0.1",max:"30",step:".1"},domProps:{value:e.framerate},on:{__r:function(t){e.framerate=e._n(t.target.value)},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("quality")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.quality,expression:"quality"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.quality=t.target.multiple?n:n[0]}}},e._l(e.available_qualities,function(t){return n("option",{key:t.height,domProps:{value:t.height}},[e._v("\n "+e._s(e.$t(t.label))+"\n ")])}),0),e._v(" "),n("small",[e._v(e._s(e.quality)+"p")])]),e._v(" "),n("button",{staticClass:"margin-small margin-left-none bg-bleuvert c-blanc button-allwide",attrs:{type:"button",disabled:!1!==e.video_request_status},on:{click:e.downloadVideo}},[e.video_request_status?"waiting_for_server"===e.video_request_status?[n("span",{staticClass:"loader loader-xs"}),e._v("\n "+e._s(e.$t("notifications.creation_in_progress"))+"\n ")]:"generated"===e.video_request_status?[e._v(e._s(e.$t("notifications.video_created")))]:"failed"===e.video_request_status?[e._v(e._s(e.$t("notifications.video_creation_failed")))]:e._e():[e._v(e._s(e.$t("make_video")))]],2),e._v(" "),"generated"===e.video_request_status?n("div",[n("div",{staticClass:"mediaContainer"},[n("vue-plyr",{attrs:{options:e.plyr_options}},[n("video",{attrs:{src:e.link_to_video,controls:"",preload:"auto"}})])],1),e._v(" "),n("div",{staticClass:"margin-vert-medium"},[!1!==e.link_to_video?n("a",{staticClass:"buttonLink margin-left-none padding-left-none",attrs:{href:e.link_to_video}},[e._v(e._s(e.$t("download")))]):e._e(),e._v(" "),!1!==e.exported_video_name?n("AddCreationToProject",{attrs:{media_filename:e.exported_video_name,publication:e.publication},on:{close:function(t){return e.$emit("close")}}}):e._e()],1)]):e._e()])])])],2)},i.staticRenderFns=[]},{"../subcomponents/AddCreationToProject.vue":252,timers:168}],228:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});e("timers");var t,i=e("../subcomponents/AddCreationToProject.vue"),o=(t=i)&&t.__esModule?t:{default:t};n.default={props:{slugPubliName:String,publication:Object,instructions:String},components:{AddCreationToProject:o.default},data:function(){return{video_request_status:!1,link_to_video:!1,video_is_playing:!1,exported_video_name:!1,resolution:{width:1280,height:720},custom_resolution:{width:1280,height:720},available_qualities:[{label:this.$t("very_high"),resolution:{width:1920,height:1080}},{label:this.$t("high"),resolution:{width:1280,height:720}},{label:this.$t("medium"),resolution:{width:854,height:480}},{label:this.$t("low"),resolution:{width:640,height:360}}],plyr_options:{controls:["play-large","play","progress","current-time","mute","volume","fullscreen"],iconUrl:"/images/plyr.svg"}}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{resolution:{handler:function(){this.video_request_status=!1},deep:!0},custom_resolution:{handler:function(){this.video_request_status=!1},deep:!0}},computed:{disable_generation_button:function(){return!1!==this.video_request_status||"custom"===this.resolution&&(0===this.custom_resolution.width||this.custom_resolution.width%2!=0||0===this.custom_resolution.height||this.custom_resolution.height%2!=0)}},methods:{downloadVideo:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • ExportVideoPubli: downloadVideo");var e={};"custom"===this.resolution?Number.isInteger(this.custom_resolution.width)&&Number.isInteger(this.custom_resolution.height)&&(e.resolution={width:this.custom_resolution.width,height:this.custom_resolution.height}):"draft"===this.resolution?(e.resolution={width:426,height:240},e.bitrate="1000k"):e.resolution=this.resolution,this.$eventHub.$once("socketio.publication.videoIsGenerated",this.videoPubliIsGenerated),this.$eventHub.$once("socketio.publication.videoFailedToGenerate",this.videoPubliFailedToGenerate),this.$socketio.downloadVideoPubli({slugPubliName:this.slugPubliName,options:e}),this.video_request_status="waiting_for_server"},videoPubliIsGenerated:function(e){var t=e.videoName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: videoPubliIsGenerated"),this.$eventHub.$off("socketio.publication.videoFailedToGenerate"),this.video_request_status="generated",this.link_to_video=window.location.origin+"/_publications/video/"+t,this.exported_video_name=t},videoPubliFailedToGenerate:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: videoPubliFailedToGenerate"),this.$eventHub.$off("socketio.publication.videoIsGenerated"),this.video_request_status="failed"}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{staticClass:"m_exportModal",attrs:{typeOfModal:"ExportVideo"},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("export_creation")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-sides-medium font-small"},[n("div",{},[n("div",{staticClass:"margin-bottom-small"},[e._v(e._s(e.instructions))]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("quality")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.resolution,expression:"resolution"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.resolution=t.target.multiple?n:n[0]}}},[e._l(e.available_qualities,function(t){return n("option",{key:t.resolution.width+t.resolution.height,domProps:{value:t.resolution}},[e._v(e._s(t.label))])}),e._v(" "),n("option",{key:"draft",domProps:{value:"draft"}},[e._v("→ "+e._s(e.$t("draft").toLowerCase()))]),e._v(" "),n("option",{key:"custom",domProps:{value:"custom"}},[e._v("↓ "+e._s(e.$t("custom").toLowerCase()))])],2),e._v(" "),"draft"===e.resolution?n("div",[n("small",[e._v(e._s(e.$t("video_export_draft_instructions")))])]):"custom"===e.resolution?n("div",[n("small",[e._v("\n "+e._s(e.$t("video_export_custom_quality_instructions"))+"\n ")])]):n("div",{staticClass:"label"},[e._v("\n "+e._s(e.resolution.width)+" × "+e._s(e.resolution.height)+"\n ")])]),e._v(" "),"custom"===e.resolution?n("div",{staticClass:"margin-bottom-small input-group"},[n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.custom_resolution.width,expression:"custom_resolution.width",modifiers:{number:!0}}],attrs:{type:"number",min:"2",max:"4096",step:"2"},domProps:{value:e.custom_resolution.width},on:{input:function(t){t.target.composing||e.$set(e.custom_resolution,"width",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),n("span",{staticClass:"font-large padding-verysmall"},[e._v("×")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.custom_resolution.height,expression:"custom_resolution.height",modifiers:{number:!0}}],attrs:{type:"number",min:"2",max:"2160",step:"2"},domProps:{value:e.custom_resolution.height},on:{input:function(t){t.target.composing||e.$set(e.custom_resolution,"height",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}})]):e._e(),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("button",{staticClass:"margin-small margin-left-none bg-bleuvert c-blanc button-allwide",attrs:{type:"button",disabled:e.disable_generation_button},on:{click:e.downloadVideo}},[e.video_request_status?"waiting_for_server"===e.video_request_status?[n("span",{staticClass:"loader loader-xs"}),e._v("\n "+e._s(e.$t("notifications.creation_in_progress"))+"\n ")]:"generated"===e.video_request_status?[e._v("\n "+e._s(e.$t("notifications.video_created"))+"\n ")]:"failed"===e.video_request_status?[e._v("\n "+e._s(e.$t("notifications.video_creation_failed"))+"\n ")]:e._e():[e._v("\n "+e._s(e.$t("make_video"))+"\n ")]],2)]),e._v(" "),"generated"===e.video_request_status?n("div",[n("hr",{}),e._v(" "),n("div",{staticClass:"mediaContainer"},[n("vue-plyr",{attrs:{options:e.plyr_options}},[n("video",{attrs:{src:e.link_to_video,controls:"",preload:"auto"}})])],1),e._v(" "),"draft"!==e.resolution?n("div",{staticClass:"margin-vert-small"},[!1!==e.link_to_video?n("a",{staticClass:"buttonLink margin-left-none padding-left-none",attrs:{href:e.link_to_video}},[e._v(e._s(e.$t("download")))]):e._e()]):e._e(),e._v(" "),"draft"!==e.resolution?n("div",{staticClass:"margin-vert-small"},[!1!==e.exported_video_name?n("AddCreationToProject",{attrs:{publication:e.publication,media_filename:e.exported_video_name},on:{close:function(t){return e.$emit("close")}}}):e._e()],1):e._e()]):e._e()])])])],2)},i.staticRenderFns=[]},{"../subcomponents/AddCreationToProject.vue":252,timers:168}],229:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(e("./qr/ScanQRCode.vue")),i=o(e("./qr/CreateQRCode.vue"));function o(e){return e&&e.__esModule?e:{default:e}}n.default={props:["read_only","slugProjectName"],components:{CreateQRCode:i.default,ScanQRCode:t.default},data:function(){return{current_mode:"CreateQRCode"}},mounted:function(){},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"SmallAndScroll"},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("remote_access")))])]),e._v(" "),n("template",{slot:"preview"},[n("div",{staticClass:"m_sideBySideSwitches hide_on_print"},[n("label",{attrs:{for:"CreateQRCode"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.current_mode,expression:"current_mode"}],attrs:{type:"radio",id:"CreateQRCode",value:"CreateQRCode"},domProps:{checked:e._q(e.current_mode,"CreateQRCode")},on:{change:function(t){e.current_mode="CreateQRCode"}}}),e._v("\n "+e._s(e.$t("share_access"))+"\n ")]),e._v(" "),n("label",{attrs:{for:"ScanQRCode"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.current_mode,expression:"current_mode"}],attrs:{type:"radio",id:"ScanQRCode",value:"ScanQRCode"},domProps:{checked:e._q(e.current_mode,"ScanQRCode")},on:{change:function(t){e.current_mode="ScanQRCode"}}}),e._v("\n "+e._s(e.$t("scan_qr_code"))+"\n ")])]),e._v(" "),n("div",{staticClass:"font-small"},["CreateQRCode"===e.current_mode?n("div",{},[n("CreateQRCode",{attrs:{slugFolderName:e.slugProjectName}})],1):e._e(),e._v(" "),"ScanQRCode"===e.current_mode?n("div",{staticClass:"m_scanQR"},[n("ScanQRCode")],1):e._e()])])],2)},i.staticRenderFns=[]},{"./qr/CreateQRCode.vue":234,"./qr/ScanQRCode.vue":235}],230:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{},components:{},data:function(){return{pwd:"",remember_password_on_this_device:!1}},created:function(){},mounted:function(){this.$el.querySelector("[autofocus]").focus()},beforeDestroy:function(){},watch:{},computed:{},methods:{submitPassword:function(){this.remember_password_on_this_device&&this.$auth.saveSessionPasswordToLocalStorage(this.pwd),this.$socketio.connect(this.pwd),this.$emit("close")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:!1,typeOfModal:"EditMeta",prevent_close:!0},on:{close:function(t){return e.$emit("close")},submit:e.submitPassword}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("connect_to_dodoc")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("password")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.pwd,expression:"pwd"}],attrs:{type:"password",required:"",autofocus:"",autoselect:""},domProps:{value:e.pwd},on:{input:function(t){t.target.composing||(e.pwd=t.target.value)}}})]),e._v(" "),n("span",{staticClass:"switch switch-xs margin-bottom-small"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.remember_password_on_this_device,expression:"remember_password_on_this_device"}],attrs:{id:"remember_password_on_this_device",type:"checkbox"},domProps:{checked:Array.isArray(e.remember_password_on_this_device)?e._i(e.remember_password_on_this_device,null)>-1:e.remember_password_on_this_device},on:{change:function(t){var n=e.remember_password_on_this_device,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&(e.remember_password_on_this_device=n.concat([null])):r>-1&&(e.remember_password_on_this_device=n.slice(0,r).concat(n.slice(r+1)))}else e.remember_password_on_this_device=o}}}),e._v(" "),n("label",{attrs:{for:"remember_password_on_this_device"}},[e._v(e._s(e.$t("remember_password_on_this_device")))])])]),e._v(" "),n("template",{slot:"submit_button"},[e._v(e._s(e.$t("send")))])],2)},i.staticRenderFns=[]},{}],231:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("../subcomponents/ActivityJournal.vue"),o=(t=i)&&t.__esModule?t:{default:t};n.default={props:["read_only"],components:{ActivityJournal:o.default},data:function(){return{new_lang:this.$root.lang.current,show_journal:!1,is_loading_journal:!1}},watch:{new_lang:function(){this.$root.updateLocalLang(this.new_lang)}},mounted:function(){},computed:{},methods:{loadJournal:function(){var e=this;this.show_journal=!0,this.is_loading_journal=!0,this.$nextTick(function(){e.$socketio.loadJournal()}),this.$eventHub.$once("socketio.journal.is_loaded",function(){e.is_loading_journal=!1})},emptyJournal:function(){this.$socketio.emptyJournal()}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:e.$root.current_author_is_admin?"LargeAndScroll":"SmallAndScroll"},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("settings")))])]),e._v(" "),n("template",{slot:"preview"},[n("div",{staticClass:"margin-sides-medium"},[n("div",{staticClass:"margin-vert-small"},[e._v("\n do•doc version "+e._s(e.$root.state.appVersion)+"\n ")])]),e._v(" "),n("div",{staticClass:"margin-sides-medium"},[n("div",{staticClass:"margin-vert-small"},[n("label",{domProps:{innerHTML:e._s(e.$t("lang"))}}),e._v(" "),n("div",{staticClass:"input"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.new_lang,expression:"new_lang"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.new_lang=t.target.multiple?n:n[0]}}},e._l(this.$root.lang.available,function(t){return n("option",{key:t.key,domProps:{value:t.key}},[e._v("\n "+e._s(t.name)+"\n ")])}),0)]),e._v(" "),n("small",{domProps:{innerHTML:e._s(e.$t("translate_dodoc_instructions"))}})])]),e._v(" "),n("div",{staticClass:"margin-sides-medium"},[n("div",{staticClass:"margin-vert-small",staticStyle:{position:"relative"}},[n("label",[e._v(e._s(e.$t("journal")))]),e._v(" "),n("div",[e.$root.current_author_is_admin?e.is_loading_journal?n("Loader"):e.show_journal?[n("ActivityJournal",{attrs:{journal_entries:e.$root.state.journal}})]:e._e():[n("small",[e._v(e._s(e.$t("only_available_to_admins")))])]],2),e._v(" "),n("div",[e.$root.current_author_is_admin?n("button",{staticClass:"button-greenthin margin-left-none",attrs:{type:"button"},on:{click:e.loadJournal}},[e.show_journal?[e._v(e._s(e.$t("reload")))]:[e._v(e._s(e.$t("show")))]],2):e._e(),e._v(" "),e.$root.current_author_is_admin&&e.show_journal?n("button",{staticClass:"button-greenthin margin-left-none",attrs:{type:"button"},on:{click:e.emptyJournal}},[e._v("\n "+e._s(e.$t("empty_content"))+"\n ")]):e._e()])])])])],2)},i.staticRenderFns=[]},{"../subcomponents/ActivityJournal.vue":251}],232:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(e("./../subcomponents/CreateAuthor.vue")),i=o(e("./../subcomponents/Author.vue"));function o(e){return e&&e.__esModule?e:{default:e}}n.default={props:{prevent_close:Boolean},components:{CreateAuthor:t.default,Author:i.default},data:function(){return{show_create_author_panel:!1,is_sending_content_to_server:!1,current_mode:"CreateAccount",login_author_name:""}},created:function(){},mounted:function(){this.$eventHub.$on("authors.submitPassword",this.submitPassword)},beforeDestroy:function(){this.$eventHub.$off("authors.submitPassword",this.submitPassword)},watch:{"$root.current_publication":{handler:function(){"only_authors"===this.$root.current_publication.editing_limited_to?this.current_mode="Login":this.current_mode="CreateAccount"},immediate:!0}},computed:{},methods:{loginAs:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("Author • METHODS / submitPassword");var t=Object.values(this.$root.store.authors).find(function(t){return t.name===e.login_author_name}),n=this.$auth.hashCode(this.$refs.passwordField.value);if(!t)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.account_does_not_exist:")+" <i>"+this.login_author_name+"</i>"),!1;this.submitPassword({slugFolderName:t.slugFolderName,password:n})},submitPassword:function(e){var t,n,i,o=this,r=e.slugFolderName,a=e.password;this.is_sending_content_to_server=!0,this.$auth.removeAllFoldersPassword({type:"authors"}),this.$auth.updateFoldersPasswords({authors:(t={},n=r,i=a,n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t)}),this.$socketio.sendAuth(),this.checkResultsFromLogin({slugFolderName:r}).then(function(){o.is_sending_content_to_server=!1}).catch(function(){o.is_sending_content_to_server=!1,o.$alertify.closeLogOnClick(!0).delay(4e3).error(o.$t("notifications.wrong_password")),o.$refs.passwordField.value="",o.$refs.passwordField.focus()})},checkResultsFromLogin:function(e){var t=this,n=e.slugFolderName;return new Promise(function(e,i){t.$eventHub.$once("socketio.authentificated",function(){return t.$root.state.list_authorized_folders.some(function(e){return"authors"===e.type&&e.allowed_slugFolderNames.includes(n)})?e():i()})})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{ref:"modal",attrs:{typeOfModal:"SmallAndScroll",prevent_close:e.prevent_close,is_loading:e.is_sending_content_to_server},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("account")))])]),e._v(" "),n("template",{slot:"preview"},[e.$root.current_author?n("div",[n("div",{staticClass:"margin-medium"},[n("Author",{key:e.$root.current_author.slugFolderName,attrs:{author:e.$root.current_author},on:{close:function(t){return e.$emit("close")}}})],1)]):n("div",{},["only_authors"!==e.$root.current_publication.editing_limited_to?n("div",{staticClass:"m_sideBySideSwitches"},[n("label",{attrs:{for:"CreateAccount"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.current_mode,expression:"current_mode"}],attrs:{type:"radio",id:"CreateAccount",value:"CreateAccount"},domProps:{checked:e._q(e.current_mode,"CreateAccount")},on:{change:function(t){e.current_mode="CreateAccount"}}}),e._v("\n "+e._s(e.$t("create_account"))+"\n ")]),e._v(" "),n("label",{attrs:{for:"Login"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.current_mode,expression:"current_mode"}],attrs:{type:"radio",id:"Login",value:"Login"},domProps:{checked:e._q(e.current_mode,"Login")},on:{change:function(t){e.current_mode="Login"}}}),e._v("\n "+e._s(e.$t("login"))+"\n ")])]):n("div",{staticClass:"margin-medium"}),e._v(" "),n("div",{staticClass:"margin-medium"},[n("transition",{attrs:{name:"fade_fast",mode:"out-in",duration:250}},["CreateAccount"===e.current_mode?n("div",[n("CreateAuthor",{attrs:{read_only:e.read_only,mode:"simple_login"},on:{close:function(t){e.show_create_author_panel=!1}}})],1):"Login"===e.current_mode?n("form",{on:{submit:function(t){return t.preventDefault(),e.loginAs(t)}}},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("name_or_pseudo")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.login_author_name,expression:"login_author_name",modifiers:{trim:!0}}],attrs:{type:"text",required:"",autofocus:""},domProps:{value:e.login_author_name},on:{input:function(t){t.target.composing||(e.login_author_name=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("input",{staticStyle:{display:"none"},attrs:{type:"email",disabled:"disabled"}}),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("password")))]),e._v(" "),n("input",{ref:"passwordField",attrs:{type:"password",required:!!e.$root.state.local_options.force_author_password,autofocus:"",placeholder:"…"}})]),e._v(" "),n("div",{staticClass:"ta-ce"},[n("button",{staticClass:"button button-bg_rounded bg-bleuvert",attrs:{type:"submit",disabled:e.is_sending_content_to_server}},[n("img",{attrs:{src:"/images/i_enregistre.svg",draggable:"false"}}),e._v(" "),n("span",{staticClass:"text-cap font-verysmall"},[e._v(e._s(e.$t("send")))])])])]):e._e()])],1)])])],2)},i.staticRenderFns=[],i._scopeId="data-v-397c5936"},{"./../subcomponents/Author.vue":253,"./../subcomponents/CreateAuthor.vue":257}],233:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("../subcomponents/UploadFile.vue"),o=(t=i)&&t.__esModule?t:{default:t};n.default={props:{read_only:Boolean,slugFolderName:String,type:String,selected_files:Array},components:{UploadFile:o.default},data:function(){return{}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{read_only:e.read_only,typeOfModal:"EditMeta",askBeforeClosingModal:!1,isFile:!0},on:{close:function(t){return e.$emit("close")}}},[n("template",{slot:"header"},[n("span",{},[e._v(e._s(e.$t("import_medias")))])]),e._v(" "),n("template",{slot:"sidebar"},[n("div",[n("UploadFile",{attrs:{read_only:e.read_only,slugFolderName:e.slugFolderName,type:e.type,selected_files:e.selected_files},on:{close:function(t){return e.$emit("update:selected_files",[])},"update:selected_files":function(t){e.selected_files=t}}})],1)])],2)},i.staticRenderFns=[],i._scopeId="data-v-594e83a9"},{"../subcomponents/UploadFile.vue":283}],234:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("@xkeshi/vue-qrcode"),o=(t=i)&&t.__esModule?t:{default:t};n.default={props:{slugFolderName:String,media:Object,type:{type:String,default:"projects"}},components:{qrcode:o.default},data:function(){return{open_in_dodoc:!0}},created:function(){},mounted:function(){this.$root.updateNetworkInfos()},beforeDestroy:function(){},watch:{},computed:{nameOfProject:function(){return!(!this.slugFolderName||"projects"!==this.type||!this.$root.store.projects[this.slugFolderName].hasOwnProperty("name"))&&this.$root.store.projects[this.slugFolderName].name}},methods:{printQR:function(){window.print()},getURLToApp:function(e){var t,n=new URL(window.location);if("localhost"===n.hostname?n.hostname=e:(t=n.hostname,RegExp("((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])").test(t)&&(n.hostname=e)),this.slugFolderName&&("projects"===this.type?n.pathname=this.slugFolderName:n.pathname="_"+this.type+"/"+this.slugFolderName,this.media)){var i=this.media.metaFileName.replace(/\./g,"*");n.pathname+="/media/"+i,this.open_in_dodoc||(n.search+="display=standalone")}return n}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"hide_on_print padding-sides-small"},[n("p",[n("small",{domProps:{innerHTML:e._s(e.$t("toconnectwithanotherdevice"))}})])]),e._v(" "),e._l(e.$root.state.localNetworkInfos.ip,function(t,i){return n("div",{key:i,staticClass:"m_qrSnippet"},[n("div",{staticClass:"m_qrSnippet--motif"},[n("qrcode",{ref:"qr_canvas",refInFor:!0,attrs:{value:e.getURLToApp(t),options:{size:400,foreground:"#333",background:"transparent"}}})],1),e._v(" "),n("div",{staticClass:"m_qrSnippet--text"},[n("a",{staticClass:"break-long-lines js--openInBrowser text-lc",attrs:{href:e.getURLToApp(t),target:"_blank"}},[n("div",{staticClass:"margin-bottom-small font-verysmall"},[e._v("\n "+e._s(e.getURLToApp(t))+"\n ")])]),e._v(" "),e.media?n("div",{staticClass:"margin-bottom-small hide_on_print"},[n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.open_in_dodoc,expression:"open_in_dodoc"}],staticClass:"switch",attrs:{type:"checkbox",id:"open_in_dodoc"},domProps:{checked:Array.isArray(e.open_in_dodoc)?e._i(e.open_in_dodoc,null)>-1:e.open_in_dodoc},on:{change:function(t){var n=e.open_in_dodoc,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&(e.open_in_dodoc=n.concat([null])):r>-1&&(e.open_in_dodoc=n.slice(0,r).concat(n.slice(r+1)))}else e.open_in_dodoc=o}}}),e._v(" "),n("label",{attrs:{for:"open_in_dodoc"}},[e._v(e._s(e.$t("open_in_dodoc")))])])]):e._e(),e._v(" "),n("hr",{staticClass:"margin-vert-verysmall"}),e._v(" "),n("button",{staticClass:"buttonLink hide_on_print m_qrSnippet--text--printButton",attrs:{type:"button"},on:{click:function(t){return t.preventDefault(),e.printQR(t)}}},[e._v("\n "+e._s(e.$t("print"))+"\n ")]),e._v(" "),n("img",{staticClass:"m_qrSnippet--text--dodoclogo",attrs:{src:"/images/i_logo.svg",draggable:"false"}})])])})],2)},i.staticRenderFns=[]},{"@xkeshi/vue-qrcode":2}],235:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{},components:{},data:function(){return{}},created:function(){},mounted:function(){var e=this;this.$loadScript("/libs/instascan.min.js").then(function(){e.scanner=new Instascan.Scanner({video:e.$refs.preview,mirror:!1,scanPeriod:4}),e.scanner.addListener("scan",function(t){e.$alertify.closeLogOnClick(!0).delay(4e3).success("QR code detected"),window.location.assign(t)}),Instascan.Camera.getCameras().then(function(t){if(t.length>0){var n=t[0];$.each(t,function(e,t){if(t.hasOwnProperty("name")&&"string"==typeof t.name&&-1!=t.name.indexOf("back"))return n=t,!1}),e.scanner.start(n)}else console.error("No cameras found.")}).catch(function(e){console.error(e)})}).catch(function(){})},beforeDestroy:function(){this.scanner.stop()},watch:{},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("video",{ref:"preview"})])},i.staticRenderFns=[]},{}],236:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=l(e("../subcomponents/PublicationHeader.vue")),i=l(e("../subcomponents/PublicationDisplayButtons.vue")),o=l(e("../modals/ExportPagePubli.vue")),r=l(e("./subcomponents/DrawingLayer.vue")),a=l(e("./PagePublicationSinglePage.vue")),s=l(e("./subcomponents/LayerPanel.vue"));function l(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,layered_medias:Object,read_only:Boolean,preview_mode:Boolean,fullscreen_mode:Boolean,can_edit_publi:Boolean,can_see_publi:Boolean},components:{PublicationHeader:t.default,PublicationDisplayButtons:i.default,ExportPagePubli:o.default,DrawingLayer:r.default,PagePublicationSinglePage:a.default,LayerPanel:s.default},data:function(){return{show_export_modal:!1,accepted_media_type:["audio","video"],zoom:1,zoom_min:.2,zoom_max:2,pixelsPerMillimeters:0}},created:function(){this.$root.setPublicationZoom(this.zoom),document.getElementsByTagName("body")[0].style="\n --page-width: "+this.publication.width+"mm;\n --page-height: "+this.publication.height+"mm\n "},mounted:function(){var e=this;this.pixelsPerMillimeters=this.$refs.hasOwnProperty("mmMeasurer")?this.$refs.mmMeasurer.offsetWidth/10:3.8,["export_publication","print_publication","link_publication"].includes(this.$root.state.mode)||this.$nextTick(function(){e.updatePageSizeAccordingToPanel(),e.$eventHub.$on("activity_panels_resized",e.updatePageSizeAccordingToPanel)}),this.$eventHub.$on("publication.addMedia",this.addMedia),this.$eventHub.$off("activity_panels_resized",this.updatePageSizeAccordingToPanel)},beforeDestroy:function(){this.$eventHub.$off("publication.addMedia",this.addMedia)},watch:{zoom:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: zoom"),this.zoom=Math.min(this.zoom_max,Math.max(this.zoom_min,this.zoom)),this.$root.setPublicationZoom(this.zoom)},"$root.settings.publi_zoom":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: $root.settings.publi_zoom"),this.zoom=this.$root.settings.publi_zoom}},computed:{can_edit_publi:function(){return this.$root.canEditFolder({type:"publications",slugFolderName:this.slugPubliName})},layers:function(){return"debug"===this.$root.state.dev_mode&&console.log("COMPUTED • layers"),this.publication.hasOwnProperty("layers")&&0!==this.publication.layers.length?this.publication.layers:[]},pad_size:function(){if(["export_publication","print_publication","link_publication"].includes(this.$root.state.mode))return"width: "+this.publication.width+"mm; height: "+this.publication.height+"mm;"}},methods:{addMedia:function(e){var t=this,n=e.values,i=void 0===n?{}:n;return new Promise(function(e,n){"debug"===t.$root.state.dev_mode&&console.log("DrawingPad • METHODS: addMedia");var o=t.$root.settings.current_publication.layer_id;if(o||t.$alertify.closeLogOnClick(!0).delay(4e3).error(t.$t("notifications.missing_layer_id")),i.layer_id=o,i.x=0,i.y=0,i.z_index=t.getHighestZNumberAmongstMedias(t.layered_medias[o])+1,t.$refs.current_page){var r=t.$refs.current_page.scrollLeft/t.pixelsPerMillimeters;Number.isNaN(r)||(i.x=r);var a=t.$refs.current_page.scrollTop/t.pixelsPerMillimeters;Number.isNaN(a)||(i.y=a)}t.$emit("addMedia",{values:i})})},layerOptions:function(e){return{margin_left:0,margin_right:0,margin_top:0,margin_bottom:0,snap_to_grid:!1,width:this.publication.width,height:this.publication.height,color:e.color}},getHighestZNumberAmongstMedias:function(e){if(!e)return 0;var t=e.filter(function(e){return e.hasOwnProperty("z_index")}).map(function(e){return e.z_index});return 0===t.length?0:Math.max.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))},updatePageSizeAccordingToPanel:function(){if(this.$refs.panel){var e=this.$refs.panel.offsetWidth,t=this.$refs.current_page;if(t&&e>0){var n=t.querySelector(".m_drawingPad--layer--backgroundContainer--background");this.zoom=e/(n.offsetWidth+150)}}},getDrawingLayerReferenceMedia:function(e){var t=Object.values(this.publication.medias).find(function(t){return t.layer_id===e});return t||!1},setPageContainerProperties:function(e){if("print_publication"!==this.$root.state.mode)return"\n transform: scale("+this.zoom+");\n transform-origin: left top;\n "+"\n width: "+e.width+"mm;\n height: "+e.height+"mm;\n margin: 40px;\n padding: 40px "+140/this.zoom+"px "+100*this.zoom+"px "+240/this.zoom+"px; \n box-sizing: content-box;\n "},setPageProperties:function(e){return"print_publication"===this.$root.state.mode?"\n width: "+e.width+"mm;\n height: "+(e.height-1)+"mm;\n ":"\n width: "+e.width+"mm;\n height: "+e.height+"mm;\n "}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",staticClass:"m_publicationview",class:{"is--preview":e.preview_mode}},[n("PublicationHeader",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,medias:e.layered_medias},on:{export:function(t){e.show_export_modal=!0},close:e.$root.closePublication}}),e._v(" "),e.show_export_modal?n("ExportPagePubli",{attrs:{publication:e.publication,slugPubliName:e.slugPubliName},on:{close:function(t){e.show_export_modal=!1}}}):e._e(),e._v(" "),n("PublicationDisplayButtons",{attrs:{preview_mode:e.preview_mode,show_zoom_buttons:!e.contact_sheet_mode,zoom:e.zoom,zoom_min:e.zoom_min,zoom_max:e.zoom_max},on:{togglePreviewMode:function(t){return e.$emit("togglePreviewMode")},setZoom:function(t){return e.zoom=t}}}),e._v(" "),["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)||e.preview_mode?e._e():n("LayerPanel",{attrs:{layers:e.layers,layered_medias:e.layered_medias,publication:e.publication,slugPubliName:e.slugPubliName}}),e._v(" "),n("div",{ref:"current_page",staticClass:"m_drawingPad"},[n("div",{staticClass:"m_drawingPad--content",style:e.pad_size},[n("div",{key:"background",staticClass:"m_drawingPad--layer m_drawingPad--layer_background"},[n("div",{},[n("div",{staticClass:"m_drawingPad--layer--backgroundContainer",style:e.setPageContainerProperties(e.publication)},[n("div",{staticClass:"m_drawingPad--layer--backgroundContainer--background",style:e.setPageProperties(e.publication)})])])]),e._v(" "),e._l(e.layers,function(t){return n("div",{key:t.id,staticClass:"m_drawingPad--layer",class:[{"is--inactive":!!e.$root.settings.current_publication.layer_id&&t.id!==e.$root.settings.current_publication.layer_id&&!e.preview_mode,"is--edited":t.id===e.$root.settings.current_publication.layer_id&&!e.preview_mode},"m_drawingPad--layer_"+t.type]},["medias"===t.type?n("PagePublicationSinglePage",{attrs:{mode:"single",preview_mode:e.preview_mode||t.id!==e.$root.settings.current_publication.layer_id&&!e.preview_mode,slugPubliName:e.slugPubliName,page:e.layerOptions(t),publication_medias:e.layered_medias[t.id],read_only:e.read_only,pixelsPerMillimeters:e.pixelsPerMillimeters,zoom:e.zoom},on:{editPubliMedia:function(t){return e.$emit("editPubliMedia",t)}}}):"drawing"===t.type&&e.getDrawingLayerReferenceMedia(t.id)?n("DrawingLayer",{key:t.id,attrs:{slugPubliName:e.slugPubliName,pixelsPerMillimeters:e.pixelsPerMillimeters,layer_options:e.layerOptions(t),is_active:e.$root.settings.current_publication.layer_id&&t.id===e.$root.settings.current_publication.layer_id,media:e.getDrawingLayerReferenceMedia(t.id),zoom:e.zoom}}):e._e()],1)})],2)]),e._v(" "),n("div",{ref:"mmMeasurer",staticStyle:{height:"10mm",width:"10mm",left:"100%",position:"fixed",top:"100%"}})],1)},i.staticRenderFns=[]},{"../modals/ExportPagePubli.vue":226,"../subcomponents/PublicationDisplayButtons.vue":276,"../subcomponents/PublicationHeader.vue":278,"./PagePublicationSinglePage.vue":240,"./subcomponents/DrawingLayer.vue":246,"./subcomponents/LayerPanel.vue":248}],237:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=r(e("../subcomponents/PublicationHeader.vue")),i=r(e("../subcomponents/MediaMontagePublication.vue")),o=r(e("../modals/ExportVideoPubliModal.vue"));function r(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,medias_in_order:Array,read_only:Boolean},components:{PublicationHeader:t.default,MediaMontagePublication:i.default,ExportVideoPubliModal:o.default},data:function(){return{show_export_modal:!1,required_media_type:["audio","image"]}},created:function(){},mounted:function(){this.$eventHub.$on("publication.addMedia",this.addMedia)},beforeDestroy:function(){this.$eventHub.$off("publication.addMedia",this.addMedia)},watch:{medias_in_order:{handler:function(){var e=this;this.$root.settings.current_publication.accepted_media_type=this.required_media_type.filter(function(t){return!e.medias_in_order.some(function(e){return e._linked_media&&e._linked_media.type===t})})},immediate:!0}},computed:{},methods:{addMedia:function(e){this.$emit("addMedia",e)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",staticClass:"m_publicationview",class:{"is--preview":e.preview_mode}},[n("PublicationHeader",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,medias:e.medias_in_order,number_of_medias_required:e.number_of_medias_required},on:{export:function(t){e.show_export_modal=!0},close:e.$root.closePublication}}),e._v(" "),e.show_export_modal?n("ExportVideoPubliModal",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,instructions:e.$t("export_audio_image_mix_instructions")},on:{close:function(t){e.show_export_modal=!1}}}):e._e(),e._v(" "),n("div",{staticClass:"m_mixAudioAndImagePublication"},[0===e.medias_in_order.length?n("div",{staticClass:"margin-medium"},[n("p",[n("small",{staticClass:"c-blanc",domProps:{innerHTML:e._s(e.$t("add_sound_image_file"))}})])]):e._e(),e._v(" "),n("transition-group",{attrs:{name:"slideFromTop",duration:300,tag:"div"}},e._l(e.medias_in_order,function(t){return n("div",{key:t.metaFileName,staticClass:"m_mixAudioAndImagePublication--media"},[n("MediaMontagePublication",{attrs:{available_buttons:["remove"],media:t,preview_mode:!1,read_only:e.read_only},on:{removePubliMedia:function(t){return e.$emit("removePubliMedia",t)},editPubliMedia:function(t){return e.$emit("editPubliMedia",t)}}})],1)}),0)],1)],1)},i.staticRenderFns=[]},{"../modals/ExportVideoPubliModal.vue":228,"../subcomponents/MediaMontagePublication.vue":267,"../subcomponents/PublicationHeader.vue":278}],238:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=r(e("../subcomponents/PublicationHeader.vue")),i=r(e("../subcomponents/MediaMontagePublication.vue")),o=r(e("../modals/ExportVideoPubliModal.vue"));function r(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,medias_in_order:Array,read_only:Boolean},components:{PublicationHeader:t.default,MediaMontagePublication:i.default,ExportVideoPubliModal:o.default},data:function(){return{show_export_modal:!1,required_media_type:["audio","video"]}},created:function(){},mounted:function(){this.$eventHub.$on("publication.addMedia",this.addMedia)},beforeDestroy:function(){this.$eventHub.$off("publication.addMedia",this.addMedia)},watch:{medias_in_order:{handler:function(){var e=this;this.$root.settings.current_publication.accepted_media_type=this.required_media_type.filter(function(t){return!e.medias_in_order.some(function(e){return e._linked_media&&e._linked_media.type===t})})},immediate:!0}},computed:{},methods:{addMedia:function(e){this.$emit("addMedia",e)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",staticClass:"m_publicationview",class:{"is--preview":e.preview_mode}},[n("PublicationHeader",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,medias:e.medias_in_order},on:{export:function(t){e.show_export_modal=!0},close:e.$root.closePublication}}),e._v(" "),e.show_export_modal?n("ExportVideoPubliModal",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,instructions:e.$t("export_audio_video_mix_instructions")},on:{close:function(t){e.show_export_modal=!1}}}):e._e(),e._v(" "),n("div",{staticClass:"m_mixAudioAndImagePublication"},[0===e.medias_in_order.length?n("div",{staticClass:"margin-medium"},[n("p",[n("small",{staticClass:"c-blanc",domProps:{innerHTML:e._s(e.$t("add_sound_video_file"))}})])]):e._e(),e._v(" "),n("transition-group",{attrs:{name:"slideFromTop",duration:300,tag:"div"}},e._l(e.medias_in_order,function(t){return n("div",{key:t.metaFileName,staticClass:"m_mixAudioAndImagePublication--media"},[n("MediaMontagePublication",{attrs:{media:t,preview_mode:!1,read_only:e.read_only},on:{removePubliMedia:function(t){return e.$emit("removePubliMedia",t)},editPubliMedia:function(t){return e.$emit("editPubliMedia",t)}}})],1)}),0)],1)],1)},i.staticRenderFns=[]},{"../modals/ExportVideoPubliModal.vue":228,"../subcomponents/MediaMontagePublication.vue":267,"../subcomponents/PublicationHeader.vue":278}],239:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=c(e("../subcomponents/PublicationHeader.vue")),i=c(e("../subcomponents/PublicationDisplayButtons.vue")),o=c(e("../modals/ExportPagePubli.vue")),r=c(e("./PagePublicationSinglePage.vue")),a=c(e("./SettingsPane.vue")),s=c(e("./subcomponents/PublicationButtons.vue")),l=c(e("../subcomponents/PublicationFooter.vue"));function c(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,paged_medias:Object,read_only:Boolean,can_edit_publi:Boolean,can_see_publi:Boolean,model_for_this_publication:[Boolean,Object],preview_mode:Boolean},components:{PublicationHeader:t.default,PublicationDisplayButtons:i.default,ExportPagePubli:o.default,PagePublicationSinglePage:r.default,SettingsPane:a.default,PublicationButtons:s.default,PublicationFooter:l.default},data:function(){return{publication_defaults:{page_by_page:{width:210,height:297,style:"standard",margin_left:10,margin_right:10,margin_top:20,margin_bottom:20,gridstep:5,snap_to_grid:!0,header_left:"",header_right:"",show_page_number:!0}},show_removed_pages:!1,show_buttons:!1,show_restore_options:!1,page_settings_panel:!1,contact_sheet_mode:!0,show_advanced_menu_for_page:!1,show_advanced_option:!1,zoom:1,zoom_min:.2,zoom_max:2,pixelsPerMillimeters:0,show_export_modal:!1}},created:function(){this.$root.setPublicationZoom(this.zoom)},mounted:function(){var e=this;this.$eventHub.$on("publication.addMedia",this.addMedia),this.$eventHub.$on("publication.just_added_media",function(t){e.$nextTick(function(){t.type&&"text"===t.type?e.$eventHub.$emit("publication.set_media_to_edit_mode",t.metaFileName):e.$eventHub.$emit("publication.selectNewMedia",t.metaFileName)})}),this.pixelsPerMillimeters=this.$refs.hasOwnProperty("mmMeasurer")?this.$refs.mmMeasurer.offsetWidth/10:3.78,this.$nextTick(function(){e.updatePageSizeAccordingToPanel(),e.$eventHub.$on("activity_panels_resized",e.updatePageSizeAccordingToPanel)})},beforeDestroy:function(){this.$eventHub.$off("publication.addMedia",this.addMedia),this.$eventHub.$off("activity_panels_resized",this.updatePageSizeAccordingToPanel)},watch:{show_buttons:function(){this.show_advanced_menu_for_page=!1,this.show_advanced_option=!1},"$root.app_is_fullscreen":function(){var e=this;setTimeout(function(){e.updatePageSizeAccordingToPanel()},500)},publications_options:{handler:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publications_options"),document.getElementsByTagName("body")[0].style="\n --page-width: "+this.publications_options.width+"mm;\n --page-height: "+this.publications_options.height+"mm\n "},deep:!0,immediate:!0},zoom:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: zoom"),"survey"===this.$root.store.request.display&&(this.zoom=1),this.zoom=Math.min(this.zoom_max,Math.max(this.zoom_min,this.zoom)),this.$root.setPublicationZoom(this.zoom)},"$root.settings.publi_zoom":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: $root.settings.publi_zoom"),this.zoom=this.$root.settings.publi_zoom}},computed:{opened_single_page:function(){return!1!==this.opened_page_index&&this.pagesWithDefault[this.opened_page_index]},url_to_publi:function(){var e=this.$root.getURL();return!!e&&(e.pathname="_publications/survey/"+this.publication.slugFolderName,e)},opened_page_index:function(){var e=this;return!!this.$root.settings.current_publication.page_id&&this.pagesWithDefault.findIndex(function(t){return t.id===e.$root.settings.current_publication.page_id})},all_recipes_of_this_template:function(){var e=Object.values(this.$root.store.publications).filter(function(e){return"page_by_page"===e.template}),t=this.$_.sortBy(e,"date_created");return t=t.reverse()},publications_options:function(){"debug"===this.$root.state.dev_mode&&console.log("COMPUTED • publications_options");var e=this.model_for_this_publication?this.model_for_this_publication:this.publication;if(e.hasOwnProperty("template")||this.$alertify.closeLogOnClick(!0).delay(4e3).error("Missing template in publication"),!this.publication_defaults.hasOwnProperty(e.template))return console.log("No defaults for this template. Returning original publication object."),e;var t=this.publication_defaults[e.template],n=!0,i=!1,o=void 0;try{for(var r,a=Object.keys(t)[Symbol.iterator]();!(n=(r=a.next()).done);n=!0){var s=r.value;e.hasOwnProperty(s)&&(t[s]=e[s])}}catch(e){i=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return t},pagesWithDefault:function(){"debug"===this.$root.state.dev_mode&&console.log("COMPUTED • pagesWithDefault");var e=this.model_for_this_publication?this.model_for_this_publication:this.publication;if(!e.hasOwnProperty("pages")||0===e.pages.length)return[];var t=this.mergePageObjectWithDefault(e.pages);if(this.$root.settings.url_queries.hasOwnProperty("page")){var n=this.$root.settings.url_queries.page-1;t=t.slice(n,n+1)}return t},removedPagesWithDefault:function(){if("debug"===this.$root.state.dev_mode&&console.log("COMPUTED • removedPagesWithDefault"),this.model_for_this_publication)return[];this.model_for_this_publication?this.model_for_this_publication:this.publication;return this.publication.hasOwnProperty("removed_pages")&&0!==this.publication.removed_pages.length?this.mergePageObjectWithDefault(this.publication.removed_pages):[]}},methods:{generateID:function(){return+new Date+"_"+(Math.random().toString(36)+"00000000000000000").slice(2,3)},backOrClose:function(){this.contact_sheet_mode?this.$root.closePublication():this.showAllPages()},mergePageObjectWithDefault:function(e){var t=this;return e.reduce(function(e,n){var i=JSON.parse(JSON.stringify(n));return Object.keys(t.publications_options).map(function(e){var n=t.publications_options[e];"number"==typeof n?i.hasOwnProperty(e)&&!Number.isNaN(i[e])?i[e]=Number.parseInt(i[e]):i[e]=n:"string"==typeof n?i.hasOwnProperty(e)&&"string"==typeof i[e]||(i[e]=n):"boolean"==typeof n&&(i[e]=n)}),e.push(i),e},[])},getHighestZNumberAmongstMedias:function(e){if(!e)return 0;var t=e.filter(function(e){return e.hasOwnProperty("z_index")}).map(function(e){return e.z_index});return 0===t.length?0:Math.max.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))},updatePagePos:function(e){var t=e.id,n=e.$event;if("debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: openPage id = "+t),this.publication.hasOwnProperty("pages")&&0!==this.publication.pages.length){var i=this.pagesWithDefault.findIndex(function(e){return e.id===t}),o=n.target.value-1,r=this.publication.pages.slice();!function(e,t,n){if(n>=e.length)for(var i=n-e.length+1;i--;)e.push(void 0);e.splice(n,0,e.splice(t,1)[0])}(r,i,o),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{pages:r}}),this.show_buttons=!1}},openPage:function(e){var t=this;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: openPage id = "+e),this.$root.settings.current_publication.page_id=e,this.contact_sheet_mode=!1,this.$nextTick(function(){t.updatePageSizeAccordingToPanel()})},showAllPages:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: showAllPages"),this.$root.settings.current_publication.page_id=!1,this.contact_sheet_mode=!0},restorePage:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: restorePage id = "+e);var t=Array.isArray(this.publication.pages)?this.publication.pages.slice():[],n=this.publication.removed_pages.find(function(t){return t.id===e});t.push(n);var i=this.publication.removed_pages.filter(function(t){return t.id!==e});this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{pages:t,removed_pages:i}})},removePageForGood:function(e){var t=this;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: removePageForGood id = "+e);var n=this.publication.removed_pages.filter(function(t){return t.id!==e});this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{removed_pages:n}}),this.paged_medias[e].map(function(e){t.$root.removeMedia({type:"publications",slugFolderName:t.slugPubliName,slugMediaName:e.metaFileName})})},navPage:function(e){var t=this.opened_page_index+e;!1===this.opened_page_index&&t<0&&t>=this.pagesWithDefault.length||this.openPage(this.pagesWithDefault[t].id)},createPubliMedia:function(e){this.addMedia({values:e})},addMedia:function(e){var t=e.values;"debug"===this.$root.state.dev_mode&&console.log("PagePublication • METHODS: addMedia"),Object.assign(t,this.prepareMetaToPlaceOnPage()),this.$emit("addMedia",{values:t})},editMediaToPlaceOnPage:function(e){var t=this,n=e.metaFileNames;"debug"===this.$root.state.dev_mode&&console.log("PagePublication • METHODS: addMedia"),n.map(function(e,n){var i=t.prepareMetaToPlaceOnPage();i.x+=10*n,i.y+=10*n,t.$emit("editPubliMedia",{metaFileName:e,val:i});t.$eventHub.$once("publication.media_just_edited",function n(i){e===i.metaFileName?t.$nextTick(function(){t.$eventHub.$emit("publication.selectNewMedia",e)}):t.$eventHub.$once("socketio.media_just_edited",n)})})},prepareMetaToPlaceOnPage:function(){this.$root.settings.current_publication.page_id||(console.log("METHODS • Publication: addMedia missing page id"),this.$alertify.closeLogOnClick(!0).delay(4e3).error("Missing page id to add media properly"));var e={};if(e.page_id=this.$root.settings.current_publication.page_id,e.x=this.publications_options.margin_left,e.y=this.publications_options.margin_top,e.z_index=this.getHighestZNumberAmongstMedias(this.paged_medias[this.$root.settings.current_publication.page_id])+1,this.$refs.current_page){var t=this.$refs.current_page.$el.scrollLeft/this.pixelsPerMillimeters;Number.isNaN(t)||(e.x=Math.max(e.x,t));var n=this.$refs.current_page.$el.scrollTop/this.pixelsPerMillimeters;Number.isNaN(n)||(e.y=Math.max(e.y,n))}return e},insertPageAtIndex:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: insertPageAtIndex "+e);var t=[];this.publication.hasOwnProperty("pages")&&this.publication.pages.length>0&&(t=this.publication.pages.slice()),t.splice(e,0,{id:this.generateID()}),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{pages:t}})},duplicatePage:function(e){var t=this,n=e.id,i=e.$event;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: duplicatePage");var o=i.target.elements[0].value?i.target.elements[0].value:this.slugPubliName,r=Object.values(this.$root.store.publications).find(function(e){return e.slugFolderName===o}),a=r.pages.length;o===this.slugPubliName&&(a=this.publication.pages.findIndex(function(e){return e.id===n}));var s=JSON.parse(JSON.stringify(this.publication.pages.find(function(e){return e.id===n}))),l=this.generateID();s.id=l;var c=Array.isArray(r.pages)?r.pages.slice():[];c.splice(a+1,0,s),this.show_buttons=!1,this.$root.editFolder({type:"publications",slugFolderName:o,data:{pages:c}}),this.paged_medias[n].map(function(e){t.$socketio.copyMediaToFolder({type:"publications",from_slugFolderName:t.slugPubliName,to_slugFolderName:o,slugMediaName:e.metaFileName,meta_to_edit:{page_id:l}})})},removePage:function(e){if("debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: removePage"),this.publication.hasOwnProperty("pages")){var t=this.publication.pages.filter(function(t){return t.id!==e}),n=this.publication.pages.find(function(t){return t.id===e}),i=Array.isArray(this.publication.removed_pages)?this.publication.removed_pages.slice():[];i.unshift(n),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{pages:t,removed_pages:i}})}},updatePageSizeAccordingToPanel:function(){if(this.$refs.current_page&&this.$refs.current_page.$el){var e=this.$refs.current_page.$el,t=e.querySelector(".m_page");this.zoom=.6*e.offsetWidth/t.offsetWidth}}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",staticClass:"m_publicationview",class:{"is--preview":e.preview_mode,"is--fullscreen":e.$root.app_is_fullscreen,"is--survey":"survey"===e.$root.store.request.display,"has--model":e.model_for_this_publication}},[n("PublicationHeader",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,medias:e.paged_medias,model_for_this_publication:e.model_for_this_publication,url_to_publi:e.url_to_publi},on:{export:function(t){e.show_export_modal=!0},close:e.backOrClose}}),e._v(" "),e.show_export_modal?n("ExportPagePubli",{attrs:{publication:e.publication,slugPubliName:e.slugPubliName},on:{close:function(t){e.show_export_modal=!1}}}):e._e(),e._v(" "),"survey"!==e.$root.store.request.display?n("PublicationDisplayButtons",{attrs:{preview_mode:e.preview_mode,show_zoom_buttons:!e.contact_sheet_mode,zoom:e.zoom,zoom_min:e.zoom_min,zoom_max:e.zoom_max},on:{togglePreviewMode:function(t){return e.$emit("togglePreviewMode")},setZoom:function(t){return e.zoom=t}}}):e._e(),e._v(" "),["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)?e._e():n("div",{staticClass:"m_publicationNavMenu"},[n("div",{staticClass:"m_publicationNavMenu--settings"},[n("div",[e.contact_sheet_mode?e._e():n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:e.showAllPages}},[e._v("\n "+e._s(e.$t("show_all_pages"))+"\n ")])]),e._v(" "),["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)||!e.can_edit_publi||e.model_for_this_publication?e._e():n("div",{staticClass:"_settings_pane_button"},[n("button",{staticClass:"buttonLink",class:{"is--active":e.page_settings_panel},attrs:{type:"button"},on:{click:function(t){e.page_settings_panel=!e.page_settings_panel}}},[e._v("\n "+e._s(e.$t("page_settings"))+"\n ")])]),e._v(" "),e.page_settings_panel?n("SettingsPane",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,publications_options:e.publications_options}}):e._e()],1),e._v(" "),e.contact_sheet_mode?e._e():n("hr",{staticClass:"margin-none"}),e._v(" "),e.contact_sheet_mode?e._e():n("div",{staticClass:"m_publicationNavMenu--buttonRow"},[n("button",{attrs:{type:"button",disabled:0===e.opened_page_index},on:{click:function(t){return e.navPage(-1)}}},[n("img",{attrs:{src:"/images/i_arrow_left.svg",draggable:"false"}}),e._v("\n "+e._s(e.$t("previous_page"))+"\n ")]),e._v(" "),n("div",{staticClass:"font-small text-lc"},[n("span",{domProps:{innerHTML:e._s(e.$t("current_page:")+" "+(e.opened_page_index+1)+"/"+this.pagesWithDefault.length)}})]),e._v(" "),n("button",{attrs:{type:"button",disabled:e.opened_page_index===e.pagesWithDefault.length-1},on:{click:function(t){return e.navPage(1)}}},[e._v("\n "+e._s(e.$t("next_page"))+"\n "),n("img",{attrs:{src:"/images/i_arrow_right.svg",draggable:"false"}})])])]),e._v(" "),n("div",{ref:"page_container",staticClass:"m_publicationview--pages",style:e.$root.settings.current_publication.page_id&&"survey"!==e.$root.store.request.display?"overflow: hidden; height: 100%;":"",on:{click:function(t){if(t.target!==t.currentTarget)return null;e.$root.settings.current_publication.selected_medias=[]}}},[["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)?n("div",e._l(e.pagesWithDefault,function(t,i){return n("PagePublicationSinglePage",{key:t.id,attrs:{mode:"export",preview_mode:e.preview_mode,slugPubliName:e.slugPubliName,pageNumber:i,page:t,publication_medias:e.paged_medias[t.id],model_for_this_publication:e.model_for_this_publication,read_only:e.read_only||!e.can_edit_publi,pixelsPerMillimeters:e.pixelsPerMillimeters,zoom:e.zoom},on:{editPubliMedia:function(t){return e.$emit("editPubliMedia",t)}}})}),1):e.contact_sheet_mode?n("div",{staticClass:"m_publicationview--pages--contactSheet"},[n("transition-group",{staticClass:"m_publicationview--pages--contactSheet--pages",attrs:{tag:"div",name:"list-complete"}},[e._l(e.pagesWithDefault,function(t,i){return n("div",{key:t.id,staticClass:"m_publicationview--pages--contactSheet--pages--page",on:{mouseenter:function(n){e.show_buttons=t.id},mouseleave:function(t){return null===t.relatedTarget?"":e.show_buttons=!1}}},[n("PagePublicationSinglePage",{key:t.id,attrs:{mode:"contact_sheet",preview_mode:!0,slugPubliName:e.slugPubliName,pageNumber:i,page:t,publication_medias:e.paged_medias[t.id],model_for_this_publication:e.model_for_this_publication,read_only:e.read_only||!e.can_edit_publi,pixelsPerMillimeters:e.pixelsPerMillimeters,zoom:.2},on:{editPubliMedia:function(t){return e.$emit("editPubliMedia",t)}}}),e._v(" "),n("span",{staticClass:"m_publicationview--pages--contactSheet--pages--page--pageNumber"},[e._v(e._s(i+1))]),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:150}},[e.show_buttons===t.id?n("div",{staticClass:"m_publicationview--pages--contactSheet--pages--page--buttons"},[e.can_edit_publi&&!e.model_for_this_publication?n("button",{staticClass:"_advanced_menu_button",attrs:{type:"button"},on:{click:function(n){n.stopPropagation(),e.show_advanced_menu_for_page!==t.id?e.show_advanced_menu_for_page=t.id:e.show_advanced_menu_for_page=!1}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 168 168"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"168px",height:"168px",viewBox:"0 0 168 168","xml:space":"preserve"}},[n("rect",{staticClass:"st0",attrs:{x:"73.5",y:"37",width:"21",height:"21"}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{x:"73.5",y:"73.5",width:"21",height:"21"}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{x:"73.5",y:"110",width:"21",height:"21"}})])]):e._e(),e._v(" "),e.show_advanced_menu_for_page===t.id&&e.can_edit_publi?n("div",{staticClass:"_advanced_menu",on:{click:function(e){e.stopPropagation()}}},[e.show_advanced_option?"move"===e.show_advanced_option?[e.pagesWithDefault.length>1?n("span",[n("label",[e._v(e._s(e.$t("move_page_position")))]),e._v(" "),n("select",{domProps:{value:i+1},on:{change:function(n){return e.updatePagePos({id:t.id,$event:n})}}},e._l(e.pagesWithDefault.length,function(t){return n("option",{key:t,domProps:{innerHTML:e._s(t)}})}),0)]):e._e()]:"duplicate"===e.show_advanced_option?[n("form",{on:{submit:function(n){return n.preventDefault(),e.duplicatePage({id:t.id,$event:n})}}},[e.pagesWithDefault.length>1?[n("label",[e._v(e._s(e.$t("destination_document")))]),e._v(" "),n("select",{domProps:{value:e.slugPubliName}},e._l(e.all_recipes_of_this_template,function(t){var i=t.name,o=t.slugFolderName;return n("option",{key:o,domProps:{value:o,innerHTML:e._s(i)}})}),0)]:e._e(),e._v(" "),n("button",{staticClass:"button bg-bleuvert",attrs:{type:"submit"},domProps:{innerHTML:e._s(e.$t("duplicate"))}})],2)]:e._e():[e.pagesWithDefault.length>1?n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){e.show_advanced_option="move"}}},[e._v("\n "+e._s(e.$t("move"))+"\n ")]):e._e(),e._v(" "),n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){e.show_advanced_option="duplicate"}}},[e._v("\n "+e._s(e.$t("duplicate"))+"\n ")]),e._v(" "),n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(n){return e.removePage(t.id)}}},[e._v("\n "+e._s(e.$t("remove"))+"\n ")])]],2):e._e(),e._v(" "),n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(n){return n.stopPropagation(),e.openPage(t.id)}}},[e._v("\n "+e._s(e.$t("open"))+"\n ")])]):e._e()])],1)}),e._v(" "),e.can_edit_publi&&!e.model_for_this_publication?n("button",{key:"create_page",staticClass:"m_publicationview--pages--contactSheet--pages--page m_publicationview--pages--contactSheet--pages--page_create",attrs:{type:"button"},on:{click:function(t){return e.insertPageAtIndex(e.pagesWithDefault.length+1)}}},[e._v("\n "+e._s(e.$t("create_empty_page"))+"\n ")]):e._e()],2),e._v(" "),e.removedPagesWithDefault.length>0?n("button",{staticClass:"button-nostyle text-uc button-triangle _show_removed_pages",class:{"is--active":e.show_removed_pages},attrs:{type:"button"},on:{click:function(t){e.show_removed_pages=!e.show_removed_pages}}},[e._v("\n "+e._s(e.$t("show_removed_pages"))+" ("+e._s(e.removedPagesWithDefault.length)+")\n ")]):e._e(),e._v(" "),e.show_removed_pages?n("transition-group",{staticClass:"m_publicationview--pages--contactSheet--pages m_publicationview--pages--contactSheet--pages_removed",attrs:{tag:"div",name:"list-complete"}},e._l(e.removedPagesWithDefault,function(t,i){return n("div",{key:t.id,staticClass:"m_publicationview--pages--contactSheet--pages--page",on:{mouseenter:function(n){e.show_restore_options=t.id},mouseleave:function(t){e.show_restore_options=!1}}},[n("PagePublicationSinglePage",{attrs:{mode:"contact_sheet",preview_mode:!0,slugPubliName:e.slugPubliName,pageNumber:i,page:t,publication_medias:e.paged_medias[t.id],model_for_this_publication:e.model_for_this_publication,read_only:e.read_only||!e.can_edit_publi,pixelsPerMillimeters:e.pixelsPerMillimeters,zoom:.1},on:{editPubliMedia:function(t){return e.$emit("editPubliMedia",t)}}}),e._v(" "),e.show_restore_options===t.id&&e.can_edit_publi?n("div",{staticClass:"m_publicationview--pages--contactSheet--pages--page--buttons"},[n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(n){return n.stopPropagation(),e.restorePage(t.id)}}},[e._v("\n "+e._s(e.$t("restore"))+"\n ")]),e._v(" "),n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(n){return n.stopPropagation(),e.removePageForGood(t.id)}}},[e._v("\n "+e._s(e.$t("remove"))+"\n ")])]):e._e()],1)}),0):e._e()],1):n("div",{staticClass:"m_publicationview--pages--singlePageBloc"},[!e.can_edit_publi||e.contact_sheet_mode||e.preview_mode||e.model_for_this_publication?e._e():n("PublicationButtons",{attrs:{preview_mode:e.preview_mode,page_medias:e.paged_medias[e.$root.settings.current_publication.page_id],slugPubliName:e.slugPubliName,publi_is_model:e.publication.is_model,publi:e.publication.is_model},on:{addMedia:e.createPubliMedia,insertMedias:function(t){var n=t.metaFileNames;return e.editMediaToPlaceOnPage({metaFileNames:n})}}}),e._v(" "),n("transition",{attrs:{name:"fade_fast",mode:"out-in",duration:250}},[n("PagePublicationSinglePage",{key:e.$root.settings.current_publication.page_id,ref:"current_page",attrs:{mode:"single",preview_mode:e.preview_mode,slugPubliName:e.slugPubliName,pageNumber:e.opened_page_index,page:e.opened_single_page,publi_is_model:e.publication.is_model,model_for_this_publication:e.model_for_this_publication,publication_medias:e.paged_medias[e.$root.settings.current_publication.page_id],read_only:e.read_only||!e.can_edit_publi,pixelsPerMillimeters:e.pixelsPerMillimeters,zoom:e.zoom},on:{editPubliMedia:function(t){return e.$emit("editPubliMedia",t)}}})],1)],1)]),e._v(" "),["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)||e.contact_sheet_mode?n("PublicationFooter",{attrs:{publication:e.publication,url_to_publi:e.url_to_publi,model_for_this_publication:e.model_for_this_publication,can_edit_publi:e.can_edit_publi},on:{lockAndPublish:function(t){return e.$emit("lockAndPublish")}}}):e._e(),e._v(" "),n("div",{ref:"mmMeasurer",staticStyle:{height:"10mm",width:"10mm",left:"100%",position:"fixed",top:"100%"}})],1)},i.staticRenderFns=[],i._scopeId="data-v-db8eff3c"},{"../modals/ExportPagePubli.vue":226,"../subcomponents/PublicationDisplayButtons.vue":276,"../subcomponents/PublicationFooter.vue":277,"../subcomponents/PublicationHeader.vue":278,"./PagePublicationSinglePage.vue":240,"./SettingsPane.vue":241,"./subcomponents/PublicationButtons.vue":249}],240:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("../subcomponents/MediaPublication.vue"),o=(t=i)&&t.__esModule?t:{default:t};n.default={props:{mode:String,preview_mode:Boolean,slugPubliName:String,pageNumber:{type:Number,default:-1},page:Object,publication_medias:{type:Array,default:function(){return[]}},read_only:Boolean,pixelsPerMillimeters:Number,zoom:Number,publi_is_model:Boolean,model_for_this_publication:[Boolean,Object]},components:{MediaPublication:o.default},data:function(){return{}},created:function(){},mounted:function(){"single"===this.mode&&(document.addEventListener("keydown",this.captureKeyListener),this.$root.settings.current_publication.selected_medias=[],this.$root.settings.current_publication.accepted_media_type=["image","video","audio","text","stl","document","other"])},beforeDestroy:function(){"single"===this.mode&&(document.removeEventListener("keydown",this.captureKeyListener),this.$root.settings.current_publication.selected_medias=[],this.$root.settings.current_publication.accepted_media_type=[])},watch:{},computed:{customCSSVars:function(){return'--current-time-human: "'+this.$root.currentTime_human+'"'}},methods:{captureKeyListener:function(e){if(0!==this.$root.settings.current_publication.selected_medias.length&&!this.$root.settings.has_modal_opened&&"input"!==e.target.tagName.toLowerCase()&&"textarea"!==e.target.tagName.toLowerCase()&&!e.target.className.includes("ql-editor")){var t="",n="";"Backspace"===e.key||"Delete"===e.key?t="remove":"ArrowUp"===e.key?(t="move",n={x:0,y:-1}):"ArrowDown"===e.key?(t="move",n={x:0,y:1}):"ArrowLeft"===e.key?(t="move",n={x:-1,y:0}):"ArrowRight"===e.key&&(t="move",n={x:1,y:0}),t&&e.preventDefault(),this.$eventHub.$emit("publication.selected.triggerAction",{action:t,detail:n})}},setPageContainerProperties:function(e){if("print_publication"!==this.$root.state.mode){var t="\n transform: scale("+this.zoom+");\n transform-origin: left top;\n ";return"contact_sheet"===this.mode?t+"\n width: "+e.width*this.zoom+"mm;\n height: "+e.height*this.zoom+"mm;\n ":"single"===this.mode?t+"\n width: "+e.width+"mm;\n height: "+e.height+"mm;\n margin: 40px;\n padding: 40px "+140/this.zoom+"px "+100*this.zoom+"px "+240/this.zoom+"px; \n box-sizing: content-box;\n ":"export"===this.mode?t+"\n width: "+e.width+"mm;\n height: "+e.height+"mm;\n margin: 1em auto;\n ":t}},setPageProperties:function(e){return"print_publication"===this.$root.state.mode?"\n width: "+e.width+"mm;\n height: "+(e.height-1)+"mm;\n ":"\n width: "+e.width+"mm;\n height: "+e.height+"mm;\n "},removePubliMedia:function(e){var t=e.metaFileName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: removeMedia / slugMediaName = "+t),this.$root.removeMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:t})},editPubliMedia:function(e){var t=e.metaFileName,n=e.values;"debug"===this.$root.state.dev_mode&&console.log("METHODS • PagePublicationSinglePage: editPubliMedia / args = "+JSON.stringify(arguments[0],null,4)),this.$emit("editPubliMedia",{metaFileName:t,val:n})},duplicateMedia:function(e){var t=this,n=e.metaFileName;this.$root.copyMediaToFolder({type:"publications",from_slugFolderName:this.slugPubliName,to_slugFolderName:this.slugPubliName,slugMediaName:n}).then(function(e){var n=e.x?e.x+5:20,i=e.y?e.y+5:20,o=e.z_index?e.z_index+1:1;t.editPubliMedia({metaFileName:e.metaFileName,values:{x:n,y:i,z_index:o}}),t.$eventHub.$emit("publication.selectNewMedia",e.metaFileName)})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_publicationview--pages--pageContainer"},[n("div",{style:e.setPageContainerProperties(e.page),on:{mousedown:function(t){if(t.target!==t.currentTarget)return null;e.$root.settings.current_publication.selected_medias=[]},touchstart:function(t){if(t.target!==t.currentTarget)return null;e.$root.settings.current_publication.selected_medias=[]}}},[n("div",{staticClass:"m_page",style:e.setPageProperties(e.page),on:{mousedown:function(t){if(t.target!==t.currentTarget)return null;e.$root.settings.current_publication.selected_medias=[]},touchstart:function(t){if(t.target!==t.currentTarget)return null;e.$root.settings.current_publication.selected_medias=[]}}},[e.preview_mode?e._e():[e._l(["left","right","top","bottom"],function(t,i){return e.page["margin_"+t]>0?n("div",{key:i,staticClass:"m_page--margins_rule",class:["m_page--margins_rule_"+t],style:"--margin_"+t+": "+e.page["margin_"+t]+"mm"}):e._e()}),e._v(" "),e.page.gridstep&&e.page.gridstep>0&&!e.model_for_this_publication?n("div",{staticClass:"m_page--grid",style:"\n --gridstep: "+e.page.gridstep+"mm; \n --margin_left: "+e.page.margin_left+"mm; \n --margin_right: "+e.page.margin_right+"mm; \n --margin_top: "+e.page.margin_top+"mm; \n --margin_bottom: "+e.page.margin_bottom+"mm;\n --zoom: "+e.zoom+";\n "}):e._e()],e._v(" "),e.page.header_left||e.page.header_right?n("div",{staticClass:"m_page--header",style:e.customCSSVars},[n("div",[e._v(e._s(e.page.header_left))]),e._v(" "),n("div",[e._v(e._s(e.page.header_right))])]):e._e(),e._v(" "),e.pageNumber>=0&&(!e.page.hasOwnProperty("show_page_number")||e.page.show_page_number)?n("div",{staticClass:"m_page--pageNumber",class:{toRight:!0}},[e._v(e._s(e.pageNumber+1))]):e._e(),e._v(" "),0===e.publication_medias.length?n("div",{staticClass:"m_page--noMedia"},[["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)?e._e():[e._v(e._s(e.$t("no_media_on_this_page")))]],2):e._l(e.publication_medias,function(t){return n("div",{key:t.metaFileName},[n("transition",{attrs:{name:"MediaPublication",duration:500}},[n("div",[n("MediaPublication",{key:t.metaFileName,attrs:{page:e.page,mode:e.mode,media:t,preview_mode:e.preview_mode,read_only:e.read_only,pixelsPerMillimeters:e.pixelsPerMillimeters,zoom:e.zoom,publi_is_model:e.publi_is_model,model_for_this_publication:e.model_for_this_publication,slugPubliName:e.slugPubliName},on:{removePubliMedia:function(t){return e.removePubliMedia(t)},editPubliMedia:function(t){var n=t.metaFileName,i=t.values;return e.editPubliMedia({metaFileName:n,values:i})},duplicateMedia:function(t){return e.duplicateMedia(t)}}})],1)])],1)})],2)])])},i.staticRenderFns=[]},{"../subcomponents/MediaPublication.vue":269}],241:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e="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.default={props:{slugPubliName:String,publication:Object,publications_options:Object},components:{},data:function(){return{new_width:0,new_height:0,new_template:"",new_style:"",new_gridstep:0,new_snap_to_grid:!1,new_margin_left:0,new_margin_top:0,new_margin_right:0,new_margin_bottom:0,new_header_left:"",new_header_right:"",new_show_page_number:!1,active_tab:"header"}},created:function(){},mounted:function(){this.updatePubliOptionsInFields()},beforeDestroy:function(){},watch:{publications_options:{handler:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • Publication: publications_options"),this.updatePubliOptionsInFields(),document.getElementsByTagName("body")[0].style="\n --page-width: "+this.publications_options.width+"mm;\n --page-height: "+this.publications_options.height+"mm\n "},deep:!0}},computed:{page_format:{get:function(){return 210===this.new_width&&297===this.new_height?"A4_portrait":297===this.new_width&&210===this.new_height?"A4_landscape":148===this.new_width&&210===this.new_height?"A5_portrait":210===this.new_width&&148===this.new_height?"A5_landscape":"custom"},set:function(e){"A4_portrait"===e?this.setPropVal({width:210,height:297}):"A4_landscape"===e?this.setPropVal({width:297,height:210}):"A5_portrait"===e?this.setPropVal({width:148,height:210}):"A5_landscape"===e&&this.setPropVal({width:210,height:148})}}},methods:{updatePubliOptionsInFields:function(){this.new_width=this.publications_options.width,this.new_height=this.publications_options.height,this.new_template=this.publication.template,this.new_style=this.publications_options.style,this.new_gridstep=this.publications_options.gridstep,this.new_snap_to_grid=this.publications_options.snap_to_grid,this.new_margin_left=this.publications_options.margin_left,this.new_margin_right=this.publications_options.margin_right,this.new_margin_top=this.publications_options.margin_top,this.new_margin_bottom=this.publications_options.margin_bottom,this.new_header_left=this.publications_options.header_left,this.new_header_right=this.publications_options.header_right,this.new_show_page_number=this.publications_options.show_page_number},updatePublicationOption:function(t,n){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: updatePublicationOption with type = "+n+" and value = "+t);var i,o,r,a="";a="object"===(void 0===t?"undefined":e(t))?t.target.value:t,this.setPropVal((r=a,(o=n)in(i={})?Object.defineProperty(i,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[o]=r,i))},setPropVal:function(e){this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:e})},handleClick:function(e){this.currentTab=e}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"_settings_pane"},[n("nav",{staticClass:"_settings_pane--tabs"},[n("div",{staticClass:"tab"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.active_tab,expression:"active_tab"}],attrs:{type:"radio",id:"header",value:"header"},domProps:{checked:e._q(e.active_tab,"header")},on:{change:function(t){e.active_tab="header"}}}),e._v(" "),n("label",{attrs:{for:"header"}},[e._v(e._s(e.$t("header")))])]),e._v(" "),n("div",{staticClass:"tab"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.active_tab,expression:"active_tab"}],attrs:{type:"radio",id:"sizes",value:"sizes"},domProps:{checked:e._q(e.active_tab,"sizes")},on:{change:function(t){e.active_tab="sizes"}}}),e._v(" "),n("label",{attrs:{for:"sizes"}},[e._v(e._s(e.$t("sizes_and_margins")))])])]),e._v(" "),"header"===e.active_tab?n("div",{staticClass:"_settings_pane--content"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("header_left")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_header_left,expression:"new_header_left"}],staticClass:"input-large",attrs:{type:"text",readonly:e.read_only},domProps:{value:e.new_header_left},on:{change:function(t){return e.updatePublicationOption(t,"header_left")},input:function(t){t.target.composing||(e.new_header_left=t.target.value)}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("header_right")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_header_right,expression:"new_header_right"}],staticClass:"input-large",attrs:{type:"text",readonly:e.read_only},domProps:{value:e.new_header_right},on:{change:function(t){return e.updatePublicationOption(t,"header_right")},input:function(t){t.target.composing||(e.new_header_right=t.target.value)}}})]),e._v(" "),n("hr"),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",{attrs:{for:"show_page_number"}},[e._v(e._s(e.$t("show_page_numbers")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_show_page_number,expression:"new_show_page_number"}],attrs:{id:"show_page_number",type:"checkbox"},domProps:{checked:Array.isArray(e.new_show_page_number)?e._i(e.new_show_page_number,null)>-1:e.new_show_page_number},on:{change:[function(t){var n=e.new_show_page_number,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&(e.new_show_page_number=n.concat([null])):r>-1&&(e.new_show_page_number=n.slice(0,r).concat(n.slice(r+1)))}else e.new_show_page_number=o},function(t){return e.updatePublicationOption(e.new_show_page_number,"show_page_number")}]}})])]):e._e(),e._v(" "),"sizes"===e.active_tab?n("div",{staticClass:"_settings_pane--content"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("format")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.page_format,expression:"page_format"}],attrs:{name:"format",id:"format"},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.page_format=t.target.multiple?n:n[0]}}},[n("option",{attrs:{value:"custom"}},[e._v("\n "+e._s(e.$t("custom"))+"\n ")]),e._v(" "),n("option",{attrs:{value:"A4_portrait"}},[e._v("\n A4 "+e._s(e.$t("image_ratio_portrait"))+"\n ")]),e._v(" "),n("option",{attrs:{value:"A4_landscape"}},[e._v("\n A4 "+e._s(e.$t("image_ratio_landscape"))+"\n ")]),e._v(" "),n("option",{attrs:{value:"A5_portrait"}},[e._v("\n A5 "+e._s(e.$t("image_ratio_portrait"))+"\n ")]),e._v(" "),n("option",{attrs:{value:"A5_landscape"}},[e._v("\n A5 "+e._s(e.$t("image_ratio_landscape"))+"\n ")])])]),e._v(" "),n("hr"),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("width"))+"(mm)")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_width,expression:"new_width"}],attrs:{type:"number",min:"1",max:"1000",step:"1"},domProps:{value:e.new_width},on:{input:[function(t){t.target.composing||(e.new_width=t.target.value)},function(t){return e.updatePublicationOption(t,"width")}]}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("height"))+"(mm)")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_height,expression:"new_height"}],attrs:{type:"number",min:"1",max:"1000",step:"1"},domProps:{value:e.new_height},on:{input:[function(t){t.target.composing||(e.new_height=t.target.value)},function(t){return e.updatePublicationOption(t,"height")}]}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("gridstep"))+"(mm)")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_gridstep,expression:"new_gridstep"}],attrs:{type:"number",min:"1",max:"100",step:"1"},domProps:{value:e.new_gridstep},on:{input:[function(t){t.target.composing||(e.new_gridstep=t.target.value)},function(t){return e.updatePublicationOption(t,"gridstep")}]}}),e._v(" "),n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_snap_to_grid,expression:"new_snap_to_grid"}],staticClass:"switch",attrs:{type:"checkbox",id:"favFilter",readonly:e.read_only},domProps:{checked:Array.isArray(e.new_snap_to_grid)?e._i(e.new_snap_to_grid,null)>-1:e.new_snap_to_grid},on:{change:[function(t){var n=e.new_snap_to_grid,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&(e.new_snap_to_grid=n.concat([null])):r>-1&&(e.new_snap_to_grid=n.slice(0,r).concat(n.slice(r+1)))}else e.new_snap_to_grid=o},function(t){return e.updatePublicationOption(e.new_snap_to_grid,"snap_to_grid")}]}}),e._v(" "),n("label",{attrs:{for:"favFilter"}},[e._v(e._s(e.$t("snap_to_grid")))])])]),e._v(" "),n("hr"),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("margin_top"))+"(mm)")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_margin_top,expression:"new_margin_top"}],attrs:{type:"number",min:"0",max:"100",step:"1"},domProps:{value:e.new_margin_top},on:{input:[function(t){t.target.composing||(e.new_margin_top=t.target.value)},function(t){return e.updatePublicationOption(t,"margin_top")}]}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("margin_bottom"))+"(mm)")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_margin_bottom,expression:"new_margin_bottom"}],attrs:{type:"number",min:"0",max:"100",step:"1"},domProps:{value:e.new_margin_bottom},on:{input:[function(t){t.target.composing||(e.new_margin_bottom=t.target.value)},function(t){return e.updatePublicationOption(t,"margin_bottom")}]}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("margin_left"))+"(mm)")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_margin_left,expression:"new_margin_left"}],attrs:{type:"number",min:"0",max:"100",step:"1"},domProps:{value:e.new_margin_left},on:{input:[function(t){t.target.composing||(e.new_margin_left=t.target.value)},function(t){return e.updatePublicationOption(t,"margin_left")}]}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("margin_right"))+"(mm)")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_margin_right,expression:"new_margin_right"}],attrs:{type:"number",min:"0",max:"100",step:"1"},domProps:{value:e.new_margin_right},on:{input:[function(t){t.target.composing||(e.new_margin_right=t.target.value)},function(t){return e.updatePublicationOption(t,"margin_right")}]}})]),e._v(" "),n("hr")]):e._e()])},i.staticRenderFns=[],i._scopeId="data-v-34f4eb94"},{}],242:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=r(e("../subcomponents/PublicationHeader.vue")),i=r(e("../subcomponents/MediaMontagePublication.vue")),o=r(e("../modals/ExportStopmotionPubliModal.vue"));function r(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,medias_in_order:Array,read_only:Boolean},components:{PublicationHeader:t.default,MediaMontagePublication:i.default,ExportStopmotionPubliModal:o.default},data:function(){return{show_export_modal:!1}},created:function(){},mounted:function(){this.$root.settings.current_publication.accepted_media_type=["image"],this.$eventHub.$on("publication.addMedia",this.addMedia)},beforeDestroy:function(){this.$root.settings.current_publication.accepted_media_type=[],this.$eventHub.$off("publication.addMedia",this.addMedia)},watch:{},computed:{},methods:{addMedia:function(e){this.$emit("addMedia",e)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",staticClass:"m_publicationview",class:{"is--preview":e.preview_mode}},[n("PublicationHeader",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,medias:e.medias_in_order},on:{export:function(t){e.show_export_modal=!0},close:e.$root.closePublication}}),e._v(" "),e.show_export_modal?n("ExportStopmotionPubliModal",{attrs:{publication:e.publication,slugPubliName:e.slugPubliName},on:{close:function(t){e.show_export_modal=!1}}}):e._e(),e._v(" "),0===e.medias_in_order.length?n("div",{staticClass:"margin-medium"},[n("p",[n("small",{staticClass:"c-blanc",domProps:{innerHTML:e._s(e.$t("add_multiple_images"))}})])]):e._e(),e._v(" "),n("transition-group",{staticClass:"m_stopmotionAnimationPublication",attrs:{name:"slideFromTop",duration:300}},e._l(e.medias_in_order,function(t,i){return n("div",{key:t.metaFileName,staticClass:"m_stopmotionAnimationPublication--media"},[n("MediaMontagePublication",{attrs:{media:t,preview_mode:!1,read_only:e.read_only},on:{removePubliMedia:function(t){return e.$emit("removePubliMedia",t)},editPubliMedia:function(t){return e.$emit("editPubliMedia",t)},duplicateMedia:function(t){return e.$emit("duplicateMedia",t)}}}),e._v(" "),n("div",{staticClass:"m_stopmotionAnimationPublication--media--move"},[n("button",{staticClass:"m_stopmotionAnimationPublication--media--move--moveLeft",attrs:{type:"button",disabled:0===i},on:{click:function(n){return n.stopPropagation(),e.$emit("changeMediaOrder",{metaFileName:t.metaFileName,dir:-1})}}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 168 168"}},[n("path",{staticStyle:{fill:"currentColor"},attrs:{d:"M87.46,49.46,73.39,64.77a65.3,65.3,0,0,1-6.15,6.15A47.8,47.8,0,0,1,61,75.29H131.6V91.14H61A39.1,39.1,0,0,1,67,95.51q2.81,2.46,6.36,6.15L87.46,117,74.48,128,34.17,83.21,74.48,38.39Z"}})])]),e._v(" "),n("span",{},[n("select",{staticClass:"select-xs",domProps:{value:i+1},on:{change:function(n){return e.$emit("changeMediaOrder",{metaFileName:t.metaFileName,new_index_in_slugs:n.target.value-1})}}},e._l(e.medias_in_order.length,function(t){return n("option",{key:t,domProps:{innerHTML:e._s(t)}})}),0)]),e._v(" "),n("button",{staticClass:"m_stopmotionAnimationPublication--media--move--moveRight",attrs:{type:"button",disabled:i===e.medias_in_order.length-1},on:{click:function(n){return n.stopPropagation(),e.$emit("changeMediaOrder",{metaFileName:t.metaFileName,dir:1})}}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 168 168"}},[n("path",{staticStyle:{fill:"currentColor"},attrs:{d:"M87.46,49.46,73.39,64.77a65.3,65.3,0,0,1-6.15,6.15A47.8,47.8,0,0,1,61,75.29H131.6V91.14H61A39.1,39.1,0,0,1,67,95.51q2.81,2.46,6.36,6.15L87.46,117,74.48,128,34.17,83.21,74.48,38.39Z"}})])])])],1)}),0)],1)},i.staticRenderFns=[]},{"../modals/ExportStopmotionPubliModal.vue":227,"../subcomponents/MediaMontagePublication.vue":267,"../subcomponents/PublicationHeader.vue":278}],243:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=c(e("../subcomponents/PublicationHeader.vue")),i=c(e("../subcomponents/PublicationFooter.vue")),o=c(e("../subcomponents/PublicationDisplayButtons.vue")),r=c(e("../modals/ExportPagePubli.vue")),a=c(e("../subcomponents/MediaStory.vue")),s=c(e("../subcomponents/MediaPlaceholder.vue")),l=c(e("../subcomponents/InsertMediaButton.vue"));function c(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,medias_in_order:Array,can_edit_publi:Boolean,can_see_publi:Boolean,read_only:Boolean,preview_mode:Boolean,model_for_this_publication:[Boolean,Object]},components:{PublicationHeader:t.default,PublicationFooter:i.default,PublicationDisplayButtons:o.default,ExportPagePubli:r.default,MediaStory:a.default,MediaPlaceholder:s.default,InsertMediaButton:l.default},data:function(){return{show_export_modal:!1,show_media_options:!1,current_scroll:0}},created:function(){},mounted:function(){var e=this;this.$eventHub.$on("publication.addMedia",this.addMediaAtIndex),this.$root.settings.current_publication.accepted_media_type=["image","video","audio","text","stl","document","other"];!function t(){e.$refs.publi&&e.current_scroll!==e.$refs.publi.scrollTop&&(e.current_scroll=e.$refs.publi.scrollTop),setTimeout(t,400)}()},beforeDestroy:function(){this.$eventHub.$off("publication.addMedia",this.addMediaAtIndex),this.$root.settings.current_publication.accepted_media_type=[]},watch:{},computed:{index_currently_visible:function(){if(this.current_scroll,!this.$refs.publi)return 0;var e=this.$refs.publi.querySelectorAll(".m_insertMediaButton"),t=this.$refs.publi.firstElementChild,n=t.offsetHeight;if(n+=parseInt(window.getComputedStyle(t).getPropertyValue("margin-top")),n+=parseInt(window.getComputedStyle(t).getPropertyValue("margin-bottom")),this.current_scroll/(n-this.$refs.publi.offsetHeight)>.9)return e.length-1;var i=0,o=!0,r=!1,a=void 0;try{for(var s,l=e[Symbol.iterator]();!(o=(s=l.next()).done);o=!0){if(s.value.offsetTop>this.current_scroll+80)break;i++}}catch(e){r=!0,a=e}finally{try{!o&&l.return&&l.return()}finally{if(r)throw a}}return i},url_to_publi:function(){var e=this.$root.getURL();return!!e&&(e.pathname="_publications/survey/"+this.publication.slugFolderName,e)}},methods:{toggleTransition:function(e){var t=e.position,n=e.metaFileName;"debug"===this.$root.state.dev_mode&&console.log("METHODS • VideoPublication: toggleTransition for metaFileName = "+n+" and position = "+t),this.$emit("editPubliMedia",{metaFileName:n,val:val})},addMediaAtIndex:function(e){"debug"===this.$root.state.dev_mode&&console.log("Story • METHODS: addMediaAtIndex with this.index_currently_visible = "+this.index_currently_visible),0===this.index_currently_visible?e.in_position="start":this.index_currently_visible>0&&this.index_currently_visible<=this.medias_in_order.length&&(e.right_after_meta=this.medias_in_order[this.index_currently_visible-1].metaFileName),this.addMedia(e)},addMedia:function(e){this.$emit("addMedia",e)},mediaPosition:function(e){return 0===e?"first":e===this.medias_in_order.length-1?"last":""}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"m_publicationview",class:{"is--preview":e.preview_mode,"is--survey":"survey"===e.$root.store.request.display,"has--model":e.model_for_this_publication},on:{mousedown:function(t){if(t.target!==t.currentTarget)return null;e.$root.settings.current_publication.selected_medias=[]},touchstart:function(t){if(t.target!==t.currentTarget)return null;e.$root.settings.current_publication.selected_medias=[]}}},[e.show_export_modal?n("ExportPagePubli",{attrs:{publication:e.publication,slugPubliName:e.slugPubliName},on:{close:function(t){e.show_export_modal=!1}}}):e._e(),e._v(" "),"survey"!==e.$root.store.request.display?n("PublicationDisplayButtons",{attrs:{preview_mode:e.preview_mode},on:{togglePreviewMode:function(t){return e.$emit("togglePreviewMode")}}}):e._e(),e._v(" "),n("div",{ref:"publi",staticClass:"m_storyPublication",on:{mousedown:function(t){if(t.target!==t.currentTarget)return null;e.$root.settings.current_publication.selected_medias=[]},touchstart:function(t){if(t.target!==t.currentTarget)return null;e.$root.settings.current_publication.selected_medias=[]}}},[n("div",{staticClass:"m_storyPublication--content"},[n("PublicationHeader",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,medias:e.medias_in_order,url_to_publi:e.url_to_publi,model_for_this_publication:e.model_for_this_publication},on:{export:function(t){e.show_export_modal=!0},close:e.$root.closePublication}}),e._v(" "),n("div",{staticClass:"_story_insert_placeholders"},[!e.can_edit_publi||e.read_only||e.preview_mode||e.model_for_this_publication?e._e():n("InsertMediaButton",{attrs:{is_collapsed:!(!Array.isArray(e.publication.medias_slugs)||0===e.publication.medias_slugs.length),is_currently_active:0===e.index_currently_visible,slugPubliName:e.slugPubliName,publi_is_model:e.publication.is_model,read_only:e.read_only},on:{addMedia:function(t){return e.addMedia({values:t,in_position:"start"})},insertMedias:function(t){var n=t.metaFileNames;return e.$emit("insertMediasInList",{metaFileNames:n,in_position:"start"})}}})],1),e._v(" "),n("transition-group",{attrs:{tag:"div",name:"StoryModules",appear:"",duration:700}},[e._l(e.medias_in_order,function(t,i){return["placeholder"===t.type&&e.model_for_this_publication?n("MediaPlaceholder",{key:t.metaFileName,attrs:{model_placeholder_media:t,slugPubliName:e.slugPubliName,publi_is_model:e.publication.is_model,preview_mode:e.preview_mode,read_only:e.read_only||!e.can_edit_publi},on:{addMedia:function(t){return e.addMedia({values:t})},editPubliMedia:function(t){return e.$emit("editPubliMedia",t)}}}):n("MediaStory",{key:t.metaFileName,attrs:{media:t,media_position:e.mediaPosition(i),preview_mode:e.preview_mode,slugPubliName:e.model_for_this_publication?e.model_for_this_publication.slugFolderName:e.slugPubliName,read_only:e.read_only||!!e.model_for_this_publication},on:{removePubliMedia:function(t){return e.$emit("removePubliMedia",t)},changeMediaOrder:function(t){return e.$emit("changeMediaOrder",t)},editPubliMedia:function(t){return e.$emit("editPubliMedia",t)},duplicateMedia:function(t){return e.$emit("duplicateMedia",t)}}}),e._v(" "),n("div",{key:"insert_"+t.metaFileName,staticClass:"_story_insert_placeholders"},[!e.can_edit_publi||e.read_only||e.preview_mode||e.model_for_this_publication?e._e():n("InsertMediaButton",{attrs:{slugPubliName:e.slugPubliName,is_currently_active:e.index_currently_visible===i+1,publi_is_model:e.publication.is_model,read_only:e.read_only},on:{addMedia:function(n){return e.addMedia({values:n,right_after_meta:t.metaFileName})},insertMedias:function(n){var i=n.metaFileNames;return e.$emit("insertMediasInList",{metaFileNames:i,right_after_meta:t.metaFileName})}}})],1)]})],2),e._v(" "),n("PublicationFooter",{attrs:{publication:e.publication,url_to_publi:e.url_to_publi,model_for_this_publication:e.model_for_this_publication,can_edit_publi:e.can_edit_publi},on:{lockAndPublish:function(t){return e.$emit("lockAndPublish")}}})],1)])],1)},i.staticRenderFns=[]},{"../modals/ExportPagePubli.vue":226,"../subcomponents/InsertMediaButton.vue":263,"../subcomponents/MediaPlaceholder.vue":268,"../subcomponents/MediaStory.vue":271,"../subcomponents/PublicationDisplayButtons.vue":276,"../subcomponents/PublicationFooter.vue":277,"../subcomponents/PublicationHeader.vue":278}],244:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=r(e("../subcomponents/PublicationHeader.vue")),i=r(e("../subcomponents/MediaMontagePublication.vue")),o=r(e("../modals/ExportVideoPubliModal.vue"));function r(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,medias_in_order:Array,read_only:Boolean},components:{PublicationHeader:t.default,MediaMontagePublication:i.default,ExportVideoPubliModal:o.default},data:function(){return{show_export_modal:!1,number_of_medias_required:1}},created:function(){},mounted:function(){this.$eventHub.$on("publication.addMedia",this.addMedia)},beforeDestroy:function(){this.$eventHub.$off("publication.addMedia",this.addMedia)},watch:{medias_in_order:{handler:function(){var e=this;this.$root.settings.current_publication.accepted_media_type=this.required_media_type.filter(function(t){return!e.medias_in_order.some(function(e){return e._linked_media&&e._linked_media.type===t})})},immediate:!0}},computed:{effects:function(){return this.publication.effects&&Array.isArray(this.publication.effects)?this.publication.effects:[]},required_media_type:function(){return this.effects.length>0&&this.effects.some(function(e){return"watermark"===e.type})&&!this.watermark_media?["video","image"]:["video"]},export_button_enabled:function(){return!(!this.publication.effects||!Array.isArray(this.publication.effects)||0===this.publication.effects.length)},watermark_media:function(){return this.medias_in_order.find(function(e){return"image"===e._linked_media.type})},video_media:function(){return this.medias_in_order.find(function(e){return"video"===e._linked_media.type})}},methods:{getVideoMediaNewDuration:function(e){return this.$root.formatDurationToHoursMinutesSeconds(1e3*this.video_media._linked_media.duration/("custom"!==e.speed?e.speed:e.custom_speed))},setEffectType:function(e){var t=e.$event,n=e.id,i=t.target.value,o=this.publication.effects.map(function(e){return e.id===n&&e.type!==i&&(e.type=i,"colored_filter"===i?e.color="#FC4B60":"slow_down"===i?(e.speed=.75,e.custom_speed=.6):"speed_up"===i?(e.speed=1.5,e.custom_speed=6):"rotate"===i?e.rotation=1:"mirror"===i&&(e.flip="vflip")),e});this.$emit("editPubliFolder",{val:{effects:o}})},setEffectProp:function(e){var t=e.$event,n=e.id,i=e.prop,o=t.target.value,r=this.publication.effects.map(function(e){return e.id===n&&e[i]!==o&&(e[i]=o),e});this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{effects:r}})},addMedia:function(e){this.$emit("addMedia",e)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",staticClass:"m_publicationview",class:{"is--preview":e.preview_mode}},[n("PublicationHeader",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,medias:e.medias_in_order,enable_export_button:e.export_button_enabled},on:{export:function(t){e.show_export_modal=!0},close:e.$root.closePublication}}),e._v(" "),e.show_export_modal?n("ExportVideoPubliModal",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,instructions:e.$t("export_video_instructions")},on:{close:function(t){e.show_export_modal=!1}}}):e._e(),e._v(" "),n("div",{staticClass:"m_videoEffects"},[e.video_media?[n("div",{staticClass:"m_videoEffects--options"},e._l(e.effects,function(t,i){return n("div",{key:i,staticClass:"m_videoEffects--options--effect"},[n("label",{staticClass:"c-white"},[e._v(e._s(e.$t("effect")))]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("select",{domProps:{value:t.type},on:{change:function(n){return e.setEffectType({$event:n,id:t.id})}}},[n("option",{attrs:{value:""}},[e._v("—")]),e._v(" "),n("option",{attrs:{value:"watermark"}},[e._v(e._s(e.$t("watermark"))+"…")]),e._v(" "),n("option",{attrs:{value:"black_and_white"}},[e._v("\n "+e._s(e.$t("black_and_white"))+"\n ")]),e._v(" "),n("option",{attrs:{value:"colored_filter"}},[e._v("\n "+e._s(e.$t("colored_filter"))+"…\n ")]),e._v(" "),n("option",{attrs:{value:"slow_down"}},[e._v(e._s(e.$t("slow_down"))+"…")]),e._v(" "),n("option",{attrs:{value:"speed_up"}},[e._v(e._s(e.$t("speed_up"))+"…")]),e._v(" "),n("option",{attrs:{value:"reverse"}},[e._v(e._s(e.$t("reverse")))]),e._v(" "),n("option",{attrs:{value:"rotate"}},[e._v(e._s(e.$t("rotate"))+"…")]),e._v(" "),n("option",{attrs:{value:"mirror"}},[e._v(e._s(e.$t("mirror")))])])]),e._v(" "),"watermark"===t.type?n("div",{key:"watermark",staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("image")))]),e._v(" "),e.watermark_media?n("div",{staticClass:"_watermark_media"},[n("MediaMontagePublication",{attrs:{available_buttons:["remove"],media:e.watermark_media,preview_mode:!1,read_only:e.read_only},on:{removePubliMedia:function(t){return e.$emit("removePubliMedia",t)}}})],1):n("div",[n("small",[e._v(e._s(e.$t("watermark_instructions")))])])]):e._e(),e._v(" "),"colored_filter"===t.type?n("div",{key:"colored_filter",staticClass:"margin-bottom-small"},[n("label",[e._v("\n "+e._s(e.$t("filters_color"))+"\n "),n("input",{attrs:{type:"color"},domProps:{value:t.color},on:{change:function(n){return e.setEffectProp({$event:n,id:t.id,prop:"color"})}}})])]):"slow_down"===t.type?n("div",{key:"slow_down",staticClass:"margin-bottom-small"},[n("select",{domProps:{value:t.speed},on:{change:function(n){return e.setEffectProp({$event:n,id:t.id,prop:"speed"})}}},[n("option",{attrs:{value:"0.75"}},[e._v(e._s(e.$t("a_little").toLowerCase()))]),e._v(" "),n("option",{attrs:{value:"0.5"}},[e._v(e._s(e.$t("a_lot").toLowerCase()))]),e._v(" "),n("option",{attrs:{value:"custom"}},[e._v(e._s(e.$t("custom").toLowerCase()))])]),e._v(" "),"custom"===t.speed?n("input",{attrs:{type:"number",min:"0.1",max:"1",step:"0.1"},domProps:{value:t.custom_speed},on:{change:function(n){return e.setEffectProp({$event:n,id:t.id,prop:"custom_speed"})}}}):e._e(),e._v(" "),n("div",{staticClass:"ta-ri"},[n("small",[e._v("\n ×\n "+e._s("custom"!==t.speed?t.speed:t.custom_speed)+"\n ")])]),e._v(" "),e.video_media&&e.video_media._linked_media.duration?n("div",[n("hr"),e._v(" "),n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("duration")))]),e._v(" "),n("div",[e._v("\n "+e._s(e.$root.formatDurationToHoursMinutesSeconds(1e3*e.video_media._linked_media.duration))+"\n ")])]),e._v(" "),n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("new_duration")))]),e._v(" "),n("div",[e._v(e._s(e.getVideoMediaNewDuration(t)))])])]):e._e(),e._v(" "),n("div",["custom"===t.speed&&t.custom_speed<.5?n("small",[e._v(e._s(e.$t("slowing_video_down_limit")))]):e._e()])]):"speed_up"===t.type?n("div",{key:"speed_up",staticClass:"margin-bottom-small ta-ri"},[n("select",{domProps:{value:t.speed},on:{change:function(n){return e.setEffectProp({$event:n,id:t.id,prop:"speed"})}}},[n("option",{attrs:{value:"1.5"}},[e._v(e._s(e.$t("a_little").toLowerCase()))]),e._v(" "),n("option",{attrs:{value:"4"}},[e._v(e._s(e.$t("a_lot").toLowerCase()))]),e._v(" "),n("option",{attrs:{value:"custom"}},[e._v(e._s(e.$t("custom").toLowerCase()))])]),e._v(" "),"custom"===t.speed?n("input",{attrs:{type:"number",min:"1",max:"100",step:"0.1"},domProps:{value:t.custom_speed},on:{change:function(n){return e.setEffectProp({$event:n,id:t.id,prop:"custom_speed"})}}}):e._e(),e._v(" "),n("div",{staticClass:"ta-ri"},[n("small",[e._v("\n ×\n "+e._s("custom"!==t.speed?t.speed:t.custom_speed)+"\n ")])]),e._v(" "),e.video_media&&e.video_media._linked_media.duration?n("div",[n("hr"),e._v(" "),n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("duration")))]),e._v(" "),n("div",[e._v("\n "+e._s(e.$root.formatDurationToHoursMinutesSeconds(1e3*e.video_media._linked_media.duration))+"\n ")])]),e._v(" "),n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("new_duration")))]),e._v(" "),n("div",[e._v(e._s(e.getVideoMediaNewDuration(t)))])])]):e._e()]):"rotate"===t.type?n("div",{key:"rotate",staticClass:"margin-bottom-small ta-ri"},[n("select",{domProps:{value:t.rotation},on:{change:function(n){return e.setEffectProp({$event:n,id:t.id,prop:"rotation"})}}},[n("option",{domProps:{value:1}},[e._v(e._s(e.$t("clockwise").toLowerCase()))]),e._v(" "),n("option",{domProps:{value:2}},[e._v("\n "+e._s(e.$t("counterclockwise").toLowerCase())+"\n ")])])]):"mirror"===t.type?n("div",{key:"mirror",staticClass:"margin-bottom-small ta-ri"},[n("select",{domProps:{value:t.flip},on:{change:function(n){return e.setEffectProp({$event:n,id:t.id,prop:"flip"})}}},[n("option",{attrs:{value:"vflip"}},[e._v("\n "+e._s(e.$t("vertical_flip").toLowerCase())+"\n ")]),e._v(" "),n("option",{attrs:{value:"hflip"}},[e._v("\n "+e._s(e.$t("horizontal_flip").toLowerCase())+"\n ")]),e._v(" "),n("option",{attrs:{value:"hflip, vflip"}},[e._v("\n "+e._s(e.$t("both").toLowerCase())+"\n ")])])]):e._e()])}),0),e._v(" "),n("div",{staticClass:"m_videoEffects--media"},[n("MediaMontagePublication",{attrs:{available_buttons:["remove"],media:e.video_media,preview_mode:!1,read_only:e.read_only,enable_set_video_volume:!0},on:{removePubliMedia:function(t){return e.$emit("removePubliMedia",t)},editPubliMedia:function(t){return e.$emit("editPubliMedia",t)}}})],1)]:n("div",{},[n("p",[n("small",{staticClass:"c-blanc",domProps:{innerHTML:e._s(e.$t("add_one_video_file"))}})])])],2)],1)},i.staticRenderFns=[]},{"../modals/ExportVideoPubliModal.vue":228,"../subcomponents/MediaMontagePublication.vue":267,"../subcomponents/PublicationHeader.vue":278}],245:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=r(e("../subcomponents/PublicationHeader.vue")),i=r(e("../subcomponents/MediaMontagePublication.vue")),o=r(e("../modals/ExportVideoPubliModal.vue"));function r(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,medias_in_order:Array,read_only:Boolean,preview_mode:Boolean},components:{PublicationHeader:t.default,MediaMontagePublication:i.default,ExportVideoPubliModal:o.default},data:function(){return{show_export_modal:!1}},created:function(){},mounted:function(){this.$eventHub.$on("publication.addMedia",this.addMedia),this.$root.settings.current_publication.accepted_media_type=["video","image"]},beforeDestroy:function(){this.$eventHub.$off("publication.addMedia",this.addMedia),this.$root.settings.current_publication.accepted_media_type=[]},watch:{},computed:{},methods:{toggleTransition:function(e){var t=e.position,n=e.metaFileName;console.log("METHODS • VideoPublication: toggleTransition for metaFileName = "+n+" and position = "+t);var i={},o=this.medias_in_order.find(function(e){return e.metaFileName===n});o.hasOwnProperty(t)&&"fade"===o[t]?i[t]="none":i[t]="fade",this.$emit("editPubliMedia",{metaFileName:n,val:i})},addMedia:function(e){this.$emit("addMedia",e)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",staticClass:"m_publicationview",class:{"is--preview":e.preview_mode}},[n("PublicationHeader",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,medias:e.medias_in_order},on:{export:function(t){e.show_export_modal=!0},close:e.$root.closePublication}}),e._v(" "),e.show_export_modal?n("ExportVideoPubliModal",{attrs:{slugPubliName:e.slugPubliName,publication:e.publication,instructions:e.$t("export_video_instructions")},on:{close:function(t){e.show_export_modal=!1}}}):e._e(),e._v(" "),n("div",{staticClass:"m_videoPublication"},[0===e.medias_in_order.length?n("div",{staticClass:"margin-medium"},[n("p",[n("small",{staticClass:"c-blanc",domProps:{innerHTML:e._s(e.$t("add_multiple_videos_files"))}})])]):e._e(),e._v(" "),n("transition-group",{attrs:{name:"list-complete",duration:300}},e._l(e.medias_in_order,function(t,i){return n("div",{key:t.metaFileName},[n("div",{staticClass:"switch switch-xs m_videoPublication--transitionToggle"},[n("input",{staticClass:"switch",attrs:{id:"transition_in_"+t.metaFileName,type:"checkbox",disabled:e.read_only||e.preview_mode},domProps:{checked:"fade"===t.transition_in},on:{change:function(n){return e.toggleTransition({position:"transition_in",metaFileName:t.metaFileName})}}}),e._v(" "),n("label",{attrs:{for:"transition_in_"+t.metaFileName}},[e._v(e._s(e.$t("transition_fade")))]),e._v(" "),"solid_color"===t.type||e.read_only||e.preview_mode?e._e():n("button",{staticClass:"m_videoPublication--addSolidColor buttonLink bg-noir",attrs:{type:"button"},on:{click:function(n){return e.addMedia({values:{type:"solid_color"},right_before_meta:t.metaFileName})}}},[e._v("\n "+e._s(e.$t("add_solid_color"))+"\n ")])]),e._v(" "),n("div",{staticClass:"m_videoPublication--media",attrs:{"data-type":t.type}},[n("MediaMontagePublication",{attrs:{media:t,preview_mode:e.preview_mode,read_only:e.read_only,enable_image_timer:!0,enable_set_video_volume:!0},on:{removePubliMedia:function(t){return e.$emit("removePubliMedia",t)},duplicateMedia:function(t){return e.$emit("duplicateMedia",t)},editPubliMedia:function(t){return e.$emit("editPubliMedia",t)}}}),e._v(" "),n("span",{staticClass:"m_videoPublication--media--mediaNumber"},[e._v(e._s(i+1))]),e._v(" "),e.read_only||e.preview_mode?e._e():n("div",{staticClass:"m_videoPublication--media--moveItemButtons"},[n("button",{directives:[{name:"show",rawName:"v-show",value:i>0,expression:"index > 0"}],staticClass:"m_videoPublication--media--moveItemButton--before",attrs:{type:"button"},on:{click:function(n){return e.$emit("changeMediaOrder",{metaFileName:t.metaFileName,dir:-1})}}},[n("img",{attrs:{src:"/images/i_arrow_left.svg",draggable:"false"}})]),e._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:i<e.medias_in_order.length-1,expression:"index < medias_in_order.length - 1"}],staticClass:"m_videoPublication--media--moveItemButton--after",attrs:{type:"button"},on:{click:function(n){return e.$emit("changeMediaOrder",{metaFileName:t.metaFileName,dir:1})}}},[n("img",{attrs:{src:"/images/i_arrow_right.svg",draggable:"false"}})])])],1),e._v(" "),i===e.medias_in_order.length-1?n("div",{staticClass:"switch switch-xs m_videoPublication--transitionToggle margin-bottom-medium"},[n("input",{staticClass:"switch",attrs:{id:"transition_out_"+t.metaFileName,type:"checkbox",disabled:e.read_only||e.preview_mode},domProps:{checked:"fade"===t.transition_out},on:{change:function(n){return e.toggleTransition({position:"transition_out",metaFileName:t.metaFileName})}}}),e._v(" "),n("label",{attrs:{for:"transition_out_"+t.metaFileName}},[e._v("\n "+e._s(e.$t("transition_fade"))+"\n ")]),e._v(" "),e.read_only||e.preview_mode?e._e():n("button",{staticClass:"m_videoPublication--addSolidColor buttonLink bg-noir",attrs:{type:"button"},on:{click:function(t){return e.addMedia({values:{type:"solid_color"}})}}},[e._v("\n "+e._s(e.$t("add_solid_color"))+"\n ")])]):e._e()])}),0)],1),e._v(" "),e._m(0)],1)},i.staticRenderFns=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("div")])}]},{"../modals/ExportVideoPubliModal.vue":228,"../subcomponents/MediaMontagePublication.vue":267,"../subcomponents/PublicationHeader.vue":278}],246:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{slugPubliName:String,pixelsPerMillimeters:Number,layer_options:Object,media:Object,is_active:Boolean,zoom:Number},components:{},data:function(){return{canvas:void 0,new_line:void 0,isDown:!1,drawing_options:{mode:"drawing",width:4,color:"#000000"}}},created:function(){},mounted:function(){var e=this;this.$nextTick(function(){e.startCanvas()}),this.$eventHub.$on("updateDrawingOptions",this.updateDrawingOptions)},beforeDestroy:function(){this.$eventHub.$off("remove_selection",this.removeSelection),document.removeEventListener("keyup",this.captureKeyListener)},watch:{"media.canvas_information":function(){if("debug"===this.$root.state.dev_mode&&console.log("WATCH • DrawingLayer: media.canvas_information"),!this.canvas)return!1;this.canvas.loadFromJSON(JSON.parse(this.media.canvas_information))},layer_options:{handler:function(){if("debug"===this.$root.state.dev_mode&&console.log("WATCH • DrawingLayer: layer_options"),!this.canvas)return!1;this.canvas.renderAll(),this.setDrawingOptions()},deep:!0}},computed:{},methods:{updateDrawingOptions:function(e){if("debug"===this.$root.state.dev_mode&&console.log("METHODS • DrawingLayer: updateDrawingOptions"),Object.assign(this.drawing_options,e),!this.canvas)return!1;this.setDrawingOptions()},setPageContainerProperties:function(e){if("print_publication"!==this.$root.state.mode)return"\n transform: scale("+this.zoom+");\n transform-origin: left top;\n "+"\n width: "+e.width+"mm;\n height: "+e.height+"mm;\n margin: 40px;\n padding: 40px "+140/this.zoom+"px "+100*this.zoom+"px "+240/this.zoom+"px; \n box-sizing: content-box;\n "},setPageProperties:function(e){return"print_publication"===this.$root.state.mode?"\n width: "+e.width+"mm;\n height: "+(e.height-1)+"mm;\n ":"\n width: "+e.width+"mm;\n height: "+e.height+"mm;\n "},startCanvas:function(){var e=this;if(this.$refs.canvas){var t="export_publication"===this.$root.state.mode?"./_libs/fabric.min.js":"/libs/fabric.min.js";this.$loadScript(t).then(function(){return new Promise(function(e){setTimeout(function(){e()},500)})}).then(function(){document.addEventListener("keyup",e.captureKeyListener),e.$eventHub.$on("remove_selection",e.removeSelection),e.canvas=new fabric.Canvas(e.$refs.canvas,{enableRetinaScaling:!0}),e.media.hasOwnProperty("canvas_information")&&""!==e.media.canvas_information&&e.canvas.loadFromJSON(JSON.parse(e.media.canvas_information)),e.setDrawingOptions(),e.canvas.on("mouse:down",function(t){e.isDown=!0;var n=e.canvas.getPointer(t.e);n.x,n.y,n.x,n.y}),e.canvas.on("mouse:move",function(t){if(e.isDown){e.canvas.getPointer(t.e);"drawing"===e.drawing_options.mode&&e.canvas.renderAll()}}),e.canvas.on("mouse:up",function(t){e.isDown&&(e.isDown=!1,"drawing"===e.drawing_options.mode&&e.updateLinksList(),t.target&&e.updateLinksList())})})}else setTimeout(function(){e.startCanvas()},1e3)},captureKeyListener:function(e){!this.is_active||"select"!==this.drawing_options.mode||"Backspace"!==e.key&&"Delete"!==e.key||(this.removeSelection(),e.stopPropagation())},setDrawingOptions:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("METHODS • DrawingLayer: setDrawingOptions"),this.canvas.selection="select"===this.drawing_options.mode,this.canvas.forEachObject(function(t){t.evented="select"===e.drawing_options.mode}),"drawing"===this.drawing_options.mode&&(this.canvas.defaultCursor="Handwriting"),this.canvas.isDrawingMode="drawing"===this.drawing_options.mode,this.canvas.freeDrawingBrush.width=this.drawing_options.width,this.canvas.freeDrawingBrush.color=this.drawing_options.color},removeSelection:function(){var e=this;this.canvas.getActiveObjects().forEach(function(t){e.canvas.remove(t)}),this.canvas.discardActiveObject().renderAll(),this.updateLinksList()},updateLinksList:function(){if("debug"===this.$root.state.dev_mode&&console.log("METHODS • DrawingLayer: updateLinksList"),!["export_publication","print_publication","link_publication"].includes(this.$root.state.mode)){var e=JSON.stringify(this.canvas.toJSON());this.$root.editMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:this.media.metaFileName,data:{canvas_information:e}})}}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_drawingLayer",style:e.setPageContainerProperties(e.layer_options)},[n("div",{staticClass:"m_drawingLayer--content",style:e.setPageProperties(e.layer_options)},[e.layer_options.width*e.pixelsPerMillimeters>0?n("canvas",{ref:"canvas",attrs:{width:e.layer_options.width*e.pixelsPerMillimeters+"px",height:e.layer_options.height*e.pixelsPerMillimeters+"px"}}):e._e()])])},i.staticRenderFns=[]},{}],247:[function(e,t,n){e("vueify/lib/insert-css").insert(".m_layerOptions[data-v-6b215571]{padding:calc(var(--spacing) / 4)}");!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("./PublicationButtons.vue"),o=(t=i)&&t.__esModule?t:{default:t};n.default={props:{current_layer:Object,layer_medias:Array,slugPubliName:String},components:{PublicationButtons:o.default},data:function(){return{drawing_options:{color:this.current_layer.hasOwnProperty("color")?this.current_layer.color:"#000000",mode:this.current_layer.hasOwnProperty("mode")?this.current_layer.mode:"drawing"}}},created:function(){this.$eventHub.$emit("updateDrawingOptions",this.drawing_options)},mounted:function(){},beforeDestroy:function(){},watch:{drawing_options:{handler:function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • DrawingLayer: drawing_options"),this.$emit("updateDrawingOptions",this.drawing_options),this.$eventHub.$emit("updateDrawingOptions",this.drawing_options)},deep:!0}},computed:{},methods:{removeLayer:function(){this.$emit("removeLayer")},createPubliMedia:function(e){var t=this;this.$eventHub.$emit("publication.addMedia",{values:e}),this.$eventHub.$once("publication.just_added_media",function(n){var i=n.mdata;"text"===e.type&&t.$eventHub.$emit("publication.set_media_to_edit_mode",i.metaFileName)})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_layerOptions"},[n("div",{staticClass:"m_layerOptions--topbar"},[n("div",{staticClass:"m_layerOptions--topbar--layerName"},[e._v("\n "+e._s(e.current_layer.name)+"\n ")]),e._v(" "),n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],staticClass:"buttonLink _no_underline",attrs:{type:"button",content:e.$t("remove_layer")},on:{click:function(t){return t.stopPropagation(),e.removeLayer(t)}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("path",{attrs:{d:"M91.6,17H62.9V0H28.7v17H0v9.4h11.3V95h69V26.4h11.3V17z M64.4,69.4L57.8,76l-12-12l-12,12l-6.6-6.6l12-12\n l-12-12l6.6-6.6l12,12l12-12l6.6,6.6l-12,12L64.4,69.4z M38.1,9.4h15.3V17H38.1V9.4z"}})])])]),e._v(" "),n("div",{staticClass:"m_layerOptions--content"},["drawing"===e.current_layer.type?n("div",[e._l(["drawing","select"],function(t){return n("div",{key:t},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.drawing_options.mode,expression:"drawing_options.mode"}],attrs:{type:"radio",id:t,name:t},domProps:{value:t,checked:e._q(e.drawing_options.mode,t)},on:{change:function(n){return e.$set(e.drawing_options,"mode",t)}}}),e._v(" "),n("label",{attrs:{for:t}},[n("span",[e._v(e._s(e.$t(t)))])])])}),e._v(" "),"select"===e.drawing_options.mode?n("div",[n("button",{staticClass:"buttonLink _no_underline",attrs:{type:"button"},on:{click:function(t){return t.stopPropagation(),e.$eventHub.$emit("remove_selection")}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("path",{attrs:{d:"M91.6,17H62.9V0H28.7v17H0v9.4h11.3V95h69V26.4h11.3V17z M64.4,69.4L57.8,76l-12-12l-12,12l-6.6-6.6l12-12\n l-12-12l6.6-6.6l12,12l12-12l6.6,6.6l-12,12L64.4,69.4z M38.1,9.4h15.3V17H38.1V9.4z"}})]),e._v("\n "+e._s(e.$t("remove_selection"))+"\n ")])]):e._e(),e._v(" "),"drawing"===e.drawing_options.mode?n("div",[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.drawing_options.color,expression:"drawing_options.color"}],attrs:{type:"color"},domProps:{value:e.drawing_options.color},on:{input:function(t){t.target.composing||e.$set(e.drawing_options,"color",t.target.value)}}}),e._v("\n Couleur\n ")])]):e._e()],2):"medias"===e.current_layer.type?n("div",[n("PublicationButtons",{attrs:{preview_mode:e.preview_mode,page_medias:e.layer_medias,slugPubliName:e.slugPubliName},on:{addMedia:e.createPubliMedia}})],1):e._e()])])},i.staticRenderFns=[],i._scopeId="data-v-6b215571"},{"./PublicationButtons.vue":249,"vueify/lib/insert-css":182}],248:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("./LayerOptions.vue"),o=(t=i)&&t.__esModule?t:{default:t},r=e("vue-slicksort");n.default={props:{layers:Array,preview_mode:Boolean,layered_medias:Object,slugPubliName:String,publication:Object},components:{LayerOptions:o.default,SlickItem:r.SlickItem,SlickList:r.SlickList},directives:{handle:r.HandleDirective},data:function(){return{show_create_layer_modal:!1,new_layer_name:"",new_layer_type:"drawing",show_layers:!0}},created:function(){},mounted:function(){this.$root.settings.current_publication.layer_id=!1,this.sorted_layers.length>0&&this.toggleActiveLayer(this.sorted_layers[0].id)},beforeDestroy:function(){this.$root.settings.current_publication.layer_id=!1,this.$root.settings.current_publication.accepted_media_type=[]},watch:{"$root.settings.current_publication.layer_id":function(){"debug"===this.$root.state.dev_mode&&console.log("WATCH • LayerPanel: $root.settings.current_publication.layer_id"),this.current_layer&&"medias"===this.current_layer.type?this.$root.settings.current_publication.accepted_media_type=["image","video","audio","text","document","other"]:this.$root.settings.current_publication.accepted_media_type=[]},show_create_layer_modal:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("WATCH • LayerPanel: show_create_layer_modal"),this.show_create_layer_modal&&this.$nextTick(function(){e.$refs.newLayerInputName.focus()})}},computed:{sorted_layers:{get:function(){return this.layers.slice().reverse()},set:function(e){var t=e.reverse();this.layers=t,this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{layers:t}})}},current_layer:function(){var e=this;return!(!this.$root.settings.current_publication.layer_id||!Array.isArray(this.publication.layers))&&this.publication.layers.find(function(t){return t.id===e.$root.settings.current_publication.layer_id})}},methods:{toggleActiveLayer:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • LayerPanel: toggleActiveLayer with id = "+e),e===this.$root.settings.current_publication.layer_id?this.$root.settings.current_publication.layer_id=!1:this.$root.settings.current_publication.layer_id=e},mediasFromLayer:function(e){return this.layered_medias.hasOwnProperty(e)?[]:this.layered_medias[e]},updateLayerColor:function(e){var t=e.$event,n=e.id,i=t.target.value,o=this.publication.layers.map(function(e){return e.id===n&&(e.color=i),e});this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{layers:o}})},createLayer:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("METHODS • LayerPanel: createLayer");var t=[];this.publication.hasOwnProperty("layers")&&this.publication.layers.length>0&&(t=this.publication.layers.slice());var n=this.publication.layers.length+1,i=this.generateID();t.splice(n,0,{type:this.new_layer_type,name:this.new_layer_name,id:i,color:"#000000"}),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{layers:t}}),this.$eventHub.$once("socketio.publications.folder_listed",function(){return e.toggleActiveLayer(i)}),"drawing"===this.new_layer_type&&this.$root.createMedia({slugFolderName:this.slugPubliName,type:"publications",additionalMeta:{layer_id:i,canvas_information:""}}),this.new_layer_type="medias",this.new_layer_name="",this.show_create_layer_modal=!1},generateID:function(){return+new Date+"_"+(Math.random().toString(36)+"00000000000000000").slice(2,3)},updateDrawingOptions:function(e){if("debug"===this.$root.state.dev_mode&&console.log("METHODS • LayerPanel: updateDrawingOptions"),this.publication.hasOwnProperty("layers")&&0!==this.publication.layers.length){var t=JSON.parse(JSON.stringify(this.publication.layers)),n=this.current_layer.id;t=t.map(function(t){return t.id===n&&Object.assign(t,e),t}),this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{layers:t}})}},removeLayer:function(){var e=this;if("debug"===this.$root.state.dev_mode&&console.log("METHODS • LayerPanel: removeLayer"),this.publication.hasOwnProperty("layers")&&0!==this.publication.layers.length){var t=this.current_layer.id,n=this.publication.layers.filter(function(e){return e.id!==t});this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemoveLayer"),function(){t===e.$root.settings.current_publication.layer_id&&(e.$root.settings.current_publication.layer_id=!1),e.$root.editFolder({type:"publications",slugFolderName:e.slugPubliName,data:{layers:n}})},function(){})}}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_layerPanel"},[n("div",{staticClass:"m_layerPanel--layerList"},[n("div",{staticClass:"m_layerPanel--layerList--topbar"},[e.show_create_layer_modal?n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){e.show_create_layer_modal=!1}}},[e._v("\n "+e._s(e.$t("cancel"))+"\n ")]):n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle padding-verysmall",class:{"is--active":e.show_layers},attrs:{type:"button"},on:{click:function(t){e.show_layers=!e.show_layers}}},[e._v("\n "+e._s(e.$t("layers"))+"\n "),e.layers.length>0?[e._v("– "+e._s(e.layers.length))]:e._e()],2)]),e._v(" "),e.show_layers?n("button",{staticClass:"buttonLink",class:{"is--active":e.show_create_layer_modal},attrs:{type:"button"},on:{click:function(t){e.show_create_layer_modal=!e.show_create_layer_modal}}},[e._v("\n "+e._s(e.$t("create"))+"\n ")]):e._e()]),e._v(" "),e.show_create_layer_modal?n("form",{staticClass:"m_layerPanel--layerList--createLayer padding-verysmall",on:{submit:function(t){return t.preventDefault(),e.createLayer(t)}}},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("layer_name")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.new_layer_name,expression:"new_layer_name"}],ref:"newLayerInputName",attrs:{type:"text",required:"",autofocus:""},domProps:{value:e.new_layer_name},on:{input:function(t){t.target.composing||(e.new_layer_name=t.target.value)}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("layer_type")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.new_layer_type,expression:"new_layer_type"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.new_layer_type=t.target.multiple?n:n[0]}}},[n("option",{attrs:{value:"drawing"}},[e._v(e._s(e.$t("drawing")))]),e._v(" "),n("option",{attrs:{value:"medias"}},[e._v(e._s(e.$t("medias")))])]),e._v(" "),n("small",["drawing"===e.new_layer_type?[e._v("\n "+e._s(e.$t("drawing_layer_instructions"))+"\n ")]:"medias"===e.new_layer_type?[e._v("\n "+e._s(e.$t("medias_layer_instructions"))+"\n ")]:e._e()],2)]),e._v(" "),n("input",{staticClass:"button button-bg_rounded bg-bleuvert margin-top-small",attrs:{type:"submit",disabled:!e.new_layer_name}})]):e.show_layers?n("SlickList",{attrs:{lockAxis:"y",axis:"y",useDragHandle:!0},model:{value:e.sorted_layers,callback:function(t){e.sorted_layers=t},expression:"sorted_layers"}},e._l(e.sorted_layers,function(t,i){return n("SlickItem",{key:t.id,staticStyle:{"z-index":"1"},attrs:{index:i}},[n("div",{staticClass:"m_layerPanel--layerList--layer",class:{"is--active":t.id===e.$root.settings.current_publication.layer_id},on:{click:function(n){return e.toggleActiveLayer(t.id)}}},[n("div",{staticClass:"_vignette",class:["_vignette_"+t.type]},["drawing"===t.type?n("input",{attrs:{type:"color"},domProps:{value:t.color},on:{click:function(n){n.stopPropagation(),e.$root.settings.current_publication.layer_id=t.id},change:function(n){return e.updateLayerColor({$event:n,id:t.id})}}}):e._e()]),e._v(" "),n("div",{},[n("span",{staticClass:"text-ellipsis"},[e._v(e._s(t.name))]),e._v(" "),n("br"),e._v(" "),n("span",{staticClass:"label"},["drawing"===t.type?[e._v("\n "+e._s(e.$t("drawing"))+"\n ")]:e._e(),e._v(" "),"medias"===t.type?[e.mediasFromLayer(t.id)?[1===e.mediasFromLayer(t.id).length?[e._v("\n "+e._s(e.mediasFromLayer(t.id).length+" "+e.$t("media").toLowerCase())+"\n ")]:[e._v("\n "+e._s(e.mediasFromLayer(t.id).length+" "+e.$t("medias").toLowerCase())+"\n ")]]:[e._v("\n "+e._s(e.$t("media"))+"\n ")]]:e._e()],2)]),e._v(" "),n("div",{directives:[{name:"handle",rawName:"v-handle"}],staticClass:"_handle"})])])}),1):e._e()],1),e._v(" "),n("transition",{attrs:{name:"slideleft",mode:"out-in"}},[e.current_layer&&e.show_layers?n("LayerOptions",{key:e.current_layer.id,attrs:{current_layer:e.current_layer,layer_medias:e.layered_medias[e.current_layer.id],slugPubliName:e.slugPubliName},on:{updateDrawingOptions:function(t){return e.updateDrawingOptions(t)},removeLayer:function(t){return e.removeLayer()}}}):e._e()],1)],1)},i.staticRenderFns=[]},{"./LayerOptions.vue":247,"vue-slicksort":174}],249:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(e("vue-prism-editor")),i=a(e("../../modals/CaptureViewModal.vue")),o=a(e("../../subcomponents/UploadFile.vue")),r=e("underscore");function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{preview_mode:Boolean,slugPubliName:String,page_medias:Array,publi_is_model:Boolean},components:{PrismEditor:t.default,UploadFile:o.default,CaptureViewModal:i.default},data:function(){return{show_create_options:!0,show_edit_options:!0,show_custom_css:!1,enable_capture_mode:!1,custom_css:"",selected_files:[],id:(Math.random().toString(36)+"00000000000000000").slice(2,8)}},created:function(){},mounted:function(){this.updateMediaStyles()},beforeDestroy:function(){},watch:{"$root.settings.current_publication.selected_medias":function(){this.$root.settings.current_publication.selected_medias.length>0&&(this.show_edit_options=!0)},media:{handler:function(){this.media&&(this.custom_css=this.media.hasOwnProperty("custom_css")?this.media.custom_css:"",this.custom_css&&(this.show_custom_css=!0))},deep:!0},show_custom_css:function(){var e=this;this.show_custom_css&&this.$nextTick(function(){e.$refs.prismEditor&&e.$refs.prismEditor.$el.firstElementChild&&e.$refs.prismEditor.$el.firstElementChild.focus()})}},computed:{media:function(){var e=this;return!(0===this.$root.settings.current_publication.selected_medias.length||!Array.isArray(this.page_medias)||0===this.page_medias.length)&&this.$root.settings.current_publication.selected_medias.reduce(function(t,n){var i=e.page_medias.find(function(e){return e.metaFileName===n});return i&&t.push(i),t},[])[0]},margin:{get:function(){return this.media&&this.media.hasOwnProperty("margin")&&Number.parseFloat(this.media.margin)?Number.parseFloat(this.media.margin):0},set:function(e){this.updateMediaPubliMeta({margin:e})}},font_size_percent:{get:function(){return this.media&&this.media.hasOwnProperty("font_size_percent")&&Number.parseFloat(this.media.font_size_percent)?Number.parseFloat(this.media.font_size_percent):100},set:function(e){e>90&&e<110&&(e=100),this.updateMediaPubliMeta({font_size_percent:e})}},stroke_color:{get:function(){return this.media&&this.media.hasOwnProperty("stroke_color")&&this.media.stroke_color?this.media.stroke_color:""},set:function(e){""===e&&(this.stroke_width=""),this.updateMediaPubliMeta({stroke_color:e})}},fill_color:{get:function(){return this.media&&this.media.hasOwnProperty("fill_color")&&this.media.fill_color?this.media.fill_color:""},set:function(e){this.updateMediaPubliMeta({fill_color:e})}},stroke_width:{get:function(){return this.media&&this.media.hasOwnProperty("stroke_width")?Number.parseFloat(this.media.stroke_width):4},set:function(e){this.updateMediaPubliMeta({stroke_width:e})}},mediaZIndex:function(){return this.media&&this.media.hasOwnProperty("z_index")?this.media.z_index:0}},methods:{updateMediaPubliMeta:(0,r.throttle)(function(e){this.media&&this.$root.editMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:this.media.metaFileName,data:e})},400),updateInputFiles:function(e){"debug"===this.$root.state.dev_mode&&console.log("InsertMediaButton • METHODS / updateInputFiles"),this.selected_files=Array.from(e.target.files),e.target.value=""},editZIndex:function(e){this.$eventHub.$emit("publication.flashZIndex"),this.updateMediaPubliMeta({z_index:this.mediaZIndex+e})},updateMediaStyles:function(){},insertImportedMedias:function(e){var t=this,n=e.metaFileNames;this.selected_files=[],this.enable_capture_mode=!1,setTimeout(function(){t.$emit("insertMedias",{metaFileNames:n})},500)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_publicationButtons"},[n("div",{staticClass:"m_publicationButtons--content"},[n("div",[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_create_options},attrs:{type:"button"},on:{click:function(t){e.show_create_options=!e.show_create_options}}},[e._v("\n "+e._s(e.$t("create"))+"\n ")])]),e._v(" "),e.show_create_options?n("div",[n("small",[e._v(e._s(e.$t("import_medias_from_projects_or_create_shapes_here")))]),e._v(" "),n("div",[n("button",{staticClass:"button _create_buttons",on:{mousedown:function(t){t.stopPropagation(),t.preventDefault(),e.enable_capture_mode=!0},touchstart:function(t){t.stopPropagation(),t.preventDefault(),e.enable_capture_mode=!0}}},[n("svg",{staticClass:"inline-svg inline-svg-larger",staticStyle:{"enable-background":"new 0 0 168 168"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"168px",height:"168px",viewBox:"0 0 168 168","xml:space":"preserve"}},[n("path",{staticStyle:{fill:"#52c5b9"},attrs:{d:"M84,168c46.4,0,84-37.6,84-84c0-46.4-37.6-84-84-84C37.6,0,0,37.6,0,84C0,130.4,37.6,168,84,168z"}}),e._v(" "),n("circle",{staticStyle:{fill:"#1d327f","stroke-width":"15","stroke-miterlimit":"10"},attrs:{cx:"84",cy:"84",r:"41.8"}})]),e._v(" "),n("span",[e._v(e._s(e.$t("capture")))])])]),e._v(" "),e.enable_capture_mode?n("CaptureViewModal",{attrs:{slugFolderName:e.slugPubliName,type:"publications",read_only:e.read_only},on:{close:function(t){e.enable_capture_mode=!1},insertMedias:function(t){return e.insertImportedMedias({metaFileNames:t})}}}):e._e(),e._v(" "),n("div",[n("label",{staticClass:"button _create_buttons",attrs:{id:"insert_file_"+e.id}},[n("svg",{staticClass:"inline-svg inline-svg-larger",staticStyle:{"enable-background":"new 0 0 168 168"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"168px",height:"168px",viewBox:"0 0 168 168","xml:space":"preserve"}},[n("path",{staticStyle:{fill:"#52c5b9"},attrs:{d:"M84,168c46.4,0,84-37.6,84-84c0-46.4-37.6-84-84-84C37.6,0,0,37.6,0,84C0,130.4,37.6,168,84,168z"}}),e._v(" "),n("rect",{staticStyle:{fill:"#1d327f"},attrs:{x:"84",y:"71.1",transform:"matrix(6.123234e-17 -1 1 6.123234e-17 49.334 208.2684)",width:"89.6",height:"16.8"}}),e._v(" "),n("path",{staticStyle:{fill:"#1d327f"},attrs:{d:"M74.1,113.5l14.1-15.3c2.4-2.6,4.4-4.7,6.1-6.1c1.7-1.5,3.8-2.9,6.3-4.4l-70.7,0V71.9l70.7,0\n\t\t\t\tc-2.2-1.3-4.2-2.7-6.1-4.4c-1.9-1.6-4-3.7-6.4-6.1L74.1,46L87,35l40.3,44.8L87,124.6L74.1,113.5z"}})]),e._v(" "),n("span",{staticStyle:{color:"inherit"}},[e._v("\n "+e._s(e.$t("import"))+"\n ")]),e._v(" "),n("input",{staticStyle:{width:"1px",height:"1px",overflow:"hidden"},attrs:{type:"file",multiple:"",id:"insert_file_"+e.id,name:"file",accept:""},on:{change:function(t){return e.updateInputFiles(t)}}})])]),e._v(" "),e.selected_files.length>0?n("UploadFile",{attrs:{slugFolderName:e.slugPubliName,type:"publications",selected_files:e.selected_files},on:{insertMedias:function(t){return e.insertImportedMedias({metaFileNames:t})}}}):e._e(),e._v(" "),n("div",[n("button",{staticClass:"button _create_buttons",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("addMedia",{type:"text",stroke_color:""!==e.stroke_color?e.stroke_color:"",fill_color:""!==e.fill_color?e.fill_color:"",stroke_width:e.stroke_width})},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("addMedia",{type:"text",stroke_color:""!==e.stroke_color?e.stroke_color:"",fill_color:""!==e.fill_color?e.fill_color:"",stroke_width:e.stroke_width})}}},[n("svg",{staticClass:"inline-svg inline-svg-larger",staticStyle:{"enable-background":"new 0 0 168 168"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"168px",height:"168px",viewBox:"0 0 168 168","xml:space":"preserve"}},[n("path",{staticStyle:{fill:"#52c5b9"},attrs:{d:"M84,168c46.4,0,84-37.6,84-84c0-46.4-37.6-84-84-84C37.6,0,0,37.6,0,84C0,130.4,37.6,168,84,168z"}}),e._v(" "),n("rect",{staticStyle:{fill:"#1d327f"},attrs:{x:"79.4",y:"52.1",width:"62.3",height:"15"}}),e._v(" "),n("rect",{staticStyle:{fill:"#1d327f"},attrs:{x:"79.4",y:"79.5",width:"62.3",height:"15"}}),e._v(" "),n("rect",{staticStyle:{fill:"#1d327f"},attrs:{x:"79.4",y:"107",width:"62.3",height:"15"}}),e._v(" "),n("path",{staticStyle:{fill:"#1d327f"},attrs:{d:"M21.2,52.1h49v15H53.7V122H37.6V67.1H21.2V52.1z"}})]),e._v(" "),n("span",[e._v(e._s(e.$t("text")))])])]),e._v(" "),n("div",[n("button",{staticClass:"button _create_buttons",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("addMedia",{type:"line",stroke_color:""!==e.stroke_color?e.stroke_color:"#1d327f",stroke_width:e.stroke_width})},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("addMedia",{type:"line",stroke_color:""!==e.stroke_color?e.stroke_color:"#1d327f",stroke_width:e.stroke_width})}}},[n("svg",{staticClass:"inline-svg inline-svg-larger",staticStyle:{"enable-background":"new 0 0 168 168"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"168px",height:"168px",viewBox:"0 0 168 168","xml:space":"preserve"}},[n("path",{staticStyle:{fill:"#52c5b9"},attrs:{d:"M84,168c46.4,0,84-37.6,84-84c0-46.4-37.6-84-84-84C37.6,0,0,37.6,0,84C0,130.4,37.6,168,84,168z"}}),e._v(" "),n("line",{staticStyle:{fill:"none",stroke:"#1d327f","stroke-width":"15","stroke-miterlimit":"10"},attrs:{x1:"42",y1:"84",x2:"126",y2:"84"}})]),e._v(" "),n("span",[e._v(e._s(e.$t("line")))])])]),e._v(" "),n("div",[n("button",{staticClass:"button _create_buttons",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("addMedia",{type:"arrow",stroke_color:""!==e.stroke_color?e.stroke_color:"#1d327f",stroke_width:e.stroke_width})},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("addMedia",{type:"arrow",stroke_color:""!==e.stroke_color?e.stroke_color:"#1d327f",stroke_width:e.stroke_width})}}},[n("svg",{staticClass:"inline-svg inline-svg-larger",staticStyle:{"enable-background":"new 0 0 168 168"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"168px",height:"168px",viewBox:"0 0 168 168","xml:space":"preserve"}},[n("path",{staticStyle:{fill:"#52c5b9"},attrs:{d:"M84,168c46.4,0,84-37.6,84-84c0-46.4-37.6-84-84-84C37.6,0,0,37.6,0,84C0,130.4,37.6,168,84,168z"}}),e._v(" "),n("line",{staticStyle:{fill:"none",stroke:"#1d327f","stroke-width":"15","stroke-miterlimit":"40"},attrs:{x1:"42",y1:"84",x2:"126",y2:"84"}}),e._v(" "),n("line",{staticStyle:{fill:"none",stroke:"#1d327f","stroke-width":"15","stroke-miterlimit":"10"},attrs:{x1:"126",y1:"84",x2:"93",y2:"51"}}),e._v(" "),n("line",{staticStyle:{fill:"none",stroke:"#1d327f","stroke-width":"15","stroke-miterlimit":"10"},attrs:{x1:"126",y1:"84",x2:"93",y2:"117"}})]),e._v(" "),n("span",[e._v(e._s(e.$t("arrow")))])])]),e._v(" "),n("div",[n("button",{staticClass:"button _create_buttons",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("addMedia",{type:"rectangle",stroke_color:""!==e.stroke_color?e.stroke_color:""!==e.fill_color?"":"#1d327f",fill_color:""!==e.fill_color?e.fill_color:"",stroke_width:e.stroke_width})},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("addMedia",{type:"rectangle",stroke_color:""!==e.stroke_color?e.stroke_color:""!==e.fill_color?"":"#1d327f",fill_color:""!==e.fill_color?e.fill_color:"",stroke_width:e.stroke_width})}}},[n("svg",{staticClass:"inline-svg inline-svg-larger",staticStyle:{"enable-background":"new 0 0 168 168"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"168px",height:"168px",viewBox:"0 0 168 168","xml:space":"preserve"}},[n("path",{staticStyle:{fill:"#52c5b9"},attrs:{d:"M84,168c46.4,0,84-37.6,84-84c0-46.4-37.6-84-84-84C37.6,0,0,37.6,0,84C0,130.4,37.6,168,84,168z"}}),e._v(" "),n("rect",{staticStyle:{fill:"none",stroke:"#1d327f","stroke-width":"13","stroke-miterlimit":"10"},attrs:{x:"56",y:"56",width:"56",height:"56"}})]),e._v(" "),n("span",[e._v(e._s(e.$t("rectangle")))])])]),e._v(" "),n("div",[n("button",{staticClass:"button _create_buttons",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("addMedia",{type:"ellipsis",stroke_color:""!==e.stroke_color?e.stroke_color:""!==e.fill_color?"":"#1d327f",fill_color:""!==e.fill_color?e.fill_color:"",stroke_width:e.stroke_width})},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("addMedia",{type:"ellipsis",stroke_color:""!==e.stroke_color?e.stroke_color:""!==e.fill_color?"":"#1d327f",fill_color:""!==e.fill_color?e.fill_color:"",stroke_width:e.stroke_width})}}},[n("svg",{staticClass:"inline-svg inline-svg-larger",staticStyle:{"enable-background":"new 0 0 168 168"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"168px",height:"168px",viewBox:"0 0 168 168","xml:space":"preserve"}},[n("path",{staticStyle:{fill:"#52c5b9"},attrs:{d:"M84,168c46.4,0,84-37.6,84-84c0-46.4-37.6-84-84-84C37.6,0,0,37.6,0,84C0,130.4,37.6,168,84,168z"}}),e._v(" "),n("circle",{staticStyle:{fill:"none",stroke:"#1d327f","stroke-width":"15","stroke-miterlimit":"10"},attrs:{cx:"84",cy:"84",r:"41.8"}})]),e._v(" "),n("span",[e._v(e._s(e.$t("ellipsis")))])])]),e._v(" "),e.publi_is_model?n("div",[n("button",{staticClass:"button _create_buttons",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("addMedia",{type:"placeholder"})},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("addMedia",{type:"placeholder"})}}},[n("svg",{staticClass:"inline-svg inline-svg-larger",staticStyle:{"enable-background":"new 0 0 168 168"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"168px",height:"168px",viewBox:"0 0 168 168","xml:space":"preserve"}},[n("path",{staticStyle:{fill:"#52c5b9"},attrs:{d:"M84,168c46.4,0,84-37.6,84-84c0-46.4-37.6-84-84-84C37.6,0,0,37.6,0,84C0,130.4,37.6,168,84,168z"}}),e._v(" "),n("polygon",{staticStyle:{fill:"#1d327f"},attrs:{points:"144 142 114 142 114 122 124 122 124 112 144 112 144 142"}}),e._v(" "),n("rect",{staticStyle:{fill:"#1d327f"},attrs:{x:"69",y:"122",width:"30",height:"20"}}),e._v(" "),n("polygon",{staticStyle:{fill:"#1d327f"},attrs:{points:"54 142 24 142 24 112 44 112 44 122 54 122 54 142"}}),e._v(" "),n("rect",{staticStyle:{fill:"#1d327f"},attrs:{x:"24",y:"67",width:"20",height:"30"}}),e._v(" "),n("polygon",{staticStyle:{fill:"#1d327f"},attrs:{points:"44 52 24 52 24 22 54 22 54 42 44 42 44 52"}}),e._v(" "),n("rect",{staticStyle:{fill:"#1d327f"},attrs:{x:"69",y:"22",width:"30",height:"20"}}),e._v(" "),n("polygon",{staticStyle:{fill:"#1d327f"},attrs:{points:"144 52 124 52 124 42 114 42 114 22 144 22 144 52"}}),e._v(" "),n("rect",{staticStyle:{fill:"#1d327f"},attrs:{x:"124",y:"67",width:"20",height:"30"}})]),e._v(" "),n("span",[e._v(e._s(e.$t("placeholder")))])])]):e._e()],1):e._e()]),e._v(" "),n("div",[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_edit_options},attrs:{type:"button"},on:{click:function(t){e.show_edit_options=!e.show_edit_options}}},[e._v("\n "+e._s(e.$t("edit"))+"\n ")])]),e._v(" "),e.show_edit_options?[e.media?n("div",[n("div",{staticClass:"item"},[n("label",[e._v(e._s(e.$t("margin")))]),e._v(" "),n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.margin,expression:"margin"}],attrs:{type:"range",min:"0",max:"100",step:"1"},domProps:{value:e.margin},on:{__r:function(t){e.margin=t.target.value}}})]),e._v(" "),n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.margin,expression:"margin"}],staticClass:"input-small",attrs:{type:"number",min:"0"},domProps:{value:e.margin},on:{input:function(t){t.target.composing||(e.margin=t.target.value)}}}),e._v(" "),n("span",{staticClass:"input-addon input-addon-small"},[e._v("pt")])])]),e._v(" "),"text"===e.media.type||e.media.hasOwnProperty("_linked_media")&&"text"===e.media._linked_media.type?n("div",{staticClass:"item"},[n("label",[e._v(e._s(e.$t("font_size")))]),e._v(" "),n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.font_size_percent,expression:"font_size_percent"}],attrs:{type:"range",min:"1",max:"300",step:"1"},domProps:{value:e.font_size_percent},on:{__r:function(t){e.font_size_percent=t.target.value}}})]),e._v(" "),n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.font_size_percent,expression:"font_size_percent"}],staticClass:"input-small",attrs:{type:"number"},domProps:{value:e.font_size_percent},on:{input:function(t){t.target.composing||(e.font_size_percent=t.target.value)}}}),e._v(" "),n("span",{staticClass:"input-addon input-addon-small"},[e._v("%")])])]):e._e(),e._v(" "),"line"===e.media.type||"arrow"===e.media.type||e.media.hasOwnProperty("_linked_media")&&"image"===e.media._linked_media.type?e._e():n("div",{staticClass:"item"},[n("label",[e._v("\n "+e._s(e.$t("fill_color"))+"\n "),""!==e.fill_color?n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){e.fill_color=""}}},[e._v("\n ×\n ")]):e._e()]),e._v(" "),n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.fill_color,expression:"fill_color"}],attrs:{type:"color",novalue:""===e.fill_color},domProps:{value:e.fill_color},on:{input:function(t){t.target.composing||(e.fill_color=t.target.value)}}})])]),e._v(" "),"placeholder"!==e.media.type?n("div",{staticClass:"item"},[n("label",[e._v("\n "+e._s(e.$t("stroke_color"))+"\n "),""!==e.stroke_color?n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){e.stroke_color=""}}},[e._v("\n ×\n ")]):e._e()]),e._v(" "),n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.stroke_color,expression:"stroke_color"}],attrs:{type:"color",novalue:""===e.stroke_color},domProps:{value:e.stroke_color},on:{input:function(t){t.target.composing||(e.stroke_color=t.target.value)}}})])]):e._e(),e._v(" "),"placeholder"!==e.media.type&&""!==e.stroke_color?n("div",{staticClass:"item"},[n("label",[e._v(e._s(e.$t("stroke_width")))]),e._v(" "),n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.stroke_width,expression:"stroke_width"}],attrs:{type:"range",min:"0",max:"20",step:"1"},domProps:{value:e.stroke_width},on:{__r:function(t){e.stroke_width=t.target.value}}})]),e._v(" "),n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.stroke_width,expression:"stroke_width"}],staticClass:"input-small",attrs:{type:"number"},domProps:{value:e.stroke_width},on:{input:function(t){t.target.composing||(e.stroke_width=t.target.value)}}}),e._v(" "),n("span",{staticClass:"input-addon input-addon-small"},[e._v("pt")])])]):e._e(),e._v(" "),n("div",{staticClass:"item"},[n("label",[e._v(e._s(e.$t("layer_order")))]),e._v(" "),n("div",[n("small",[e._v(e._s(e.$t("layer_order_instructions")))]),e._v("\n "+e._s(e.mediaZIndex)+"\n "),n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],staticClass:"buttonLink _no_underline",attrs:{type:"button",content:e.$t("move_to_foreground")+"<br>"+e.$t("layer:")+" "+e.mediaZIndex},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.editZIndex(1)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.editZIndex(1)}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 40.3 59.6"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"40.3px",height:"59.6px",viewBox:"0 0 40.3 59.6","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M35,24.4l-4.6-4.2c-2.7-2.5-4.8-4.7-6.4-7.3l0,46.7l-7.7,0l0-46.6c-1.7,2.5-3.8,4.7-6.4,7.1l-4.6,4.2L0,18.1\n L20.2,0l20.2,18.1L35,24.4z"}})])]),e._v(" "),n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],staticClass:"buttonLink _no_underline",attrs:{type:"button",content:e.$t("move_to_background")+"<br>"+e.$t("layer:")+" "+e.mediaZIndex},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.editZIndex(-1)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.editZIndex(-1)}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 40.3 59.6"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"40.3px",height:"59.6px",viewBox:"0 0 40.3 59.6","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M5.3,35.2l4.6,4.2c2.7,2.5,4.8,4.7,6.4,7.3l0-46.7L24,0l0,46.6c1.7-2.5,3.8-4.7,6.4-7.1l4.6-4.2l5.3,6.2\n L20.2,59.6L0,41.5L5.3,35.2z"}})])])])]),e._v(" "),n("div",{staticClass:"item m_customStyles"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_custom_css},attrs:{type:"button"},on:{click:function(t){t.stopPropagation(),e.show_custom_css=!e.show_custom_css}}},[e._v("\n "+e._s(e.$t("css_settings"))+"\n ")])]),e._v(" "),e.show_custom_css?n("div",[n("PrismEditor",{ref:"prismEditor",attrs:{language:"css"},on:{change:function(e){}},model:{value:e.custom_css,callback:function(t){e.custom_css=t},expression:"custom_css"}}),e._v(" "),n("div",{staticClass:"m_customStyles--sendButton"},[n("button",{staticClass:"button-greenthin",class:{},attrs:{type:"button"},on:{click:function(t){return e.updateMediaPubliMeta({custom_css:e.custom_css})}}},[e._v("\n "+e._s(e.$t("send"))+"\n ")])])],1):e._e()])]):n("div",[n("small",{},[e._v("\n "+e._s(e.$t("click_on_a_bloc_to_edit_its_presentation"))+"\n ")])])]:e._e()],2)])])},i.staticRenderFns=[],i._scopeId="data-v-2fbb6819"},{"../../modals/CaptureViewModal.vue":217,"../../subcomponents/UploadFile.vue":283,underscore:170,"vue-prism-editor":173}],250:[function(e,t,n){e("vueify/lib/insert-css").insert("._open_pwd_input[data-v-7232cbbb],._pwd_input[data-v-7232cbbb]{position:relative;z-index:1}button[data-v-7232cbbb]{z-index:1}");!function(){"use strict";function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{folder:{type:Object},context:{type:String},type:{type:String}},components:{},data:function(){return{showInputPasswordField:!1,showCurrentPassword:!1}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{can_see_project:function(){this.can_see_folder||"full"!==this.context||(this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.password_added_or_changed_to_this_project")),this.$alertify.closeLogOnClick(!0).delay(4e3).log(this.$t("notifications.enter_password_to_reopen")),this.$emit("closeFolder"))},showInputPasswordField:function(){var e=this;this.showInputPasswordField&&this.$nextTick(function(){e.$refs.passwordField.focus()})}},computed:{slugFolderName:function(){return this.folder.slugFolderName},editing_limited_to:function(){return this.folder.editing_limited_to},viewing_limited_to:function(){return this.folder.viewing_limited_to},password:function(){return this.folder.password},can_see_folder:function(){return this.$root.canSeeFolder({type:this.type,slugFolderName:this.slugFolderName})},can_edit_folder:function(){return this.$root.canEditFolder({type:this.type,slugFolderName:this.slugFolderName})},_editing_limited_to:function(){return!!this.editing_limited_to&&this.editing_limited_to},_viewing_limited_to:function(){return this.viewing_limited_to?this.viewing_limited_to:""}},methods:{submitPassword:function(){var t=this;console.log("METHODS • Project: submitPassword"),this.$auth.updateFoldersPasswords(e({},this.type,e({},this.slugFolderName,this.$refs.passwordField.value))),this.$socketio.sendAuth(),this.$eventHub.$once("socketio.authentificated",function(){0===window.state.list_authorized_folders.filter(function(e){return e.type===t.type&&e.allowed_slugFolderNames.includes(t.slugFolderName)}).length?(t.$alertify.closeLogOnClick(!0).delay(4e3).error(t.$t("notifications.wrong_password")),t.$refs.passwordField.value="",t.$refs.passwordField.focus()):(t.$alertify.closeLogOnClick(!0).delay(4e3).success(t.$t("notifications.password_is_valid")),t.showInputPasswordField=!1,t.$emit("openFolder"),t.$forceUpdate())})},requestAccessToProject:function(){this.$root.current_author;this.$alertify.closeLogOnClick(!0).delay(4e3).error("Fonctionnalité en cours d’intégration…"),this.$eventHub.$emit("requestToBeAddedToAuthors",{type:"projects",slugFolderName:this.slugFolderName})},forgetPassword:function(){this.$auth.removeFolderPassword({type:this.type,slugFolderName:this.slugFolderName}),this.$socketio.sendAuth(),this.$emit("closeFolder")},folderPassword:function(){return"has_pass"===this.password&&this.$root.getFolderPassword({type:this.type,slugFolderName:this.slugFolderName})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{},[e._editing_limited_to&&"full"===e.context?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("who_can_edit")))]),e._v(" "),n("div",{},[n("span",[e._v(e._s(e.$t(e._editing_limited_to)))])])]):e._e(),e._v(" "),e._viewing_limited_to&&"full"===e.context?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("consultation")))]),e._v(" "),n("div",["everybody"===e._viewing_limited_to?[e._v("\n "+e._s(e.$t("visible_to_all"))+"\n ")]:"only_authors"===e._viewing_limited_to?[e._v("\n "+e._s(e.$t("only_authors"))+"\n ")]:e._e()],2)]):e._e(),e._v(" "),"nobody"===e._editing_limited_to&&"full"!==e.context?n("small",{domProps:{innerHTML:e._s(e.$t("archived_explanation"))}}):e._e(),e._v(" "),e.can_edit_folder||"only_authors"!==e.editing_limited_to||"everybody"===e.viewing_limited_to||"full"===e.context?e.can_edit_folder||"with_password"!==e.editing_limited_to||"everybody"===e.viewing_limited_to||"full"===e.context?e._e():n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("only_password_can_open")))])]):n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("only_authors_can_open")))])]),e._v(" "),e.can_edit_folder||"only_authors"!==e.editing_limited_to&&"only_authors"!==e.viewing_limited_to?e._e():["full"===e.context||"everybody"!==e.viewing_limited_to&&"full"!==e.context?n("div",{staticClass:"text-centered"},[e.$root.current_author||"everybody"!==e.viewing_limited_to?e.$root.current_author||"everybody"===e.viewing_limited_to?e.can_see_folder?e._e():n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){return t.stopPropagation(),e.requestAccessToProject(t)}}},[e._v("\n "+e._s(e.$t("ask_to_be_added_to_authors"))+"\n ")]):n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){t.stopPropagation(),e.$root.showAuthorsListModal=!0}}},[e._v("\n "+e._s(e.$t("login_to_access_project"))+"\n ")]):n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){t.stopPropagation(),e.$root.showAuthorsListModal=!0}}},[e._v("\n "+e._s(e.$t("login_to_edit_project"))+"\n ")])]):e._e()],e._v(" "),e.can_see_folder||"has_pass"!==e.password||"only_authors"===e.editing_limited_to||"nobody"===e.editing_limited_to?e._e():n("button",{staticClass:"buttonLink _open_pwd_input",class:{"is--active":e.showInputPasswordField},attrs:{type:"button"},on:{click:function(t){t.stopPropagation(),e.showInputPasswordField=!e.showInputPasswordField}}},[e._v("\n "+e._s(e.$t("password_required_to_open"))+"\n ")]),e._v(" "),e.can_edit_folder||"has_pass"!==e.password||"only_authors"===e.editing_limited_to||"nobody"===e.editing_limited_to||"full"!==e.context?e._e():n("button",{staticClass:"buttonLink _open_pwd_input",class:{"is--active":e.showInputPasswordField},attrs:{type:"button"},on:{click:function(t){t.stopPropagation(),e.showInputPasswordField=!e.showInputPasswordField}}},[e._v("\n "+e._s(e.$t("password_required_to_edit"))+"\n ")]),e._v(" "),e.showInputPasswordField?n("div",{staticClass:"padding-verysmall _pwd_input"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("password")))]),e._v(" "),n("input",{ref:"passwordField",attrs:{type:"password",required:"",autofocus:"",placeholder:"…"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.submitPassword(t))}}})]),e._v(" "),n("button",{staticClass:"button button-greenthin",attrs:{type:"button"},on:{click:function(t){return t.stopPropagation(),e.submitPassword(t)}}},[e._v("\n "+e._s(e.$t("send"))+"\n ")])]):e._e(),e._v(" "),!e.can_edit_folder||!e.folderPassword()||"full"!==e.context||e.editing_limited_to&&"with_password"!==e.editing_limited_to?e._e():n("div",{staticClass:"m_metaField"},[n("div",{staticClass:"cursor-pointer",domProps:{innerHTML:e._s(e.showCurrentPassword?e.$t("hide"):e.$t("show_password"))},on:{click:function(t){e.showCurrentPassword=!e.showCurrentPassword}}}),e._v(" "),e.showCurrentPassword&&e.can_see_folder?n("div",[e._v("\n "+e._s(e.folderPassword())+"\n ")]):e._e()]),e._v(" "),e.can_see_folder&&e.can_edit_folder&&e.folderPassword()&&"full"===e.context&&(!e.editing_limited_to||"with_password"===e.editing_limited_to)?n("button",{staticClass:"_button_forgetpassword",attrs:{type:"button"},on:{click:e.forgetPassword}},[e._v("\n "+e._s(e.$t("forget_password_and_close"))+"\n ")]):e._e()],2)},i.staticRenderFns=[],i._scopeId="data-v-7232cbbb"},{"vueify/lib/insert-css":182}],251:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e="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.default={props:{journal_entries:Array},components:{},data:function(){return{show_filters:!0,author_filter:"",day_filter:"",current_day_shown:!1,show_detail_for_entry:!1,current_page:1,number_of_items_per_page:100}},created:function(){},mounted:function(){this.current_day_shown=this.$moment().day()},beforeDestroy:function(){},watch:{},computed:{entries:function(){var t=this,n=this.journal_entries;return"object"===(void 0===n?"undefined":e(n))&&0!==n.length&&(n=n.reduce(function(e,n){return n.author,n.timestamp&&t.$moment(+n.timestamp).isValid()&&(n.date=t.$moment(+n.timestamp),e.push(n)),e},[])).reverse()},filtered_entries:function(){var e=this;return!!this.entries&&this.entries.filter(function(t){return!(e.author_filter&&e.author_filter!==t.author||e.day_filter&&e.day_filter!==t.date.format("YYYY-MM-DD"))})},entries_paginated:function(){return!!this.filtered_entries&&this.filtered_entries.slice((this.current_page-1)*this.number_of_items_per_page,this.current_page*this.number_of_items_per_page)},number_of_possible_pages:function(){return!!this.filtered_entries&&Math.ceil(this.filtered_entries.length/this.number_of_items_per_page)},journal_authors:function(){if(!this.entries)return!1;var e=this.entries.reduce(function(e,t){var n=t.author;return e.includes(n)||e.push(n),e},[]);return(e=e.sort(function(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())})).map(function(e){return{slugFolderName:e}})},journal_days:function(){var e=this.$_.groupBy(this.entries,function(e){return e.date.format("YYYY-MM-DD")});return Object.keys(e)}},methods:{setAuthorFilter:function(e){this.author_filter!==e?this.author_filter=e:this.author_filter="",this.current_page=1},setDayFilter:function(e){this.day_filter!==e?this.day_filter=e:this.day_filter="",this.current_page=1}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_activityJournal"},[n("div",[n("div",[n("div",{},[n("div",{staticClass:"m_actionbar"},[n("div",{staticClass:"m_actionbar--text"},[[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_filters},attrs:{type:"button"},on:{click:function(t){e.show_filters=!e.show_filters}}},[e._v("\n "+e._s(e.$t("filters"))+"\n ")])],e._v(" "),e.show_filters?n("div",{staticClass:"m_tagsAndAuthorFilters flex-wrap bg-creme rounded"},[e.journal_authors&&e.journal_authors.length>0?n("div",{staticClass:"padding-sides-small"},[n("label",[e._v(e._s(e.$t("authors")))]),e._v(" "),n("div",{staticClass:"m_authorField margin-bottom-none"},e._l(e.journal_authors,function(t){var i=t.slugFolderName;return e.$root.getAuthor(i)?n("button",{key:i,class:{"is--active":e.author_filter===i,"is--loggedInAuthor":e.$root.current_author&&e.$root.current_author.slugFolderName===i},on:{click:function(t){return e.setAuthorFilter(i)}}},[e._v("\n "+e._s(e.$root.getAuthor(i).name)+"\n ")]):e._e()}),0)]):e._e(),e._v(" "),e.journal_days&&e.journal_days.length>0?n("div",{staticClass:"padding-sides-small"},[n("label",[e._v(e._s(e.$t("days")))]),e._v(" "),n("div",{staticClass:"m_authorField margin-bottom-none"},e._l(e.journal_days,function(t){return n("button",{key:t,class:{"is--active":e.day_filter===t},on:{click:function(n){return e.setDayFilter(t)}}},[e._v("\n "+e._s(e.$moment(t).format("LL"))+"\n ")])}),0)]):e._e()]):e._e()],2),e._v(" "),n("div",{staticClass:"flex-nowrap flex-vertically-start flex-horizontally-end margin-vert-small"},[n("small",{staticClass:"margin-verysmall",staticStyle:{flex:"0 0 auto"}},[e._v("\n "+e._s(e.filtered_entries.length+" "+e.$t("entries").toLowerCase()+".")),n("br"),e._v(" "),e.filtered_entries.length?[e._v("\n "+e._s(e.$t("entries")+" "+((e.current_page-1)*e.number_of_items_per_page+1)+" "+e.$t("to")+" "+((e.current_page-1)*e.number_of_items_per_page+e.entries_paginated.length))+"\n —\n "+e._s(e.$t("page")+" "+e.current_page+" "+e.$t("to")+" "+e.number_of_possible_pages)+"\n ")]:e._e()],2),e._v(" "),e.filtered_entries.length?n("select",{directives:[{name:"model",rawName:"v-model",value:e.current_page,expression:"current_page"}],staticClass:"margin-verysmall select-xs",staticStyle:{flex:"0 1 100px"},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.current_page=t.target.multiple?n:n[0]}}},e._l(e.number_of_possible_pages,function(t){return n("option",{key:t,domProps:{innerHTML:e._s(t)}})}),0):e._e()])])])])]),e._v(" "),n("table",{staticClass:"table-striped table-bordered"},[n("thead",[n("tr",[n("th",{attrs:{colspan:"1"}},[e._v(e._s(e.$t("date")))]),e._v(" "),n("th",{attrs:{colspan:"1"}},[e._v(e._s(e.$t("author")))]),e._v(" "),n("th",{attrs:{colspan:"1"}},[e._v(e._s(e.$t("action")))]),e._v(" "),n("th",[e._v(e._s(e.$t("detail")))])])]),e._v(" "),n("tbody",[e.entries_paginated&&0!==e.entries_paginated.length?e._e():n("tr",{staticClass:"bg-gris_tresclair"},[n("td",{attrs:{colspan:"4"}},[n("small",{},[e._v(e._s(e.$t("no_content_to_show")))])])]),e._v(" "),e._l(e.entries_paginated,function(t,i){return n("tr",{key:i,staticClass:"font-small"},[n("td",[e._v(e._s(t.date.calendar()))]),e._v(" "),n("td",[e.$root.getAuthor(t.author)?[e._v(e._s(e.$root.getAuthor(t.author).name))]:[n("i",[e._v(e._s(t.author))])]],2),e._v(" "),n("td",[e._v(e._s(e.$t(t.action).toLowerCase()))]),e._v(" "),n("td",[e.show_detail_for_entry===i?n("small",[e._v(e._s(t.detail))]):e._e(),e._v(" "),e.show_detail_for_entry!==i?n("button",{staticClass:"button-thin margin-none",attrs:{type:"button"},on:{click:function(t){e.show_detail_for_entry=i}}},[e._v("\n "+e._s(e.$t("show"))+"\n ")]):e._e(),e._v(" "),e.show_detail_for_entry===i?n("button",{staticClass:"button-thin",attrs:{type:"button"},on:{click:function(t){e.show_detail_for_entry=!1}}},[e._v("\n "+e._s(e.$t("hide"))+"\n ")]):e._e()])])})],2)]),e._v(" "),n("div",{staticClass:"flex-wrap flex-no-grow flex-horizontally-centered"},[n("button",{staticClass:"button-thin",attrs:{type:"button",disabled:e.current_page<=1},on:{click:function(t){e.current_page=e.current_page-1}}},[e._v("\n "+e._s(e.$t("previous_page"))+"\n ")]),e._v(" "),n("button",{staticClass:"button-thin",attrs:{type:"button",disabled:e.current_page>=e.number_of_possible_pages},on:{click:function(t){e.current_page=e.current_page+1}}},[e._v("\n "+e._s(e.$t("next_page"))+"\n ")])])])},i.staticRenderFns=[],i._scopeId="data-v-4847b346"},{}],252:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{media_filename:String,publication:Object},components:{},data:function(){return{upload_to_folder:""}},created:function(){},mounted:function(){this.$root.do_navigation.current_slugProjectName?this.upload_to_folder=this.$root.do_navigation.current_slugProjectName:this.upload_to_folder=this.$root.projects_that_are_editable[0].slugFolderName},beforeDestroy:function(){},watch:{},computed:{},methods:{addTempMediaToFolder:function(){var e=this,t=this.$t("cooking_pot")+" / "+this.publication.name;this.$socketio.addTempMediaToFolder({from:{media_filename:this.media_filename,type:"publications"},to:{slugFolderName:this.upload_to_folder,type:"projects"},additionalMeta:{caption:t,authors:this.$root.current_author?[{slugFolderName:this.$root.current_author.slugFolderName}]:""}}),"ProjectView"!==this.$root.do_navigation.view||this.$root.do_navigation.current_slugProjectName!==this.upload_to_folder?(this.$root.closeProject(),this.$nextTick(function(){e.$root.openProject(e.upload_to_folder),e.$emit("close")})):this.$emit("close")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.$root.projects_that_are_editable.length>0?n("div",{staticClass:"m_addcreationtoproject"},[n("div",{staticClass:"margin-bottom-small"},[n("label",{domProps:{innerHTML:e._s(e.$t("add_to_project"))}}),e._v(" "),n("div",{staticClass:"flex-nowrap"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.upload_to_folder,expression:"upload_to_folder"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.upload_to_folder=t.target.multiple?n:n[0]}}},e._l(e.$root.projects_that_are_editable,function(t){return n("option",{key:t.slugFolderName,domProps:{value:t.slugFolderName}},[e._v(e._s(t.name))])}),0),e._v(" "),n("button",{staticClass:"bg-bleuvert button-small",attrs:{type:"button",disabled:""===e.upload_to_folder},domProps:{innerHTML:e._s(e.$t("send"))},on:{click:function(t){return e.addTempMediaToFolder()}}})])])]):e._e()},i.staticRenderFns=[]},{}],253:[function(e,t,n){e("vueify/lib/insert-css").insert("._open_pwd_input[data-v-48bce134],._pwd_input[data-v-48bce134]{position:relative;z-index:1}");!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("./../subcomponents/EditAuthor.vue"),o=(t=i)&&t.__esModule?t:{default:t};function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.default={props:{author:Object},components:{EditAuthor:o.default},data:function(){return{edit_author_mode:!1,show_input_password_field:!1,show_connection_information:!1}},created:function(){},mounted:function(){this.$eventHub.$on("authors.submitPassword",this.submitPassword)},beforeDestroy:function(){this.$eventHub.$off("authors.submitPassword",this.submitPassword)},watch:{show_input_password_field:function(){var e=this;this.show_input_password_field&&this.$nextTick(function(){e.$refs.passwordField.focus()})}},computed:{can_login_as_author:function(){return this.canEditFolder({type:"authors",slugFolderName:this.author.slugFolderName})},is_logged_in_as_author:function(){return this.author.slugFolderName===this.$root.current_author.slugFolderName},author_is_connected:function(){var e=this;return!!this.$root.unique_clients&&this.$root.unique_clients.find(function(t){return t.data&&t.data.author&&t.data.author.slugFolderName===e.author.slugFolderName})},author_looking_at:function(){return!(!this.author_is_connected||!this.author_is_connected.data)&&this.author_is_connected.data}},methods:{setAuthorWithoutPassword:function(){this.$auth.removeAllFoldersPassword({type:"authors"}),this.$auth.updateFoldersPasswords({authors:r({},this.author.slugFolderName,"")}),this.$socketio.sendAuth(),this.checkResultsFromLogin({slugFolderName:this.author.slugFolderName})},canEditFolder:function(e){var t=e.type,n=e.slugFolderName;if(!this.$root.store[t].hasOwnProperty(n))return!1;var i=this.$root.store[t][n];return"has_pass"!==i.password||"has_pass"===i.password&&this.$root.state.list_authorized_folders.some(function(e){return!!e&&e.hasOwnProperty("type")&&e.type===t&&e.hasOwnProperty("allowed_slugFolderNames")&&e.allowed_slugFolderNames.indexOf(n)>=0})},submitPassword:function(e){var t=e.slugFolderName,n=e.password,i=void 0===n?this.$auth.hashCode(this.$refs.passwordField.value):n;"debug"===this.$root.state.dev_mode&&console.log("Author • METHODS / submitPassword"),t&&t!==this.author.slugFolderName||(this.$auth.removeAllFoldersPassword({type:"authors"}),this.$auth.updateFoldersPasswords({authors:r({},this.author.slugFolderName,i)}),this.$socketio.sendAuth(),this.checkResultsFromLogin({slugFolderName:this.author.slugFolderName}))},checkResultsFromLogin:function(e){var t=this,n=e.slugFolderName;this.$eventHub.$once("socketio.authentificated",function(){t.$root.state.list_authorized_folders.some(function(e){return"authors"===e.type&&e.allowed_slugFolderNames.includes(n)})?(t.show_input_password_field=!1,t.$alertify.closeLogOnClick(!0).delay(4e3).success(t.$t("notifications.connected_as")+"<i>"+t.author.name+"</i>"),t.$emit("close")):(t.$alertify.closeLogOnClick(!0).delay(4e3).error(t.$t("notifications.wrong_password")),t.$refs.passwordField.value="",t.$refs.passwordField.focus())})},closeAuthorAndShowProject:function(e){this.$emit("close"),this.$root.openProject(e)},closeAuthorAndShowMedia:function(e){var t=e.slugFolderName,n=e.metaFileName;this.$emit("close"),this.$root.openMedia({slugProjectName:t,metaFileName:n})},closeAuthorAndShowPubli:function(e){var t=this;this.$emit("close"),this.$root.current_publication||(this.openPubliPanel(),this.$eventHub.$emit("resizePanels",[{size:40},{size:60},{size:0}])),this.$nextTick(function(){t.$root.openPublication(e)})},closeAuthorAndShowChat:function(e){var t=this;this.$emit("close"),this.$root.current_chat||(this.$root.openChatPanel(),this.$eventHub.$emit("resizePanels",[{size:40},{size:0},{size:60}])),this.$nextTick(function(){t.$root.openChat(e)})},removeAuthor:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("Author • METHODS / removeAuthor"),this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemoveAuthor"),function(){e.$root.removeFolder({type:"authors",slugFolderName:e.author.slugFolderName})},function(){})},urlToPortrait:function(e){if(!e)return"";var t=e.find(function(e){return e&&180===e.size});if(!t)return"";var n=t.path;return"export_publication"===this.$root.state.mode?"./"+n:"/"+n}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.edit_author_mode?n("div",{staticClass:"m_authorsList--editAuthor"},[n("EditAuthor",{attrs:{author:e.author,read_only:e.read_only},on:{close:function(t){e.edit_author_mode=!1}}})],1):n("div",{staticClass:"m_author",class:{"is--selected":e.is_logged_in_as_author,"is--editMode":e.edit_author_mode}},[e.can_login_as_author&&e.is_logged_in_as_author||e.$root.current_author_is_admin?n("button",{staticClass:"buttonLink m_author--editButton",attrs:{type:"button"},on:{click:function(t){t.stopPropagation(),e.edit_author_mode=!e.edit_author_mode}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 100.7 101"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"100.7px",height:"101px",viewBox:"0 0 100.7 101","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M100.7,23.2L77.5,0l-66,66.2l0,0L0,101l34.7-11.6l0,0L100.7,23.2z M19.1,91.5l-9.4-9.7l4-12.4l18,17.8\n L19.1,91.5z"}})]),e._v(" "),n("span",{staticStyle:{display:"none"}},[e._v(e._s(e.$t("edit")))])]):e._e(),e._v(" "),e.can_login_as_author&&e.is_logged_in_as_author||e.$root.current_author_is_admin?n("button",{staticClass:"buttonLink m_author--removeButton",attrs:{type:"button"},on:{click:function(t){return t.stopPropagation(),e.removeAuthor(e.author)}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M91.6,17H62.9V0H28.7v17H0v9.4h11.3V95h69V26.4h11.3V17z M64.4,69.4L57.8,76l-12-12l-12,12l-6.6-6.6l12-12\n l-12-12l6.6-6.6l12,12l12-12l6.6,6.6l-12,12L64.4,69.4z M38.1,9.4h15.3V17H38.1V9.4z"}})]),e._v(" "),n("span",{staticStyle:{display:"none"}},[e._v(e._s(e.$t("remove")))])]):e._e(),e._v(" "),n("div",{staticClass:"m_author--card"},[e.author.preview?n("img",{attrs:{width:"100",height:"100",src:e.urlToPortrait(e.author.preview),draggable:"false"},on:{click:function(t){t.stopPropagation(),!e.is_logged_in_as_author&&e.can_login_as_author?e.setAuthorWithoutPassword():"has_pass"===e.author.password&&(e.show_input_password_field=!0)}}}):e._e(),e._v(" "),n("div",{staticClass:"m_author--name"},[e._v(e._s(e.author.name))]),e._v(" "),e.author.email?n("div",{staticClass:"m_author--email"},[e._v("\n "+e._s(e.author.email)+"\n ")]):e._e(),e._v(" "),e.author.role?n("div",{staticClass:"m_author--role"},[n("label",[e._v(e._s(e.$t(e.author.role)))])]):e._e(),e._v(" "),e.author_is_connected?n("div",{staticClass:"m_author--connected",on:{click:function(e){e.stopPropagation()}}},[n("label",{},[n("button",{staticClass:"button-nostyle padding-none text-uc button-triangle",class:{"is--active":e.show_connection_information},attrs:{type:"button"},on:{click:function(t){t.stopPropagation(),e.show_connection_information=!e.show_connection_information}}},[e._v("\n "+e._s(e.$t("currently_connected"))+"\n ")])]),e._v(" "),e.show_connection_information&&e.author_looking_at?n("div",[e.author_looking_at.looking_at_project&&e.author_looking_at.looking_at_project.slugFolderName&&e.$root.getFolder({type:"projects",slugFolderName:e.author_looking_at.looking_at_project.slugFolderName})?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("project")))]),e._v(" "),n("div",[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],staticStyle:{"text-transform":"initial"},attrs:{type:"button",content:e.$t("open_project")},on:{click:function(t){return e.closeAuthorAndShowProject(e.author_looking_at.looking_at_project.slugFolderName)}}},[e._v("\n "+e._s(e.$root.getFolder({type:"projects",slugFolderName:e.author_looking_at.looking_at_project.slugFolderName}).name)+"\n\n ↑\n ")])])]):e._e(),e._v(" "),e.author_looking_at.editing_media&&e.author_looking_at.editing_media.slugFolderName&&e.author_looking_at.editing_media.metaFileName&&e.$root.getFolder({type:"projects",slugFolderName:e.author_looking_at.looking_at_project.slugFolderName})?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("media")))]),e._v(" "),n("div",[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],staticStyle:{"text-transform":"initial"},attrs:{type:"button",content:e.$t("open_project")},on:{click:function(t){return e.closeAuthorAndShowMedia({slugFolderName:e.author_looking_at.looking_at_project.slugFolderName,metaFileName:e.author_looking_at.editing_media.metaFileName})}}},[e._v("\n "+e._s(e.$root.getFolder({type:"projects",slugFolderName:e.author_looking_at.looking_at_project.slugFolderName}).name)+"\n / "+e._s(e.author_looking_at.editing_media.metaFileName)+"\n\n ↑\n ")])])]):e._e(),e._v(" "),e.author_looking_at.looking_at_publi&&e.author_looking_at.looking_at_publi.slugFolderName&&e.$root.getFolder({type:"publications",slugFolderName:e.author_looking_at.looking_at_publi.slugFolderName})?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("publication")))]),e._v(" "),n("div",[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],staticStyle:{"text-transform":"initial"},attrs:{type:"button",content:e.$t("open_project")},on:{click:function(t){return e.closeAuthorAndShowPubli(e.author_looking_at.looking_at_publi.slugFolderName)}}},[e._v("\n "+e._s(e.$root.getFolder({type:"publications",slugFolderName:e.author_looking_at.looking_at_publi.slugFolderName}).name)+"\n\n ↑\n ")])])]):e._e(),e._v(" "),e.author_looking_at.looking_at_chat&&e.author_looking_at.looking_at_chat.slugFolderName&&e.$root.getFolder({type:"chats",slugFolderName:e.author_looking_at.looking_at_chat.slugFolderName})?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("chat")))]),e._v(" "),n("div",[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],staticStyle:{"text-transform":"initial"},attrs:{type:"button",content:e.$t("open_project")},on:{click:function(t){return e.closeAuthorAndShowChat(e.author_looking_at.looking_at_chat.slugFolderName)}}},[e._v("\n "+e._s(e.$root.getFolder({type:"chats",slugFolderName:e.author_looking_at.looking_at_chat.slugFolderName}).name)+"\n ↑\n ")])])]):e._e()]):e._e()]):e._e(),e._v(" "),e.can_login_as_author&&"has_pass"===e.author.password&&"full"!==e.context?n("div",{},[n("label",[e._v(e._s(e.$t("protected_by_pass")))])]):e._e(),e._v(" "),e.can_login_as_author?e._e():n("button",{staticClass:"buttonLink _open_pwd_input",class:{"is--active":e.show_input_password_field},attrs:{type:"button",readonly:e.read_only},on:{click:function(t){t.stopPropagation(),e.show_input_password_field=!e.show_input_password_field}}},[e._v("\n "+e._s(e.$t("password_required_to_open"))+"\n ")]),e._v(" "),e.show_input_password_field&&!e.can_login_as_author?n("div",{staticClass:"padding-verysmall _pwd_input"},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("password")))]),e._v(" "),n("input",{ref:"passwordField",attrs:{type:"password",required:"",autofocus:"",placeholder:"…"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.submitPassword(t))}}})]),e._v(" "),n("button",{staticClass:"button-greenthin",attrs:{type:"button"},on:{click:e.submitPassword}},[e._v("\n "+e._s(e.$t("send"))+"\n ")])]):e._e(),e._v(" "),e.author.slugFolderName!==e.$root.current_author.slugFolderName&&e.can_login_as_author?n("button",{staticClass:"button-thin bg-bleumarine",attrs:{type:"button"},on:{click:function(t){return t.stopPropagation(),e.setAuthorWithoutPassword()}}},[e._v("\n "+e._s(e.$t("login"))+"\n ")]):e._e(),e._v(" "),e.author.slugFolderName===e.$root.current_author.slugFolderName?n("button",{staticClass:"button-redthin",attrs:{type:"button"},on:{click:function(t){return t.stopPropagation(),e.$root.unsetAuthor()}}},[e._v("\n "+e._s(e.$t("logout"))+"\n ")]):e._e()])])])},i.staticRenderFns=[],i._scopeId="data-v-48bce134"},{"./../subcomponents/EditAuthor.vue":261,"vueify/lib/insert-css":182}],254:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{currentAuthors:Array,read_only:{type:Boolean,default:!1}},components:{},data:function(){return{show_all_authors:!1,max_authors_displayed_at_first:8,authors:[]}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{currentAuthors:{handler:function(){this.authors=this.currentAuthors?this.currentAuthors.slice():[]},deep:!0,immediate:!0}},computed:{all_authors_slugs:function(){var e=this,t=[];return this.$root.current_author&&t.push(this.$root.current_author.slugFolderName),this.authors.map(function(e){e.slugFolderName&&!t.includes(e.slugFolderName)&&t.push(e.slugFolderName)}),this.$root.all_authors.map(function(n){n.slugFolderName&&!t.includes(n.slugFolderName)&&(e.show_all_authors||t.length<e.max_authors_displayed_at_first)&&t.push(n.slugFolderName)}),t}},methods:{toggleAuthorName:function(e){this.authors.some(function(t){return t.slugFolderName===e})?this.authors=this.authors.filter(function(t){return t.slugFolderName!==e}):this.authors.push({slugFolderName:e}),this.$emit("update:currentAuthors",this.authors)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_authorField"},[e._l(e.all_authors_slugs,function(t){return!e.read_only||e.read_only&&e.authors.some(function(e){return e.slugFolderName===t})?n("button",{key:t,class:{"is--active":e.authors.some(function(e){return e.slugFolderName===t}),"is--loggedInAuthor":e.$root.current_author&&e.$root.current_author.slugFolderName===t},attrs:{type:"button",disabled:e.read_only},on:{click:function(n){return e.toggleAuthorName(t)}}},[e._v(e._s(e.$root.getAuthor(t).name))]):e._e()}),e._v(" "),e.max_authors_displayed_at_first<=e.all_authors_slugs.length&&!e.show_all_authors&&!e.read_only?n("button",{staticClass:"m_authorField--show_all_authors",attrs:{type:"button"},domProps:{innerHTML:e._s(e.$t("show_all_authors"))},on:{click:function(t){e.show_all_authors=!0}}}):e._e()],2)},i.staticRenderFns=[]},{}],255:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{type:String,slugFolderName:String,metaFileName:String},components:{},data:function(){return{client_selected:!1}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{clients_checking_out:function(){return this.$root.findClientsLookingAt({type:this.type,slugFolderName:this.slugFolderName,metaFileName:this.metaFileName})}},methods:{urlToPortrait:function(e){if(!e||!e.preview)return!1;var t=e.preview.find(function(e){return 50===e.size});return!(!t||!t.path)&&(t=t.path)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.clients_checking_out.length>0?n("div",{staticClass:"m_clientsCheckingOut"},[e.client_selected?n("label",[e._v(e._s(e.$t("other_users_connected")))]):e._e(),e._v(" "),n("div",{staticClass:"m_clientsCheckingOut--clients"},e._l(e.clients_checking_out,function(t){return n("div",{key:t.id,staticClass:"m_clientsCheckingOut--clients--client",on:{click:function(n){n.stopPropagation(),e.client_selected!==t.id?e.client_selected=t.id:e.client_selected=!1}}},[t.data.hasOwnProperty("author")&&e.urlToPortrait(e.$root.getAuthor(t.data.author.slugFolderName))?n("img",{staticClass:"_pp",attrs:{src:e.urlToPortrait(e.$root.getAuthor(t.data.author.slugFolderName))}}):n("span",{staticClass:"_no_pp"}),e._v(" "),e.client_selected===t.id?n("span",{staticClass:"_name"},[t.data.hasOwnProperty("author")?[e._v(e._s(e.$root.getAuthor(t.data.author.slugFolderName).name))]:[e._v(e._s(e.$t("anonymous")))]],2):e._e()])}),0)]):e._e()},i.staticRenderFns=[],i._scopeId="data-v-3d5ed0c7"},{}],256:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=l(e("./ClientsCheckingOut.vue")),i=l(e("reconnectingwebsocket")),o=l(e("sharedb/lib/client")),r=l(e("quill")),a=l(e("quill-cursors")),s=(l(e("debounce")),l(e("katex")));function l(e){return e&&e.__esModule?e:{default:e}}window.katex=s.default,r.default.register("modules/cursors",a.default),o.default.types.register(e("rich-text").type);var c=["","Alegreya","Roboto Mono"],u=r.default.import("attributors/style/font");u.whitelist=c,r.default.register(u,!0);var d=r.default.import("attributors/style/size");d.whitelist=["75%","18px","150%","300%"],r.default.register(d,!0);var p=r.default.import("blots/block/embed"),f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,p),t}();f.blotName="divider",f.tagName="hr",r.default.register(f),n.default={props:{value:{type:String,default:"…"},type:String,slugFolderName:String,media:Object,specific_toolbar:Array,theme:{type:String,default:"snow"},read_only:{type:Boolean,default:!1},enable_collaboration:{type:Boolean,default:!1}},components:{ClientsCheckingOut:t.default},data:function(){return{editor:null,doc:void 0,editor_id:(Math.random().toString(36)+"00000000000000000").slice(2,8),is_loading_or_saving:!1,show_saved_icon:!1,cursors:[],local_other_clients_editing:[],custom_toolbar:[[{font:c}],[{header:[!1,1,2,3]}],[{size:["75%",!1,"150%","300%"]}],["bold","italic","underline","strike","link","blockquote"],[{color:["#353535","#b9b9b9","#fff","#1d327f","#52c5b9","#ffbe32","#fc4b60","#ff3333","#08cc11","#1c52ee","#ff9c33","#000000","#bdb3b3","#ae1cee","#fff933","#a54a0f"]}],[{background:["transparent","#f1f1f1","#b9b9b9","#bec6e5","#a5e5da","#ffd892","#ff808c","#ff3333","#08cc11","#1c52ee","#ff9c33","#000000","#bdb3b3","#ae1cee","#fff933","#a54a0f"]}],[{list:"ordered"},{list:"bullet"}],[{align:""},{align:"center"},{align:"right"},{align:"justify"}],["code-block"],["formula"],["divider"],["clean"]],formats:["bold","size","italic","underline","strike","link","header","blockquote","list","color","background","font","align","code-block","formula","divider","video"],is_focused:!1,debounce_textUpdate:void 0,socket:null,connection_state:this.enable_collaboration?"connecting…":"disabled",requested_resource_url:void 0}},created:function(){},mounted:function(){var e=this;this.is_loading_or_saving=!0;var t=this.specific_toolbar?this.specific_toolbar:this.custom_toolbar;if(0===t.length&&(this.formats=[]),this.editor=new r.default(this.$refs.editor,{modules:{toolbar:{container:t,handlers:{divider:function(){var t=e.editor.getSelection();t&&e.editor.insertEmbed(t.index,"divider","null",r.default.sources.USER)}}},formula:!0,cursors:{template:'\n <span class="ql-cursor-selections"></span>\n <span class="ql-cursor-caret-container">\n <span class="ql-cursor-caret"></span>\n </span>\n <div class="ql-cursor-flag">\n <small class="ql-cursor-name"></small>\n </div>\n ',hideDelayMs:5e3,hideSpeedMs:0,transformOnTextChange:!0}},bounds:this.$refs.editor,theme:this.theme,formats:this.formats,placeholder:"…"}),this.$refs.editor.dataset.quill=this.editor,this.cursors=this.editor.getModule("cursors"),(this.read_only||"live"!==this.$root.state.mode)&&this.editor.disable(),!this.read_only&&"live"===this.$root.state.mode){var n=this.$root.current_author?this.$root.current_author.name:this.$t("anonymous");this.cursors.createCursor("_self",n,"#1d327f"),this.cursors.toggleFlag("_self",!1)}this.$nextTick(function(){e.editor.root.innerHTML=e.value,e.is_loading_or_saving=!1,"live"===e.$root.state.mode&&(e.editor.focus(),e.$nextTick(function(){e.editor.setSelection(e.editor.getLength(),0,"api")})),"live"===e.$root.state.mode&&e.enable_collaboration&&!e.read_only&&e.initWebsocketMode(),e.editor.on("text-change",function(t,n,i){e.read_only||(e.$emit("input",e.sanitizeEditorHTML()),e.$nextTick(function(){e.updateFocusedLines()}))}),e.editor.on("selection-change",function(t,n,i){console.log("selection changed"),null===t&&null!==n?e.is_focused=!1:null!==t&&null===n&&(e.is_focused=!0),e.enable_collaboration&&e.$nextTick(function(){e.updateCaretPositionForClient(t)}),e.updateFocusedLines()})})},beforeDestroy:function(){this.socket&&this.socket.close(),this.enable_collaboration&&this.removeCaretPosition()},watch:{read_only:function(){this.read_only?this.editor.disable():this.editor.enable()},other_clients_editing:function(){var e=this,t=this.cursors.cursors();this.other_clients_editing.map(function(n){var i=n.name,o=n.index,r=n.length;if(t.find(function(e){return e.id===i}))e.local_other_clients_editing.find(function(e){return e.name===i&&(e.index!==o||e.length!==r)})&&e.cursors.moveCursor(i,{index:o,length:r});else{var a=e.getColorFromName(i);e.cursors.createCursor(i,i,a),e.cursors.moveCursor(i,{index:o,length:r}),e.cursors.toggleFlag(i)}}),t.map(function(t){"_self"===t.id||e.other_clients_editing.find(function(e){return e.name===t.id})||e.cursors.removeCursor(t.id)}),this.local_other_clients_editing=JSON.parse(JSON.stringify(this.other_clients_editing))}},computed:{reference_to_media:function(){return this.type+"/"+this.slugFolderName+"/"+this.media.metaFileName},other_clients_editing:function(){var e=this;return!!(this.type&&this.slugFolderName&&this.media&&this.media.metaFileName)&&this.$root.unique_clients.reduce(function(t,n){if(n.data&&n.data.caret_information&&n.data.caret_information.path===e.reference_to_media&&n.data.caret_information.range.index){var i=e.$t("anonymous");i+=' "'+n.id+'"',n.data.author&&n.data.author.slugFolderName&&e.$root.getAuthor(n.data.author.slugFolderName)&&(i=e.$root.getAuthor(n.data.author.slugFolderName).name),t.push({name:i,index:n.data.caret_information.range.index,length:n.data.caret_information.range.length})}return t},[])}},methods:{getColorFromName:function(e){var t=this.custom_toolbar[4][0].color;return t[parseInt(e,36)%t.length]},sanitizeEditorHTML:function(){if(!this.editor.getText()||"\n"===this.editor.getText())return"";var e=this.editor.root.innerHTML;return e=e.replace(/"/g,"'")},initWebsocketMode:function(){var e=this;console.log("CollaborativeEditor / initWebsocketMode");var t="?"+new URLSearchParams({type:this.type,slugFolderName:this.slugFolderName,metaFileName:this.media.metaFileName}).toString();this.requested_resource_url=("https:"===location.protocol?"wss":"ws")+"://"+window.location.host+"/sharedb"+t,console.log("CollaborativeEditor / initWebsocketMode : will connect to ws server with "+this.requested_resource_url),this.socket=new i.default(this.requested_resource_url);var n=new o.default.Connection(this.socket);n.on("state",this.wsState);var r=n.get("textMedias",t);r.subscribe(function(t){t&&console.error("ON • CollaborativeEditor: err "+t),console.log("ON • CollaborativeEditor: subscribe"),r.type?(console.log("ON • CollaborativeEditor: doc already exists and doc.data = "+JSON.stringify(r.data,null,4)),e.editor.setContents(r.data)):(console.log("ON • CollaborativeEditor: no type found on doc, creating a new one with content "+JSON.stringify(e.editor.getContents())),e.editor.root.innerHTML=e.value,r.create(e.editor.getContents(),"rich-text")),e.editor.setSelection(e.editor.getLength(),0,"api"),e.$emit("input",e.sanitizeEditorHTML()),e.editor.on("text-change",function(t,n,i){"user"==i?(console.log("ON • CollaborativeEditor: text-change by user"),r.submitOp(t,{source:e.editor_id}),e.updateTextMedia()):console.log("ON • CollaborativeEditor: text-change by API")}),r.on("op",function(t,n){n!==e.editor_id&&(console.log("ON • CollaborativeEditor: operation applied to quill"),e.editor.updateContents(t))})}),r.on("error",function(t){e.$forceUpdate()})},updateCaretPositionForClient:function(e){this.read_only||(this.cursors.moveCursor("_self",e),this.$root.updateClientInfo({caret_information:{path:this.reference_to_media,range:e}}))},removeCaretPosition:function(){this.cursors.removeCursor("_self"),this.$root.updateClientInfo({caret_information:{}})},updateFocusedLines:function(){console.log("CollaborativeEditor • METHODS: updateFocusedLines"),this.editor.getLines().map(function(e){return e.domNode.classList.remove("is--focused")});var e=this.editor.getSelection();if(e&&e.index){var t=this.editor.getLine(e.index);t&&t[0].domNode.classList.add("is--focused")}},wsState:function(e,t){console.log("METHODS • CollaborativeEditor: wsState with state = "+e+" and reason = "+t),this.connection_state=e.toString()},updateTextMedia:function(e){var t=this;this.debounce_textUpdate&&clearTimeout(this.debounce_textUpdate),this.is_loading_or_saving=!0,this.debounce_textUpdate=setTimeout(function(){console.log("CollaborativeEditor • updateTextMedia: saving new snapshop"),t.$root.editMedia({type:t.type,slugFolderName:t.slugFolderName,slugMediaName:t.media.metaFileName,data:{content:t.sanitizeEditorHTML()}}).then(function(e){t.is_loading_or_saving=!1,t.show_saved_icon=!0,setTimeout(function(){t.show_saved_icon=!1},200)})},1e3)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"quillWrapper",class:{"is--read_only":e.read_only,"is--focused":e.is_focused,"has--noToolbar":e.specific_toolbar&&0===e.specific_toolbar.length},attrs:{autocorrect:"off",autofocus:"autofocus"}},[n("div",{ref:"editor",staticClass:"mediaTextContent"}),e._v(" "),n("transition",{attrs:{name:"fade",duration:600}},[e.enable_collaboration&&(e.is_loading_or_saving||e.show_saved_icon)?n("div",{staticClass:"quillWrapper--savingIndicator"},[n("transition",{attrs:{name:"fade",duration:600}},[e.is_loading_or_saving?[n("span",{staticClass:"loader loader-small"})]:e.show_saved_icon?[n("span",[e._v("✓")])]:e._e()],2)],1):e._e()])],1)},i.staticRenderFns=[]},{"./ClientsCheckingOut.vue":255,debounce:41,katex:76,quill:115,"quill-cursors":114,reconnectingwebsocket:116,"rich-text":122,"sharedb/lib/client":133}],257:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("../subcomponents/ImageSelect.vue"),o=(t=i)&&t.__esModule?t:{default:t};n.default={props:{read_only:Boolean,mode:String},components:{ImageSelect:o.default},data:function(){return{show_password:!0,show_image:!1,show_nfc:!1,possible_roles:["contributor","participant","admin"],authordata:{name:"",email:"",password:"",role:"contributor",nfc_tag:""},preview:void 0,login_after_creation:!0,detect_scan_nfc_started:!1}},computed:{},created:function(){},mounted:function(){void 0===Modernizr||Modernizr.touchevents||this.$el.querySelector("[autofocus]").focus();this.$eventHub.$on("tag.new_tag_not_attributed",this.notAttributedTagDetected)},beforeDestroy:function(){this.$eventHub.$off("tag.new_tag_not_attributed",this.notAttributedTagDetected)},watch:{detect_scan_nfc_started:function(){this.detect_scan_nfc_started&&this.$alertify.closeLogOnClick(!0).delay(4e3).log(this.$t("scan_a_nfc_tag"))}},methods:{notAttributedTagDetected:function(e){this.show_nfc=!0,this.authordata.nfc_tag=e},newAuthor:function(e){var t=this;console.log("newAuthor");var n=JSON.parse(JSON.stringify(this.authordata));return n.hasOwnProperty("name")?this.$root.all_authors.map(function(e){return e&&e.name?e.name.toLowerCase():""}).includes(n.name.toLowerCase())?(this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.name_already_exists")),!1):(this.preview&&(n.preview_rawdata=this.preview),n.password&&(n.password=this.$auth.hashCode(n.password)),void this.$root.createFolder({type:"authors",data:n}).then(function(e){t.login_after_creation&&t.$nextTick(function(){t.$eventHub.$emit("authors.submitPassword",{slugFolderName:e.slugFolderName,password:n.password})}),t.$emit("close","")})):(this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.missing_name_field")),!1)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("form",{attrs:{read_only:e.read_only},on:{close:function(t){return e.$emit("close")},submit:function(t){return t.preventDefault(),e.newAuthor(t)}}},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("name_or_pseudo")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.authordata.name,expression:"authordata.name",modifiers:{trim:!0}}],attrs:{type:"text",required:"",autofocus:""},domProps:{value:e.authordata.name},on:{input:function(t){t.target.composing||e.$set(e.authordata,"name",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("email")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.authordata.email,expression:"authordata.email",modifiers:{trim:!0}}],attrs:{type:"email",required:!!e.$root.state.local_options.require_email},domProps:{value:e.authordata.email},on:{input:function(t){t.target.composing||e.$set(e.authordata,"email",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),"simple_login"!==e.mode?n("small",[e._v("\n "+e._s(e.$t("email_instructions"))+"\n ")]):e._e()]),e._v(" "),"simple_login"!==e.mode?n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("role")))]),e._v(" "),n("div",[n("select",{directives:[{name:"model",rawName:"v-model",value:e.authordata.role,expression:"authordata.role"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.authordata,"role",t.target.multiple?n:n[0])}}},e._l(e.possible_roles,function(t){return n("option",{key:t,attrs:{disabled:"admin"===t&&(!e.current_author||"admin"!==e.current_author.role)},domProps:{value:t}},[e._v("\n "+e._s(e.$t(t))+"\n ")])}),0)])]):e._e(),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("password")))]),e._v(" "),e.show_password?n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.authordata.password,expression:"authordata.password"}],attrs:{type:"password",required:!!e.$root.state.local_options.force_author_password,autocomplete:"new-password"},domProps:{value:e.authordata.password},on:{input:function(t){t.target.composing||e.$set(e.authordata,"password",t.target.value)}}})]):e._e()]),e._v(" "),"simple_login"!==e.mode?n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_image},attrs:{type:"button"},on:{click:function(t){e.show_image=!e.show_image}}},[e._v("\n "+e._s(e.$t("portrait"))+"\n ")])]),e._v(" "),e.show_image?[n("ImageSelect",{attrs:{instructions:e.$t("select_portrait_image"),load_from_projects_medias:!0},on:{newPreview:function(t){e.preview=t}}})]:e._e()],2):e._e(),e._v(" "),"simple_login"!==e.mode?n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_nfc},attrs:{type:"button"},on:{click:function(t){e.show_nfc=!e.show_nfc}}},[e._v("\n "+e._s(e.$t("nfc_tag"))+"\n ")])]),e._v(" "),e.show_nfc?n("div",[n("div",[n("small",[e._v("\n "+e._s(e.$t("nfc_tag_instructions"))+"\n ")])]),e._v(" "),""===e.authordata.nfc_tag?n("button",{staticClass:"button-thin",class:{"bg-bleumarine":!e.detect_scan_nfc_started},attrs:{type:"button"},on:{click:function(t){e.detect_scan_nfc_started=!e.detect_scan_nfc_started}}},[e.detect_scan_nfc_started?[e._v("\n "+e._s(e.$t("scan_a_nfc_tag"))+"\n ")]:[e._v("\n "+e._s(e.$t("pair_a_nfc_tag"))+"\n ")]],2):e._e(),e._v(" "),e.authordata.nfc_tag?n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.authordata.nfc_tag,expression:"authordata.nfc_tag"}],attrs:{type:"text",readonly:""},domProps:{value:e.authordata.nfc_tag},on:{input:function(t){t.target.composing||e.$set(e.authordata,"nfc_tag",t.target.value)}}}),e._v(" "),e.authordata.nfc_tag.length>0?n("span",{staticClass:"input-addon"},[n("button",{attrs:{type:"button",disabled:0===e.authordata.nfc_tag.length},on:{click:function(t){e.authordata.nfc_tag=""}}},[e._v("\n ×\n ")])]):e._e()]):e._e()]):e._e()]):e._e(),e._v(" "),n("div",{staticClass:"flex-wrap flex-space-between margin-bottom-small"},[n("button",{staticClass:"buttonLink",staticStyle:{"flex-grow":"0"},attrs:{type:"button"},on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("cancel"))+"\n ")]),e._v(" "),n("button",{staticClass:"bg-bleuvert",attrs:{type:"submit"}},[e._v(e._s(e.$t("create")))])]),e._v(" "),"simple_login"!==e.mode?n("div",{staticClass:"text-centered"},[n("span",{staticClass:"switch switch-xs margin-top-small"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.login_after_creation,expression:"login_after_creation"}],attrs:{id:"login_after_creation",type:"checkbox"},domProps:{checked:Array.isArray(e.login_after_creation)?e._i(e.login_after_creation,null)>-1:e.login_after_creation},on:{change:function(t){var n=e.login_after_creation,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&(e.login_after_creation=n.concat([null])):r>-1&&(e.login_after_creation=n.slice(0,r).concat(n.slice(r+1)))}else e.login_after_creation=o}}}),e._v(" "),n("label",{attrs:{for:"login_after_creation"}},[e._v("\n "+e._s(e.$t("login_after_creation"))+"\n ")])])]):e._e()])},i.staticRenderFns=[]},{"../subcomponents/ImageSelect.vue":262}],258:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{title:String,date:String,show_detail_initially:{type:Boolean,default:!1}},components:{},data:function(){return{show_detail:this.show_detail_initially}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_metaField",on:{click:function(t){e.show_detail=!e.show_detail}}},[n("div",[e._v(e._s(e.$t(e.title)))]),e._v(" "),n("div",[e.show_detail?[e._v(e._s(e.$root.formatDateToPrecise(e.date)))]:[e._v(e._s(e.$root.formatDateToHuman(e.date))+"\n ")]],2)])},i.staticRenderFns=[]},{}],259:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("rtcmulticonnection"),o=(t=i)&&t.__esModule?t:{default:t};n.default={props:{},components:{},data:function(){return{connection:void 0,username:this.$root.settings.capture_options.distant_flux.username,callee_username:this.$root.settings.capture_options.distant_flux.callee_username,is_calling:!1}},created:function(){},mounted:function(){var e=this;console.log("METHODS • DistantFlux: mounted"),this.connection=new o.default,this.connection.socketURL="https://rtcmulticonnection.herokuapp.com:443/",this.connection.session={audio:!0,video:!0},this.connection.sdpConstraints.mandatory={OfferToReceiveAudio:!0,OfferToReceiveVideo:!0};var t={};t={width:{ideal:1280},height:{ideal:720},frameRate:30},this.connection.mediaConstraints={video:t,audio:!0};var n=this.connection.CodecsHandler;this.connection.processSdp=function(e){return"vp8".length&&(e=n.preferCodec(e,"vp8".toLowerCase())),e=n.setApplicationSpecificBandwidth(e,{audio:128,video:512,screen:512}),e=n.setVideoBitrates(e,{min:4194304,max:4194304})},this.connection.onstream=function(t){console.log("MOUNTED • DistantFlux: onstream"),e.is_calling&&(t.mediaElement.removeAttribute("src"),t.mediaElement.removeAttribute("srcObject"),t.mediaElement.muted=!0,t.mediaElement.volume=0,e.$emit("changeStreamTo",t.stream),e.is_calling=!1)},this.connection.onstreamended=function(e){console.log("MOUNTED • DistantFlux: onstreamended")},this.connection.onMediaError=function(e){if(console.log("MOUNTED • DistantFlux: onMediaError"),"Concurrent mic process limit."===e.message){if(DetectRTC.audioInputDevices.length<=1)return void this.$alertify.closeLogOnClick(!0).delay(4e3).error("Please select external microphone. Check github issue number 483.");var t=DetectRTC.audioInputDevices[1].deviceId;this.connection.mediaConstraints.audio={deviceId:t},this.connection.join(this.connection.sessionid)}},this.$eventHub.$on("call_callee",this.call),this.connection.open(this.username),navigator.connection&&"cellular"===navigator.connection.type&&navigator.connection.downlinkMax<=.115&&this.$alertify.closeLogOnClick(!0).delay(4e3).error("2G is not supported. Please use a better internet service.")},beforeDestroy:function(){this.$eventHub.$off("call_callee",this.call)},watch:{},computed:{},methods:{call:function(){var e=this;console.log("METHODS • DistantFlux: call"),this.is_calling=!0,this.connection.checkPresence(this.$root.settings.capture_options.distant_flux.callee_username,function(t,n){console.log("METHODS • DistantFlux: call / checkPresence with callee_username = "+e.$root.settings.capture_options.distant_flux.callee_username+", is_calling = "+e.is_calling+" and isOnline = "+t),t?(e.$alertify.closeLogOnClick(!0).delay(4e3).success(n+" is online."),e.connection.join(n)):e.$alertify.closeLogOnClick(!0).delay(4e3).error(n+" is not online.")})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement;return(this._self._c||e)("div")},i.staticRenderFns=[]},{rtcmulticonnection:129}],260:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{editing_limited_to:String,viewing_limited_to:String,password:String,can_have_password:{type:Boolean,default:!0},can_have_readonly:{type:Boolean,default:!0},authors:Array,name:String},components:{},data:function(){return{local_editing_limited_to:this.editing_limited_to,local_viewing_limited_to:this.viewing_limited_to,editing_modes:[]}},created:function(){this.can_have_password?this.editing_modes=["only_authors","with_password","everybody","nobody"]:this.editing_modes=["only_authors","everybody","nobody"]},mounted:function(){},beforeDestroy:function(){},watch:{authors:{handler:function(e,t){var n=this;if("only_authors"===this.editing_limited_to&&0===e.length)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.if_only_authors_select_authors")),void this.$emit("update:authors",t);"only_authors"===this.editing_limited_to&&this.$root.current_author&&!1===e.some(function(e){return e.slugFolderName===n.$root.current_author.slugFolderName})&&!0===t.some(function(e){return e.slugFolderName===n.$root.current_author.slugFolderName})&&"admin"!==this.$root.current_author.role&&this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemoveYourselfFromAuthors"),function(){},function(){n.$emit("update:authors",t)})},deep:!0},local_editing_limited_to:function(){this.$emit("update:editing_limited_to",this.local_editing_limited_to),this.sanitizeViewingDependingOnEditing()},local_viewing_limited_to:function(){this.$emit("update:viewing_limited_to",this.local_viewing_limited_to)}},computed:{},methods:{sanitizeViewingDependingOnEditing:function(){this.can_have_readonly||("everybody"===this.local_editing_limited_to?this.local_viewing_limited_to="everybody":this.local_viewing_limited_to=""),"nobody"===this.local_editing_limited_to?this.local_viewing_limited_to="only_authors":"everybody"===this.local_editing_limited_to?this.local_viewing_limited_to="everybody":this.local_viewing_limited_to=""}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{},[n("label",[e._v(e._s(e.$t("who_can_edit")))]),e._v(" "),n("div",{},e._l(e.editing_modes,function(t){return n("div",{key:t},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.local_editing_limited_to,expression:"local_editing_limited_to"}],staticClass:"custom_radio",attrs:{type:"radio",id:"editing_limited_to-"+t,name:"editing_limited_to-"+t},domProps:{value:t,checked:e._q(e.local_editing_limited_to,t)},on:{change:function(n){e.local_editing_limited_to=t}}}),e._v(" "),n("label",{staticClass:"text-lc",attrs:{for:"editing_limited_to-"+t}},[n("span",[e._v(e._s(e.$t(t)))])])])}),0)]),e._v(" "),"with_password"===e.editing_limited_to&&e.can_have_password?n("div",{staticClass:"margin-top-small"},[n("label",[e._v(e._s(e.$t("password")))]),e._v(" "),n("div",[n("input",{attrs:{type:"password",required:"",autocomplete:"new-password"},domProps:{value:e.password},on:{input:function(t){return e.$emit("update:password",t.target.value)}}})])]):e._e(),e._v(" "),e.can_have_readonly&&"everybody"!==e.editing_limited_to?n("div",{staticClass:"margin-top-small"},[n("label",[e._v(e._s(e.$t("consultation")))]),e._v(" "),"nobody"===e.editing_limited_to?n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.local_viewing_limited_to,expression:"local_viewing_limited_to"}],staticClass:"custom_radio",attrs:{type:"radio",id:"visible_to_authors_only",name:"visibility",value:"only_authors"},domProps:{checked:e._q(e.local_viewing_limited_to,"only_authors")},on:{change:function(t){e.local_viewing_limited_to="only_authors"}}}),e._v(" "),n("label",{attrs:{for:"visible_to_authors_only"}},[n("span",[e._v(e._s(e.$t("visible_to_authors")))])])]):e._e(),e._v(" "),n("div",["checkbox"==("nobody"!==e.editing_limited_to?"checkbox":"radio")?n("input",{directives:[{name:"model",rawName:"v-model",value:e.local_viewing_limited_to,expression:"local_viewing_limited_to"}],class:"nobody"!==e.editing_limited_to?"":"custom_radio",attrs:{id:"visible_to_all",name:"visibility",value:"everybody","true-value":"everybody","false-value":"",type:"checkbox"},domProps:{checked:Array.isArray(e.local_viewing_limited_to)?e._i(e.local_viewing_limited_to,"everybody")>-1:e._q(e.local_viewing_limited_to,"everybody")},on:{change:function(t){var n=e.local_viewing_limited_to,i=t.target,o=i.checked?"everybody":"";if(Array.isArray(n)){var r=e._i(n,"everybody");i.checked?r<0&&(e.local_viewing_limited_to=n.concat(["everybody"])):r>-1&&(e.local_viewing_limited_to=n.slice(0,r).concat(n.slice(r+1)))}else e.local_viewing_limited_to=o}}}):"radio"==("nobody"!==e.editing_limited_to?"checkbox":"radio")?n("input",{directives:[{name:"model",rawName:"v-model",value:e.local_viewing_limited_to,expression:"local_viewing_limited_to"}],class:"nobody"!==e.editing_limited_to?"":"custom_radio",attrs:{id:"visible_to_all",name:"visibility",value:"everybody","true-value":"everybody","false-value":"",type:"radio"},domProps:{checked:e._q(e.local_viewing_limited_to,"everybody")},on:{change:function(t){e.local_viewing_limited_to="everybody"}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.local_viewing_limited_to,expression:"local_viewing_limited_to"}],class:"nobody"!==e.editing_limited_to?"":"custom_radio",attrs:{id:"visible_to_all",name:"visibility",value:"everybody","true-value":"everybody","false-value":"",type:"nobody"!==e.editing_limited_to?"checkbox":"radio"},domProps:{value:e.local_viewing_limited_to},on:{input:function(t){t.target.composing||(e.local_viewing_limited_to=t.target.value)}}}),e._v(" "),n("label",{attrs:{for:"visible_to_all"}},[n("span",[e._v(e._s(e.$t("visible_to_all")))])])]),e._v(" "),"nobody"===e.editing_limited_to?n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.local_viewing_limited_to,expression:"local_viewing_limited_to"}],staticClass:"custom_radio",attrs:{type:"radio",id:"visible_to_nobody",name:"visibility",value:""},domProps:{checked:e._q(e.local_viewing_limited_to,"")},on:{change:function(t){e.local_viewing_limited_to=""}}}),e._v(" "),n("label",{attrs:{for:"visible_to_nobody"}},[n("span",[e._v(e._s(e.$t("visible_to_nobody")))])])]):e._e()]):e._e()])},i.staticRenderFns=[],i._scopeId="data-v-337d73e4"},{}],261:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("../subcomponents/ImageSelect.vue"),o=(t=i)&&t.__esModule?t:{default:t};n.default={props:{read_only:Boolean,author:Object},components:{ImageSelect:o.default},data:function(){return{show_image:!!this.author.preview,show_nfc:!!this.author.nfc_tag,show_password:!1,possible_roles:["contributor","participant","admin"],authordata:{name:this.author.name,email:this.author.email,role:this.author.role,password:"",_old_password:"",nfc_tag:this.author.nfc_tag},preview:void 0,is_sending_content_to_server:!1}},computed:{previewURL:function(){if(!this.author.hasOwnProperty("preview")||""===this.author.preview)return"";var e=this.author.preview.filter(function(e){return 640===e.size});return e.length>0?""+e[0].path:""}},mounted:function(){void 0===Modernizr||Modernizr.touchevents||this.$el.querySelector("[autofocus]").focus()},methods:{editAuthor:function(e){var t=this;console.log("editAuthor");var n=this.$root.all_authors.map(function(e){return e.name.toLowerCase()});if(this.author.name!==this.authordata.name&&n.includes(this.authordata.name.toLowerCase()))return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.name_already_exists")),!1;void 0!==this.preview&&(this.authordata.preview_rawdata=this.preview),this.authordata.password?this.authordata.password=this.$auth.hashCode(this.authordata.password):delete this.authordata.password,this.authordata._old_password&&(this.authordata._old_password=this.$auth.hashCode(this.authordata._old_password)),this.is_sending_content_to_server=!0,this.$root.editFolder({type:"authors",slugFolderName:this.author.slugFolderName,data:this.authordata}).then(function(e){t.$alertify.closeLogOnClick(!0).delay(4e3).success(t.$t("notifications.successfully_saved")),t.is_sending_content_to_server=!1,t.$emit("close","")})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("form",{attrs:{read_only:e.read_only},on:{close:function(t){return e.$emit("close")},submit:function(t){return t.preventDefault(),e.editAuthor(t)}}},[n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("name")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.authordata.name,expression:"authordata.name",modifiers:{trim:!0}}],attrs:{type:"text",required:"",autofocus:""},domProps:{value:e.authordata.name},on:{input:function(t){t.target.composing||e.$set(e.authordata,"name",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("email")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.authordata.email,expression:"authordata.email",modifiers:{trim:!0}}],attrs:{type:"email"},domProps:{value:e.authordata.email},on:{input:function(t){t.target.composing||e.$set(e.authordata,"email",t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),n("small",[e._v(e._s(e.$t("email_instructions")))])]),e._v(" "),e.$root.current_author&&"admin"===e.$root.current_author.role?n("div",{staticClass:"margin-bottom-small"},[n("label",[e._v(e._s(e.$t("role")))]),e._v(" "),n("div",[n("select",{directives:[{name:"model",rawName:"v-model",value:e.authordata.role,expression:"authordata.role"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.authordata,"role",t.target.multiple?n:n[0])}}},e._l(e.possible_roles,function(t){return n("option",{key:t,attrs:{disabled:"admin"===t&&(!e.$root.current_author||"admin"!==e.$root.current_author.role)},domProps:{value:t}},[e._v(e._s(e.$t(t)))])}),0)])]):e._e(),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_image},attrs:{type:"button"},on:{click:function(t){e.show_image=!e.show_image}}},[e._v("\n "+e._s(e.$t("portrait"))+"\n ")])]),e._v(" "),e.show_image?[n("ImageSelect",{attrs:{previewURL:e.previewURL,instructions:e.$t("select_portrait_image"),load_from_projects_medias:!0},on:{newPreview:function(t){e.preview=t}}})]:e._e()],2),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_password},attrs:{type:"button"},on:{click:function(t){t.stopPropagation(),e.show_password=!e.show_password}}},["has_pass"===e.author.password?[e._v(e._s(e.$t("change_password")))]:[e._v(e._s(e.$t("add_password")))]],2)]),e._v(" "),e.show_password?n("div",[e.$root.current_author_is_admin?e._e():n("div",{staticClass:"margin-bottom-verysmall"},["has_pass"===e.author.password?n("input",{directives:[{name:"model",rawName:"v-model",value:e.authordata._old_password,expression:"authordata._old_password"}],attrs:{type:"password",placeholder:e.$t("old_password").toLowerCase()},domProps:{value:e.authordata._old_password},on:{input:function(t){t.target.composing||e.$set(e.authordata,"_old_password",t.target.value)}}}):e._e()]),e._v(" "),n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.authordata.password,expression:"authordata.password"}],attrs:{type:"password",required:!!e.$root.state.local_options.force_author_password,placeholder:e.$t("new_password").toLowerCase()},domProps:{value:e.authordata.password},on:{input:function(t){t.target.composing||e.$set(e.authordata,"password",t.target.value)}}})]),e._v(" "),n("small",[e._v(e._s(e.$t("password_instructions")))])]):e._e()]),e._v(" "),n("div",{staticClass:"margin-bottom-small"},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_nfc},attrs:{type:"button"},on:{click:function(t){e.show_nfc=!e.show_nfc}}},[e._v("\n "+e._s(e.$t("nfc_tag"))+"\n ")])]),e._v(" "),e.show_nfc?[n("input",{directives:[{name:"model",rawName:"v-model",value:e.authordata.nfc_tag,expression:"authordata.nfc_tag"}],attrs:{type:"text"},domProps:{value:e.authordata.nfc_tag},on:{input:function(t){t.target.composing||e.$set(e.authordata,"nfc_tag",t.target.value)}}})]:e._e()],2),e._v(" "),n("button",{staticClass:"button-small",attrs:{type:"button"},on:{click:function(t){return e.$emit("close")}}},[e._v("\n "+e._s(e.$t("cancel"))+"\n ")]),e._v(" "),n("button",{staticClass:"bg-bleuvert",attrs:{type:"submit"}},[e._v(e._s(e.$t("save")))]),e._v(" "),n("transition",{attrs:{name:"scaleIn",duration:400}},[e.is_sending_content_to_server?n("Loader"):e._e()],1)],1)},i.staticRenderFns=[]},{"../subcomponents/ImageSelect.vue":262}],262:[function(e,t,n){e("vueify/lib/insert-css").insert("img[data-v-1350626c]{width:200px}");!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{previewURL:String,instructions:String,slugProjectName:{type:String,default:""},load_from_projects_medias:{type:Boolean,default:!1}},components:{},data:function(){return{image:this.previewURL,id:"image_select_"+(Math.random().toString(36)+"00000000000000000").slice(2,5),show_medias_from_project:""}},created:function(){},mounted:function(){this.show_medias_from_project=this.slugProjectName?this.slugProjectName:""},beforeDestroy:function(){},watch:{show_medias_from_project:function(){this.$socketio.listMedias({type:"projects",slugFolderName:this.show_medias_from_project})}},computed:{_instructions:function(){return void 0!==this.instructions?this.instructions:this.$t("upload_from_device")},first_project_slug:function(){return 0===Object.keys(this.$root.store.projects).length?"":Object.keys(this.$root.store.projects)[0]}},methods:{getProjectsImages:function(e){var t=e.slugProjectName;return!(!t||!this.$root.store.projects.hasOwnProperty(t))&&(0!==this.$root.store.projects[t].medias.length&&Object.values(this.$root.store.projects[t].medias).filter(function(e){return"image"===e.type}))},onFileChange:function(e){var t=e.target.files||e.dataTransfer.files;t.length&&this.createImage(t[0])},createImage:function(e){var t=this,n=(new Image,new FileReader);n.onload=function(e){var n=e.target.result;t.image=n,t.$emit("newPreview",n)},n.readAsDataURL(e)},removeImage:function(e){this.image="",this.$emit("newPreview","")},mediasImagesPreviewURL:function(e){var t=e.thumbs,n=e.size,i=t.filter(function(e){return e.size===n});return 0!=i.length&&"/"+i[0].path},selectThisImageForPreview:function(e){var t=e.image;this.image={metaFileName:t.metaFileName,slugFolderName:this.show_medias_from_project,type:"projects"},this.$emit("newPreview",this.image)},getPreviewFromMedias:function(e){var t=e.slugFolderName,n=this.getProjectsImages({slugProjectName:t}).find(function(t){return t.metaFileName===e.metaFileName});return this.mediasImagesPreviewURL({thumbs:n.thumbs,size:1600})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_imageselect"},[e.image?e._e():n("div",{staticClass:"m_imageselect--upload"},[n("input",{staticClass:"inputfile-2",attrs:{type:"file",accept:"image/*",id:e.id},on:{change:e.onFileChange}}),e._v(" "),n("label",{attrs:{for:e.id}},[n("svg",{attrs:{width:"20",height:"17",viewBox:"0 0 20 17"}},[n("path",{attrs:{d:"M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"}})]),e._v("\n "+e._s(e._instructions)+"\n ")])]),e._v(" "),!e.image&&e.load_from_projects_medias?n("div",{staticClass:"m_imageselect--selectFromMedias"},[n("label",[e._v(e._s(e.$t("or_choose_from_image_medias")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.show_medias_from_project,expression:"show_medias_from_project"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.show_medias_from_project=t.target.multiple?n:n[0]}}},[n("option",{key:"''",domProps:{value:""}},[e._v("—")]),e._v(" "),e._l(e.$root.projects_that_are_accessible,function(t){return n("option",{key:t.slugFolderName,domProps:{value:t.slugFolderName}},[e._v(e._s(t.name))])})],2),e._v(" "),e.show_medias_from_project?n("div",{staticClass:"m_imageselect--selectFromMedias--imageList"},[!1===e.getProjectsImages({slugProjectName:e.show_medias_from_project})?[n("small",[n("i",[e._v(e._s(e.$t("loading")))])])]:0===e.getProjectsImages({slugProjectName:this.show_medias_from_project}).length?[n("small",[n("i",[e._v(e._s(e.$t("no_images_to_show")))])])]:e._l(e.getProjectsImages({slugProjectName:this.show_medias_from_project}),function(t){return n("button",{key:t.metaFileName,attrs:{type:"button"},on:{click:function(n){return e.selectThisImageForPreview({image:t})}}},[n("img",{attrs:{src:e.mediasImagesPreviewURL({thumbs:t.thumbs,size:360})}})])})],2):e._e()]):e._e(),e._v(" "),e.image?n("div",{staticClass:"m_imageselect--image"},["string"==typeof e.image?n("img",{attrs:{src:e.image,draggable:"false"}}):e._e(),e._v(" "),"object"==typeof e.image?n("img",{attrs:{src:e.getPreviewFromMedias(e.image),draggable:"false"}}):e._e(),e._v(" "),n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:e.removeImage}},[e._v("\n "+e._s(e.$t("remove_image"))+"\n ")])]):e._e()])},i.staticRenderFns=[],i._scopeId="data-v-1350626c"},{"vueify/lib/insert-css":182}],263:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(e("../../CaptureView.vue")),i=a(e("../modals/CaptureViewModal.vue")),o=a(e("./UploadFile.vue")),r=a(e("debounce"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{is_collapsed:{type:Boolean,default:!0},can_collapse:{type:Boolean,default:!0},publi_is_model:{type:Boolean,default:!1},publi_follows_model:{type:Boolean,default:!1},captureview_in_modal:{type:Boolean,default:!1},is_currently_active:Boolean,slugPubliName:String,modes_allowed:{type:[String,Object],default:"all"}},components:{CaptureView:t.default,CaptureViewModal:i.default,UploadFile:o.default},data:function(){return{show_menu:!this.is_collapsed,selected_files:[],id:(Math.random().toString(36)+"00000000000000000").slice(2,11),is_iOS_device:!!window.navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform),show_drop_container:!1,enable_capture_mode:!1}},created:function(){},mounted:function(){document.addEventListener("dragover",this.ondragover),this.cancelDragOver=(0,r.default)(this.cancelDragOver,300)},beforeDestroy:function(){document.removeEventListener("dragover",this.ondragover)},watch:{can_collapse:{handler:function(){this.can_collapse||(this.show_menu=!0)},immediate:!0}},computed:{},methods:{createTextMedia:function(){var e={type:"text"};this.modes_allowed&&"all"!==this.modes_allowed&&this.modes_allowed.text&&("false"===this.modes_allowed.text.advanced_text_options&&(e.plain_text=!0),this.modes_allowed.text.force_text_style&&(e.force_text_style=this.modes_allowed.text.force_text_style),"true"===this.modes_allowed.text.only_numbers&&(e.only_numbers=!0)),this.$emit("addMedia",e),this.show_menu=!1},createPlaceholderMedia:function(){this.$emit("addMedia",{type:"placeholder"}),this.show_menu=!1},createDivider:function(){this.$emit("addMedia",{type:"divider"}),this.show_menu=!1},insertImportedMedias:function(e){var t=this,n=e.metaFileNames;this.selected_files=[],this.show_menu=!1,this.enable_capture_mode=!1,setTimeout(function(){t.$emit("insertMedias",{metaFileNames:n})},500)},toggleMenu:function(){this.show_menu=!this.show_menu,this.enable_capture_mode=!1,this.selected_files=[]},toggleCapture:function(){var e=this;if(this.is_iOS_device)return this.$alertify.closeLogOnClick(!0).delay(8e3).error(this.$t("notifications.ios_not_compatible_with_capture")),void setTimeout(function(){e.$alertify.closeLogOnClick(!0).delay(8e3).success(e.$t("notifications.instead_import_with_this_button"))},1500);this.enable_capture_mode=!this.enable_capture_mode},updateInputFiles:function(e){"debug"===this.$root.state.dev_mode&&console.log("InsertMediaButton • METHODS / updateInputFiles"),this.selected_files=Array.from(e.target.files),e.target.value=""},ondragover:function(){"debug"===this.$root.state.dev_mode&&console.log("InsertMediaButton • METHODS / ondragover"),this.show_drop_container=!0,this.cancelDragOver()},cancelDragOver:function(){"debug"===this.$root.state.dev_mode&&console.log("InsertMediaButton • METHODS / cancelDragOver"),this.show_drop_container=!1},dropHandler:function(e){if("debug"===this.$root.state.dev_mode&&console.log("InsertMediaButton • METHODS / dropHandler"),e.preventDefault(),e.dataTransfer.items){for(var t=[],n=0;n<e.dataTransfer.items.length;n++)"file"===e.dataTransfer.items[n].kind&&t.push(e.dataTransfer.items[n].getAsFile());this.selected_files=t}else for(n=0;n<e.dataTransfer.files.length;n++)this.selected_files=Array.from(e.dataTransfer.files)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_insertMediaButton",class:{"is--open":e.show_menu,"is--dragover":e.show_drop_container}},[e.show_menu?e._e():n("div",{staticClass:"m_insertMediaButton--importHere",class:{"is--active":e.is_currently_active&&!e.show_drop_container&&e.$root.current_project}}),e._v(" "),n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0],\n }"}],staticClass:"m_insertMediaButton--toggleButton",class:{"is--active":e.show_menu},attrs:{type:"button",content:e.show_menu?"":e.$t("insert_medias_here")},on:{click:e.toggleMenu}}),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:150,mode:"out-in"}},[e.show_drop_container?n("div",{staticClass:"_drop_indicator",on:{drop:function(t){return e.dropHandler(t)}}},[n("div",[n("img",{attrs:{src:"/images/i_importer.svg",draggable:"false"}}),e._v(" "),n("label",[e._v(e._s(e.$t("drop_here_to_import")))])]),e._v(" "),e.publi_follows_model?n("div",{staticClass:"ta-ce padding-sides-small"},[n("small",{staticClass:"c-noir"},[n("span",{domProps:{innerHTML:e._s(e.$t("type_of_expected_contents:"))}}),e._v(" "),"all"===e.modes_allowed?[e._v(e._s(e.$t("all")))]:e._l(Object.keys(e.modes_allowed),function(t,i){return n("span",{key:t,domProps:{innerHTML:e._s((i>0?", ":"")+e.$t(t))}})})],2)]):e._e()]):e.show_menu&&0===e.selected_files.length&&!e.enable_capture_mode?n("div",{staticClass:"m_insertMediaButton--menu"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.$root.state.connected,expression:"$root.state.connected"}],staticClass:"m_actionbar"},[n("div",{staticClass:"m_actionbar--buttonBar"},[!e.publi_follows_model||"all"===e.modes_allowed||Object.keys(e.modes_allowed).some(function(e){return["photo","video","stopmotion","audio","vecto"].includes(e)})?n("button",{staticClass:"barButton barButton_capture",class:{"is--disabled":e.is_iOS_device},attrs:{type:"button"},on:{click:e.toggleCapture}},[n("span",[e._v(e._s(e.$t("capture")))])]):e._e(),e._v(" "),1!==Object.keys(e.modes_allowed).length||"text"!==Object.keys(e.modes_allowed)[0]?n("label",{staticClass:"barButton barButton_import button",attrs:{id:"insert_file_"+e.id}},[n("span",[e._v("\n "+e._s(e.$t("import"))+"\n ")]),e._v(" "),n("input",{staticStyle:{width:"1px",height:"1px",overflow:"hidden"},attrs:{type:"file",multiple:"",id:"insert_file_"+e.id,name:"file",accept:""},on:{change:function(t){return e.updateInputFiles(t)}}})]):e._e(),e._v(" "),!e.publi_follows_model||"all"===e.modes_allowed||e.modes_allowed.hasOwnProperty("text")?n("button",{staticClass:"barButton barButton_text",attrs:{type:"button"},on:{click:e.createTextMedia}},[n("span",[e._v(e._s(e.$t("write")))])]):e._e(),e._v(" "),e.publi_follows_model?e._e():n("button",{staticClass:"barButton barButton_divider",attrs:{type:"button"},on:{click:e.createDivider}},[n("span",[e._v(e._s(e.$t("divider")))])]),e._v(" "),e.publi_is_model?n("button",{staticClass:"barButton barButton_placeholder",attrs:{type:"button"},on:{click:e.createPlaceholderMedia}},[n("span",[e._v(e._s(e.$t("placeholder")))])]):e._e()])])]):e.selected_files.length>0?n("UploadFile",{staticClass:"m_insertMediaButton--uploadFile",attrs:{slugFolderName:e.slugPubliName,type:"publications",selected_files:e.selected_files},on:{insertMedias:function(t){return e.insertImportedMedias({metaFileNames:t})}}}):e.enable_capture_mode?[n(e.captureview_in_modal?"CaptureViewModal":"CaptureView",{tag:"component",staticClass:"is--collapsed",attrs:{slugFolderName:e.slugPubliName,type:"publications",read_only:e.read_only,can_add_to_fav:!1,available_modes:"all"!==e.modes_allowed?Object.keys(e.modes_allowed).filter(function(e){return"text"!==e&&"file"!==e}):void 0},on:{insertMedias:function(t){return e.insertImportedMedias({metaFileNames:t})},close:function(t){e.enable_capture_mode=!1}}})]:e._e()],2)],1)},i.staticRenderFns=[],i._scopeId="data-v-5bb53b32"},{"../../CaptureView.vue":197,"../modals/CaptureViewModal.vue":217,"./UploadFile.vue":283,debounce:41}],264:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t="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},i=r(e("./MediaContent.vue")),o=(e("timers"),r(e("../subcomponents/ClientsCheckingOut.vue")));function r(e){return e&&e.__esModule?e:{default:e}}n.default={props:{media:Object,slugProjectName:String,metaFileName:String,can_edit_media:Boolean,preview_size:Number,is_selected:Boolean},components:{MediaContent:i.default,ClientsCheckingOut:o.default},data:function(){return{is_hovered:!1,mediaTypeIcon:{image:"/images/i_icone-dodoc_image.svg",video:"/images/i_icone-dodoc_video.svg",stopmotion:"/images/i_icone-dodoc_anim.svg",audio:"/images/i_icone-dodoc_audio.svg"},local_is_selected:!1,id:(Math.random().toString(36)+"00000000000000000").slice(2,8)}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{is_selected:function(){this.local_is_selected=this.is_selected}},computed:{media_content:function(){return this.media.type,this.media.content},is_media_in_publi:function(){var e=this;return Object.values(this.$root.current_publication_medias).findIndex(function(t){return t.slugMediaName===e.metaFileName})>-1},instructions_depending_on_media_in_publi:function(){return this.is_media_in_publi,this.$t("add_to_recipe")},media_made_by_current_author:function(){var e=this;return!(!this.media.authors||"object"!==t(this.media.authors))&&(!!this.$root.current_author&&this.media.authors.filter(function(t){return t.slugFolderName===e.$root.current_author.slugFolderName}).length>0)}},methods:{openMediaModal:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCard: openMediaModal = "+this.metaFileName),this.$root.openMedia({slugProjectName:this.slugProjectName,metaFileName:this.metaFileName})},removeMedia:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCard: removeMedia"),this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemoveMedia"),function(){e.$root.removeMedia(e.slugProjectName,e.metaFileName)},function(){})},addToCurrentPubli:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaCard: addToPubli"),this.$eventHub.$emit("publication.addMedia",{values:{slugProjectName:this.slugProjectName,metaFileName:this.metaFileName}})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.media._isAbsent?e._e():n("div",{staticClass:"m_mediaCard",class:{"is--inPubli":e.is_media_in_publi,"is--fav":e.media.fav,"is--ownMedia":e.media_made_by_current_author,"is--selected":e.is_selected}},[n("div",[n("figure",{class:{"is--hovered":e.is_hovered},on:{click:[function(t){return t.stopPropagation(),t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.openMediaModal()},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:t.shiftKey?"button"in t&&0!==t.button?null:t.ctrlKey||t.altKey||t.metaKey?null:e.$emit("toggleSelect"):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:t.metaKey?"button"in t&&0!==t.button?null:t.ctrlKey||t.shiftKey||t.altKey?null:e.$emit("toggleSelect"):null}],mouseover:function(t){e.is_hovered=!0},mouseleave:function(t){e.is_hovered=!1}}},[n("div",[n("div",{staticClass:"m_mediaCard--topbar m_metaField padding-sides-verysmall"},[n("div",[e.media.fav?n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 78.5 106.4"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"78.5px",height:"106.4px",viewBox:"0 0 78.5 106.4","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"60.4,29.7 78.5,7.3 78.5,7.3 12.7,7.3 12.7,52 78.5,52 78.5,52 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"9.6,106.4 0,106.4 0,2 9.6,0 "}})]):e._e(),e._v(" "),e.media.type?n("span",{class:{"c-rouge":e.media.fav}},[e._v("\n "+e._s(e.$t(e.media.type))+"\n ")]):e._e(),e._v(" "),e.is_hovered||e.is_selected?n("label",{staticClass:"input-selector",attrs:{for:e.is_selected+e.id},on:{click:function(e){e.stopPropagation()}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.local_is_selected,expression:"local_is_selected"}],class:{disabled:!e.can_edit_media},attrs:{id:e.is_selected+e.id,type:"checkbox"},domProps:{checked:Array.isArray(e.local_is_selected)?e._i(e.local_is_selected,null)>-1:e.local_is_selected},on:{change:[function(t){var n=e.local_is_selected,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&(e.local_is_selected=n.concat([null])):r>-1&&(e.local_is_selected=n.slice(0,r).concat(n.slice(r+1)))}else e.local_is_selected=o},function(t){return e.$emit("toggleSelect")}]}})]):e._e()])]),e._v(" "),n("MediaContent",{attrs:{context:"preview",slugFolderName:e.slugProjectName,media:e.media,preview_size:e.preview_size},model:{value:e.media_content,callback:function(t){e.media_content=t},expression:"media_content"}}),e._v(" "),e.media.caption?n("figcaption",{staticClass:"m_mediaCard--caption"},[n("span",[e._v(e._s(e.media.caption))])]):e._e(),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:400}},[e.$root.settings.current_publication.slug&&e.$root.settings.current_publication.accepted_media_type.includes(e.media.type)?n("div",{staticClass:"m_mediaCard--add_to_recipe",on:{click:function(t){return t.stopPropagation(),e.addToCurrentPubli()}}},[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"left",delay:[600,0]},expression:"{\n placement: 'left',\n delay: [600, 0],\n }"}],staticClass:"button_addToPubli bg-bleuvert button-square",attrs:{type:"button",content:e.instructions_depending_on_media_in_publi},on:{click:function(t){return t.stopPropagation(),e.addToCurrentPubli()}}},[(e.is_media_in_publi,[e._v("→")])],2)]):e._e()])],1),e._v(" "),n("ClientsCheckingOut",{attrs:{type:"projects",slugFolderName:e.slugProjectName,metaFileName:e.media.metaFileName}}),e._v(" "),(e.is_hovered,e._e())],1)])])},i.staticRenderFns=[]},{"../subcomponents/ClientsCheckingOut.vue":255,"./MediaContent.vue":265,timers:168}],265:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i="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},o=e("./CollaborativeEditor.vue"),r=(t=o)&&t.__esModule?t:{default:t};n.default={props:{slugFolderName:String,media:Object,folderType:{type:String,default:""},context:{type:String,default:"preview"},autoplay:{type:Boolean,default:!1},value:{type:String,default:"…"},read_only:{type:Boolean,default:!0},preview_size:{type:Number,default:180},element_width_for_sizes:{type:Number,default:0},element_height:{type:Number,default:0},audio_volume:{type:Number,default:100}},components:{CollaborativeEditor:r.default},data:function(){return{available_resolutions:{preview_hovered:360,default:1600},htmlForEditor:this.value,interactive_stl_mode:!1,id:(Math.random().toString(36)+"00000000000000000").slice(2,8),plyr_options:{controls:["play-large","play","progress","current-time","mute","volume","fullscreen"],iconUrl:"export_publication"===this.$root.state.mode?"./_images/plyr.svg":"/images/plyr.svg"}}},mounted:function(){"edit"===this.context&&(void 0===Modernizr||Modernizr.touchevents||this.$refs.textField),this.setVolume(this.audio_volume)},beforeDestroy:function(){},watch:{htmlForEditor:function(){this.$emit("input",this.htmlForEditor)},interactive_stl_mode:function(){}},computed:{mediaURL:function(){return"export_publication"===this.$root.state.mode?"./"+this.subfolder+this.slugFolderName+"/"+this.media.media_filename:"/"+this.subfolder+this.slugFolderName+"/"+this.media.media_filename},subfolder:function(){switch(this.folderType){case"publications":return"_publications/";case"stopmotions":return"_stopmotions/"}return""},thumbRes:function(){return"preview"===this.context?this.preview_size:this.available_resolutions.default},media_duration:function(){return!!(this.media.hasOwnProperty("duration")||this.media.hasOwnProperty("file_meta")&&this.media.file_meta.some(function(e){return e.hasOwnProperty("duration")}))&&(this.media.hasOwnProperty("duration")?this.media.duration:this.media.file_meta.find(function(e){return e.hasOwnProperty("duration")}).duration)},thumbResHovered:function(){return this.available_resolutions.preview_hovered},linkToImageThumb:function(){var e=this;if(!this.media.hasOwnProperty("thumbs"))return this.mediaURL;if("preview"!==this.context&&(this.mediaURL.toLowerCase().endsWith(".gif")||this.mediaURL.toLowerCase().endsWith(".svg")||this.mediaURL.toLowerCase().endsWith(".png")))return this.mediaURL;var t=this.media.thumbs.filter(function(t){return!!t&&t.hasOwnProperty("size")&&t.size===e.thumbRes});if(0==t.length)return this.mediaURL;var n=t[0].path;return"export_publication"===this.$root.state.mode?"./"+n:"/"+n},imageSrcSetAttr:function(){var e=this;if(0!==this.element_width_for_sizes&&!this.mediaURL.toLowerCase().endsWith(".gif"))return this.media.thumbs.reduce(function(t,n){if(n.hasOwnProperty("path")){var i="export_publication"===e.$root.state.mode?"./"+n.path:"/"+n.path;t.push(i+" "+n.size+"w")}return t},[]).join(", ")},imageSizesAttr:function(){if(0!==this.element_width_for_sizes)return this.element_width_for_sizes+"px"}},methods:{volumeChanged:function(e){var t=Math.round(100*Number(e.detail.plyr.volume));this.$emit("volumeChanged",t)},videoTimeUpdated:function(e){this.$emit("videoTimeUpdated",e.detail.plyr.media.currentTime)},setVolume:function(e){this.$refs.hasOwnProperty("plyr")&&(this.$refs.plyr.player.volume=e/100)},linkToComplexMediaThumb:function(e){var t=this,n=e.opt;if(!this.media.thumbs||"object"===i(this.media.thumbs)&&0===this.media.thumbs.length)return this.mediaURL;var o=this.media.thumbs.find(function(e){return!!e&&0===e[n]}).thumbsData.find(function(e){return e&&e.size===t.thumbRes});if(!o)return this.mediaURL;var r=o.path,a="export_publication"===this.$root.state.mode?"./"+r:"/"+r;return void 0!==r?a:this.mediaURL},complexMediaSrcSetAttr:function(e){var t=this,n=e.opt;if(0!==this.element_width_for_sizes){var i=this.media.thumbs.filter(function(e){return!!e&&0===e[n]});if(i&&0!==i.length)return i[0].thumbsData.reduce(function(e,n){if(n.hasOwnProperty("path")){var i="export_publication"===t.$root.state.mode?"./"+n.path:"/"+n.path;e.push(i+" "+n.size+"w")}return e},[]).join(", ")}}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{key:e.slugFolderName+e.media.media_filename,staticClass:"mediaContainer",class:"type-"+e.media.type,attrs:{"data-context":e.context}},["image"===e.media.type?[n("img",{attrs:{srcset:e.imageSrcSetAttr,sizes:e.imageSizesAttr,src:e.linkToImageThumb,draggable:"false"}})]:"video"===e.media.type?["preview"===e.context?[n("img",{attrs:{srcset:e.complexMediaSrcSetAttr({opt:"timeMark"}),sizes:e.imageSizesAttr,src:e.linkToComplexMediaThumb({opt:"timeMark"}),draggable:"false"}}),e._v(" "),n("div",{},[n("div",{staticClass:"play_picto"},[n("svg",{staticStyle:{"enable-background":"new 0 0 169 169"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"169px",height:"169px",viewBox:"0 0 169 169","xml:space":"preserve"}},[n("path",{attrs:{d:"M53.2,138.4c-4.6,3-8.4,0.9-8.4-4.6V30.4c0-5.5,3.8-7.6,8.4-4.6l78.5,50.9c4.6,3,4.6,7.9,0,10.9L53.2,138.4z"}})])]),e._v(" "),e.media_duration?n("div",{staticClass:"_duration"},[e._v("\n "+e._s(e.$root.formatDurationToHoursMinutesSeconds(1e3*e.media_duration))+"\n ")]):e._e()])]:[n("vue-plyr",{key:e.mediaURL,ref:"plyr",attrs:{options:e.plyr_options,emit:["volumechange","timeupdate"]},on:{volumechange:e.volumeChanged,timeupdate:e.videoTimeUpdated}},[n("video",{attrs:{poster:e.linkToComplexMediaThumb({opt:"timeMark"}),src:e.mediaURL,preload:"none",autoplay:e.autoplay}})])]]:"stl"===e.media.type?["preview"===e.context?[n("img",{attrs:{srcset:e.complexMediaSrcSetAttr({opt:"angle"}),sizes:e.imageSizesAttr,src:e.linkToComplexMediaThumb({opt:"angle"}),draggable:"false"}})]:[e.interactive_stl_mode?n("iframe",{attrs:{src:"/libs/stl/show_stl.html?mediaURL="+e.mediaURL}}):n("img",{attrs:{srcset:e.complexMediaSrcSetAttr({opt:"angle"}),sizes:e.imageSizesAttr,src:e.linkToComplexMediaThumb({opt:"angle"}),draggable:"false"}}),e._v(" "),n("div",{staticClass:"mediaContainer--buttons"},[n("div",{staticClass:"switch switch-xs switch_twoway button button-thin",on:{click:function(t){if(t.target!==t.currentTarget)return null;e.interactive_stl_mode=!e.interactive_stl_mode}}},[n("label",{staticClass:"cursor-pointer",class:{"is--active":!e.interactive_stl_mode},attrs:{for:"interactive_preview_"+e.id}},[n("span",{},[e._v(e._s(e.$t("static_preview")))])]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.interactive_stl_mode,expression:"interactive_stl_mode"}],staticClass:"switch",attrs:{type:"checkbox",id:"interactive_preview_"+e.id},domProps:{checked:Array.isArray(e.interactive_stl_mode)?e._i(e.interactive_stl_mode,null)>-1:e.interactive_stl_mode},on:{change:function(t){var n=e.interactive_stl_mode,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&(e.interactive_stl_mode=n.concat([null])):r>-1&&(e.interactive_stl_mode=n.slice(0,r).concat(n.slice(r+1)))}else e.interactive_stl_mode=o}}}),e._v(" "),n("label",{class:{"is--active":e.interactive_stl_mode},attrs:{for:"interactive_preview_"+e.id}},[e._v(e._s(e.$t("interactive_preview")))])])])]]:"audio"===e.media.type?["preview"===e.context?[n("div",{staticClass:"play_picto"},[n("svg",{staticStyle:{"enable-background":"new 0 0 169 169"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"169px",height:"169px",viewBox:"0 0 169 169","xml:space":"preserve"}},[n("path",{attrs:{d:"M53.2,138.4c-4.6,3-8.4,0.9-8.4-4.6V30.4c0-5.5,3.8-7.6,8.4-4.6l78.5,50.9c4.6,3,4.6,7.9,0,10.9L53.2,138.4z"}})])])]:[n("vue-plyr",{ref:"plyr",attrs:{options:e.plyr_options,emit:["volumechange","timeupdate"]},on:{volumechange:e.volumeChanged,timeupdate:e.videoTimeUpdated}},[n("audio",{attrs:{src:e.mediaURL,preload:"none",autoplay:e.autoplay}})])]]:"text"===e.media.type?["edit"===e.context?n("CollaborativeEditor",{ref:"textField",attrs:{media:e.media,read_only:e.read_only,slugFolderName:e.slugFolderName,enable_collaboration:!0,type:e.folderType},model:{value:e.htmlForEditor,callback:function(t){e.htmlForEditor=t},expression:"htmlForEditor"}}):n("div",{staticClass:"mediaTextContent"},[0!==e.value.length?n("div",{domProps:{innerHTML:e._s(e.value)}}):n("p",{domProps:{innerHTML:e._s("…")}})])]:"marker"===e.media.type?["edit"!==e.context?n("div",{staticClass:"padding-small"},[e.value.length>0?[e._v(e._s(e.value))]:[e._v("…")]],2):n("input",{ref:"textField",staticClass:"border-none bg-transparent",attrs:{type:"text",placeholder:"Étiquette",name:"label",readonly:e.read_only},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t.target.value)}}})]:"document"===e.media.type?["edit"!==e.context&&"full"!==e.context?n("div",{staticClass:"padding-small font-verysmall"},[n("pre",[e._v(e._s(e.media.media_filename)+"\n ")])]):n("iframe",{attrs:{src:e.mediaURL}})]:"other"===e.media.type?[n("div",{staticClass:"padding-small font-verysmall"},[n("pre",[e._v(e._s(e.media.media_filename))])])]:e._e()],2)},i.staticRenderFns=[]},{"./CollaborativeEditor.vue":256}],266:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,i=e("./CollaborativeEditor.vue"),o=(t=i)&&t.__esModule?t:{default:t};n.default={props:{value:{type:String,default:""},add_instructions:String,edit_instructions:String,show_edit_button:Boolean,read_only:Boolean},components:{CollaborativeEditor:o.default},data:function(){return{new_value:this.value?this.value:"",edit_mode:!1}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{edit_mode:function(){this.edit_mode&&(this.new_value=this.value)}},computed:{},methods:{updateValue:function(){this.$emit("updateField",this.new_value),this.edit_mode=!1}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_mediaField",class:{"is--beingEdited":e.edit_mode}},[e.edit_mode?e.edit_mode?[n("CollaborativeEditor",{ref:"textField",model:{value:e.new_value,callback:function(t){e.new_value=t},expression:"new_value"}}),e._v(" "),n("div",{staticClass:"m_mediaField--buttonRow"},[n("button",{staticClass:"button-redthin",attrs:{type:"button"},on:{click:function(t){e.edit_mode=!1}}},[e._v("\n "+e._s(e.$t("cancel"))+"\n ")]),e._v(" "),n("button",{staticClass:"button-greenthin",attrs:{type:"button"},on:{click:function(t){return e.updateValue()}}},[e._v("\n "+e._s(e.$t("send"))+"\n ")])])]:e._e():[e.value?n("div",{staticClass:"mediaTextContent",domProps:{innerHTML:e._s(e.value)}}):e._e(),e._v(" "),e.show_edit_button&&!e.read_only?n("button",{staticClass:"buttonLink",attrs:{type:"button"},domProps:{innerHTML:e._s(e.value?e.edit_instructions:e.add_instructions)},on:{click:function(t){e.edit_mode=!0}}}):e._e()]],2)},i.staticRenderFns=[],i._scopeId="data-v-565ff651"},{"./CollaborativeEditor.vue":256}],267:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=i(e("./MediaContent.vue"));i(e("debounce"));function i(e){return e&&e.__esModule?e:{default:e}}n.default={props:{media:Object,preview_mode:Boolean,read_only:Boolean,enable_image_timer:{type:Boolean,default:!1},available_buttons:{type:Array,default:function(){return["duplicate","remove"]}},enable_set_video_volume:{type:Boolean,default:!1}},components:{MediaContent:t.default},data:function(){return{mediaID:""+(Math.random().toString(36)+"00000000000000000").slice(2,8),seconds_per_image:this.media.duration,volume:this.media.volume?this.media.volume:100,show_advanced_menu:!1}},created:function(){},mounted:function(){this.enable_image_timer&&void 0===this.seconds_per_image&&(this.seconds_per_image=1)},beforeDestroy:function(){},watch:{"media.duration":function(){this.enable_image_timer&&(this.seconds_per_image=this.media.duration)},seconds_per_image:function(){this.seconds_per_image=Math.min(999,Math.max(0,this.seconds_per_image)),this.media.duration!==this.seconds_per_image&&this.updateMediaPubliMeta({duration:this.seconds_per_image})},"media.volume":function(){this.enable_set_video_volume&&(this.volume=this.media.volume,this.$refs.mediaContent.setVolume(this.volume))},volume:function(){this.volume=Math.min(100,Math.max(0,this.volume)),this.media.volume!==this.volume&&this.updateMediaPubliMeta({volume:this.volume})}},computed:{solid_color_background:function(){return this.media.color?"background-color: "+this.media.color:"background-color: #000"},original_media_duration:function(){return!(!this.media.hasOwnProperty("_linked_media")||!this.media._linked_media.duration)&&this.$moment.utc(1e3*this.media._linked_media.duration).format("mm:ss")},media_dimensions:function(){return!!(this.media.hasOwnProperty("_linked_media")&&this.media._linked_media.file_meta&&this.media._linked_media.file_meta.find(function(e){return e.hasOwnProperty("width")})&&this.media._linked_media.file_meta.find(function(e){return e.hasOwnProperty("height")}))&&this.media._linked_media.file_meta.find(function(e){return e.hasOwnProperty("width")}).width+" × "+this.media._linked_media.file_meta.find(function(e){return e.hasOwnProperty("height")}).height}},methods:{updateMediaPubliMeta:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaMontagePublication: updateMediaPubliMeta"),this.$emit("editPubliMedia",{metaFileName:this.media.metaFileName,val:e})},editButtonClicked:function(){var e=this;this.media.hasOwnProperty("_linked_media")?this.$root.openMedia({slugProjectName:this.media._linked_media.slugProjectName,metaFileName:this.media._linked_media.metaFileName}):(this.inline_edit_mode=!0,this.$nextTick(function(){e.$refs.textField&&e.$refs.textField.$el&&e.$refs.textField.$el.querySelector(".ql-editor").focus()}))},duplicateMedia:function(){this.$emit("duplicateMedia",{metaFileName:this.media.metaFileName}),this.show_advanced_menu=!1},removePubliMedia:function(){var e=this;this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemoveMedia"),function(){e.$emit("removePubliMedia",{metaFileName:e.media.metaFileName})},function(){})},volumeChanged:function(e){this.volume=e}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"media",staticClass:"m_mediaMontagePublication",class:{"is--waitingForServerResponse":e.is_waitingForServer}},[e.media.hasOwnProperty("_linked_media")&&e.media._linked_media.hasOwnProperty("_isAbsent")?n("div",[e._v("\n "+e._s(e.$t("linked_media_wasnt_found"))+"\n "),n("br"),e._v(" "),n("small",[e._v("\n "+e._s(e.media._linked_media.slugProjectName)+"/"+e._s(e.media._linked_media.slugMediaName)+"\n ")])]):e.media.hasOwnProperty("_linked_media")?[n("MediaContent",{ref:"mediaContent",attrs:{context:"full",slugFolderName:e.media._linked_media.slugProjectName,media:e.media._linked_media,read_only:e.read_only||e.preview_mode,audio_volume:e.volume},on:{volumeChanged:e.volumeChanged},model:{value:e.media._linked_media.content,callback:function(t){e.$set(e.media._linked_media,"content",t)},expression:"media._linked_media.content"}}),e._v(" "),e.media._linked_media.caption?n("p",{staticClass:"mediaCaption"},[e._v("\n "+e._s(e.media._linked_media.caption)+"\n ")]):e._e(),e._v(" "),n("div",{staticClass:"margin-top-small"},[e.original_media_duration||e.enable_image_timer?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("duration")))]),e._v(" "),e.original_media_duration?n("div",[e._v("\n "+e._s(e.original_media_duration)+"\n ")]):e.enable_image_timer&&"image"===e.media._linked_media.type?n("div",{staticClass:"m_mediaMontagePublication--set_props"},[n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.seconds_per_image,expression:"seconds_per_image",modifiers:{number:!0}}],staticClass:"input-xs",attrs:{type:"number",step:"1",disabled:e.read_only||e.preview_mode},domProps:{value:e.seconds_per_image},on:{input:function(t){t.target.composing||(e.seconds_per_image=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),n("span",[e._v(e._s(e.$t("seconds")))])]):e._e()]):e._e(),e._v(" "),n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("project")))]),e._v(" "),n("div",[e._v("\n "+e._s(e.$root.store.projects[e.media._linked_media.slugProjectName].name)+"\n ")])]),e._v(" "),e.media_dimensions?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("dimensions")))]),e._v(" "),n("div",[e._v(e._s(e.media_dimensions))])]):e._e(),e._v(" "),e.enable_set_video_volume&&"video"===e.media._linked_media.type?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("volume")))]),e._v(" "),n("div",{staticClass:"m_mediaMontagePublication--set_props"},[e._v("\n "+e._s(e.volume)+" / 100\n ")])]):e._e()])]:"solid_color"===e.media.type?n("div",{staticClass:"m_mediaMontagePublication--solidColor"},[n("div",{staticClass:"m_mediaMontagePublication--solidColor--colorPreview",style:e.solid_color_background},[e.read_only||e.preview_mode?e._e():n("input",{attrs:{type:"color",id:"solidcolor + "+e.media.metaFileName},domProps:{value:e.media.color},on:{change:function(t){return e.updateMediaPubliMeta({color:t.target.value})}}}),e._v(" "),e.read_only||e.preview_mode?e._e():n("label",{attrs:{for:"solidcolor + "+e.media.metaFileName}},[e._v("\n "+e._s(e.$t("select_color"))+"\n ")])]),e._v(" "),n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("duration")))]),e._v(" "),n("div",{staticClass:"m_mediaMontagePublication--set_props"},[n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.seconds_per_image,expression:"seconds_per_image",modifiers:{number:!0}}],attrs:{type:"number",step:"1",disabled:e.read_only||e.preview_mode},domProps:{value:e.seconds_per_image},on:{input:function(t){t.target.composing||(e.seconds_per_image=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),n("span",[e._v(e._s(e.$t("seconds")))])])])]):e._e(),e._v(" "),n("button",{staticClass:"_advanced_menu_button _no_underline",class:{"is--active":e.show_advanced_menu},attrs:{type:"button"},on:{mousedown:function(t){t.stopPropagation(),t.preventDefault(),e.show_advanced_menu=!e.show_advanced_menu},touchstart:function(t){t.stopPropagation(),t.preventDefault(),e.show_advanced_menu=!e.show_advanced_menu}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 168 168"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"168px",height:"168px",viewBox:"0 0 168 168","xml:space":"preserve"}},[n("rect",{staticClass:"st0",attrs:{x:"73.5",y:"37",width:"21",height:"21"}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{x:"73.5",y:"73.5",width:"21",height:"21"}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{x:"73.5",y:"110",width:"21",height:"21"}})])]),e._v(" "),e.show_advanced_menu?n("div",{staticClass:"_advanced_menu",on:{click:function(e){e.stopPropagation()}}},[e.media.hasOwnProperty("_linked_media")?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],staticClass:"buttonLink _no_underline",attrs:{type:"button",content:e.$t("edit_original_media")},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.editButtonClicked(t)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.editButtonClicked(t)}}},[n("svg",{staticClass:"inline-svg inline-svg-larger",staticStyle:{"enable-background":"new 0 0 113.5 113.5"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"113.5px",height:"113.5px",viewBox:"0 0 113.5 113.5","xml:space":"preserve"}},[n("path",{attrs:{d:"M8.9,104.6c11.8,11.8,31,11.8,42.8,0l16.9-16.9c-1.3,0.1-2.7,0.2-4,0.2c-4.3,0-8.4-0.7-12.4-2l-9.6,9.6\n\t\tc-3.3,3.3-7.7,5.1-12.3,5.1c-4.6,0-9-1.8-12.3-5.1c-3.3-3.3-5.1-7.6-5.1-12.3c0-4.6,1.8-9,5.1-12.3l18.7-18.7\n\t\tc3.3-3.3,7.7-5.1,12.3-5.1c4.7,0,9,1.8,12.3,5.1c1.6,1.6,2.8,3.4,3.7,5.5c2.1-0.1,10.6-7.5,10.6-7.5c-1.4-2.5-3.1-4.9-5.3-7.1\n\t\tc-11.8-11.8-31-11.8-42.8,0L8.9,61.8C-3,73.6-3,92.8,8.9,104.6z"}}),e._v(" "),n("path",{attrs:{d:"M48.8,25.5c4.3,0,8.5,0.7,12.5,2.1l9.6-9.6c3.3-3.3,7.7-5.1,12.3-5.1s9,1.8,12.3,5.1c3.3,3.3,5.1,7.7,5.1,12.3\n\t\ts-1.8,9-5.1,12.3L76.8,61.3c-3.3,3.3-7.7,5.1-12.3,5.1c-4.7,0-9-1.8-12.3-5.1c-1.6-1.6-2.9-3.5-3.7-5.5c-2.1,0.1-4.1,1-5.7,2.5\n\t\tl-5,5c1.4,2.5,3.1,4.9,5.3,7.1c11.8,11.8,31,11.8,42.8,0l18.7-18.7c11.8-11.8,11.8-31,0-42.8C92.8-3,73.7-3,61.8,8.9L45,25.7\n\t\tC46.2,25.6,47.5,25.5,48.8,25.5L48.8,25.5L48.8,25.5z"}})])]):e._e(),e._v(" "),e.available_buttons.includes("duplicate")?n("button",{staticClass:"buttonLink _no_underline",attrs:{type:"button"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.duplicateMedia()}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"39.5,11.8 83,11.8 83,55.4 72.7,55.4 72.7,67.2 94.8,67.2 94.8,0 27.7,0 27.7,22.2 39.5,22.2 \t"}}),e._v(" "),n("path",{staticClass:"st0",attrs:{d:"M67.2,27.7L0,27.7l0,67.2l67.2,0L67.2,27.7z M55.4,83l-43.6,0l0-43.6l43.6,0L55.4,83z"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("duplicate")))])]):e._e(),e._v(" "),e.available_buttons.includes("remove")?n("button",{staticClass:"buttonLink _no_underline",attrs:{type:"button"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.removePubliMedia()}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 37.2 37.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"37.2px",height:"37.2px",viewBox:"0 0 37.2 37.2","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"37.2,30.6 30.6,37.2 18.6,25.2 6.6,37.2 0,30.6 12,18.6 0,6.6 6.6,0 18.6,12 30.6,0 37.2,6.6 \n 25.2,18.6 "}})]),e._v("\n "+e._s(e.$t("withdraw"))+"\n ")]):e._e()]):e._e()],2)},i.staticRenderFns=[]},{"./MediaContent.vue":265,debounce:41}],268:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=a(e("./InsertMediaButton.vue")),o=a(e("./MediaStory.vue")),r=a(e("./MediaPublicationReply.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{model_placeholder_media:Object,slugPubliName:String,publi_is_model:Boolean,preview_mode:Boolean,read_only:Boolean,captureview_in_modal:Boolean,paged_mode:{type:Boolean,default:!1}},components:{InsertMediaButton:i.default,MediaStory:o.default,MediaPublicationReply:r.default},data:function(){return{choices_selected:[],id:(Math.random().toString(36)+"00000000000000000").slice(2,8)}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{"model_placeholder_media._reply":{handler:function(){this.model_placeholder_media._reply&&this.model_placeholder_media._reply.answers&&(this.choices_selected=this.model_placeholder_media._reply.answers.split("|"))},immediate:!0,deep:!0}},computed:{placeholder_medias_slugs:function(){return!!this.model_placeholder_media.hasOwnProperty("_reply")&&(Array.isArray(this.model_placeholder_media._reply.placeholder_medias_slugs)?this.model_placeholder_media._reply.placeholder_medias_slugs:[])},modes_allowed:function(){if(!this.model_placeholder_media.available_modes||!Array.isArray(this.model_placeholder_media.available_modes))return{};var e=this.model_placeholder_media.available_modes.reduce(function(e,t){return e[t.mode_key]=JSON.parse(JSON.stringify(t)),delete e[t.mode_key].mode_key,e},{});return e.hasOwnProperty("choices")&&e.choices.choices&&e.choices.choices.length>0&&(e.choices.choices=e.choices.choices.split("|").filter(function(e){return""!==e})),e},remaining_modes_allowed:function(){var e=this,n=JSON.parse(JSON.stringify(this.modes_allowed));return this.model_placeholder_media._reply&&this.model_placeholder_media._reply._medias&&this.model_placeholder_media._reply._medias.length>0&&Object.entries(n).map(function(i){var o=t(i,2),r=o[0],a=o[1];if(a.hasOwnProperty("amount")&&a.amount){var s=a.amount;e.model_placeholder_media._reply._medias.filter(function(e){return"photo"===r?e.type===r||"image"===e.type:e.type===r}).length>=s&&delete n[r]}}),n},answers_given:function(){var e=this;if(!this.model_placeholder_media._reply)return!1;if(this.model_placeholder_media._reply.answers)return this.model_placeholder_media._reply.answers.split("|").join(" - ");if(Array.isArray(this.model_placeholder_media._reply._medias)&&this.model_placeholder_media._reply._medias.length>0){var n=this.model_placeholder_media._reply._medias.reduce(function(e,t){var n=t.type;return e.hasOwnProperty(n)||(e[n]=0),e[n]++,e},{});return Object.entries(n).reduce(function(n,i){var o=t(i,2),r=o[0],a=o[1];return n&&(n+=" • "),"image"===r&&(r="photo"),n+=e.$t(r)+" ("+a+")"},"")}return this.$t("none")},answer_type_expected:function(){var e=this;return!this.modes_allowed.hasOwnProperty("choices")&&("all"===this.modes_allowed?this.$t("all"):0===Object.keys(this.modes_allowed).length?this.$t("none"):Object.entries(this.modes_allowed).reduce(function(n,i){var o=t(i,2),r=o[0],a=o[1].amount;return n&&(n+=" • "),n+=a&&a>=1?e.$t(r)+" ("+a+")":""+e.$t(r)},""))}},methods:{mediaPosition:function(e){return 1===this.model_placeholder_media._reply._medias.length?"alone":0===e?"first":e===this.model_placeholder_media._reply._medias.length-1?"last":""},createPlaceholderMediaIfMissing:function(){var e=this;return new Promise(function(t,n){if(e.model_placeholder_media._reply)return t();e.$root.createMedia({slugFolderName:e.slugPubliName,type:"publications",additionalMeta:{type:"placeholder",placeholder_meta_reference:e.model_placeholder_media.metaFileName,placeholder_medias_slugs:[]}}).then(function(n){e.$nextTick(function(){return t(n)})})})},addMediaOrdered:function(e){var t=this,n=e.values,i=void 0===n?{}:n,o=e.right_after_meta,r=e.in_position;return new Promise(function(e,n){t.addMedia({values:i}).then(function(e){return t.insertMediasInList({metaFileNames:[e.metaFileName],right_after_meta:o,in_position:r})})})},addMedia:function(e){var t=this,n=e.values,i=void 0===n?{}:n;return new Promise(function(e,n){"debug"===t.$root.state.dev_mode&&console.log("METHODS • Publication: addMedia with\n values = "+JSON.stringify(i));var o={};i&&i.metaFileName&&(o.desired_filename=i.metaFileName,o.slugMediaName=i.metaFileName),i&&Object.assign(o,i),t.$root.createMedia({slugFolderName:t.slugPubliName,type:"publications",additionalMeta:o}).then(function(t){return e(t)})})},insertMediasInList:function(e){var t=this,n=e.metaFileNames,i=e.right_after_meta,o=e.in_position;return new Promise(function(e,r){t.createPlaceholderMediaIfMissing().then(function(){var e=Array.isArray(t.placeholder_medias_slugs)&&0!==t.placeholder_medias_slugs.length?JSON.parse(JSON.stringify(t.placeholder_medias_slugs)):[],r=n.map(function(e){return{slugMediaName:e}}),a=e.length;i?(a=e.findIndex(function(e){return e.slugMediaName===i}),a+=1):o&&"start"===o&&(a=0),e.splice.apply(e,[a,0].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(r))),t.$root.editMedia({type:"publications",slugFolderName:t.slugPubliName,slugMediaName:t.model_placeholder_media._reply.metaFileName,data:{placeholder_medias_slugs:e}}).then(function(e){t.$nextTick(function(){n.map(function(e){t.$eventHub.$emit("publication.just_inserted_media",e)})})})})})},orderedRemovePubliMedia:function(e){var t=this,n=e.metaFileName,i=Array.isArray(this.placeholder_medias_slugs)&&0!==this.placeholder_medias_slugs.length?JSON.parse(JSON.stringify(this.placeholder_medias_slugs)):[];i=i.filter(function(e){return e.slugMediaName!==n}),this.$root.editMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:this.model_placeholder_media._reply.metaFileName,data:{placeholder_medias_slugs:i}}).then(function(){t.$root.removeMedia({type:"publications",slugFolderName:t.slugPubliName,slugMediaName:n})})},orderedDuplicateMedia:function(e){var t=this,n=e.metaFileName;this.$root.copyMediaToFolder({type:"publications",from_slugFolderName:this.slugPubliName,to_slugFolderName:this.slugPubliName,slugMediaName:n}).then(function(e){t.insertMediasInList({metaFileNames:[e.metaFileName],right_after_meta:n})})},changeMediaOrder:function(e){var t=e.metaFileName,n=e.dir,i=Array.isArray(this.placeholder_medias_slugs)&&0!==this.placeholder_medias_slugs.length?JSON.parse(JSON.stringify(this.placeholder_medias_slugs)):[],o=i.findIndex(function(e){return e.slugMediaName===t}),r=this.model_placeholder_media._reply._medias.findIndex(function(e){return e.metaFileName===t}),a=this.model_placeholder_media._reply._medias[r+n].metaFileName,s=i.findIndex(function(e){return e.slugMediaName===a});i.move(o,s),this.$root.editMedia({type:"publications",slugFolderName:this.slugPubliName,slugMediaName:this.model_placeholder_media._reply.metaFileName,data:{placeholder_medias_slugs:i}})},toggleChoiceFromSelection:function(e){if(this.read_only||this.preview_mode)return!1;this.choices_selected.includes(e)?this.choices_selected=this.choices_selected.filter(function(t){return t!==e}):this.choices_selected.push(e),this.updateMediaAnswers({answers:this.choices_selected.join("|")})},setChoiceFromSelect:function(e){if(this.read_only||this.preview_mode)return!1;this.choices_selected=[e],this.updateMediaAnswers({answers:this.choices_selected.join("|")})},updateMediaAnswers:function(e){var t=this;this.createPlaceholderMediaIfMissing().then(function(){t.$root.editMedia({type:"publications",slugFolderName:t.slugPubliName,slugMediaName:t.model_placeholder_media._reply.metaFileName,data:e})})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_mediaPlaceholder",class:{"is--choices":e.modes_allowed.hasOwnProperty("choices"),"has--replies":e.model_placeholder_media._reply&&e.model_placeholder_media._reply._medias&&e.model_placeholder_media._reply._medias.length>0}},[e.model_placeholder_media.hasOwnProperty("instructions")&&e.model_placeholder_media.instructions?n("div",{staticClass:"m_mediaPlaceholder--instructions"},[n("div",{staticClass:"mediaTextContent",domProps:{innerHTML:e._s(e.model_placeholder_media.instructions)}})]):e._e(),e._v(" "),n("div",{staticClass:"m_mediaPlaceholder--replies"},[e.modes_allowed.hasOwnProperty("choices")?[e.modes_allowed.choices.hasOwnProperty("multiple")&&"true"===e.modes_allowed.choices.multiple?e._l(e.modes_allowed.choices.choices,function(t){return n("div",{key:t,staticClass:"m_choice",on:{click:function(n){return e.toggleChoiceFromSelection(t)}}},[n("label",{attrs:{for:e.id+"_choice_"+t}},[n("input",{attrs:{id:e.id+"_choice_"+t,type:"checkbox",disabled:e.read_only||e.preview_mode},domProps:{checked:e.choices_selected.includes(t)},on:{change:function(n){return e.toggleChoiceFromSelection(t)}}}),e._v("\n "+e._s(t)+"\n ")])])}):e._l(e.modes_allowed.choices.choices,function(t){return n("div",{key:t,staticClass:"m_choice",on:{click:function(n){return e.setChoiceFromSelect(t)}}},[n("input",{staticClass:"custom_radio",attrs:{type:"radio",disabled:e.read_only||e.preview_mode,id:e.id+"_choice_"+t,name:e.id+"_multiple_choices_radio"},domProps:{checked:e.choices_selected.includes(t)},on:{change:function(n){return e.setChoiceFromSelect(t)}}}),e._v(" "),n("label",{attrs:{for:e.id+"_choice_"+t}},[n("span",[e._v(e._s(t))])])])})]:[e.preview_mode||e.read_only||e.model_placeholder_media._reply&&e.model_placeholder_media._reply._medias&&0!==e.model_placeholder_media._reply._medias.length||!("all"===e.remaining_modes_allowed||Object.keys(e.remaining_modes_allowed).length>0)?e._e():n("InsertMediaButton",{attrs:{slugPubliName:e.slugPubliName,publi_is_model:e.publi_is_model,publi_follows_model:!0,modes_allowed:e.remaining_modes_allowed,captureview_in_modal:e.captureview_in_modal,can_collapse:!(!e.model_placeholder_media._reply||!e.model_placeholder_media._reply._medias||0===e.model_placeholder_media._reply._medias.length),read_only:e.read_only},on:{addMedia:function(t){return e.addMediaOrdered({values:t,in_position:"start"})},insertMedias:function(t){var n=t.metaFileNames;return e.insertMediasInList({metaFileNames:n,in_position:"start"})}}}),e._v(" "),e.model_placeholder_media._reply&&e.model_placeholder_media._reply._medias?n("transition-group",{attrs:{tag:"div",name:"StoryModules",appear:"",duration:700}},[e._l(e.model_placeholder_media._reply._medias,function(t,i){return[e.paged_mode?[n("MediaPublicationReply",{key:t.metaFileName,attrs:{media:t,preview_mode:e.preview_mode,slugPubliName:e.slugPubliName,read_only:e.read_only||e.preview_mode},on:{removePubliMedia:function(t){return e.orderedRemovePubliMedia(t)},editPubliMedia:function(t){return e.$emit("editPubliMedia",t)}}})]:[n("MediaStory",{key:t.metaFileName,attrs:{media:t,media_position:e.mediaPosition(i),preview_mode:e.preview_mode,slugPubliName:e.slugPubliName,read_only:e.read_only||e.preview_mode,can_duplicate_media:"all"===e.remaining_modes_allowed||Object.keys(e.remaining_modes_allowed).length>0},on:{removePubliMedia:function(t){return e.orderedRemovePubliMedia(t)},changeMediaOrder:function(t){return e.changeMediaOrder(t)},editPubliMedia:function(t){return e.$emit("editPubliMedia",t)},duplicateMedia:function(t){return e.orderedDuplicateMedia(t)}}}),e._v(" "),n("div",{key:"insert_"+t.metaFileName,staticClass:"_story_insert_placeholders"},[e.preview_mode||e.read_only||i!==e.model_placeholder_media._reply._medias.length-1||!("all"===e.remaining_modes_allowed||Object.keys(e.remaining_modes_allowed).length>0)?e._e():n("InsertMediaButton",{attrs:{slugPubliName:e.slugPubliName,publi_is_model:e.publi_is_model,publi_follows_model:!0,modes_allowed:e.remaining_modes_allowed,captureview_in_modal:e.captureview_in_modal,read_only:e.read_only},on:{addMedia:function(n){return e.addMediaOrdered({values:n,right_after_meta:t.metaFileName})},insertMedias:function(n){var i=n.metaFileNames;return e.insertMediasInList({metaFileNames:i,right_after_meta:t.metaFileName})}}})],1)]]})],2):e._e()],e._v(" "),e.answer_type_expected?n("div",{staticClass:"_help"},[n("small",{staticClass:"margin-sides-small",domProps:{innerHTML:e._s(e.$t("answer_type_expected:")+" "+e.answer_type_expected.toLowerCase())}})]):e._e(),e._v(" "),e.answers_given?n("div",{staticClass:"_help"},[n("small",{staticClass:"margin-sides-small",domProps:{innerHTML:e._s(e.$t("answers_given:")+" "+e.answers_given)}})]):e._e()],2)])},i.staticRenderFns=[],i._scopeId="data-v-a75029ec"},{"./InsertMediaButton.vue":263,"./MediaPublicationReply.vue":270,"./MediaStory.vue":271}],269:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(e("./MediaContent.vue")),i=(a(e("debounce")),a(e("./CollaborativeEditor.vue"))),o=a(e("../modals/EditPlaceholderModal.vue")),r=a(e("./MediaPlaceholder.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{media:Object,slugPubliName:String,mode:String,page:Object,read_only:Boolean,preview_mode:Boolean,pixelsPerMillimeters:Number,zoom:Number,model_for_this_publication:[Boolean,Object]},components:{MediaContent:t.default,CollaborativeEditor:i.default,EditPlaceholderModal:o.default,MediaPlaceholder:r.default},data:function(){return{is_dragged:!1,is_resized:!1,is_rotated:!1,is_waitingForServer:!1,is_hovered:!1,is_touch:Modernizr.touchevents,is_text_overflowing:!1,is_saving:!1,inline_edit_mode:!1,show_advanced_menu:!1,show_zindex_number:!1,limit_media_to_page:!0,htmlForEditor:this.media.content?this.media.content:"",mediaID:""+(Math.random().toString(36)+"00000000000000000").slice(2,8),dragOffset:{x:0,y:0},mediaPos:{x:0,y:0,px:0,py:0},resizeOffset:{x:0,y:0},resize_origin:"",rotateOffset:{x:0,y:0,angle:0},rotate:0,debounce_setCSSForMedia:void 0,ratio:void 0,font_size_percent:100,fill_color:"transparent",stroke_color:"transparent",stroke_width:4,margin:0,mediaSize:{width:0,height:0,pwidth:0,pheight:0},custom_css:"",mediaZIndex:0,fit_mode:"cover",locked_in_place:!1,lock_original_ratio:!1}},created:function(){},mounted:function(){this.updateMediaStyles(),this.$eventHub.$on("publication.selectNewMedia",this.selectNewMedia),this.$eventHub.$on("publication.set_media_to_edit_mode",this.setMediaToEditMode),this.$eventHub.$on("publication.flashZIndex",this.flashZIndex),this.$eventHub.$on("publication.selected.triggerAction",this.triggerAction)},beforeDestroy:function(){this.$eventHub.$off("publication.selectNewMedia",this.selectNewMedia),this.$eventHub.$off("publication.set_media_to_edit_mode",this.setMediaToEditMode),this.$eventHub.$off("publication.flashZIndex",this.flashZIndex),this.$eventHub.$off("publication.selected.triggerAction",this.triggerAction)},watch:{media:{handler:function(){this.updateMediaStyles(),this.htmlForEditor=this.media.content?this.media.content:""},deep:!0}},computed:{is_selected:function(){var e=this;return this.$root.settings.current_publication.selected_medias.some(function(t){return t===e.media.metaFileName})},mediaStyles:function(){var e=!this.is_selected||this.show_zindex_number||this.preview_mode?this.media.z_index:1e5;return"\n transform: translate("+this.mediaPos.x+"mm, "+this.mediaPos.y+"mm) rotate("+this.rotate+"deg);\n width: "+this.mediaSize.width+"mm;\n height: "+this.mediaSize.height+"mm;\n z-index: "+e+";\n "},contentStyles:function(){var e="\n --font_size_percent: "+this.font_size_percent+"%;\n --margin: "+this.margin*this.zoom+"px;\n --fill_color: "+this.fill_color+";\n --stroke_color: "+this.stroke_color+";\n --stroke_width: "+this.stroke_width*this.zoom+"px;\n ";return this.media.custom_css&&(e+=this.media.custom_css),e},text_is_overflowing:function(){var e=this.$refs.media;return e.offsetHeight+15<e.scrollHeight}},methods:{selectNewMedia:function(e){e===this.media.metaFileName&&(this.is_selected||this.selectMedia())},triggerAction:function(e){var t=e.action,n=e.detail;if(this.is_selected&&!this.is_saving)if("remove"===t)this.removePubliMedia();else if("move"===t&&n){this.page.snap_to_grid&&(n.x*=this.page.gridstep,n.y*=this.page.gridstep);var i=n.x,o=this.mediaPos.x+i,r=n.y,a=this.mediaPos.y+r;this.mediaPos.x=this.limitMediaXPos(o),this.mediaPos.y=this.limitMediaYPos(a),this.mediaPos.x=this.roundMediaVal(this.mediaPos.x-this.page.margin_left)+this.page.margin_left,this.mediaPos.y=this.roundMediaVal(this.mediaPos.y-this.page.margin_top)+this.page.margin_top,this.updateMediaPubliMeta({values:{x:this.mediaPos.x,y:this.mediaPos.y}})}},setMediaToEditMode:function(e){e===this.media.metaFileName&&(this.is_selected||this.selectMedia(),this.editButtonClicked())},flashZIndex:function(){var e=this;this.show_zindex_number||(this.show_zindex_number=!0,setTimeout(function(){e.show_zindex_number=!1},2e3))},saveMedia:function(){var e={content:this.htmlForEditor};this.$emit("editPubliMedia",{metaFileName:this.media.metaFileName,values:e}),this.inline_edit_mode=!1},cancelMediaInlineEditing:function(){""===this.media.content&&this.removePubliMedia(),this.htmlForEditor=this.media.content,this.inline_edit_mode=!1},editButtonClicked:function(){var e=this;this.media.hasOwnProperty("_linked_media")?this.$root.openMedia({slugProjectName:this.media._linked_media.slugProjectName,metaFileName:this.media._linked_media.metaFileName}):(this.inline_edit_mode=!0,this.$nextTick(function(){e.$refs.textField&&e.$refs.textField.$el&&e.$refs.textField.$el.querySelector(".ql-editor").focus()}))},setMediaHeightToContent:function(){var e=this.$refs.media.firstElementChild.firstElementChild.firstElementChild.offsetHeight;e/=this.pixelsPerMillimeters,this.page.snap_to_grid&&(e+=this.page.gridstep),e=this.roundMediaVal(e),e=this.limitMediaHeight(e),this.mediaSize.height=e,this.updateMediaPubliMeta({values:{height:this.mediaSize.height}})},toggleImageFitMode:function(){"cover"===this.fit_mode?this.fit_mode="contain":"contain"===this.fit_mode&&(this.fit_mode="cover"),this.updateMediaPubliMeta({values:{fit_mode:this.fit_mode}})},toggleLock:function(){this.locked_in_place=!this.locked_in_place,this.updateMediaPubliMeta({values:{locked_in_place:this.locked_in_place}}),this.locked_in_place?this.deselectMedia():this.selectMedia()},updateMediaStyles:function(){var e=this;this.rotate=this.media.hasOwnProperty("rotate")?this.media.rotate:0,this.ratio=this.$root.getFileMeta({type:"ratio",media:this.media}),this.mediaSize.width=this.media.hasOwnProperty("width")&&Number.parseFloat(this.media.width)?this.limitMediaWidth(Number.parseFloat(this.media.width)):100,this.mediaSize.height=this.media.hasOwnProperty("height")&&Number.parseFloat(this.media.height)?this.limitMediaHeight(Number.parseFloat(this.media.height)):this.ratio?this.mediaSize.width*this.ratio:66,this.mediaPos.x=this.media.hasOwnProperty("x")&&Number.parseFloat(this.media.x)?this.limitMediaXPos(Number.parseFloat(this.media.x)):this.page.margin_left,this.mediaPos.y=this.media.hasOwnProperty("y")&&Number.parseFloat(this.media.y)?this.limitMediaYPos(Number.parseFloat(this.media.y)):this.page.margin_top,this.custom_css=this.media.hasOwnProperty("custom_css")?this.media.custom_css:this.custom_css,this.mediaZIndex=this.media.hasOwnProperty("z_index")?this.media.z_index:0,this.fit_mode=this.media.hasOwnProperty("fit_mode")?this.media.fit_mode:"cover",this.locked_in_place=!!this.media.hasOwnProperty("locked_in_place")&&Boolean(this.media.locked_in_place),this.margin=this.media.hasOwnProperty("margin")&&Number.parseFloat(this.media.margin)?Number.parseFloat(this.media.margin):0,("text"===this.media.type||this.media.hasOwnProperty("_linked_media")&&"text"===this.media._linked_media.type)&&(this.font_size_percent=this.media.hasOwnProperty("font_size_percent")&&Number.parseFloat(this.media.font_size_percent)?Number.parseFloat(this.media.font_size_percent):100,this.$nextTick(function(){var t=e.$refs.media;e.is_text_overflowing=t.offsetHeight<t.firstElementChild.firstElementChild.firstElementChild.offsetHeight})),this.stroke_color=this.media.hasOwnProperty("stroke_color")&&this.media.stroke_color?this.media.stroke_color:"",this.fill_color=this.media.hasOwnProperty("fill_color")&&this.media.fill_color?this.media.fill_color:"",this.stroke_width=this.media.hasOwnProperty("stroke_width")?Number.parseFloat(this.media.stroke_width):4},updateMediaPubliMeta:function(e){var t=this,n=e.values,i=e.metaFileName,o=void 0===i?this.media.metaFileName:i;"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: updateMediaPubliMeta for metaFileName = "+o+" and values="+JSON.stringify(n)),this.$emit("editPubliMedia",{metaFileName:o,values:n}),this.is_saving=!0;var r=setTimeout(function(){t.is_saving&&(t.is_saving=!1,t.$alertify.closeLogOnClick(!0).delay(4e3).error(t.$t("notifications.failed_to_save_media")))},5e3);this.$eventHub.$once("publication.media_just_edited",function(){t.is_saving=!1,clearTimeout(r)})},limitMediaXPos:function(e){if(!this.limit_media_to_page)return e;var t=this.mediaSize.width/2;return Math.max(this.page.margin_left-t,Math.min(this.page.width-this.page.margin_right-t,e))},roundMediaVal:function(e){return this.page.snap_to_grid?Math.round(e/this.page.gridstep)*this.page.gridstep:+e.toFixed(1)},limitMediaYPos:function(e){if(!this.limit_media_to_page)return e;var t=this.mediaSize.height/2;return e=Math.max(this.page.margin_top-t,Math.min(this.page.height-this.page.margin_bottom-t,e))},limitMediaWidth:function(e){return this.limit_media_to_page?Math.max(5,Math.min(this.page.width-this.page.margin_right-this.page.margin_left,e)):e},limitMediaHeight:function(e){return this.limit_media_to_page?Math.max(5,Math.min(this.page.height-this.page.margin_bottom-this.page.margin_top,e)):e},removePubliMedia:function(){var e=this;this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemoveMedia"),function(){e.$emit("removePubliMedia",{metaFileName:e.media.metaFileName})},function(){})},duplicateMedia:function(){this.$emit("duplicateMedia",{metaFileName:this.media.metaFileName})},resizeMedia:function(e){e.event;var t=e.type,n=e.origin;"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: resizeMedia with is_resized = "+this.is_resized),this.read_only||(this.resize_origin=n,"bottomright"===this.resize_origin?this.lock_original_ratio=!0:"bottomright"!==this.resize_origin&&(this.lock_original_ratio=!1),"mouse"===t?(window.addEventListener("mousemove",this.resizeMove),window.addEventListener("mouseup",this.resizeUp)):"touch"===t&&(window.addEventListener("touchmove",this.resizeMove),window.addEventListener("touchend",this.resizeUp)))},rotateMedia:function(e,t){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: rotateMedia with is_resized = "+this.is_resized),this.read_only||("mouse"===e?(window.addEventListener("mousemove",this.rotateMove),window.addEventListener("mouseup",this.rotateUp)):"touch"===e&&(window.addEventListener("touchmove",this.rotateMove),window.addEventListener("touchend",this.rotateUp)))},resizeMove:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: resizeMove with is_resized = "+this.is_resized);var t=e.pageX?e.pageX:e.touches[0].pageX,n=e.pageY?e.pageY:e.touches[0].pageY,i=t/this.pixelsPerMillimeters,o=n/this.pixelsPerMillimeters;if(this.is_resized){if("right"===this.resize_origin||"bottomright"===this.resize_origin){var r=this.getNewSize({pageX_mm:i,pageY_mm:o,axis_angle:0,plength:this.mediaSize.pwidth});this.mediaSize.width=this.limitMediaWidth(r)}if("bottom"===this.resize_origin||"bottomright"===this.resize_origin){var a=0;a=this.lock_original_ratio&&this.ratio?this.mediaSize.width*this.ratio:this.getNewSize({pageX_mm:i,pageY_mm:o,axis_angle:90,plength:this.mediaSize.pheight}),this.mediaSize.height=this.limitMediaHeight(a)}}else this.is_resized=!0,this.selectMedia(),this.resizeOffset.x=i,this.resizeOffset.y=o,this.mediaSize.pwidth=Number.parseFloat(this.mediaSize.width),this.mediaSize.pheight=Number.parseFloat(this.mediaSize.height),this.mediaPos.px=Number.parseFloat(this.mediaPos.x),this.mediaPos.py=Number.parseFloat(this.mediaPos.y)},getNewSize:function(e){var t=e.pageX_mm,n=e.pageY_mm,i=e.axis_angle,o=e.plength,r=(this.rotate+i)*(Math.PI/180);return(Math.cos(r)*(t-this.resizeOffset.x)+Math.sin(r)*(n-this.resizeOffset.y))/this.zoom+o},resizeUp:function(e){return"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: resizeUp with is_resized = "+this.is_resized),this.is_resized&&(this.mediaSize.width=this.roundMediaVal(this.mediaSize.width),this.lock_original_ratio&&this.ratio?this.mediaSize.height=this.mediaSize.width*this.ratio:this.mediaSize.height=this.roundMediaVal(this.mediaSize.height),this.updateMediaPubliMeta({values:{width:this.mediaSize.width,height:this.mediaSize.height}}),this.is_resized=!1),e.stopPropagation(),window.removeEventListener("mousemove",this.resizeMove),window.removeEventListener("mouseup",this.resizeUp),window.removeEventListener("touchmove",this.resizeMove),window.removeEventListener("touchend",this.resizeUp),!1},rotateMove:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: rotateMove with is_rotated = "+this.is_rotated);var t=e.pageX?e.pageX:e.touches[0].pageX,n=e.pageY?e.pageY:e.touches[0].pageY,i={x:this.$refs.media.getBoundingClientRect().x+this.$refs.media.getBoundingClientRect().width/2,y:this.$refs.media.getBoundingClientRect().y+this.$refs.media.getBoundingClientRect().height/2};function o(e,t,n,i){var o=i-t,r=n-e,a=Math.atan2(o,r);return a*=180/Math.PI}if(this.is_rotated){var r=o(i.x,i.y,t,n);this.rotate=this.rotateOffset.angle+r,console.log("this.rotate = "+this.rotate);var a=Math.abs(this.rotate%90);(a<5||a>85)&&(this.rotate=90*Math.round(this.rotate/90))}else{this.is_rotated=!0,this.selectMedia();var s=o(i.x,i.y,t,n);this.rotateOffset.angle=this.rotate-s}},rotateUp:function(e){return"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: rotateUp with is_rotated = "+this.is_rotated),this.is_rotated&&(this.updateMediaPubliMeta({values:{rotate:this.rotate}}),this.is_rotated=!1),e.stopPropagation(),window.removeEventListener("mousemove",this.rotateMove),window.removeEventListener("mouseup",this.rotateUp),window.removeEventListener("touchmove",this.rotateMove),window.removeEventListener("touchend",this.rotateUp),!1},dragMedia:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: dragMedia with is_dragged = "+this.is_dragged),this.read_only||("mouse"===e?(this.selectMedia(),window.addEventListener("mousemove",this.dragMove),window.addEventListener("mouseup",this.dragUp)):"touch"===e&&(window.addEventListener("touchmove",this.dragMove),window.addEventListener("touchend",this.dragUp)))},dragMove:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: dragMove with is_dragged = "+this.is_dragged);var t=e.pageX?e.pageX:e.touches[0].pageX,n=e.pageY?e.pageY:e.touches[0].pageY,i=t/this.pixelsPerMillimeters,o=n/this.pixelsPerMillimeters;if(this.is_dragged){var r=(i-this.dragOffset.x)/this.zoom,a=this.mediaPos.px+r;this.mediaPos.x=this.limitMediaXPos(a);var s=(o-this.dragOffset.y)/this.zoom,l=this.mediaPos.py+s;this.mediaPos.y=this.limitMediaYPos(l)}else this.is_dragged=!0,this.selectMedia(),this.dragOffset.x=i,this.dragOffset.y=o,this.mediaPos.px=Number.parseFloat(this.mediaPos.x),this.mediaPos.py=Number.parseFloat(this.mediaPos.y)},dragUp:function(e){return"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: dragUp with is_dragged = "+this.is_dragged),this.is_dragged&&(this.mediaPos.x=this.roundMediaVal(this.mediaPos.x-this.page.margin_left)+this.page.margin_left,this.mediaPos.y=this.roundMediaVal(this.mediaPos.y-this.page.margin_top)+this.page.margin_top,this.updateMediaPubliMeta({values:{x:this.mediaPos.x,y:this.mediaPos.y}}),this.is_dragged=!1),window.removeEventListener("mousemove",this.dragMove),window.removeEventListener("mouseup",this.dragUp),window.removeEventListener("touchmove",this.dragMove),window.removeEventListener("touchend",this.dragUp),!1},toggleMediaSelection:function(){this.is_selected?this.deselectMedia():this.selectMedia()},selectMedia:function(){this.is_selected||this.read_only||this.model_for_this_publication||("debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: deselectMedia"),this.$root.settings.current_publication.selected_medias=[],this.$root.settings.current_publication.selected_medias.push(this.media.metaFileName))},deselectMedia:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublication: deselectMedia"),this.show_advanced_menu=!1,this.$root.settings.current_publication.selected_medias=this.$root.settings.current_publication.selected_medias.filter(function(t){return t!==e.media.metaFileName})},mouseOver:function(){this.is_touch||(this.is_hovered=!0)},mouseLeave:function(){this.is_touch||(this.is_hovered=!1)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"media",staticClass:"m_mediaPublication",class:["type-"+e.media.type,"is--fit_mode_"+e.fit_mode,{"is--dragged":e.is_dragged,"is--resized":e.is_resized,"is--rotated":e.is_rotated,"is--selected":e.is_selected,"is--waitingForServerResponse":e.is_waitingForServer,"is--hovered":e.is_hovered,"is--previewed":e.preview_mode,"is--overflowing":e.is_text_overflowing,"is--inline_edited":e.inline_edit_mode,"is--locked":e.locked_in_place&&!e.model_for_this_publication}],style:e.mediaStyles,on:{mouseover:e.mouseOver,mouseleave:e.mouseLeave,mousedown:function(t){return t.stopPropagation(),e.selectMedia(t)}}},[e.media.hasOwnProperty("_linked_media")?[e.media._linked_media.hasOwnProperty("_isAbsent")?n("div",[e._v("\n "+e._s(e.$t("linked_media_wasnt_found"))+"\n "),n("br"),e._v(" "),n("small",[e._v("\n "+e._s(e.media._linked_media.slugProjectName)+"/"+e._s(e.media._linked_media.slugMediaName)+"\n ")])]):n("MediaContent",{style:e.contentStyles,attrs:{context:"contact_sheet"!==e.mode?"full":"preview",slugFolderName:e.media._linked_media.slugProjectName,media:e.media._linked_media,read_only:e.read_only},model:{value:e.media._linked_media.content,callback:function(t){e.$set(e.media._linked_media,"content",t)},expression:"media._linked_media.content"}})]:[["image","video","audio","code","stl","document","other"].includes(e.media.type)?n("MediaContent",{style:e.contentStyles,attrs:{context:"full",slugFolderName:e.model_for_this_publication?e.model_for_this_publication.slugFolderName:e.slugPubliName,folderType:"publications",media:e.media,read_only:e.read_only},model:{value:e.media.content,callback:function(t){e.$set(e.media,"content",t)},expression:"media.content"}}):n("div",{staticClass:"mediaContainer",class:"type-"+e.media.type,style:e.contentStyles},["text"===e.media.type?[e.inline_edit_mode?n("CollaborativeEditor",{ref:"textField",staticClass:"fixedPanel",attrs:{enable_collaboration:!0,media:e.media,theme:"bubble",type:"publications",slugFolderName:e.slugPubliName},model:{value:e.htmlForEditor,callback:function(t){e.htmlForEditor=t},expression:"htmlForEditor"}}):n("div",{staticClass:"mediaTextContent"},[0!==e.htmlForEditor.length?n("div",{domProps:{innerHTML:e._s(e.htmlForEditor)}}):n("p",{staticClass:"_no_textcontent",domProps:{innerHTML:e._s(e.$t("no_text_content"))}})])]:["ellipsis","rectangle","line","arrow"].includes(e.media.type)?[n("svg",{attrs:{viewBox:"0 0 100 100",width:e.mediaSize.width+"mm",height:e.mediaSize.height+"mm",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg"}},["ellipsis"===e.media.type?n("circle",{attrs:{cx:"50",cy:"50",r:"50","vector-effect":"non-scaling-stroke"}}):e._e(),e._v(" "),"rectangle"===e.media.type?n("rect",{attrs:{width:"100",height:"100","vector-effect":"non-scaling-stroke"}}):e._e(),e._v(" "),"line"===e.media.type?n("line",{attrs:{x1:"0",y1:"50",x2:"100",y2:"50","vector-effect":"non-scaling-stroke"}}):e._e(),e._v(" "),"arrow"===e.media.type?n("g",[n("line",{attrs:{x1:"0",y1:"50",x2:"100",y2:"50","vector-effect":"non-scaling-stroke"}}),e._v(" "),n("g",{attrs:{transform:"\n translate(100, 50)",preserveAspectRatio:""}},[n("line",{attrs:{x1:"0",y1:"0",x2:"-10",y2:"-10","vector-effect":"non-scaling-stroke"}}),e._v(" "),n("line",{attrs:{x1:"0",y1:"0",x2:"-10",y2:"10","vector-effect":"non-scaling-stroke"}})])]):e._e()])]:"placeholder"===e.media.type?[e.inline_edit_mode?n("EditPlaceholderModal",{attrs:{media:e.media},on:{updateMediaPubliMeta:function(t){return e.updateMediaPubliMeta({values:t})},close:function(t){e.inline_edit_mode=!1}}}):e._e(),e._v(" "),n("MediaPlaceholder",{key:e.media.metaFileName,attrs:{model_placeholder_media:e.media,slugPubliName:e.slugPubliName,publi_is_model:e.publi_is_model,preview_mode:e.preview_mode,read_only:e.read_only,captureview_in_modal:!0,paged_mode:!0},on:{addMedia:function(t){return e.addMedia({values:t})},editPubliMedia:function(t){return e.$emit("editPubliMedia",t)}}})]:e._e()],2)],e._v(" "),e.inline_edit_mode&&"placeholder"!==e.media.type?n("div",{staticClass:"m_mediaPublication--floatingSaveButton"},[n("button",{staticClass:"button button-bg_rounded bg-orange",attrs:{type:"button"},on:{click:e.cancelMediaInlineEditing}},[n("span",{staticClass:"text-cap font-verysmall"},[e._v(e._s(e.$t("cancel")))])]),e._v(" "),n("button",{staticClass:"button button-bg_rounded bg-bleuvert",attrs:{type:"button"},on:{click:e.saveMedia}},[n("img",{attrs:{src:"/images/i_enregistre.svg",draggable:"false"}}),e._v(" "),n("span",{staticClass:"text-cap font-verysmall"},[e._t("submit_button",[e._v(e._s(e.$t("save")))])],2)])]):e._e(),e._v(" "),e.media.hasOwnProperty("_linked_media")&&e.media._linked_media.caption?n("p",{staticClass:"mediaCaption"},[e._v("\n "+e._s(e.media._linked_media.caption)+"\n ")]):e._e(),e._v(" "),!e.is_text_overflowing||e.preview_mode||e.locked_in_place||e.model_for_this_publication||!e.is_selected&&!e.is_hovered?e._e():n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],staticClass:"m_mediaPublication--overflowing_sign",attrs:{type:"button",content:e.$t("text_overflow")},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.setMediaHeightToContent(t)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.setMediaHeightToContent(t)}}},[n("span",[e._v("…")])]),e._v(" "),e.preview_mode||e.inline_edit_mode||e.read_only||e.locked_in_place||!e.is_selected&&!e.is_hovered||e.model_for_this_publication?e._e():n("div",{staticClass:"controlFrame",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.dragMedia("mouse")},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.dragMedia("touch")}}},[e.is_selected||e.is_hovered?n("div",{staticClass:"handle handle_resizeMedia_bottom",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),n=t,e.resizeMedia({event:n,type:"mouse",origin:"bottom"});var n},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),n=t,e.resizeMedia({event:n,type:"touch",origin:"bottom"});var n}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 60 106"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"60px",height:"106px",viewBox:"0 0 60 106","xml:space":"preserve"}},[n("path",{attrs:{d:"M0,77.8l8.6-9.2l6.6,6.5c2,2,3.6,3.6,4.7,5c1.1,1.4,2.2,3,3.2,4.8l0-64.1c-1,1.8-2.1,3.4-3.2,4.8c-1.1,1.4-2.7,3.1-4.7,5\n\t\tl-6.6,6.6L0,28.2L30,0l30,28.2l-8.6,9.2l-6.7-6.7c-2-2-3.6-3.7-4.7-5.1c-1.1-1.4-2.1-2.9-3-4.5l0,63.9c0.9-1.6,1.9-3.2,3-4.5\n\t\tc1.1-1.4,2.7-3.1,4.7-5.1l6.7-6.6l8.6,9.2L30,106L0,77.8z"}})])]):e._e(),e._v(" "),e.is_selected||e.is_hovered?n("div",{staticClass:"handle handle_resizeMedia_right",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),n=t,e.resizeMedia({event:n,type:"mouse",origin:"right"});var n},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),n=t,e.resizeMedia({event:n,type:"touch",origin:"right"});var n}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 106 60"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"106px",height:"60px",viewBox:"0 0 106 60","xml:space":"preserve"}},[n("path",{attrs:{d:"M28.1,0l9.2,8.6l-6.5,6.6c-2,2-3.6,3.6-5,4.7c-1.4,1.1-3,2.2-4.8,3.2l64.1,0c-1.8-1-3.4-2.1-4.8-3.2 c-1.4-1.1-3.1-2.7-5-4.7l-6.6-6.6L77.7,0L106,30L77.7,60l-9.2-8.6l6.7-6.7c2-2,3.7-3.6,5.1-4.7c1.4-1.1,2.9-2.1,4.5-3l-63.9,0 c1.6,0.9,3.2,1.9,4.5,3c1.4,1.1,3.1,2.7,5.1,4.7l6.6,6.7L28.1,60L0,30L28.1,0z"}})])]):e._e(),e._v(" "),e.ratio&&(e.is_selected||e.is_hovered)?n("div",{staticClass:"handle handle_resizeMedia",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),n=t,e.resizeMedia({event:n,type:"mouse",origin:"bottomright"});var n},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),n=t,e.resizeMedia({event:n,type:"touch",origin:"bottomright"});var n}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 77.5 77.5"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"106px",height:"60px",viewBox:"-10 -10 100 100","xml:space":"preserve"}},[n("path",{attrs:{d:"M42.5,0l0.4,12.6l-9.3,0.1c-2.8,0-5.1,0-6.9-0.2c-1.8-0.2-3.6-0.6-5.7-1.2l45.3,45.3c-0.6-2-1-3.9-1.2-5.7\n c-0.2-1.8-0.3-4-0.2-6.9v-9.4l12.6,0.4l-1.3,41.2l-41.2,1.3l-0.4-12.6l9.5,0c2.9,0,5.2,0.1,7,0.3c1.8,0.2,3.6,0.5,5.4,1.1\n L11.3,21.1c0.5,1.8,0.9,3.6,1.1,5.4c0.2,1.8,0.3,4.1,0.3,7l-0.1,9.4L0,42.5L1.3,1.3L42.5,0z"}})])]):e._e(),e._v(" "),e.is_selected||e.is_hovered?n("div",{staticClass:"handle handle_rotateMedia",on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.rotateMedia("mouse","bottomright")},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.rotateMedia("touch","bottomright")}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 98.7 132.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"98.7px",height:"132.2px",viewBox:"0 0 98.7 132.2","xml:space":"preserve"}},[n("defs"),e._v(" "),n("path",{attrs:{d:"M80.1,117.7c-3.1-0.2-5.6-0.3-7.6-0.2c-1.4,0.1-2.9,0.3-4.5,0.5c14.7-13.7,36.9-42.4,29.1-63.4S71.6,27,24.8,24.6\n c1.1-0.8,2.2-1.6,3.1-2.4c1.5-1.3,3.2-3.1,5.3-5.5L40,9L29.3,0L0,34.9l32.9,31.5l9.7-10.1l-7.7-7c-2.4-2.1-4.3-3.8-5.9-4.9\n c-1.6-1.2-3.3-2.2-5.2-3.1l-0.1-1.2c29.3,1.4,52.5,6.6,56.5,20.7s-15.9,39.7-23.5,46.5l-0.5-0.6c0.7-1.9,1.2-3.9,1.6-5.9\n c0.3-2,0.6-4.5,0.8-7.7l0.7-10.5l-14-0.4L43.7,128l45.5,4.2l1.3-13.9L80.1,117.7z"}})])]):e._e()]),e._v(" "),n("transition",{attrs:{name:"fadeOnLeave"}},[e.show_zindex_number?n("div",{staticClass:"m_mediaPublication--zIndex"},[n("svg",{attrs:{viewBox:"0 0 20 18"}},[n("text",{attrs:{"text-anchor":"middle",x:"10",y:"15"}},[e._v(e._s(e.mediaZIndex))])])]):e._e()]),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:150}},[(!e.is_selected&&!e.is_hovered||e.preview_mode||e.inline_edit_mode||e.read_only)&&(e.preview_mode||e.inline_edit_mode||e.read_only||!e.locked_in_place)||e.model_for_this_publication?e._e():n("div",[n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0],\n }"}],staticClass:"_lock_button _no_underline",class:{"is--active":e.locked_in_place},attrs:{type:"button",content:e.locked_in_place?e.$t("unlock"):e.$t("lock_in_place")},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.toggleLock()},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.toggleLock()}}},[e.locked_in_place?n("svg",{staticClass:"inline-svg",staticStyle:{"padding-top":"6px"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"66.9px",height:"88.3px",viewBox:"0 0 66.9 88.3","xml:space":"preserve"}},[n("path",{staticStyle:{fill:"currentColor"},attrs:{d:"M61.7,34.4h-1V24.3c0-11.7-7.5-19.2-16.9-22.7C40.6,0.6,36.7,0,33.1,0C29.5,0,26,0.6,22.4,1.6\n\t\tC13.3,4.9,6.2,12.3,6.2,24.3v10.1h-1c-2.9,0-5.2,2.3-5.2,5.2v43.5c0,2.9,2.3,5.2,5.2,5.2h56.5c2.9,0,5.2-2.3,5.2-5.2V39.6\n\t\tC66.9,36.7,64.6,34.4,61.7,34.4z M33.4,70.1c-4.5,0-8.4-3.6-8.4-8.1c0-4.5,3.9-8.4,8.4-8.4s8.1,3.9,8.1,8.4\n\t\tC41.5,66.5,38,70.1,33.4,70.1z M49,34.4H17.9V24.3c0-6.2,3.6-10.1,8.4-11.7c2.3-0.6,4.5-1.3,6.8-1.3c2.3,0,4.9,0.6,6.8,1.3\n\t\tc5.2,1.6,9.1,5.8,9.1,11.7V34.4z"}})]):n("svg",{staticClass:"inline-svg",staticStyle:{"padding-top":"6px"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"100.3px",height:"87.3px",viewBox:"0 0 100.3 87.3","xml:space":"preserve"}},[n("path",{staticClass:"st1",attrs:{d:"M84.1,1.6C80.5,0.6,76.9,0,73.3,0c-3.6,0-7.5,0.6-10.7,1.6c-9.4,3.6-16.9,11-16.9,22.7v9.1H17.9H6.2h-1\n\t\t\t\tc-2.9,0-5.2,2.3-5.2,5.2v43.5c0,2.9,2.3,5.2,5.2,5.2h56.5c2.9,0,5.2-2.3,5.2-5.2V38.6c0-2.9-2.3-5.2-5.2-5.2h-1h-3.3v-9.1\n\t\t\t\tc0-5.8,3.9-10.1,9.1-11.7c1.9-0.6,4.5-1.3,6.8-1.3c2.3,0,4.5,0.6,6.8,1.3c4.9,1.6,8.4,5.5,8.4,11.7v10.7h11.7V24.3\n\t\t\t\tC100.3,12.3,93.1,4.9,84.1,1.6z M40.9,64.2c-0.3,0.7-0.7,1.4-1.2,2c-0.3,0.4-0.7,0.8-1.1,1.1c-0.4,0.3-0.8,0.6-1.3,0.9\n\t\t\t\tc-1.2,0.6-2.5,1-3.9,1s-2.8-0.3-4-1c-0.5-0.2-0.9-0.5-1.3-0.9c-0.4-0.3-0.8-0.7-1.2-1.1c-0.5-0.6-1-1.3-1.3-2\n\t\t\t\tc-0.4-1-0.7-2-0.7-3.2c0-1.4,0.4-2.8,1-4c0.3-0.5,0.6-0.9,0.9-1.3s0.7-0.8,1.2-1.2c0.4-0.3,0.9-0.7,1.3-0.9c1.2-0.7,2.6-1,4-1\n\t\t\t\ts2.7,0.4,3.9,1c0.5,0.3,0.9,0.6,1.3,0.9s0.8,0.7,1.1,1.2s0.6,0.9,0.9,1.3c0.6,1.2,1,2.6,1,4C41.5,62.1,41.3,63.2,40.9,64.2z"}})])])])]),e._v(" "),n("transition",{attrs:{name:"fade_fast",duration:150}},[!e.is_selected&&!e.is_hovered||e.preview_mode||e.inline_edit_mode||e.read_only||e.locked_in_place||e.model_for_this_publication?e._e():n("div",{staticClass:"m_mediaPublication--buttons"},["text"===e.media.type||"placeholder"===e.media.type?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],staticClass:"buttonLink _no_underline",attrs:{type:"button",content:e.$t("edit_content")},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.editButtonClicked(t)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.editButtonClicked(t)}}},[n("svg",{staticClass:"inline-svg inline-svg-larger",staticStyle:{"enable-background":"new 0 0 100.7 101"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"90.7px",height:"91px",viewBox:"0 0 90 120","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M100.7,23.2L77.5,0l-66,66.2l0,0L0,101l34.7-11.6l0,0L100.7,23.2z M19.1,91.5l-9.4-9.7l4-12.4l18,17.8\n L19.1,91.5z"}})])]):e._e(),e._v(" "),n("button",{staticClass:"_advanced_menu_button _no_underline",class:{"is--active":e.show_advanced_menu},attrs:{type:"button"},on:{mousedown:function(t){t.stopPropagation(),t.preventDefault(),e.show_advanced_menu=!e.show_advanced_menu,e.selectMedia()},touchstart:function(t){t.stopPropagation(),t.preventDefault(),e.show_advanced_menu=!e.show_advanced_menu,e.selectMedia()}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 168 168"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"168px",height:"168px",viewBox:"0 0 168 168","xml:space":"preserve"}},[n("rect",{staticClass:"st0",attrs:{x:"73.5",y:"37",width:"21",height:"21"}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{x:"73.5",y:"73.5",width:"21",height:"21"}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{x:"73.5",y:"110",width:"21",height:"21"}})])]),e._v(" "),e.show_advanced_menu?n("div",{staticClass:"_advanced_menu",on:{click:function(e){e.stopPropagation()}}},[e.media.hasOwnProperty("_linked_media")?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],staticClass:"buttonLink _no_underline",attrs:{type:"button",content:e.$t("edit_original_media")},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.editButtonClicked(t)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.editButtonClicked(t)}}},[n("svg",{staticClass:"inline-svg inline-svg-larger",staticStyle:{"enable-background":"new 0 0 113.5 113.5"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"113.5px",height:"113.5px",viewBox:"0 0 113.5 113.5","xml:space":"preserve"}},[n("path",{attrs:{d:"M8.9,104.6c11.8,11.8,31,11.8,42.8,0l16.9-16.9c-1.3,0.1-2.7,0.2-4,0.2c-4.3,0-8.4-0.7-12.4-2l-9.6,9.6\n\t\tc-3.3,3.3-7.7,5.1-12.3,5.1c-4.6,0-9-1.8-12.3-5.1c-3.3-3.3-5.1-7.6-5.1-12.3c0-4.6,1.8-9,5.1-12.3l18.7-18.7\n\t\tc3.3-3.3,7.7-5.1,12.3-5.1c4.7,0,9,1.8,12.3,5.1c1.6,1.6,2.8,3.4,3.7,5.5c2.1-0.1,10.6-7.5,10.6-7.5c-1.4-2.5-3.1-4.9-5.3-7.1\n\t\tc-11.8-11.8-31-11.8-42.8,0L8.9,61.8C-3,73.6-3,92.8,8.9,104.6z"}}),e._v(" "),n("path",{attrs:{d:"M48.8,25.5c4.3,0,8.5,0.7,12.5,2.1l9.6-9.6c3.3-3.3,7.7-5.1,12.3-5.1s9,1.8,12.3,5.1c3.3,3.3,5.1,7.7,5.1,12.3\n\t\ts-1.8,9-5.1,12.3L76.8,61.3c-3.3,3.3-7.7,5.1-12.3,5.1c-4.7,0-9-1.8-12.3-5.1c-1.6-1.6-2.9-3.5-3.7-5.5c-2.1,0.1-4.1,1-5.7,2.5\n\t\tl-5,5c1.4,2.5,3.1,4.9,5.3,7.1c11.8,11.8,31,11.8,42.8,0l18.7-18.7c11.8-11.8,11.8-31,0-42.8C92.8-3,73.7-3,61.8,8.9L45,25.7\n\t\tC46.2,25.6,47.5,25.5,48.8,25.5L48.8,25.5L48.8,25.5z"}})])]):e._e(),e._v(" "),n("button",{staticClass:"buttonLink _no_underline",attrs:{type:"button"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.duplicateMedia()}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"39.5,11.8 83,11.8 83,55.4 72.7,55.4 72.7,67.2 94.8,67.2 94.8,0 27.7,0 27.7,22.2 39.5,22.2 \t"}}),e._v(" "),n("path",{staticClass:"st0",attrs:{d:"M67.2,27.7L0,27.7l0,67.2l67.2,0L67.2,27.7z M55.4,83l-43.6,0l0-43.6l43.6,0L55.4,83z"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("duplicate")))])]),e._v(" "),n("button",{staticClass:"buttonLink _no_underline",attrs:{type:"button"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.removePubliMedia()}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 37.2 37.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"37.2px",height:"37.2px",viewBox:"0 0 37.2 37.2","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"37.2,30.6 30.6,37.2 18.6,25.2 6.6,37.2 0,30.6 12,18.6 0,6.6 6.6,0 18.6,12 30.6,0 37.2,6.6 \n 25.2,18.6 "}})]),e._v("\n "+e._s(e.$t("withdraw"))+"\n ")])]):e._e()])]),e._v(" "),n("transition",{attrs:{name:"scaleIn",duration:400}},[e.is_saving?n("Loader"):e._e()],1)],2)},i.staticRenderFns=[]},{"../modals/EditPlaceholderModal.vue":223,"./CollaborativeEditor.vue":256,"./MediaContent.vue":265,"./MediaPlaceholder.vue":268,debounce:41}],270:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(e("./MediaContent.vue")),i=(a(e("debounce")),a(e("./CollaborativeEditor.vue"))),o=a(e("./MediaField.vue")),r=a(e("./PlaceholderConstraints.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{media:Object,read_only:Boolean,preview_mode:Boolean,slugPubliName:String},components:{MediaContent:t.default,CollaborativeEditor:i.default,MediaField:o.default,PlaceholderConstraints:r.default},data:function(){return{is_dragged:!1,is_resized:!1,is_rotated:!1,is_waitingForServer:!1,is_hovered:!1,is_touch:Modernizr.touchevents,inline_edit_mode:!0,show_advanced_menu:!1,htmlForEditor:this.media.content?this.media.content:"",fit_mode:"cover",edit_instructions:!1,new_instructions:"",debounce_textUpdate:void 0}},created:function(){},mounted:function(){this.$eventHub.$on("publication.selectNewMedia",this.selectNewMedia),this.$eventHub.$on("publication.set_media_to_edit_mode",this.setMediaToEditMode),this.$eventHub.$on("publication.just_inserted_media",this.mediaJustInserted)},beforeDestroy:function(){this.$eventHub.$off("publication.selectNewMedia",this.selectNewMedia),this.$eventHub.$off("publication.just_inserted_media",this.mediaJustInserted)},watch:{media:{handler:function(){this.htmlForEditor=this.media.content?this.media.content:""},deep:!0},edit_instructions:function(){this.edit_instructions&&(this.new_instructions=this.media.instructions)},is_selected:function(){}},computed:{mediaURL:function(){return(this.media._linked_media?"":"/_publications")+"/"+(this.media._linked_media&&this.media._linked_media.slugProjectName?this.media._linked_media.slugProjectName:this.slugPubliName)+"/"+(this.media._linked_media&&this.media._linked_media.media_filename?this.media._linked_media.media_filename:this.media.media_filename)},force_text_style:function(){return"bold"===this.media.force_text_style?"font-weight: 700;":"italic"===this.media.force_text_style?"font-style: italic;":"large"===this.media.force_text_style?"font-size: 200%;":"small"===this.media.force_text_style?"font-size: 60%;":""},no_text_content:function(){return this.media.only_numbers?this.$t("no_numbers"):this.$t("no_text_content")},is_selected:function(){var e=this;if(this.read_only)return!1;var t=this.$root.settings.current_publication.selected_medias.some(function(t){return t===e.media.metaFileName});return t||(this.show_advanced_menu=!1),t},mediaStyles:function(){var e="";return e+="--media-ratio: "+100*(this.$root.getFileMeta({type:"ratio",media:this.media})?this.$root.getFileMeta({type:"ratio",media:this.media}):.5625)+"%; "}},methods:{selectNewMedia:function(e){e===this.media.metaFileName&&(this.is_selected||this.selectMedia())},setMediaToEditMode:function(e){e===this.media.metaFileName&&(this.is_selected||this.selectMedia(),this.editButtonClicked())},mediaJustInserted:function(e){var t=this;this.media.metaFileName===e&&(this.selectMedia(),this.$nextTick(function(){t.scrollToMedia()}))},editButtonClicked:function(){this.media.hasOwnProperty("_linked_media")&&this.$root.openMedia({slugProjectName:this.media._linked_media.slugProjectName,metaFileName:this.media._linked_media.metaFileName})},updateMediaPubliMeta:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublicationReply: updateMediaPubliMeta"),this.$emit("editPubliMedia",{metaFileName:this.media.metaFileName,values:e})},updateTextMedia:function(){var e=this;this.debounce_textUpdate&&clearTimeout(this.debounce_textUpdate),this.debounce_textUpdate=setTimeout(function(){console.log("CollaborativeEditor • updateTextMedia: saving new snapshop"),e.updateMediaPubliMeta({content:e.htmlForEditor})},1e3)},removePubliMedia:function(){var e=this;"placeholder"!==this.media.type?this.$emit("removePubliMedia",{metaFileName:this.media.metaFileName}):this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemovePlaceholder"),function(){e.$emit("removePubliMedia",{metaFileName:e.media.metaFileName})},function(){})},toggleMediaSelection:function(){this.is_selected?this.deselectMedia():this.selectMedia()},selectMedia:function(){this.is_selected||("debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublicationReply: deselectMedia"),this.$root.settings.current_publication.selected_medias=[],this.$root.settings.current_publication.selected_medias.push(this.media.metaFileName))},deselectMedia:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaPublicationReply: deselectMedia"),this.show_advanced_menu=!1,this.$root.settings.current_publication.selected_medias=this.$root.settings.current_publication.selected_medias.filter(function(t){return t!==e.media.metaFileName})},scrollToMedia:function(){var e=this.$refs.media;e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded(!0):e.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})},mouseOver:function(){this.is_touch||(this.is_hovered=!0)},mouseLeave:function(){this.is_touch||(this.is_hovered=!1)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"media",staticClass:"m_mediaPublicationReply",class:["type-"+e.media.type,{"is--selected":e.is_selected,"is--hovered":e.is_hovered,"is--previewed":e.preview_mode,"has--onlyNumbers":e.media.only_numbers}],on:{mouseover:e.mouseOver,mouseleave:e.mouseLeave,click:function(t){return t.stopPropagation(),e.selectMedia(t)}}},[e.media.hasOwnProperty("_linked_media")?[e.media._linked_media.hasOwnProperty("_isAbsent")?n("div",[e._v("\n "+e._s(e.$t("linked_media_wasnt_found"))+"\n "),n("br"),e._v(" "),n("small",[e._v("\n "+e._s(e.media._linked_media.slugProjectName)+"/"+e._s(e.media._linked_media.slugMediaName)+"\n ")])]):n("MediaContent",{style:e.mediaStyles,attrs:{context:"full",slugFolderName:e.media._linked_media.slugProjectName,media:e.media._linked_media,read_only:e.read_only},model:{value:e.media._linked_media.content,callback:function(t){e.$set(e.media._linked_media,"content",t)},expression:"media._linked_media.content"}})]:[["image","video","audio","code","stl","document","other"].includes(e.media.type)?n("MediaContent",{style:e.mediaStyles,attrs:{context:"full",slugFolderName:e.slugPubliName,folderType:"publications",media:e.media,read_only:e.read_only},model:{value:e.media.content,callback:function(t){e.$set(e.media,"content",t)},expression:"media.content"}}):n("div",{staticClass:"mediaContainer",class:"type-"+e.media.type},["text"===e.media.type?[e.inline_edit_mode&&e.is_selected&&!e.preview_mode&&!e.read_only?[e.media.only_numbers?[n("input",{directives:[{name:"model",rawName:"v-model",value:e.htmlForEditor,expression:"htmlForEditor"}],attrs:{type:"number"},domProps:{value:e.htmlForEditor},on:{input:[function(t){t.target.composing||(e.htmlForEditor=t.target.value)},e.updateTextMedia]}})]:n("CollaborativeEditor",{ref:"textField",staticClass:"fixedPanel",style:e.media.plain_text?e.force_text_style:"",attrs:{specific_toolbar:e.media.plain_text?[]:void 0,media:e.media,slugFolderName:e.slugPubliName,enable_collaboration:!0,theme:"bubble",type:"publications"},model:{value:e.htmlForEditor,callback:function(t){e.htmlForEditor=t},expression:"htmlForEditor"}})]:n("div",{staticClass:"mediaTextContent"},[0!==e.htmlForEditor.length?n("div",{domProps:{innerHTML:e._s(e.htmlForEditor)}}):n("p",{staticClass:"_no_textcontent",domProps:{innerHTML:e._s(e.no_text_content)}})])]:"placeholder"===e.media.type?[n("div",{staticClass:"_placeholder"},[n("div",{staticClass:"_placeholder--instructions"},[n("label",[e._v(e._s(e.$t("instructions")))]),e._v(" "),n("MediaField",{attrs:{value:e.media.instructions,show_edit_button:!0,add_instructions:e.$t("add_instructions"),edit_instructions:e.$t("edit_instructions"),read_only:e.preview_mode||e.read_only},on:{updateField:function(t){return e.updateMediaPubliMeta({instructions:t})}}})],1),e._v(" "),n("div",{staticClass:"_placeholder--constraints"},[n("label",{domProps:{innerHTML:e._s(e.$t("type_of_expected_contents:"))}}),e._v(" "),n("PlaceholderConstraints",{attrs:{available_modes:e.media.available_modes,read_only:e.preview_mode||e.read_only},on:{updateField:function(t){return e.updateMediaPubliMeta({available_modes:t})}}})],1)])]:"divider"===e.media.type?[n("div",{staticClass:"mediaTextContent"},[n("hr")])]:e._e()],2)],e._v(" "),(e.media.caption||e.is_selected)&&"text"!==e.media.type&&"placeholder"!==e.media.type&&"divider"!==e.media.type?n("MediaField",{staticClass:"mediaCaption",attrs:{value:e.media.caption,add_instructions:e.$t("add_caption"),edit_instructions:e.$t("edit_caption"),show_edit_button:e.is_selected,read_only:e.preview_mode||e.read_only},on:{updateField:function(t){return e.updateMediaPubliMeta({caption:t})}}}):e._e(),e._v(" "),n("div",{staticClass:"m_mediaPublicationReply--moveItemButtons",class:{"is--visible":!e.preview_mode&&!e.read_only&&(e.is_selected||e.is_hovered)}},[n("div",{staticClass:"m_mediaPublicationReply--moveItemButtons--options"},[n("button",{attrs:{type:"button"},on:{click:function(t){t.stopPropagation(),e.show_advanced_menu=!e.show_advanced_menu,e.selectMedia()}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 4 16.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"4px",height:"16.2px",viewBox:"0 0 4 16.2","xml:space":"preserve"}},[n("path",{staticStyle:{fill:"currentColor"},attrs:{d:"M0,14.1c0,1.1,0.9,2,2,2s2-0.9,2-2s-0.9-2-2-2S0,13,0,14.1z M0,2c0,1.1,0.9,2,2,2s2-0.9,2-2S3.1,0,2,0\n\tS0,0.9,0,2z M0,8.1c0,1.1,0.9,2,2,2s2-0.9,2-2s-0.9-2-2-2S0,7,0,8.1z"}})])]),e._v(" "),e.show_advanced_menu?n("div",{staticClass:"_advanced_menu"},["text"!==e.media.type?n("a",{staticClass:"buttonLink",attrs:{download:e.media.media_filename,href:e.mediaURL,target:"_blank",disabled:e.read_only}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 46.7 70"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"46.7px",height:"70px",viewBox:"0 0 46.7 70","xml:space":"preserve"}},[n("g",[n("g",[n("path",{staticClass:"st0",attrs:{d:"M8.5,35.2l4.6,4.2c2.7,2.5,4.8,4.7,6.4,7.3l0-46.7h7.7l0,46.6c1.7-2.5,3.8-4.7,6.4-7.1l4.6-4.2l5.3,6.2\n\t\t\tL23.3,59.6L3.2,41.5L8.5,35.2z"}})]),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"46.7,70 0,70 0,62.4 46.6,62.4 \t"}})])]),e._v("\n "+e._s(e.$t("download"))+"\n ")]):e._e(),e._v(" "),e.media.hasOwnProperty("_linked_media")?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],staticClass:"buttonLink _no_underline",attrs:{type:"button",content:e.$t("edit_original_media")},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.editButtonClicked(t)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.editButtonClicked(t)}}},[n("svg",{staticClass:"inline-svg inline-svg-larger",staticStyle:{"enable-background":"new 0 0 113.5 113.5"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"113.5px",height:"113.5px",viewBox:"0 0 113.5 113.5","xml:space":"preserve"}},[n("path",{attrs:{d:"M8.9,104.6c11.8,11.8,31,11.8,42.8,0l16.9-16.9c-1.3,0.1-2.7,0.2-4,0.2c-4.3,0-8.4-0.7-12.4-2l-9.6,9.6\n\t\tc-3.3,3.3-7.7,5.1-12.3,5.1c-4.6,0-9-1.8-12.3-5.1c-3.3-3.3-5.1-7.6-5.1-12.3c0-4.6,1.8-9,5.1-12.3l18.7-18.7\n\t\tc3.3-3.3,7.7-5.1,12.3-5.1c4.7,0,9,1.8,12.3,5.1c1.6,1.6,2.8,3.4,3.7,5.5c2.1-0.1,10.6-7.5,10.6-7.5c-1.4-2.5-3.1-4.9-5.3-7.1\n\t\tc-11.8-11.8-31-11.8-42.8,0L8.9,61.8C-3,73.6-3,92.8,8.9,104.6z"}}),e._v(" "),n("path",{attrs:{d:"M48.8,25.5c4.3,0,8.5,0.7,12.5,2.1l9.6-9.6c3.3-3.3,7.7-5.1,12.3-5.1s9,1.8,12.3,5.1c3.3,3.3,5.1,7.7,5.1,12.3\n\t\ts-1.8,9-5.1,12.3L76.8,61.3c-3.3,3.3-7.7,5.1-12.3,5.1c-4.7,0-9-1.8-12.3-5.1c-1.6-1.6-2.9-3.5-3.7-5.5c-2.1,0.1-4.1,1-5.7,2.5\n\t\tl-5,5c1.4,2.5,3.1,4.9,5.3,7.1c11.8,11.8,31,11.8,42.8,0l18.7-18.7c11.8-11.8,11.8-31,0-42.8C92.8-3,73.7-3,61.8,8.9L45,25.7\n\t\tC46.2,25.6,47.5,25.5,48.8,25.5L48.8,25.5L48.8,25.5z"}})])]):e._e(),e._v(" "),n("button",{staticClass:"buttonLink _no_underline",attrs:{type:"button"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.removePubliMedia()}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 37.2 37.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"37.2px",height:"37.2px",viewBox:"0 0 37.2 37.2","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"37.2,30.6 30.6,37.2 18.6,25.2 6.6,37.2 0,30.6 12,18.6 0,6.6 6.6,0 18.6,12 30.6,0 37.2,6.6 \n 25.2,18.6 "}})]),e._v("\n "+e._s(e.media.hasOwnProperty("_linked_media")?e.$t("withdraw"):e.$t("remove"))+"\n ")])]):e._e()])])],2)},i.staticRenderFns=[]},{"./CollaborativeEditor.vue":256,"./MediaContent.vue":265,"./MediaField.vue":266,"./PlaceholderConstraints.vue":274,debounce:41}],271:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(e("./MediaContent.vue")),i=(a(e("debounce")),a(e("./CollaborativeEditor.vue"))),o=a(e("./MediaField.vue")),r=a(e("./PlaceholderConstraints.vue"));function a(e){return e&&e.__esModule?e:{default:e}}n.default={props:{media:Object,read_only:Boolean,preview_mode:Boolean,slugPubliName:String,media_position:String,can_duplicate_media:{type:Boolean,default:!0}},components:{MediaContent:t.default,CollaborativeEditor:i.default,MediaField:o.default,PlaceholderConstraints:r.default},data:function(){return{is_dragged:!1,is_resized:!1,is_rotated:!1,is_waitingForServer:!1,is_hovered:!1,is_touch:Modernizr.touchevents,inline_edit_mode:!0,show_advanced_menu:!1,htmlForEditor:this.media.content?this.media.content:"",fit_mode:"cover",edit_instructions:!1,new_instructions:"",debounce_textUpdate:void 0}},created:function(){},mounted:function(){this.updateMediaStyles(),this.$eventHub.$on("publication.selectNewMedia",this.selectNewMedia),this.$eventHub.$on("publication.set_media_to_edit_mode",this.setMediaToEditMode),this.$eventHub.$on("publication.just_inserted_media",this.mediaJustInserted)},beforeDestroy:function(){this.$eventHub.$off("publication.selectNewMedia",this.selectNewMedia),this.$eventHub.$off("publication.just_inserted_media",this.mediaJustInserted)},watch:{media:{handler:function(){this.updateMediaStyles(),this.htmlForEditor=this.media.content?this.media.content:""},deep:!0},edit_instructions:function(){this.edit_instructions&&(this.new_instructions=this.media.instructions)},is_selected:function(){}},computed:{mediaURL:function(){return(this.media._linked_media?"":"/_publications")+"/"+(this.media._linked_media&&this.media._linked_media.slugProjectName?this.media._linked_media.slugProjectName:this.slugPubliName)+"/"+(this.media._linked_media&&this.media._linked_media.media_filename?this.media._linked_media.media_filename:this.media.media_filename)},force_text_style:function(){return"bold"===this.media.force_text_style?"font-weight: 700;":"italic"===this.media.force_text_style?"font-style: italic;":"large"===this.media.force_text_style?"font-size: 200%;":"small"===this.media.force_text_style?"font-size: 60%;":""},no_text_content:function(){return this.media.only_numbers?this.$t("no_numbers"):this.$t("no_text_content")},is_selected:function(){var e=this;if(this.read_only)return!1;var t=this.$root.settings.current_publication.selected_medias.some(function(t){return t===e.media.metaFileName});return t||(this.show_advanced_menu=!1),t},mediaStyles:function(){var e="";return e+="--media-ratio: "+100*(this.$root.getFileMeta({type:"ratio",media:this.media})?this.$root.getFileMeta({type:"ratio",media:this.media}):.5625)+"%; "}},methods:{duplicateMedia:function(){this.$emit("duplicateMedia",{metaFileName:this.media.metaFileName})},selectNewMedia:function(e){e===this.media.metaFileName&&(this.is_selected||this.selectMedia())},setMediaToEditMode:function(e){e===this.media.metaFileName&&(this.is_selected||this.selectMedia(),this.editButtonClicked())},mediaJustInserted:function(e){var t=this;this.media.metaFileName===e&&(this.selectMedia(),this.$nextTick(function(){t.scrollToMedia()}))},editButtonClicked:function(){this.media.hasOwnProperty("_linked_media")&&this.$root.openMedia({slugProjectName:this.media._linked_media.slugProjectName,metaFileName:this.media._linked_media.metaFileName})},toggleImageFitMode:function(){"cover"===this.fit_mode?this.fit_mode="contain":"contain"===this.fit_mode&&(this.fit_mode="cover"),this.updateMediaPubliMeta({fit_mode:this.fit_mode})},updateMediaStyles:function(){this.fit_mode=this.media.hasOwnProperty("fit_mode")?this.media.fit_mode:"cover"},updateMediaPubliMeta:function(e){"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaStory: updateMediaPubliMeta"),this.$emit("editPubliMedia",{metaFileName:this.media.metaFileName,val:e})},updateTextMedia:function(){var e=this;this.debounce_textUpdate&&clearTimeout(this.debounce_textUpdate),this.debounce_textUpdate=setTimeout(function(){console.log("CollaborativeEditor • updateTextMedia: saving new snapshop"),e.updateMediaPubliMeta({content:e.htmlForEditor})},1e3)},removePubliMedia:function(){var e=this;"placeholder"!==this.media.type?this.$emit("removePubliMedia",{metaFileName:this.media.metaFileName}):this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemovePlaceholder"),function(){e.$emit("removePubliMedia",{metaFileName:e.media.metaFileName})},function(){})},toggleMediaSelection:function(){this.is_selected?this.deselectMedia():this.selectMedia()},selectMedia:function(){this.is_selected||("debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaStory: deselectMedia"),this.$root.settings.current_publication.selected_medias=[],this.$root.settings.current_publication.selected_medias.push(this.media.metaFileName))},deselectMedia:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("METHODS • MediaStory: deselectMedia"),this.show_advanced_menu=!1,this.$root.settings.current_publication.selected_medias=this.$root.settings.current_publication.selected_medias.filter(function(t){return t!==e.media.metaFileName})},scrollToMedia:function(){var e=this.$refs.media;e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded(!0):e.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})},mouseOver:function(){this.is_touch||(this.is_hovered=!0)},mouseLeave:function(){this.is_touch||(this.is_hovered=!1)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"media",staticClass:"m_mediaStory",class:["type-"+e.media.type,{"is--selected":e.is_selected,"is--previewed":e.preview_mode,"has--onlyNumbers":e.media.only_numbers}],on:{mouseover:e.mouseOver,mouseleave:e.mouseLeave,click:function(t){return t.stopPropagation(),e.selectMedia(t)}}},[e.media.hasOwnProperty("_linked_media")?[e.media._linked_media.hasOwnProperty("_isAbsent")?n("div",[e._v("\n "+e._s(e.$t("linked_media_wasnt_found"))+"\n "),n("br"),e._v(" "),n("small",[e._v("\n "+e._s(e.media._linked_media.slugProjectName)+"/"+e._s(e.media._linked_media.slugMediaName)+"\n ")])]):n("MediaContent",{style:e.mediaStyles,attrs:{context:"full",slugFolderName:e.media._linked_media.slugProjectName,media:e.media._linked_media,read_only:e.read_only},model:{value:e.media._linked_media.content,callback:function(t){e.$set(e.media._linked_media,"content",t)},expression:"media._linked_media.content"}})]:[["image","video","audio","code","stl","document","other"].includes(e.media.type)?n("MediaContent",{style:e.mediaStyles,attrs:{context:"full",slugFolderName:e.slugPubliName,folderType:"publications",media:e.media,read_only:e.read_only},model:{value:e.media.content,callback:function(t){e.$set(e.media,"content",t)},expression:"media.content"}}):n("div",{staticClass:"mediaContainer",class:"type-"+e.media.type},["text"===e.media.type?[e.inline_edit_mode&&e.is_selected&&!e.preview_mode&&!e.read_only?[e.media.only_numbers?[n("input",{directives:[{name:"model",rawName:"v-model",value:e.htmlForEditor,expression:"htmlForEditor"}],attrs:{type:"number"},domProps:{value:e.htmlForEditor},on:{input:[function(t){t.target.composing||(e.htmlForEditor=t.target.value)},e.updateTextMedia]}})]:n("CollaborativeEditor",{ref:"textField",style:e.force_text_style,attrs:{specific_toolbar:e.media.plain_text?[]:void 0,media:e.media,slugFolderName:e.slugPubliName,enable_collaboration:!0,type:"publications"},model:{value:e.htmlForEditor,callback:function(t){e.htmlForEditor=t},expression:"htmlForEditor"}})]:n("div",{staticClass:"mediaTextContent"},[0!==e.htmlForEditor.length?n("div",{domProps:{innerHTML:e._s(e.htmlForEditor)}}):n("p",{staticClass:"_no_textcontent",domProps:{innerHTML:e._s(e.no_text_content)}})])]:"placeholder"===e.media.type?[n("div",{staticClass:"_placeholder"},[n("div",{staticClass:"_placeholder--instructions"},[n("label",[e._v(e._s(e.$t("instructions")))]),e._v(" "),n("MediaField",{attrs:{value:e.media.instructions,show_edit_button:!0,add_instructions:e.$t("add_instructions"),edit_instructions:e.$t("edit_instructions"),read_only:e.preview_mode||e.read_only},on:{updateField:function(t){return e.updateMediaPubliMeta({instructions:t})}}})],1),e._v(" "),n("div",{staticClass:"_placeholder--constraints"},[n("label",{domProps:{innerHTML:e._s(e.$t("type_of_expected_contents:"))}}),e._v(" "),n("PlaceholderConstraints",{attrs:{available_modes:e.media.available_modes,read_only:e.preview_mode||e.read_only},on:{updateField:function(t){return e.updateMediaPubliMeta({available_modes:t})}}})],1)])]:"divider"===e.media.type?[n("div",{staticClass:"mediaTextContent"},[n("hr")])]:e._e()],2)],e._v(" "),(e.media.caption||e.is_selected)&&"text"!==e.media.type&&"placeholder"!==e.media.type&&"divider"!==e.media.type?n("MediaField",{staticClass:"mediaCaption",attrs:{value:e.media.caption,add_instructions:e.$t("add_caption"),edit_instructions:e.$t("edit_caption"),show_edit_button:e.is_selected,read_only:e.preview_mode||e.read_only},on:{updateField:function(t){return e.updateMediaPubliMeta({caption:t})}}}):e._e(),e._v(" "),n("div",{staticClass:"m_mediaStory--moveItemButtons",class:{"is--visible":!e.preview_mode&&!e.read_only&&(e.is_selected||e.is_hovered)}},[n("button",{staticClass:"m_mediaStory--moveItemButtons--before",attrs:{type:"button",disabled:"first"===e.media_position||"alone"===e.media_position},on:{click:function(t){return t.stopPropagation(),e.$emit("changeMediaOrder",{metaFileName:e.media.metaFileName,dir:-1})}}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 168 168"}},[n("path",{staticStyle:{fill:"currentColor"},attrs:{d:"M87.46,49.46,73.39,64.77a65.3,65.3,0,0,1-6.15,6.15A47.8,47.8,0,0,1,61,75.29H131.6V91.14H61A39.1,39.1,0,0,1,67,95.51q2.81,2.46,6.36,6.15L87.46,117,74.48,128,34.17,83.21,74.48,38.39Z"}})])]),e._v(" "),n("div",{staticClass:"m_mediaStory--moveItemButtons--options"},[n("button",{attrs:{type:"button"},on:{click:function(t){t.stopPropagation(),e.show_advanced_menu=!e.show_advanced_menu,e.selectMedia()}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 4 16.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"4px",height:"16.2px",viewBox:"0 0 4 16.2","xml:space":"preserve"}},[n("path",{staticStyle:{fill:"currentColor"},attrs:{d:"M0,14.1c0,1.1,0.9,2,2,2s2-0.9,2-2s-0.9-2-2-2S0,13,0,14.1z M0,2c0,1.1,0.9,2,2,2s2-0.9,2-2S3.1,0,2,0\n\tS0,0.9,0,2z M0,8.1c0,1.1,0.9,2,2,2s2-0.9,2-2s-0.9-2-2-2S0,7,0,8.1z"}})])]),e._v(" "),e.show_advanced_menu?n("div",{staticClass:"_advanced_menu"},[e.can_duplicate_media?n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:e.duplicateMedia}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"39.5,11.8 83,11.8 83,55.4 72.7,55.4 72.7,67.2 94.8,67.2 94.8,0 27.7,0 27.7,22.2 39.5,22.2 \t"}}),e._v(" "),n("path",{staticClass:"st0",attrs:{d:"M67.2,27.7L0,27.7l0,67.2l67.2,0L67.2,27.7z M55.4,83l-43.6,0l0-43.6l43.6,0L55.4,83z"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("duplicate")))])]):e._e(),e._v(" "),"text"!==e.media.type?n("a",{staticClass:"buttonLink",attrs:{download:e.media.media_filename,href:e.mediaURL,target:"_blank",disabled:e.read_only}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 46.7 70"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"46.7px",height:"70px",viewBox:"0 0 46.7 70","xml:space":"preserve"}},[n("g",[n("g",[n("path",{staticClass:"st0",attrs:{d:"M8.5,35.2l4.6,4.2c2.7,2.5,4.8,4.7,6.4,7.3l0-46.7h7.7l0,46.6c1.7-2.5,3.8-4.7,6.4-7.1l4.6-4.2l5.3,6.2\n\t\t\tL23.3,59.6L3.2,41.5L8.5,35.2z"}})]),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"46.7,70 0,70 0,62.4 46.6,62.4 \t"}})])]),e._v("\n "+e._s(e.$t("download"))+"\n ")]):e._e(),e._v(" "),e.media.hasOwnProperty("_linked_media")?n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],staticClass:"buttonLink _no_underline",attrs:{type:"button",content:e.$t("edit_original_media")},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.editButtonClicked(t)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.editButtonClicked(t)}}},[n("svg",{staticClass:"inline-svg inline-svg-larger",staticStyle:{"enable-background":"new 0 0 113.5 113.5"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"113.5px",height:"113.5px",viewBox:"0 0 113.5 113.5","xml:space":"preserve"}},[n("path",{attrs:{d:"M8.9,104.6c11.8,11.8,31,11.8,42.8,0l16.9-16.9c-1.3,0.1-2.7,0.2-4,0.2c-4.3,0-8.4-0.7-12.4-2l-9.6,9.6\n\t\tc-3.3,3.3-7.7,5.1-12.3,5.1c-4.6,0-9-1.8-12.3-5.1c-3.3-3.3-5.1-7.6-5.1-12.3c0-4.6,1.8-9,5.1-12.3l18.7-18.7\n\t\tc3.3-3.3,7.7-5.1,12.3-5.1c4.7,0,9,1.8,12.3,5.1c1.6,1.6,2.8,3.4,3.7,5.5c2.1-0.1,10.6-7.5,10.6-7.5c-1.4-2.5-3.1-4.9-5.3-7.1\n\t\tc-11.8-11.8-31-11.8-42.8,0L8.9,61.8C-3,73.6-3,92.8,8.9,104.6z"}}),e._v(" "),n("path",{attrs:{d:"M48.8,25.5c4.3,0,8.5,0.7,12.5,2.1l9.6-9.6c3.3-3.3,7.7-5.1,12.3-5.1s9,1.8,12.3,5.1c3.3,3.3,5.1,7.7,5.1,12.3\n\t\ts-1.8,9-5.1,12.3L76.8,61.3c-3.3,3.3-7.7,5.1-12.3,5.1c-4.7,0-9-1.8-12.3-5.1c-1.6-1.6-2.9-3.5-3.7-5.5c-2.1,0.1-4.1,1-5.7,2.5\n\t\tl-5,5c1.4,2.5,3.1,4.9,5.3,7.1c11.8,11.8,31,11.8,42.8,0l18.7-18.7c11.8-11.8,11.8-31,0-42.8C92.8-3,73.7-3,61.8,8.9L45,25.7\n\t\tC46.2,25.6,47.5,25.5,48.8,25.5L48.8,25.5L48.8,25.5z"}})])]):e._e(),e._v(" "),n("button",{staticClass:"buttonLink _no_underline",attrs:{type:"button"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.removePubliMedia()}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 37.2 37.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"37.2px",height:"37.2px",viewBox:"0 0 37.2 37.2","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"37.2,30.6 30.6,37.2 18.6,25.2 6.6,37.2 0,30.6 12,18.6 0,6.6 6.6,0 18.6,12 30.6,0 37.2,6.6 \n 25.2,18.6 "}})]),e._v("\n "+e._s(e.media.hasOwnProperty("_linked_media")?e.$t("withdraw"):e.$t("remove"))+"\n ")])]):e._e()]),e._v(" "),n("button",{staticClass:"m_mediaStory--moveItemButtons--after",attrs:{type:"button",disabled:"last"===e.media_position||"alone"===e.media_position},on:{click:function(t){return t.stopPropagation(),e.$emit("changeMediaOrder",{metaFileName:e.media.metaFileName,dir:1})}}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 168 168"}},[n("path",{staticStyle:{fill:"currentColor"},attrs:{d:"M78.31,117l14.07-15.31a65.3,65.3,0,0,1,6.15-6.15,47.52,47.52,0,0,1,6.29-4.37H34.17V75.29h70.65a39.1,39.1,0,0,1-6.08-4.37q-2.8-2.46-6.36-6.15L78.31,49.46l13-11.07L131.6,83.21,91.29,128Z"}})])])])],2)},i.staticRenderFns=[]},{"./CollaborativeEditor.vue":256,"./MediaContent.vue":265,"./MediaField.vue":266,"./PlaceholderConstraints.vue":274,debounce:41}],272:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{read_only:Boolean,media_is_being_sent:Boolean,media_being_sent_percent:Number,cancelButtonIsBackButton:{type:Boolean,default:!1},can_add_to_fav:Boolean},components:{},data:function(){return{selected_button:1}},created:function(){},mounted:function(){this.$root.settings.capture_mode_cant_be_changed=!0,document.addEventListener("keyup",this.captureKeyListener)},beforeDestroy:function(){document.removeEventListener("keyup",this.captureKeyListener)},watch:{},computed:{},methods:{captureKeyListener:function(e){switch(console.log("METHODS • MediaValidationButtons: captureKeyListener"),e.key){case"w":case"z":case"ArrowLeft":this.selectedMoveLeft();break;case"s":case"ArrowRight":this.selectedMoveRight();break;case"a":case"q":case" ":this.validateButton(this.selected_button)}return e.preventDefault(),!1},selectedMoveLeft:function(){console.log("METHODS • MediaValidationButtons: captureKeyListener / goleft"),this.selected_button+=this.selected_button>0?-1:0},selectedMoveRight:function(){console.log("METHODS • MediaValidationButtons: captureKeyListener / goright"),this.selected_button+=this.selected_button<2?1:0},validateButton:function(e){0===e?this.$emit("cancel"):1===e?this.$emit("save"):2===e&&this.$emit("save_and_fav")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_mediaValidationButtons"},[n("button",{staticClass:"bg-transparent button-arrow",attrs:{type:"button"},on:{click:e.selectedMoveLeft}},[n("svg",{staticStyle:{"enable-background":"new 0 0 169 169"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"169px",height:"169px",viewBox:"0 0 169 169","xml:space":"preserve"}},[n("path",{attrs:{fill:"currentColor",d:"M60.2,84.5l48.6-24.3l0,48.6L60.2,84.5z"}})])]),e._v(" "),n("button",{staticClass:"button button-bg_rounded button-outline c-blanc",class:{"is--selected":0===e.selected_button},attrs:{type:"button"},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.validateButton(0)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.validateButton(0)},mouseover:function(t){e.selected_button=0}}},[e.cancelButtonIsBackButton?[n("span",{},[e._v("‹ "+e._s(e.$t("back")))])]:[n("svg",{staticStyle:{"enable-background":"new 0 0 168 168"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 168 168","xml:space":"preserve"}},[n("polygon",{attrs:{points:"42.6,57.2 57.5,42.4 84.1,69 110.8,42.4 125.6,57.2 99,83.9 125.6,110.5 110.8,125.4 \n 84.1,98.7 57.5,125.4 42.6,110.5 69.3,83.9 \t\t\t"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("cancel")))])]],2),e._v(" "),n("button",{staticClass:"button button-bg_rounded button-outline c-rouge",class:{"is--selected":1===e.selected_button},attrs:{type:"button",disabled:e.read_only},on:{click:function(t){return e.validateButton(1)},mouseover:function(t){e.selected_button=1}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 168 168"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 168 168","xml:space":"preserve"}},[n("rect",{attrs:{x:"51.4",y:"73.1",transform:"matrix(0.7071 -0.7071 0.7071 0.7071 -53.857 72.9892)",width:"19.5",height:"56.8"}}),e._v(" "),n("rect",{attrs:{x:"53.2",y:"77.3",transform:"matrix(0.7071 -0.7071 0.7071 0.7071 -31.6875 97.6563)",width:"97.6",height:"19.5"}})]),e._v(" "),n("span",{staticClass:"c-rouge"},[e._v(e._s(e.$t("save")))])]),e._v(" "),e.can_add_to_fav?n("button",{staticClass:"button button-bg_rounded button-outline c-rouge",class:{"is--selected":2===e.selected_button},attrs:{type:"button",disabled:e.read_only},on:{click:function(t){return e.validateButton(2)},mouseover:function(t){e.selected_button=2}}},[n("svg",{staticClass:"padding-verysmall",staticStyle:{"enable-background":"new 0 0 78.5 106.4"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"68.5px",height:"80.4px",viewBox:"0 0 78.5 106.4","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"60.4,29.7 78.5,7.3 78.5,7.3 12.7,7.3 12.7,52 78.5,52 78.5,52 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"9.6,106.4 0,106.4 0,2 9.6,0 "}})]),e._v(" "),n("span",{},[e._v("\n "+e._s(e.$t("save"))+"\n "),n("br"),e._v("\n "+e._s(e.$t("as_favorite"))+"\n ")])]):e._e(),e._v(" "),n("button",{staticClass:"bg-transparent button-arrow",attrs:{type:"button"},on:{click:e.selectedMoveRight}},[n("svg",{staticStyle:{"enable-background":"new 0 0 169 169"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"169px",height:"169px",viewBox:"0 0 169 169","xml:space":"preserve"}},[n("path",{attrs:{fill:"currentColor",d:"M108.8,84.5l-48.6,24.3V60.2L108.8,84.5z"}})])]),e._v(" "),e.media_is_being_sent?n("div",{staticClass:"m_mediaValidationButtons--overlay"},[n("span",{staticClass:"loader loader-xs"}),e._v(" "),n("span",{staticClass:"m_mediaValidationButtons--overlay--percent",domProps:{innerHTML:e._s(e.media_being_sent_percent+"%")}})]):e._e()])},i.staticRenderFns=[]},{}],273:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{},components:{},data:function(){return{}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"inline-svg",staticStyle:{"padding-top":"4px"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"104.1px",height:"104.1px",viewBox:"0 0 104.1 104.1","xml:space":"preserve"}},[t("path",{staticStyle:{fill:"currentColor"},attrs:{d:"M68.1,0l-12,12c3.3,3.3,3.3,8.7,0,12l-12,12c-3.3,3.3-8.7,3.3-12,0l-12,12l15,15L9,89.1c-6.6,6.6-7.7,10.1-9,15\n\tc4.9-1.3,8.3-2.3,15-9l26.2-26.2l15,15l12-12c-3.3-3.3-3.3-8.7,0-12l12-12c3.3-3.3,8.7-3.3,12,0l12-12L68.1,0z"}})])},i.staticRenderFns=[],i._scopeId="data-v-99c4f06c"},{}],274:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{available_modes:[String,Array],read_only:Boolean,paged_mode:Boolean},components:{},data:function(){return{type_of_content:"medias",edit_choice_mode:!1,select_only_one:this.paged_mode,options:[{key:"text",picto:"/images/i_text.svg",enabled:!1,advanced_text_options:!1,force_text_style:!1,only_numbers:!1,amount:this.paged_mode?1:"unlimited"},{key:"photo",picto:"/images/i_icone-dodoc_image.svg",enabled:!1,amount:this.paged_mode?1:"unlimited"},{key:"video",picto:"/images/i_icone-dodoc_video.svg",enabled:!1,amount:this.paged_mode?1:"unlimited"},{key:"audio",picto:"/images/i_icone-dodoc_audio.svg",enabled:!1,amount:this.paged_mode?1:"unlimited"},{key:"file",picto:"",enabled:!1},{key:"choices",choices:"",multiple:!1,enabled:!1}],id:(Math.random().toString(36)+"00000000000000000").slice(2,8)}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{available_modes:{handler:function(){var e=this;"debug"===this.$root.state.dev_mode&&console.log("PlaceholderConstraints • WATCH: available_modes"),this.available_modes&&Array.isArray(this.available_modes)&&(this.options.map(function(t){if(e.available_modes.some(function(e){return e.mode_key===t.key})){t.enabled=!0;var n=e.available_modes.find(function(e){return e.mode_key===t.key});n.hasOwnProperty("advanced_text_options")&&(t.advanced_text_options="true"===n.advanced_text_options),n.hasOwnProperty("force_text_style")&&(t.force_text_style=n.force_text_style),n.hasOwnProperty("only_numbers")&&(t.only_numbers="true"===n.only_numbers),n.hasOwnProperty("amount")&&(t.amount=n.amount),n.hasOwnProperty("choices")&&(t.choices=n.choices),n.hasOwnProperty("multiple")&&(t.multiple="true"===n.multiple)}else t.enabled=!1}),this.options.find(function(e){return"choices"===e.key&&e.enabled})?this.type_of_content="choices":this.type_of_content="medias")},deep:!0,immediate:!0},edit_choice_mode:function(){var e=this;this.edit_choice_mode&&this.$nextTick(function(){e.$el.querySelector("[autofocus]").focus()})},options:{handler:function(e,t){"debug"===this.$root.state.dev_mode&&console.log("PlaceholderConstraints • WATCH: options");var n=this.options.filter(function(e){return e.enabled}).map(function(e){var t={mode_key:e.key};return"text"===e.key&&(t.advanced_text_options=e.advanced_text_options,t.advanced_text_options||(t.force_text_style=e.force_text_style),t.only_numbers=e.only_numbers),e.amount&&"unlimited"!==e.amount&&(t.amount=e.amount),e.choices&&(t.choices=e.choices),e.multiple&&(t.multiple=e.multiple),t});this.$emit("updateField",n)},deep:!0},type_of_content:function(){"debug"===this.$root.state.dev_mode&&console.log("PlaceholderConstraints • WATCH: type_of_content"),"choices"===this.type_of_content?(this.options.map(function(e){return"choices"!==e.key?e.enabled=!1:e.enabled=!0}),0===this.options.find(function(e){return"choices"===e.key}).choices.length&&(this.edit_choice_mode=!0)):this.options.find(function(e){return"choices"===e.key}).enabled=!1}},computed:{splitted_choices:function(){return""!==this.options.find(function(e){return"choices"===e.key}).choices?this.options.find(function(e){return"choices"===e.key}).choices.split("|").filter(function(e){return""!==e}):[]}},methods:{addChoice:function(e){if("debug"===this.$root.state.dev_mode&&console.log("PlaceholderConstraints • METHODS: addChoice"),!e.target||!e.target.elements||!e.target.elements[0].value)return!1;var t=e.target.elements[0].value,n=this.splitted_choices;if(n.includes(t))return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.option_already_exists")),!1;n.push(t),this.options.find(function(e){return"choices"===e.key}).choices=n.join("|"),e.target.elements[0].value=""},removeChoice:function(e){var t=this.splitted_choices.filter(function(t){return t!==e});this.options.find(function(e){return"choices"===e.key}).choices=t.join("|")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_placeholderConstraints"},[n("div",{staticClass:"m_placeholderConstraints--typeSelector"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.type_of_content,expression:"type_of_content"}],staticClass:"custom_radio",attrs:{type:"radio",disabled:e.read_only,id:e.id+"_type_medias",value:"medias"},domProps:{checked:e._q(e.type_of_content,"medias")},on:{change:function(t){e.type_of_content="medias"}}}),e._v(" "),n("label",{attrs:{for:e.id+"_type_medias"}},[n("span",[e._v(e._s(e.$t("text_and_medias")))])]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.type_of_content,expression:"type_of_content"}],staticClass:"custom_radio",attrs:{type:"radio",disabled:e.read_only,id:e.id+"_type_choices",value:"choices"},domProps:{checked:e._q(e.type_of_content,"choices")},on:{change:function(t){e.type_of_content="choices"}}}),e._v(" "),n("label",{attrs:{for:e.id+"_type_choices"}},[n("span",[e._v(e._s(e.$t("choices")))])])]),e._v(" "),"medias"===e.type_of_content?n("div",{staticClass:"m_placeholderConstraints--medias"},e._l(e.options,function(t){return n("div",{key:t.key,staticClass:"m_placeholderConstraints--medias--item",class:{"is--active":t.enabled}},["choices"!==t.key?[n("span",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.enabled,expression:"option.enabled"}],staticClass:"switch",attrs:{type:"checkbox",disabled:e.read_only,id:"option_"+e.id+"_"+t.key},domProps:{checked:Array.isArray(t.enabled)?e._i(t.enabled,null)>-1:t.enabled},on:{change:function(n){var i=t.enabled,o=n.target,r=!!o.checked;if(Array.isArray(i)){var a=e._i(i,null);o.checked?a<0&&e.$set(t,"enabled",i.concat([null])):a>-1&&e.$set(t,"enabled",i.slice(0,a).concat(i.slice(a+1)))}else e.$set(t,"enabled",r)}}}),e._v(" "),n("label",{attrs:{for:"option_"+e.id+"_"+t.key}})]),e._v(" "),n("button",{staticClass:"_picto button-nostyle",attrs:{type:"button",disabled:e.read_only},on:{click:function(e){t.enabled=!t.enabled}}},[n("div",{},[t.picto?n("img",{attrs:{src:t.picto}}):e._e()]),e._v(" "),n("label",[e._v(e._s(e.$t(t.key)))]),e._v(" "),n("div",["file"===t.key?n("small",{},[e._v("(.docx, .PDF, .stl…)")]):e._e()])]),e._v(" "),t.enabled&&(t.advanced_text_options||t.force_text_style||t.only_numbers||t.amount)?n("div",{staticClass:"_options"},["text"===t.key?n("div",{staticClass:"_advanced_text"},[n("label",{attrs:{for:"option_"+e.id+"_"+t.key+"_advtext"},on:{click:function(e){e.stopPropagation()}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.advanced_text_options,expression:"option.advanced_text_options"}],attrs:{id:"option_"+e.id+"_"+t.key+"_advtext",disabled:e.read_only,type:"checkbox"},domProps:{checked:Array.isArray(t.advanced_text_options)?e._i(t.advanced_text_options,null)>-1:t.advanced_text_options},on:{change:function(n){var i=t.advanced_text_options,o=n.target,r=!!o.checked;if(Array.isArray(i)){var a=e._i(i,null);o.checked?a<0&&e.$set(t,"advanced_text_options",i.concat([null])):a>-1&&e.$set(t,"advanced_text_options",i.slice(0,a).concat(i.slice(a+1)))}else e.$set(t,"advanced_text_options",r)}}}),e._v("\n "+e._s(e.$t("advanced_text_bloc"))+"\n ")])]):e._e(),e._v(" "),"text"!==t.key||t.advanced_text_options?e._e():n("div",{staticClass:"_force_text"},[n("label",[e._v(e._s(e.$t("style")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.force_text_style,expression:"option.force_text_style"}],staticClass:"select-xs",attrs:{disabled:e.read_only},on:{change:function(n){var i=Array.prototype.filter.call(n.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(t,"force_text_style",n.target.multiple?i:i[0])}}},e._l([!1,"bold","italic","large","small"],function(t){return n("option",{key:t,domProps:{value:t,innerHTML:e._s(t?e.$t(t):e.$t("none"))}})}),0)]),e._v(" "),"text"===t.key?n("div",{staticClass:"_advanced_text"},[n("label",{attrs:{for:"option_"+e.id+"_"+t.key+"_only_numbers"},on:{click:function(e){e.stopPropagation()}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.only_numbers,expression:"option.only_numbers"}],attrs:{id:"option_"+e.id+"_"+t.key+"_only_numbers",type:"checkbox",disabled:e.read_only},domProps:{checked:Array.isArray(t.only_numbers)?e._i(t.only_numbers,null)>-1:t.only_numbers},on:{change:function(n){var i=t.only_numbers,o=n.target,r=!!o.checked;if(Array.isArray(i)){var a=e._i(i,null);o.checked?a<0&&e.$set(t,"only_numbers",i.concat([null])):a>-1&&e.$set(t,"only_numbers",i.slice(0,a).concat(i.slice(a+1)))}else e.$set(t,"only_numbers",r)}}}),e._v("\n "+e._s(e.$t("only_numbers"))+"\n ")])]):e._e(),e._v(" "),t.amount?n("div",{staticClass:"_amount"},[n("label",[e._v(e._s(e.$t("amount")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.amount,expression:"option.amount"}],staticClass:"select-xs",attrs:{disabled:e.read_only||e.paged_mode},on:{change:function(n){var i=Array.prototype.filter.call(n.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(t,"amount",n.target.multiple?i:i[0])}}},[n("option",{attrs:{value:"unlimited"}},[e._v(e._s(e.$t("unlimited")))]),e._v(" "),n("option",{attrs:{value:"1"}},[e._v("1")]),e._v(" "),n("option",{attrs:{value:"2"}},[e._v("2")]),e._v(" "),n("option",{attrs:{value:"3"}},[e._v("3")])])]):e._e()]):e._e()]:e._e()],2)}),0):"choices"===e.type_of_content?n("div",{staticClass:"m_placeholderConstraints--choices"},[n("div",{staticClass:"m_placeholderConstraints--choices--multiple"},[n("div",{staticClass:"switch switch-xs switch_twoway button button-thin",on:{click:function(t){if(t.target!==t.currentTarget)return null;e.options.find(function(e){return"choices"===e.key}).multiple=!e.options.find(function(e){return"choices"===e.key}).multiple}}},[n("label",{staticClass:"cursor-pointer",class:{"is--active":!e.options.find(function(e){return"choices"===e.key}).multiple},attrs:{for:"enable_multiple_"+e.id}},[n("span",{},[e._v(e._s(e.$t("single_choice")))])]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.options.find(function(e){return"choices"===e.key}).multiple,expression:"options.find((o) => o.key === 'choices').multiple"}],staticClass:"switch",attrs:{type:"checkbox",id:"enable_multiple_"+e.id,disabled:e.read_only},domProps:{checked:Array.isArray(e.options.find(function(e){return"choices"===e.key}).multiple)?e._i(e.options.find(function(e){return"choices"===e.key}).multiple,null)>-1:e.options.find(function(e){return"choices"===e.key}).multiple},on:{change:function(t){var n=e.options.find(function(e){return"choices"===e.key}).multiple,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&e.$set(e.options.find(function(e){return"choices"===e.key}),"multiple",n.concat([null])):r>-1&&e.$set(e.options.find(function(e){return"choices"===e.key}),"multiple",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.options.find(function(e){return"choices"===e.key}),"multiple",o)}}}),e._v(" "),n("label",{class:{"is--active":e.options.find(function(e){return"choices"===e.key}).multiple},attrs:{for:"enable_multiple_"+e.id}},[e._v(e._s(e.$t("multiple_choices_possible")))])])]),e._v(" "),n("div",{staticClass:"m_placeholderConstraints--choices--allChoices"},e._l(e.splitted_choices,function(t){return n("div",{key:t,staticClass:"m_choice"},[!0===e.options.find(function(e){return"choices"===e.key}).multiple?[n("label",{attrs:{for:"_choice_"+t}},[n("input",{attrs:{id:"_choice_"+t,type:"checkbox",disabled:""}}),e._v("\n "+e._s(t)+"\n ")])]:[n("input",{staticClass:"custom_radio",attrs:{disabled:"",type:"radio",id:"_choice_"+e.id+"-"+t,name:e.id+"_multiple_choices_radio"}}),e._v(" "),n("label",{attrs:{for:"_choice_"+e.id+"-"+t}},[n("span",[e._v(e._s(t))])])],e._v(" "),e.edit_choice_mode?n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(n){return e.removeChoice(t)}}},[e._v("\n "+e._s(e.$t("remove"))+"\n ")]):e._e()],2)}),0),e._v(" "),n("div",{staticClass:"m_placeholderConstraints--choices--editor"},[n("div",[n("button",{staticClass:"m_placeholderConstraints--choices--toggleEditMode buttonLink",class:{"is--active":e.edit_choice_mode},attrs:{type:"button"},on:{click:function(t){e.edit_choice_mode=!e.edit_choice_mode}}},[e._v("\n "+e._s(e.$t("add"))+"/"+e._s(e.$t("edit"))+"\n ")])]),e._v(" "),n("div",[e.edit_choice_mode?n("form",{staticClass:"m_placeholderConstraints--choices--addChoice",on:{submit:function(t){return t.preventDefault(),e.addChoice(t)}}},[n("input",{attrs:{type:"text",required:"",autofocus:""}}),e._v(" "),n("div",{staticClass:"flex-nowrap flex-space-between"},[n("button",{staticClass:"button-redthin",attrs:{type:"button"},on:{click:function(t){e.edit_choice_mode=!1}}},[e._v("\n "+e._s(e.$t("cancel"))+"\n ")]),e._v(" "),n("button",{staticClass:"button-greenthin",attrs:{type:"submit"}},[e._v("\n "+e._s(e.$t("add"))+"\n ")])])]):e._e()])])]):e._e()])},i.staticRenderFns=[],i._scopeId="data-v-32621e9e"},{}],275:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{editing_limited_to:String,is_protected:Boolean},components:{},data:function(){return{}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{popover_caption:function(){return"only_authors"===this.editing_limited_to?this.$t("protected_by_authors"):"with_password"===this.editing_limited_to?this.$t("protected_by_pass"):void 0}},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this.$createElement,t=this._self._c||e;return this.editing_limited_to&&"everybody"!==this.editing_limited_to?t("span",[this.is_protected?t("svg",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0],\n }"}],staticClass:"inline-svg",staticStyle:{"padding-top":"6px"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"66.9px",height:"88.3px",viewBox:"0 0 66.9 88.3","xml:space":"preserve",content:this.popover_caption}},[t("path",{staticStyle:{fill:"currentColor"},attrs:{d:"M61.7,34.4h-1V24.3c0-11.7-7.5-19.2-16.9-22.7C40.6,0.6,36.7,0,33.1,0C29.5,0,26,0.6,22.4,1.6\n\t\tC13.3,4.9,6.2,12.3,6.2,24.3v10.1h-1c-2.9,0-5.2,2.3-5.2,5.2v43.5c0,2.9,2.3,5.2,5.2,5.2h56.5c2.9,0,5.2-2.3,5.2-5.2V39.6\n\t\tC66.9,36.7,64.6,34.4,61.7,34.4z M33.4,70.1c-4.5,0-8.4-3.6-8.4-8.1c0-4.5,3.9-8.4,8.4-8.4s8.1,3.9,8.1,8.4\n\t\tC41.5,66.5,38,70.1,33.4,70.1z M49,34.4H17.9V24.3c0-6.2,3.6-10.1,8.4-11.7c2.3-0.6,4.5-1.3,6.8-1.3c2.3,0,4.9,0.6,6.8,1.3\n\t\tc5.2,1.6,9.1,5.8,9.1,11.7V34.4z"}})]):t("svg",{staticClass:"inline-svg",staticStyle:{"padding-top":"6px"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"100.3px",height:"87.3px",viewBox:"0 0 100.3 87.3","xml:space":"preserve"}},[t("path",{staticClass:"st1",attrs:{d:"M84.1,1.6C80.5,0.6,76.9,0,73.3,0c-3.6,0-7.5,0.6-10.7,1.6c-9.4,3.6-16.9,11-16.9,22.7v9.1H17.9H6.2h-1\n\t\t\t\tc-2.9,0-5.2,2.3-5.2,5.2v43.5c0,2.9,2.3,5.2,5.2,5.2h56.5c2.9,0,5.2-2.3,5.2-5.2V38.6c0-2.9-2.3-5.2-5.2-5.2h-1h-3.3v-9.1\n\t\t\t\tc0-5.8,3.9-10.1,9.1-11.7c1.9-0.6,4.5-1.3,6.8-1.3c2.3,0,4.5,0.6,6.8,1.3c4.9,1.6,8.4,5.5,8.4,11.7v10.7h11.7V24.3\n\t\t\t\tC100.3,12.3,93.1,4.9,84.1,1.6z M40.9,64.2c-0.3,0.7-0.7,1.4-1.2,2c-0.3,0.4-0.7,0.8-1.1,1.1c-0.4,0.3-0.8,0.6-1.3,0.9\n\t\t\t\tc-1.2,0.6-2.5,1-3.9,1s-2.8-0.3-4-1c-0.5-0.2-0.9-0.5-1.3-0.9c-0.4-0.3-0.8-0.7-1.2-1.1c-0.5-0.6-1-1.3-1.3-2\n\t\t\t\tc-0.4-1-0.7-2-0.7-3.2c0-1.4,0.4-2.8,1-4c0.3-0.5,0.6-0.9,0.9-1.3s0.7-0.8,1.2-1.2c0.4-0.3,0.9-0.7,1.3-0.9c1.2-0.7,2.6-1,4-1\n\t\t\t\ts2.7,0.4,3.9,1c0.5,0.3,0.9,0.6,1.3,0.9s0.8,0.7,1.1,1.2s0.6,0.9,0.9,1.3c0.6,1.2,1,2.6,1,4C41.5,62.1,41.3,63.2,40.9,64.2z"}})])]):this._e()},i.staticRenderFns=[],i._scopeId="data-v-6db8e1ee"},{}],276:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{preview_mode:Boolean,show_zoom_buttons:{type:Boolean,default:!1},zoom:Number,zoom_min:Number,zoom_max:Number},components:{},data:function(){return{}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)?e._e():n("div",{staticClass:"m_publicationSettings"},[n("button",{staticClass:"margin-vert-verysmall font-verysmall _preview_button",class:{"is--active":!e.preview_mode},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("togglePreviewMode")},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("togglePreviewMode")}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 144 84"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"144px",height:"84px",viewBox:"0 0 144 84","xml:space":"preserve"}},[n("defs"),e._v(" "),n("g",[n("path",{attrs:{d:"M72,0C32.2,0,0,42,0,42s32.2,42,72,42s72-42,72-42S111.8,0,72,0z M72,71.3c-16.5,0-30-13.2-30-29.6\n c0-16.3,13.4-29.6,30-29.6c16.5,0,30,13.3,30,29.6C102,58,88.5,71.3,72,71.3z"}})])]),e._v(" "),n("span",[e._v("\n "+e._s(e.preview_mode?e.$t("edit"):e.$t("preview"))+"\n ")])]),e._v(" "),e.show_zoom_buttons?n("div",[e.zoom?n("button",{staticClass:"margin-vert-verysmall font-verysmall",attrs:{disabled:e.zoom===e.zoom_max},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("setZoom",e.zoom+.1)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("setZoom",e.zoom+.1)}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 182.5 188.1"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"182.5px",height:"188.1px",viewBox:"0 0 182.5 188.1","xml:space":"preserve"}},[n("defs"),e._v(" "),n("path",{attrs:{d:"M102.6,0v83.1h79.9v21.2h-79.9v83.8H79.9v-83.8H0V83.1h79.9V0H102.6z"}})])]):e._e(),e._v(" "),n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"top",delay:[600,0]},expression:"{\n placement: 'top',\n delay: [600, 0],\n }"}],attrs:{type:"button",content:e.$t("reset")},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("setZoom",1)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("setZoom",1)}}},[n("span",[e._v(e._s(e.$t("zoom"))+" = "+e._s(e.zoom.toFixed(1)))])]),e._v(" "),e.zoom?n("button",{staticClass:"margin-vert-verysmall font-verysmall",attrs:{disabled:e.zoom===e.zoom_min},on:{mousedown:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("setZoom",e.zoom-.1)},touchstart:function(t){return t.stopPropagation(),t.preventDefault(),e.$emit("setZoom",e.zoom-.1)}}},[n("svg",{staticStyle:{"enable-background":"new 0 0 155.6 21.2"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"155.6px",height:"21.2px",viewBox:"0 0 205.6 21.2","xml:space":"preserve"}},[n("defs"),e._v(" "),n("path",{attrs:{d:"M155.6,0v21.2H0V0H155.6z"}})])]):e._e()]):e._e()])},i.staticRenderFns=[],i._scopeId="data-v-1df82920"},{}],277:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{publication:Object,model_for_this_publication:[Boolean,Object],url_to_publi:[Boolean,URL],can_edit_publi:Boolean},components:{},data:function(){return{}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{},methods:{lockAndPublish:function(){var e=this;this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToLockAndPublish"),function(){e.$emit("lockAndPublish")},function(){})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("footer",{staticClass:"m_publicationFooter"},[["export_publication","link_publication"].includes(e.$root.state.mode)?[n("div",[n("a",{staticClass:"js--openInBrowser c-noir",attrs:{target:"_blank",href:"https://dodoc.fr/"}},[e._v("\n "+e._s(e.$t("made_with_dodoc"))+"\n "),n("img",{attrs:{src:"export_publication"===this.$root.state.mode?"./_images/i_logo.svg":"/images/i_logo.svg",draggable:"false"},on:{click:function(t){return e.goHome()}}})])])]:[e.publication.date_submitted?e._e():n("div",[n("small",[e._v("\n "+e._s(e.$t("notifications.successfully_saved"))+"\n "),n("br"),e._v("\n "+e._s(e.$root.formatDateToPrecise(e.publication.date_modified))+"\n ")])]),e._v(" "),e.model_for_this_publication?n("div",{},[e.can_edit_publi?[n("small",[e._v(e._s(e.$t("finished_writing_reply")))]),e._v(" "),n("button",{staticClass:"button-greenthin",attrs:{type:"button"},on:{click:e.lockAndPublish}},[e._v("\n "+e._s(e.$t("lock_and_publish"))+"\n ")])]:e.publication.date_submitted?n("small",[e._v("\n "+e._s(e.$t("published"))+" —\n "+e._s(e.$root.formatDateToPrecise(e.publication.date_submitted))+"\n ")]):e._e()],2):e._e()]],2)},i.staticRenderFns=[],i._scopeId="data-v-51c94d48"},{}],278:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=r(e("../modals/EditPublication.vue")),i=r(e("./AccessController.vue")),o=r(e("./ClientsCheckingOut.vue"));function r(e){return e&&e.__esModule?e:{default:e}}n.default={props:{slugPubliName:String,publication:Object,medias:[Object,Array],number_of_medias_required:{type:Number,default:-1},model_for_this_publication:[Boolean,Object],show_export_button:{type:Boolean,default:!0},url_to_publi:[Boolean,URL],enable_export_button:{type:Boolean,default:!0}},components:{EditPublication:t.default,AccessController:i.default,ClientsCheckingOut:o.default},data:function(){return{show_edit_publication:!1,show_settings:!1,show_copy_options:!1,show_publi_model_infos:!1,copy_publi_name:this.$t("copy_of")+" "+this.publication.name}},created:function(){},mounted:function(){this.$eventHub.$on("publications.showAdvancedOptions",this.showAdvancedOptions)},beforeDestroy:function(){this.$eventHub.$off("publications.showAdvancedOptions",this.showAdvancedOptions)},watch:{},computed:{export_button_is_disabled:function(){return!this.enable_export_button||(!this.can_edit_publi()||(this.medias.length<1||-1!==this.number_of_medias_required&&this.medias.length!==this.number_of_medias_required))},url_to_share_for_replies:function(){return window.location.origin+"/_publications/reply/"+this.publication.slugFolderName},url_to_access_simplified_mode:function(){return window.location.origin+"/_publications/survey/"+this.publication.slugFolderName},show_on_external_domain:{get:function(){return!(!this.publication.hasOwnProperty("show_on_external_domain")||!1===this.publication.show_on_external_domain)&&this.publication.show_on_external_domain},set:function(e){this.$root.editFolder({type:"publications",slugFolderName:this.slugPubliName,data:{show_on_external_domain:e}})}}},methods:{closePublication:function(){"debug"===this.$root.state.dev_mode&&console.log("METHODS • Publication: closePublication"),this.$emit("close")},createButtonClicked:function(){this.can_edit_publi()?this.$emit("export"):this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.action_not_allowed"))},showAdvancedOptions:function(){this.show_settings=!0},removePublication:function(){var e=this;if(this.publication.is_model){var t=Object.values(this.$root.store.publications).filter(function(t){return t.template===e.publication.template&&t.follows_model&&t.follows_model===e.publication.slugFolderName});if(t.length>0)return void this.$alertify.alert(this.$t("publiHasPubliRelyingOnItCantDelete")+"<br><b>"+t.length+"</b> "+this.$t("recipes").toLowerCase())}this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemovePubli"),function(){"debug"===e.$root.state.dev_mode&&console.log("METHODS • Publication: removePublication"),e.$root.removeFolder({type:"publications",slugFolderName:e.slugPubliName}),e.closePublication()},function(){})},publi_password:function(){return"has_pass"!==this.publication.password?"":this.$root.getFolderPassword({type:"publications",slugFolderName:this.slugPubliName})},can_see_publi:function(){return this.$root.canSeeFolder({type:"publications",slugFolderName:this.slugPubliName})},can_edit_publi:function(){return this.$root.canEditFolder({type:"publications",slugFolderName:this.slugPubliName})},duplicateWithNewName:function(e){var t=this;if(console.log("METHODS • PublicationHeader: duplicateWithNewName"),function(){var e=[];for(var t in window.store.publications){var n=window.store.publications[t].name;e.push(n)}return e}().indexOf(this.copy_publi_name)>=0)return this.$alertify.closeLogOnClick(!0).delay(4e3).error(this.$t("notifications.name_already_exists")),!1;this.$socketio.copyFolder({type:"publications",slugFolderName:this.slugPubliName,new_folder_name:this.copy_publi_name}),this.show_copy_options=!1,this.$alertify.closeLogOnClick(!0).delay(4e3).log(this.$t("notifications.copy_in_progress")),this.$eventHub.$once("socketio.publications.folder_listed",function(){t.$alertify.closeLogOnClick(!0).delay(4e3).success(t.$t("notifications.copy_completed"))})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_publicationMeta"},[n("div",{staticClass:"m_publicationMeta--topbar"},[n("div",{staticClass:"m_publicationMeta--topbar--name"},[["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)||"survey"===e.$root.store.request.display?e._e():n("button",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"bottom",delay:[600,0]},expression:"{\n placement: 'bottom',\n delay: [600, 0],\n }"}],staticClass:"m_publicationMeta--topbar--backbutton",attrs:{type:"button",content:e.$t("close")},on:{click:function(t){return e.closePublication()}}},[e._v("\n ‹\n ")]),e._v(" "),n("div",{staticClass:"m_publicationMeta--topbar--title"},[e._v("\n "+e._s(e.publication.name)+"\n "),["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)||"survey"===e.$root.store.request.display?e._e():n("ProtectedLock",{attrs:{editing_limited_to:e.publication.editing_limited_to,is_protected:!e.can_edit_publi()}})],1)]),e._v(" "),["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)?e._e():n("div",{staticClass:"m_publicationMeta--topbar--buttons"},[n("button",{staticClass:"buttonLink",class:{"is--active":e.show_settings},attrs:{type:"button"},on:{click:function(t){e.show_settings=!e.show_settings}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 77.6 85.4"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"77.6px",height:"85.4px",viewBox:"0 0 77.6 85.4","xml:space":"preserve"}},[n("defs"),e._v(" "),n("g",[n("path",{attrs:{d:"M73.9,39h-7.6c-1.6-5.6-6.7-9.7-12.7-9.7S42.5,33.5,40.8,39H3.7c-2,0-3.7,1.6-3.7,3.7c0,2,1.6,3.7,3.7,3.7h37.1\n\t\tc1.6,5.6,6.7,9.7,12.7,9.7s11.1-4.1,12.7-9.7h7.6c2,0,3.7-1.6,3.7-3.7C77.6,40.7,76,39,73.9,39z M53.6,48.7c-3.2,0-6-2.6-6-6\n\t\ts2.6-6,6-6s6,2.6,6,6S56.8,48.7,53.6,48.7z"}}),e._v(" "),n("path",{attrs:{d:"M3.7,17.1h7.9c1.6,5.6,6.7,9.7,12.7,9.7s11.1-4.1,12.7-9.7h36.9c2,0,3.7-1.6,3.7-3.7S76,9.7,73.9,9.7H37\n\t\tC35.4,4.1,30.3,0,24.3,0S13.2,4.1,11.6,9.7H3.7c-2,0-3.7,1.6-3.7,3.7S1.6,17.1,3.7,17.1z M24.3,7.4c3.2,0,6,2.6,6,6s-2.6,6-6,6\n\t\ts-6-2.8-6-6S21.1,7.4,24.3,7.4z"}}),e._v(" "),n("path",{attrs:{d:"M73.9,68.3H37c-1.6-5.6-6.7-9.7-12.7-9.7s-11.1,4.1-12.7,9.7H3.7c-2,0-3.7,1.6-3.7,3.7s1.6,3.7,3.7,3.7h7.9\n\t\tc1.6,5.6,6.7,9.7,12.7,9.7s11.1-4.1,12.7-9.7h36.9c2,0,3.7-1.6,3.7-3.7S76,68.3,73.9,68.3z M24.3,78c-3.2,0-6-2.6-6-6s2.6-6,6-6\n\t\ts6,2.6,6,6S27.5,78,24.3,78z"}})])]),e._v("\n "+e._s(e.$t("advanced_options"))+"\n ")]),e._v(" "),e.show_export_button&&"survey"!==e.$root.store.request.display?n("button",{staticClass:"buttonLink bg-rouge",class:{"is--disabled":e.export_button_is_disabled},attrs:{type:"button"},on:{click:e.createButtonClicked}},[e._v("\n "+e._s(e.$t("create"))+"\n ")]):e._e()]),e._v(" "),e.publication.is_model&&"survey"!==e.$root.store.request.display?n("div",{staticClass:"ta-ce",staticStyle:{width:"100%"}},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_publi_model_infos},attrs:{type:"button"},on:{click:function(t){t.stopPropagation(),e.show_publi_model_infos=!e.show_publi_model_infos}}},[e._v("\n "+e._s(e.$t("publi_is_model"))+"\n ")])]),e._v(" "),e.show_publi_model_infos?n("label",[n("span",{domProps:{innerHTML:e._s(e.$t("URL_to_share_for_replies"))}}),e._v(" "),n("a",{staticClass:"js--openInBrowser text-lc",attrs:{href:e.url_to_share_for_replies,target:"_blank"}},[e._v(e._s(e.url_to_share_for_replies))])]):e._e()]):e.model_for_this_publication&&"survey"!==e.$root.store.request.display?n("div",{staticClass:"ta-ce",staticStyle:{width:"100%"}},[n("label",[n("button",{staticClass:"button-nostyle text-uc button-triangle",class:{"is--active":e.show_publi_model_infos},attrs:{type:"button"},on:{click:function(t){t.stopPropagation(),e.show_publi_model_infos=!e.show_publi_model_infos}}},[n("span",{domProps:{innerHTML:e._s(e.$t("publi_follows_model:"))}}),e._v(" "),n("span",{staticClass:"text-underline button padding-none button-rectangle",on:{click:function(t){return e.$root.openPublication(e.model_for_this_publication.slugFolderName)}}},[e._v(e._s(e.model_for_this_publication.name))])])]),e._v(" "),e.show_publi_model_infos?n("label",[n("span",{domProps:{innerHTML:e._s(e.$t("URL_to_edit_in_simple_interface"))}}),e._v(" "),n("a",{staticClass:"js--openInBrowser text-lc",attrs:{href:e.url_to_access_simplified_mode,target:"_blank"}},[e._v(e._s(e.url_to_access_simplified_mode))])]):e._e()]):e.model_for_this_publication?n("div",{staticStyle:{width:"100%"}},[e.url_to_publi?n("div",{},[n("small",[e._v("\n "+e._s(e.$t("save_following_address_and_come_back_later"))+"\n "),n("br"),e._v(" "),n("a",{attrs:{href:e.url_to_publi}},[e._v(e._s(e.url_to_publi))])])]):e._e()]):e._e(),e._v(" "),n("div",{staticClass:"text-centered",staticStyle:{width:"100%"}},["survey"!==e.$root.store.request.display?n("ClientsCheckingOut",{attrs:{type:"publications",slugFolderName:e.slugPubliName}}):e._e()],1),e._v(" "),"page_by_page"===e.publication.template&&e.$root.consult_domains&&e.$root.consult_domains.length>0&&e.can_edit_publi()&&!["export_publication","print_publication","link_publication"].includes(e.$root.state.mode)&&"survey"!==e.$root.store.request.display?n("div",{staticClass:"text-centered",staticStyle:{width:"100%"}},[n("div",{staticClass:"switch switch-xs"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.show_on_external_domain,expression:"show_on_external_domain"}],attrs:{id:"remember_password_on_this_device",type:"checkbox"},domProps:{checked:Array.isArray(e.show_on_external_domain)?e._i(e.show_on_external_domain,null)>-1:e.show_on_external_domain},on:{change:function(t){var n=e.show_on_external_domain,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&(e.show_on_external_domain=n.concat([null])):r>-1&&(e.show_on_external_domain=n.slice(0,r).concat(n.slice(r+1)))}else e.show_on_external_domain=o}}}),e._v(" "),n("label",{attrs:{for:"remember_password_on_this_device"}},[e._v("\n "+e._s(e.$t("display_on_website"))+"\n "),e._l(e.$root.consult_domains,function(t){return n("a",{key:t,staticClass:"js--openInBrowser text-lc",attrs:{href:"http://"+t,target:"_blank"}},[e._v(e._s(t))])})],2)])]):e._e()]),e._v(" "),e.show_settings?n("div",{staticClass:"m_publicationMeta--settingsBar"},[n("div",[e.publication.authors?n("div",{staticClass:"m_metaField"},[n("div",[e._v(e._s(e.$t("author")))]),e._v(" "),n("div",{staticClass:"m_authorField"},e._l(e.publication.authors,function(t){return e.$root.getAuthor(t.slugFolderName)?n("span",{key:t.slugFolderName,staticClass:"is--active",class:{"is--loggedInAuthor":e.$root.current_author&&e.$root.current_author.slugFolderName===t.slugFolderName}},[e.$root.getAuthor(t.slugFolderName)?[e._v("\n "+e._s(e.$root.getAuthor(t.slugFolderName).name)+"\n ")]:e._e()],2):e._e()}),0)]):e._e(),e._v(" "),"survey"!==e.$root.store.request.display?n("AccessController",{attrs:{folder:e.publication,context:"full",type:"publications"},on:{closeFolder:e.closePublication}}):e._e()],1),e._v(" "),n("div",[e.can_edit_publi()&&"survey"!==e.$root.store.request.display?n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:function(t){e.show_edit_publication=!0}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 100.7 101"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"100.7px",height:"101px",viewBox:"0 0 100.7 101","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M100.7,23.2L77.5,0l-66,66.2l0,0L0,101l34.7-11.6l0,0L100.7,23.2z M19.1,91.5l-9.4-9.7l4-12.4l18,17.8\n L19.1,91.5z"}})]),e._v("\n "+e._s(e.$t("edit"))+"\n ")]):e._e(),e._v(" "),e.show_edit_publication?n("EditPublication",{attrs:{publication:e.publication,publi_password:e.publi_password(),slugPubliName:e.slugPubliName},on:{close:function(t){e.show_edit_publication=!1}}}):e._e(),e._v(" "),e.can_edit_publi()&&"survey"!==e.$root.store.request.display?n("button",{staticClass:"buttonLink",class:{"is--active":e.show_copy_options},attrs:{type:"button"},on:{click:function(t){e.show_copy_options=!e.show_copy_options}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"39.5,11.8 83,11.8 83,55.4 72.7,55.4 72.7,67.2 94.8,67.2 94.8,0 27.7,0 27.7,22.2 39.5,22.2 \t"}}),e._v(" "),n("path",{staticClass:"st0",attrs:{d:"M67.2,27.7L0,27.7l0,67.2l67.2,0L67.2,27.7z M55.4,83l-43.6,0l0-43.6l43.6,0L55.4,83z"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("duplicate")))])]):e._e(),e._v(" "),e.show_copy_options?n("div",{staticClass:"margin-bottom-small"},[n("label",{domProps:{innerHTML:e._s(e.$t("name_of_copy"))}}),e._v(" "),n("form",{staticClass:"input-group",on:{submit:function(t){return t.preventDefault(),e.duplicateWithNewName()}}},[n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.copy_publi_name,expression:"copy_publi_name",modifiers:{trim:!0}}],attrs:{type:"text",required:"",autofocus:""},domProps:{value:e.copy_publi_name},on:{input:function(t){t.target.composing||(e.copy_publi_name=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),n("button",{staticClass:"bg-bleuvert",attrs:{type:"submit"},domProps:{innerHTML:e._s(e.$t("copy"))}})])]):e._e(),e._v(" "),e.can_edit_publi()?n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:e.removePublication}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M91.6,17H62.9V0H28.7v17H0v9.4h11.3V95h69V26.4h11.3V17z M64.4,69.4L57.8,76l-12-12l-12,12l-6.6-6.6l12-12\n l-12-12l6.6-6.6l12,12l12-12l6.6,6.6l-12,12L64.4,69.4z M38.1,9.4h15.3V17H38.1V9.4z"}})]),e._v("\n "+e._s(e.$t("remove"))+"\n ")]):e._e()],1)]):e._e()])},i.staticRenderFns=[]},{"../modals/EditPublication.vue":225,"./AccessController.vue":250,"./ClientsCheckingOut.vue":255}],279:[function(e,t,n){e("vueify/lib/insert-css").insert(".m_selector[data-v-05d3d169]{position:fixed;bottom:0;left:0;pointer-events:none;z-index:100;padding:var(--spacing);order:0;display:flex;flex-flow:row wrap;align-items:center}.m_activitiesPanel--do.is--large .m_selector[data-v-05d3d169]{position:absolute;width:100%}.m_selector>.m_selector--content[data-v-05d3d169]{background-color:var(--c-noir);color:#fff;max-width:400px;margin:0 auto 20px;border-radius:10px;text-align:center;font-size:80%;pointer-events:auto}.m_selector>.m_selector--content .m_selector--content--title[data-v-05d3d169]{margin:calc(var(--spacing) / 2)}.m_selector>.m_selector--content .m_selector--content--buttons[data-v-05d3d169]{text-align:center;margin:calc(var(--spacing) / 2)}.m_selector>.m_selector--content .m_selector--content--actions[data-v-05d3d169]{display:flex;flex-flow:row wrap;align-items:center;margin:calc(var(--spacing) / 2);color:#fff}.m_selector>.m_selector--content .m_selector--content--actions>form[data-v-05d3d169]{width:100%}.m_selector>.m_selector--content .m_selector--content--actions select[data-v-05d3d169]{flex:1 1 240px}.m_selector>.m_selector--content .m_selector--content--actions>[data-v-05d3d169]:last-child{margin-bottom:0}button[data-v-05d3d169]{color:inherit;margin:0}button.is--active[data-v-05d3d169]{background-color:#fff;color:var(--c-noir)}label[data-v-05d3d169]{color:inherit}");!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{selected_medias:{type:Array,default:function(){return[]}},selected_projects:{type:Array,default:function(){return[]}},slugFolderName:String},components:{},data:function(){return{show_options:!1,slugProjectName_to_copy_to:this.$root.do_navigation.current_slugProjectName?this.$root.do_navigation.current_slugProjectName:"",existing_group_name:"",new_group_name:""}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{some_projects_are_in_folders:function(){var e=this;return this.selected_projects.some(function(t){var n=e.$root.projects_that_are_accessible.find(function(e){return e.slugFolderName===t.slugFolderName});return!!n&&!!n.folder})}},methods:{groupButtonClicked:function(){this.selected_projects.length>0&&(this.show_options="group"!==this.show_options&&"group")},ungroupButtonClicked:function(){var e=this;this.selected_projects.map(function(t){e.$root.editFolder({type:"projects",slugFolderName:t.slugFolderName,data:{folder:""}})}),this.$emit("deselect")},groupProjects:function(){var e=this;if(this.existing_group_name||this.new_group_name){var t=void 0;this.new_group_name=this.new_group_name.toUpperCase(),this.existing_group_name?t=this.existing_group_name:this.new_group_name&&(t=this.new_group_name),this.selected_projects.map(function(n){e.$root.editFolder({type:"projects",slugFolderName:n.slugFolderName,data:{folder:t}})}),this.existing_group_name="",this.new_group_name="",this.$emit("deselect")}},duplicateButtonClicked:function(){var e=this;this.selected_medias.length>0?this.show_options="duplicate"!==this.show_options&&"duplicate":this.selected_projects.length>0&&this.selected_projects.map(function(t){var n=e.$t("copy_of")+" "+t.slugFolderName,i=e.$root.projects_that_are_accessible.find(function(e){return e.slugFolderName===t.slugFolderName});i.hasOwnProperty("name")&&(n=e.$t("copy_of")+" "+i.name),e.$socketio.copyFolder({type:"projects",slugFolderName:t.slugFolderName,new_folder_name:n}),e.$alertify.closeLogOnClick(!0).delay(4e3).log(e.$t("notifications.copy_in_progress")),e.$emit("deselect"),e.$eventHub.$once("socketio.projects.folder_listed",function(){e.$alertify.closeLogOnClick(!0).delay(4e3).success(e.$t("notifications.copy_completed"))})})},confirmRemoveSelection:function(){var e=this;this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sureToRemoveSelection"),function(){e.selected_medias.map(function(t){e.$root.removeMedia({type:"projects",slugFolderName:t.slugFolderName,slugMediaName:t.metaFileName})}),e.selected_projects.map(function(t){e.$root.removeFolder({type:"projects",slugFolderName:t.slugFolderName})}),e.$emit("deselect")},function(){})},copyMediasToProject:function(){var e=this;console.log("copyMediaToProject "+this.slugProjectName_to_copy_to),this.selected_medias.map(function(t){e.$socketio.copyMediaToFolder({type:"projects",from_slugFolderName:t.slugFolderName,to_slugFolderName:e.slugProjectName_to_copy_to,slugMediaName:t.metaFileName})}),this.show_options=!1,this.$emit("deselect")}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_selector"},[n("div",{staticClass:"m_selector--content"},[e.selected_medias.length>0?n("div",{staticClass:"m_selector--content--title"},[e._v("\n "+e._s(e.selected_medias.length)+" "+e._s(e.$t("medias_selected"))+"\n ")]):e._e(),e._v(" "),e.selected_projects.length>0?n("div",{staticClass:"m_selector--content--title"},[e._v("\n "+e._s(e.selected_projects.length)+" "+e._s(e.$t("projects_selected"))+"\n ")]):e._e(),e._v(" "),n("div",{staticClass:"m_selector--content--buttons"},[e.selected_projects.length?n("button",{staticClass:"buttonLink bg-noir",class:{"is--active":"group"===e.show_options},attrs:{type:"button"},on:{click:e.groupButtonClicked}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 94 87.7"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"94px",height:"87.7px",viewBox:"0 0 94 87.7","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M94,87.7H0v-74h94V87.7z M10,77.7h74v-54H10V77.7z"}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{width:"40.3",height:"13.7"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("group")))])]):e._e(),e._v(" "),e.selected_projects.length&&e.some_projects_are_in_folders?n("button",{staticClass:"buttonLink bg-noir",attrs:{type:"button"},on:{click:e.ungroupButtonClicked}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 94 87.7"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"94px",height:"87.7px",viewBox:"0 0 94 87.7","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M94,87.7H0v-74h94V87.7z M10,77.7h74v-54H10V77.7z"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"69,63.8 55,50.7 69,37.7 61.8,30 61.6,29.7 47,43.3 32.4,29.7 32.2,30 25,37.7 39,50.7 25,63.8 \n\t32.4,71.8 47,58.2 61.6,71.8 "}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{width:"40.3",height:"13.7"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("ungroup")))])]):e._e(),e._v(" "),n("button",{staticClass:"buttonLink bg-noir",class:{"is--active":"duplicate"===e.show_options},attrs:{type:"button"},on:{click:e.duplicateButtonClicked}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"39.5,11.8 83,11.8 83,55.4 72.7,55.4 72.7,67.2 94.8,67.2 94.8,0 27.7,0 27.7,22.2 39.5,22.2 \t"}}),e._v(" "),n("path",{staticClass:"st0",attrs:{d:"M67.2,27.7L0,27.7l0,67.2l67.2,0L67.2,27.7z M55.4,83l-43.6,0l0-43.6l43.6,0L55.4,83z"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("duplicate")))])]),e._v(" "),n("button",{staticClass:"buttonLink bg-noir",attrs:{type:"button"},on:{click:e.confirmRemoveSelection}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 91.6 95"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"91.6px",height:"95px",viewBox:"0 0 91.6 95","xml:space":"preserve"}},[n("path",{staticClass:"st0",attrs:{d:"M91.6,17H62.9V0H28.7v17H0v9.4h11.3V95h69V26.4h11.3V17z M64.4,69.4L57.8,76l-12-12l-12,12l-6.6-6.6l12-12\n l-12-12l6.6-6.6l12,12l12-12l6.6,6.6l-12,12L64.4,69.4z M38.1,9.4h15.3V17H38.1V9.4z"}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("remove")))])]),e._v(" "),n("button",{staticClass:"buttonLink bg-noir",attrs:{type:"button"},on:{click:function(t){return e.$emit("deselect")}}},[n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 80 80"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"80px",height:"80px",viewBox:"0 0 80 80","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"10,60 0,60 0,70 0,80 10,80 20,80 20,70 10,70 \t"}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{y:"30",width:"10",height:"20"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"70,70 60,70 60,80 70,80 80,80 80,70 80,60 70,60 \t"}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{x:"70",y:"30",width:"10",height:"20"}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{x:"30",y:"70",width:"20",height:"10"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"0,0 0,10 0,20 10,20 10,10 20,10 20,0 10,0 \t"}}),e._v(" "),n("rect",{staticClass:"st0",attrs:{x:"30",width:"20",height:"10"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"70,0 60,0 60,10 70,10 70,20 80,20 80,10 80,0 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"62,53.1 48,40 62,26.9 54.8,19.2 54.6,19 40,32.5 25.4,19 25.2,19.2 18,26.9 32,40 18,53.1 25.4,61 \n\t40,47.5 54.6,61 "}})]),e._v(" "),n("span",{},[e._v(e._s(e.$t("unselect")))])])]),e._v(" "),e.show_options?n("div",{staticClass:"m_selector--content--actions"},["duplicate"===e.show_options?[n("label",{domProps:{innerHTML:e._s(e.$t("add_to_project"))}}),e._v(" "),n("div",{staticClass:"input-group"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.slugProjectName_to_copy_to,expression:"slugProjectName_to_copy_to"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.slugProjectName_to_copy_to=t.target.multiple?n:n[0]}}},e._l(e.$root.projects_that_are_accessible,function(t){return n("option",{key:t.slugFolderName,domProps:{value:t.slugFolderName}},[e._v(e._s(t.name))])}),0),e._v(" "),n("button",{staticClass:"bg-bleuvert",attrs:{type:"button",disabled:""===e.slugProjectName_to_copy_to},domProps:{innerHTML:e._s(e.$t("copy"))},on:{click:e.copyMediasToProject}})])]:"group"===e.show_options?n("form",{on:{submit:function(t){return t.preventDefault(),e.groupProjects(t)}}},[[n("label",{domProps:{innerHTML:e._s(e.$t("add_to_existing_folder"))}}),e._v(" "),n("div",{staticClass:"input-group"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.existing_group_name,expression:"existing_group_name"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.existing_group_name=t.target.multiple?n:n[0]}}},[n("option",{key:"create",domProps:{value:""}},[e._v("** "+e._s(e.$t("create_new_folder"))+" **")]),e._v(" "),e._l(e.$root.all_folders,function(t){return n("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])})],2)])],e._v(" "),""===e.existing_group_name?[n("label",{domProps:{innerHTML:e._s(e.$t("new_folder_name"))}}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.new_group_name,expression:"new_group_name",modifiers:{trim:!0}}],staticClass:"text-uc",attrs:{type:"text"},domProps:{value:e.new_group_name},on:{input:function(t){t.target.composing||(e.new_group_name=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]:e._e(),e._v(" "),n("input",{staticClass:"button button-bg_rounded bg-bleuvert margin-top-small",attrs:{type:"submit",disabled:!e.existing_group_name&&!e.new_group_name}})],2):e._e()],2):e._e()])])},i.staticRenderFns=[],i._scopeId="data-v-05d3d169"},{"vueify/lib/insert-css":182}],280:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(e("./MediaContent.vue")),i=o(e("./MediaValidationButtons.vue"));function o(e){return e&&e.__esModule?e:{default:e}}n.default={props:{stopmotiondata:Object,slugFolderName:String,type:String,videoStream:MediaStream,can_add_to_fav:Boolean},components:{MediaContent:t.default,MediaValidationButtons:i.default},data:function(){return{frameRate:4,previousFrameRate:4,validating_video_preview:!1,show_previous_photo:!1,media_is_being_sent:!1,show_live_feed:!0,show_advanced_menu:!1}},created:function(){},mounted:function(){Object.values(this.stopmotiondata.medias).length},beforeDestroy:function(){},watch:{medias:function(){var e=this;this.medias.length>0&&this.show_live_feed&&(this.show_previous_photo=this.medias[this.medias.length-1],this.$nextTick(function(){e.$nextTick(function(){e.$refs.mediaPreviews.$el.scrollLeft=1e6})}))},show_previous_photo:function(){this.$emit("new_single_image",this.show_previous_photo)},show_live_feed:function(){this.$emit("show_live_feed",this.show_live_feed)},validating_video_preview:function(){this.$emit("validating_video",this.validating_video_preview)}},computed:{medias:function(){return this.stopmotiondata.hasOwnProperty("medias")?Object.values(this.stopmotiondata.medias):[]}},methods:{assembleStopmotionMedias:function(){console.log("METHODS • StopmotionPanel: assembleStopmotionMedias"),this.$eventHub.$on("socketio.media_created_or_updated",this.newStopmotionVideo);var e=this.medias.map(function(e){return e.media_filename});this.$root.createMedia({slugFolderName:this.slugFolderName,type:this.type,rawData:e,additionalMeta:{type:"stopmotion",slugStopmotionName:this.stopmotiondata.slugFolderName,frameRate:this.frameRate}}),this.previousFrameRate=this.frameRate,this.validating_video_preview=!1,this.media_is_being_sent=!0},newStopmotionVideo:function(e){console.log("METHODS • StopmotionPanel: newStopmotionVideo"),this.$eventHub.$off("socketio.media_created_or_updated",this.newStopmotionVideo),this.validating_video_preview=e,this.media_is_being_sent=!1,this.$nextTick(function(){})},backToStopmotion:function(){console.log("METHODS • StopmotionPanel: backToStopmotion"),this.$root.removeMedia({type:this.type,slugFolderName:this.slugFolderName,slugMediaName:this.validating_video_preview.metaFileName}),this.validating_video_preview=!1},cancelStopmotion:function(){var e=this;this.$alertify.okBtn(this.$t("yes")).cancelBtn(this.$t("cancel")).confirm(this.$t("sure_to_cancel_stopmotion"),function(){e.show_previous_photo=!1,e.$nextTick(function(){e.$emit("close")})},function(){})},save:function(){var e=this;this.$emit("saveMedia",this.validating_video_preview.metaFileName),this.show_previous_photo=!1,this.validating_video_preview=!1,this.$nextTick(function(){e.$emit("close")})},saveAndFav:function(){var e=this;this.$root.editMedia({type:this.type,slugFolderName:this.slugFolderName,slugMediaName:this.validating_video_preview.metaFileName,data:{fav:!0}}),this.$emit("saveMedia",this.validating_video_preview.metaFileName),this.show_previous_photo=!1,this.validating_video_preview=!1,this.$nextTick(function(){e.$emit("close")})},removeMedia:function(e){console.log("METHODS • StopmotionPanel: removeMedia");var t=this.medias.findIndex(function(t){return t.metaFileName===e});t<this.medias.length-1?this.show_previous_photo=this.medias[t+1]:(this.show_previous_photo=!1,this.show_live_feed=!0),this.validating_video_preview=!1,this.$root.removeMedia({type:"stopmotions",slugFolderName:this.stopmotiondata.slugFolderName,slugMediaName:e})}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_stopmotionpanel",class:{"is--showing_video_validation":e.validating_video_preview}},[n("div",{staticClass:"m_stopmotionpanel--toprowbuttons"},[e.validating_video_preview?e._e():n("button",{staticClass:"buttonLink",attrs:{type:"button"},on:{click:e.cancelStopmotion}},[n("span",{staticClass:"text-cap font-verysmall"},[e._v(e._s(e.$t("stop_stopmotion")))])]),e._v(" "),e.show_live_feed?e._e():n("button",{staticClass:"buttonLink m_stopmotionpanel--medias--single--removeMedia",attrs:{type:"button",disabled:e.read_only},on:{click:function(t){return e.removeMedia(e.show_previous_photo.metaFileName)}}},[n("span",{},[e._v(e._s(e.$t("remove_this_image")))])])]),e._v(" "),e.validating_video_preview?n("div",{ref:"videoPreview",staticClass:"m_stopmotionpanel--videopreview"},[n("MediaContent",{attrs:{context:"full",slugFolderName:e.slugFolderName,folderType:e.type,media:e.validating_video_preview}})],1):n("div",{staticClass:"m_stopmotionpanel--medias"},[n("transition-group",{ref:"mediaPreviews",staticClass:"m_stopmotionpanel--medias--list",attrs:{name:"list-complete"}},[e._l(e.medias,function(t){return n("div",{key:t.metaFileName,class:{"is--current_single":e.show_previous_photo.metaFileName===t.metaFileName&&!e.show_live_feed},on:{click:function(n){e.show_previous_photo=t,e.show_live_feed=!1}}},[n("MediaContent",{attrs:{context:"preview",slugFolderName:e.stopmotiondata.slugFolderName,media:t,folderType:"stopmotions",preview_size:150}})],1)}),e._v(" "),n("div",{key:"live_feed",class:{"is--current_single":e.show_live_feed},on:{click:function(t){e.show_previous_photo=e.medias[e.medias.length-1],e.show_live_feed=!0}}},[n("video",{attrs:{autoplay:""},domProps:{srcObject:e.videoStream}})])],2),e._v(" "),n("div",{staticClass:"m_stopmotionpanel--medias--validation"},[n("div",{staticClass:"m_stopmotionpanel--medias--validation--fpscounter"},[n("label",{},[e._v(e._s(e.$t("img_per_second")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model.number",value:e.frameRate,expression:"frameRate",modifiers:{number:!0}}],attrs:{step:"1"},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(t){var n="_value"in t?t._value:t.value;return e._n(n)});e.frameRate=t.target.multiple?n:n[0]}}},[n("option",[e._v("2")]),e._v(" "),n("option",[e._v("4")]),e._v(" "),n("option",[e._v("8")]),e._v(" "),n("option",[e._v("15")]),e._v(" "),n("option",[e._v("24")]),e._v(" "),n("option",[e._v("30")])])]),e._v(" "),e.medias.length>0?n("button",{staticClass:"button button-bg_rounded bg-bleuvert",attrs:{type:"button",disabled:e.validating_video_preview&&e.frameRate===e.previousFrameRate},on:{click:e.assembleStopmotionMedias}},[n("span",{staticClass:"text-cap padding-left-small font-verysmall"},[e._v(e._s(e.$t("create")))]),e._v(" "),n("img",{attrs:{src:"/images/i_play.svg",width:"48",height:"48",draggable:"false"}})]):e._e()])],1),e._v(" "),e.validating_video_preview?n("MediaValidationButtons",{attrs:{read_only:e.read_only,media_is_being_sent:e.media_is_being_sent,cancelButtonIsBackButton:!0,can_add_to_fav:e.can_add_to_fav},on:{cancel:e.backToStopmotion,save:function(t){return e.save()},save_and_fav:function(t){return e.saveAndFav()}}}):e._e(),e._v(" "),e.media_is_being_sent?n("div",{staticClass:"m_stopmotionpanel--loader"},[n("span",{staticClass:"loader loader-xs"})]):e._e()],1)},i.staticRenderFns=[]},{"./MediaContent.vue":265,"./MediaValidationButtons.vue":272}],281:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={props:{keywordFilter:String,authorFilter:String,favFilter:{type:Boolean,default:!1},allKeywords:Array,allAuthors:Array,allTypes:{type:Array,default:function(){return[]}}},components:{},data:function(){return{enabled_types:[]}},created:function(){},mounted:function(){},beforeDestroy:function(){},watch:{},computed:{has_fav_toggle:function(){return this.$listeners&&this.$listeners.setFavFilter}},methods:{}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m_tagsAndAuthorFilters flex-wrap bg-blanc rounded"},[e.has_fav_toggle?n("div",{staticClass:"padding-small"},[n("span",{staticClass:"switch switch-xs"},[n("input",{staticClass:"switch",attrs:{type:"checkbox",id:"favFilter",readonly:e.read_only},domProps:{checked:e.favFilter},on:{change:function(t){return e.$emit("setFavFilter",t.target.checked)}}}),e._v(" "),n("label",{attrs:{for:"favFilter"}},[e._v("\n "+e._s(e.$t("fav"))+"\n "),n("svg",{staticClass:"inline-svg",staticStyle:{"enable-background":"new 0 0 78.5 106.4"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:a":"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",x:"0px",y:"0px",width:"78.5px",height:"106.4px",viewBox:"0 0 78.5 106.4","xml:space":"preserve"}},[n("polygon",{staticClass:"st0",attrs:{points:"60.4,29.7 78.5,7.3 78.5,7.3 12.7,7.3 12.7,52 78.5,52 78.5,52 \t"}}),e._v(" "),n("polygon",{staticClass:"st0",attrs:{points:"9.6,106.4 0,106.4 0,2 9.6,0 "}})])])])]):e._e(),e._v(" "),e.allTypes.length>0?n("div",{staticClass:"padding-sides-small"},[n("label",[e._v(e._s(e.$t("type")))]),e._v(" "),n("div",{staticClass:"m_typeField margin-bottom-none font-large"},e._l(e.allTypes,function(t){return n("label",{key:t,attrs:{for:"type-"+t}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.enabled_types,expression:"enabled_types"}],attrs:{type:"checkbox",id:"type-"+t,readonly:e.read_only},domProps:{value:t,checked:Array.isArray(e.enabled_types)?e._i(e.enabled_types,t)>-1:e.enabled_types},on:{change:[function(n){var i=e.enabled_types,o=n.target,r=!!o.checked;if(Array.isArray(i)){var a=t,s=e._i(i,a);o.checked?s<0&&(e.enabled_types=i.concat([a])):s>-1&&(e.enabled_types=i.slice(0,s).concat(i.slice(s+1)))}else e.enabled_types=r},function(t){return e.$emit("setTypeFilter",e.enabled_types)}]}}),e._v(" "),n("span",[e._v(" "+e._s(e.$t(t)))])])}),0)]):e._e(),e._v(" "),e.allKeywords&&e.allKeywords.length>0?n("div",{staticClass:"padding-sides-small"},[n("label",[e._v(e._s(e.$t("keywords")))]),e._v(" "),n("div",{staticClass:"m_keywordField margin-bottom-none font-large"},e._l(e.allKeywords,function(t){return n("button",{key:t.text,class:[t.classes,{"is--active":e.keywordFilter===t.text}],on:{click:function(n){return e.$emit("setKeywordFilter",t.text)}}},[e._v("\n "+e._s(t.text)+"\n ")])}),0)]):e._e(),e._v(" "),e.allAuthors&&e.allAuthors.length>0?n("div",{staticClass:"padding-sides-small"},[n("label",[e._v(e._s(e.$t("authors")))]),e._v(" "),n("div",{staticClass:"m_authorField margin-bottom-none"},e._l(e.allAuthors,function(t){var i=t.slugFolderName;return e.$root.getAuthor(i)?n("button",{key:i,class:{"is--active":e.authorFilter===i,"is--loggedInAuthor":e.$root.current_author&&e.$root.current_author.slugFolderName===i},on:{click:function(t){return e.$emit("setAuthorFilter",i)}}},[e._v("\n "+e._s(e.$root.getAuthor(i).name)+"\n ")]):e._e()}),0)]):e._e()])},i.staticRenderFns=[]},{}],282:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e("@johmun/vue-tags-input");n.default={props:{keywords:Array,read_only:Boolean,type:{default:"projects",type:String}},components:{},data:function(){return{tags:this.keywords&&this.keywords.length>0?(0,t.createTags)(this.keywords.map(function(e){return e.title})):[],tag:"",show_all_keywords:!1}},created:function(){},mounted:function(){this.tags.length>0&&this.updateTags(this.tags)},beforeDestroy:function(){},watch:{},computed:{matchingKeywords:function(){var e=this;return 0===this.tag.length?[]:this.$root.allKeywords({type:this.type}).filter(function(t){return new RegExp(e.tag,"i").test(t.text)&&!e.tags.find(function(e){return e.text===t.text})}).slice(0,2)},disableAddButton:function(){var e=this;return 0===this.tag.length||!!this.tags.find(function(t){return t.text===e.tag})},allKeywordsExceptCurrent:function(){var e=this;return this.$root.allKeywords({type:this.type}).filter(function(t){return!e.tags.find(function(e){return e.text===t.text})})}},methods:{createTagFromAutocomplete:function(e){this.tag=e,this.createTag()},createTag:function(){0!==this.tag.trim().length&&(this.tags.push({text:this.tag}),this.sendTags(this.tags),this.tag="")},removeTag:function(e){this.read_only||(this.tags=this.tags.filter(function(t){return t.text!==e}),this.sendTags(this.tags))},updateTags:function(e){this.tags=e.map(function(e){return e.classes="tagcolorid_"+parseInt(e.text,36)%2,e})},sendTags:function(e){this.updateTags(e);var t=this.tags.map(function(e){return{title:e.text}});this.$emit("tagsChanged",t)}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("transition-group",{staticClass:"m_keywordField",attrs:{name:"list-complete",tag:"div"}},[e._l(e.tags,function(t){return n("button",{key:t.text,staticClass:"can_be_removed",class:["tagcolorid_"+parseInt(t.text,36)%2],attrs:{type:"button",disabled:e.read_only},on:{click:function(n){return e.removeTag(t.text)}}},[e._v(e._s(t.text))])}),e._v(" "),e.read_only?e._e():n("div",{key:"new-tag-input",staticClass:"new-tag-input-wrapper"},[n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.tag,expression:"tag",modifiers:{trim:!0}}],staticClass:"new-tag-input",attrs:{type:"text",placeholder:e.$t("add_keyword")},domProps:{value:e.tag},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.createTag(t))},input:function(t){t.target.composing||(e.tag=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),e.tag.length>0?n("button",{attrs:{type:"button",disabled:e.disableAddButton},on:{click:e.createTag}},[e._v("+")]):e._e()]),e._v(" "),e.matchingKeywords.length>0?n("div",{key:"autocomplete",staticClass:"autocomplete"},[n("label",[e._v(e._s(e.$t("suggestion")))]),e._v(" "),n("div",e._l(e.matchingKeywords,function(t){return n("button",{key:t.text,staticClass:"tag",attrs:{type:"button"},on:{click:function(n){return e.createTagFromAutocomplete(t.text)}}},[e._v(e._s(t.text))])}),0)]):e._e()],2),e._v(" "),e.read_only?e._e():n("div",{staticClass:"m_keywordField"},[e.allKeywordsExceptCurrent.length>0?n("button",{key:"show_all_keywords",staticClass:"m_keywordField--show_all_keywords",attrs:{type:"button"},on:{click:function(t){e.show_all_keywords=!e.show_all_keywords}}},[e.show_all_keywords?[e._v(e._s(e.$t("hide_all_keywords")))]:[e._v("\n "+e._s(e.$t("show_all_keywords"))+"\n ")]],2):e._e(),e._v(" "),e.allKeywordsExceptCurrent.length>0&&e.show_all_keywords?n("div",{staticClass:"autocomplete"},[n("label",[e._v(e._s(e.$t("all_tags")))]),e._v(" "),n("div",e._l(e.allKeywordsExceptCurrent,function(t){return n("button",{key:t.text,staticClass:"tag",attrs:{type:"button"},on:{click:function(n){return e.createTagFromAutocomplete(t.text)}}},[e._v(e._s(t.text))])}),0)]):e._e()])],1)},i.staticRenderFns=[]},{"@johmun/vue-tags-input":1}],283:[function(e,t,n){!function(){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(e("axios"));e("timers");n.default={props:{slugFolderName:String,type:String,selected_files:Array},components:{},data:function(){return{files_to_upload:this.selected_files,files_to_upload_meta:{},upload_percentages:0,list_of_medias_to_add_to_fragment:[]}},watch:{},mounted:function(){this.sendAllFiles()},beforeDestroy:function(){},computed:{uriToUploadMedia:function(){return window.location.origin+"/_file-upload/"+this.type+"/"+this.slugFolderName+"/?socketid="+this.$root.$socketio.socket.id}},methods:{sendThisFile:function(e){var n=this;return new Promise(function(i,o){"debug"===n.$root.state.dev_mode&&console.log("METHODS • UploadFile / sendThisFile : name = "+e.name);var r=e.name,a=e.lastModified;n.$set(n.files_to_upload_meta,r,{upload_percentages:0,status:"sending"});var s=new FormData;s.append("files",e,r);var l={fileCreationDate:a,authors:n.$root.current_author?[{slugFolderName:n.$root.current_author.slugFolderName}]:""};s.append(r,JSON.stringify(l));var c=n.$socketio.socket.id;void 0!==c&&s.append("socketid",c),"debug"===n.$root.state.dev_mode&&console.log("UploadFile • METHODS: name = "+r+" / formData is ready / sending to "+n.uriToUploadMedia),t.post(n.uriToUploadMedia,s,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(e){this.files_to_upload_meta[r].upload_percentages=parseInt(Math.round(100*e.loaded/e.total))}.bind(n)}).then(function(e){return e.data}).then(function(e){return"debug"===n.$root.state.dev_mode&&console.log("UploadFile • METHODS: name = "+r+" / success uploading"),n.files_to_upload_meta[r].status="success",n.files_to_upload_meta[r].upload_percentages=100,n.list_of_medias_to_add_to_fragment.push(e.metaFileNames[0]),i()}).catch(function(e){return"debug"===n.$root.state.dev_mode&&console.log("METHODS • sendThisFile: name = "+r+" / failed uploading"),n.files_to_upload_meta[r].status="failed",n.files_to_upload_meta[r].upload_percentages=0,o()})})},sendAllFiles:function(){var e=this;(function t(n){return e.sendThisFile(e.files_to_upload[n.shift()]).then(function(i){return"debug"===e.$root.state.dev_mode&&console.log("UploadFile • METHODS: sendAllFiles / finished sending file, onto next"),0===n.length?i:t(n)})})(Array.from(Array(this.files_to_upload.length).keys())).then(function(t){"debug"===e.$root.state.dev_mode&&console.log("UploadFile • METHODS: sendAllFiles / finished uploading sequentially"),e.$emit("insertMedias",e.list_of_medias_to_add_to_fragment),e.$emit("close","")})},formatBytes:function(e,t){if(0==e)return"0 "+this.$t("bytes");var n=[this.$t("bytes"),this.$t("kb"),this.$t("mb"),this.$t("gb"),"TB","PB","EB","ZB","YB"],i=t||2,o=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,o)).toFixed(i))+" "+n[o]},getImgPreview:function(e){return URL.createObjectURL(e)},cssStatus:function(e){if(this.files_to_upload_meta.hasOwnProperty(e.name))return"is--"+this.files_to_upload_meta[e.name].status}}}}(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("transition-group",{attrs:{tag:"div",name:"fileupload_list"}},e._l(e.files_to_upload,function(t,i){return n("div",{key:t.name,staticClass:"m_uploadFile",class:e.cssStatus(t),style:"--progress-percent: "+(e.files_to_upload_meta.hasOwnProperty(t.name)?e.files_to_upload_meta[t.name].upload_percentages/100:0)},[n("div",{staticClass:"m_uploadFile--progressBar"}),e._v(" "),t.type&&t.type.includes("image")&&i<5?n("img",{staticClass:"m_uploadFile--image",attrs:{src:e.getImgPreview(t)}}):n("div",{staticClass:"m_uploadFile--image"}),e._v(" "),n("div",{staticClass:"m_uploadFile--filename",attrs:{title:t.name}},[e._v(e._s(t.name))]),e._v(" "),n("div",{staticClass:"m_uploadFile--size"},[e._v(e._s(e.formatBytes(t.size)))]),e._v(" "),e.files_to_upload_meta.hasOwnProperty(t.name)?n("div",{staticClass:"m_uploadFile--action"},[n("button",{staticClass:"buttonLink",attrs:{type:"button",disabled:e.read_only||e.files_to_upload_meta.hasOwnProperty(t.name)&&"success"===e.files_to_upload_meta[t.name].status},on:{click:function(n){return e.sendThisFile(t)}}},[e.files_to_upload_meta.hasOwnProperty(t.name)?"success"===e.files_to_upload_meta[t.name].status?[e._v(e._s(e.$t("sent")))]:"failed"===e.files_to_upload_meta[t.name].status?[e._v(e._s(e.$t("retry")))]:e._e():[e._v(e._s(e.$t("import")))]],2)]):e._e()])}),0)],1)},i.staticRenderFns=[]},{axios:6,timers:168}],284:[function(e,t,n){"use strict";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}var o;t.exports=(i(o={ascending:{fr:"Croissant",en:"Ascending",nl:"Toenemend",oc:"Creissent",de:"Aufsteigend"},descending:{fr:"Décroissant",en:"Descending",nl:"Afnemend",oc:"Descreissent",de:"Absteigend"},create_a_project:{fr:"Créer un projet",en:"Create a project",nl:"Project aanmaken ",oc:"Crear un projècte",de:"Ein Projekt erstellen"},create_a_publication:{fr:"Créer une recette",en:"Create a recipe",nl:"Publicatie aanmaken ",oc:"Crear una recepta",de:"Eine Publikation erstellen"},create_a_chat:{fr:"Créer une discussion",en:"Create a room"},edit_a_chat:{fr:"Éditer une discussion",en:"Edit a room"},chat_name:{fr:"Nom du sujet",en:"Topic"},pinned_to_the_top_of_the_list:{fr:"Épingler en haut de la liste",en:"Pin to the top"},pinned:{fr:"Épinglées",en:"Pinned"},no_content_to_show:{fr:"Aucun contenu à afficher",en:"No content to show"},fold:{fr:"Replier",en:"Fold"},unfold:{fr:"Déplier",en:"Unfold"},create_new_folder:{fr:"créer un nouveau dossier",en:"create new folder"},manage_access:{fr:"Gérer l’accès au contenu",en:"Manage access"},no_message_yet:{fr:"Aucun message à afficher pour l’instant…",en:"No message to display yet…"},login_after_creation:{fr:"S’identifier dans la foulée",en:"Login after creation"},advanced_text_bloc:{fr:"Permettre la mise en forme du texte",en:"Allow text layout"},only_numbers:{fr:"Nombres uniquement",en:"Numbers only"},amount:{fr:"Nombre",en:"Amount"},unlimited:{fr:"Illimité",en:"Unlimited"},publication:{fr:"Recette",en:"Recipe",nl:"Publicatie",oc:"Recepta",de:"Publikation"},set_visibility_to_everybody:{fr:"Ce contenu est actuellement en privé et ne peut donc pas être partagé. Pour le partager, cochez VISIBLE PAR TOUT LE MONDE dans les options du contenu.",en:"This content is currently set to private and cannot be shared. To get a link to share it, change its options to VISIBLE FOR EVERYONE."},display_on_website:{fr:"Rendre visible sur ",en:"Display on "},medias_selected:{fr:"média(s) sélectionné(s)",en:"media(s) selected"},projects_selected:{fr:"projet(s) sélectionné(s)",en:"project(s) selected"},number_of_medias:{fr:"Nombre de médias",en:"Amount of medias"},reply:{fr:"Répondre",en:"Reply"},name:{fr:"Nom",en:"Name",nl:"Naam",oc:"Nom",de:"Name"},name_or_pseudo:{fr:"Nom ou pseudonyme",en:"Name or nickname"},project_name:{fr:"Nom du projet",en:"Project name",nl:"Naam van het project",oc:"Nom del projècte",de:"Projektname"},created_date:{fr:"Date de création",en:"Created date",nl:"Datum van oprichting",oc:"Data de creacion",de:"Erstellungsdatum"},none:{fr:"aucun",en:"none"},none_f:{fr:"aucune",en:"none"},interactive_preview:{fr:"Interactif",en:"Interactive"},static_preview:{fr:"Image",en:"Static"},preview:{fr:"Aperçu",en:"Preview"},advanced_options:{fr:"Options avancées",en:"Advanced options"},bold:{fr:"Gras",en:"Bold"},italic:{fr:"Italique",en:"Italic"},large:{fr:"Grand",en:"Large"},small:{fr:"Petit",en:"Small"},"answers_given:":{fr:"Enregistré :",en:"Saved:"},"answer_type_expected:":{fr:"Format(s) accepté(s) :",en:"Accepted format(s):"},infos_about_the_media:{fr:"Informations sur le média",en:"Informations on the media"},uploaded:{fr:"Importation",en:"Uploaded",nl:"Geüpload",oc:"Importacion",de:"Import"},messages:{fr:"Messages",en:"Messages"},unread_messages:{fr:"Messages non-lus",en:"Unread messages"},no_media_on_this_page:{fr:"Aucun média à afficher sur cette page",en:"No media on this page"},show_older_messages:{fr:"Voir les messages plus anciens",en:"See older messages"},show:{fr:"Afficher",en:"Show"},only_my_projects:{fr:"Seulement mes projets",en:"My projects"},only_my_medias:{fr:"Seulement mes médias",en:"My medias"},only_my_recipes:{fr:"Seulement mes recettes",en:"My recipes"},only_channels_i_participate_in:{fr:"les discussions accessibles",en:"Only topics I can read"},all_projects:{fr:"Tous les projets",en:"All projects"},all_medias:{fr:"Tous les médias",en:"All medias"},all_recipes:{fr:"Toutes les recettes",en:"All recipes"},all_channels:{fr:"Toutes les discussions",en:"All topics"},channels_of:{fr:"Discussions sur",en:"Topics of"},created:{fr:"Création",en:"Created",nl:"Gemaakt ",oc:"Creacion",de:"Erstellung"},edited:{fr:"Édition",en:"Edited",nl:"Bewerkt",oc:"Edicion",de:"Bearbeitung"},sent_date:{fr:"Date d’envoi",en:"Sent date",nl:"Verzendingsdatum",oc:"Data de mandadís",de:"Versanddatum"},attached_to_project:{fr:"Rattachée au projet",en:"Attached to project"},type:{fr:"Type",en:"Type",nl:"Type",oc:"Tipe",de:"Typ"},color:{fr:"Couleur",en:"Color",nl:"Kleur",oc:"Color",de:"Farbe"},keywords:{fr:"Mots-clés",en:"Keywords",nl:"Kernwoorden",oc:"Mots-claus",de:"Schlüsselwörter"},share:{fr:"Partage",en:"Share",nl:"Deel",oc:"Partatge",de:"Teilung"},copy:{fr:"Copier",en:"Copy",nl:"Kopiëren",oc:"Copiar",de:"Kopieren"},author:{fr:"Auteur(s)",en:"Author(s)",nl:"Auteur",oc:"Autor",de:"Autor(en)"},action:{fr:"Action",en:"Action"},detail:{fr:"Détail",en:"Detail"},account:{fr:"Compte",en:"Account"},role:{fr:"Rôle",en:"Role"},admin:{fr:"Administrateur",en:"Administrator"},only_available_to_admins:{fr:"Fonctionnalité uniquement accessible aux administrateurs",en:"Feature only available to admins"},contributor:{fr:"Contributeur",en:"Contributor"},participant:{fr:"Participant",en:"Participant"},journal:{fr:"Journal des activités",en:"Journal of activities"},entries:{fr:"Entrées",en:"Entries"},to:{fr:"à",en:"to"},of:{fr:"de",en:"of"},created_folder:{fr:"A créé un dossier",en:"Has created a folder"},edited_folder:{fr:"A modifié un dossier",en:"Has edited a folder"},removed_folder:{fr:"A supprimé un dossier",en:"Has removed a folder"},message_was_removed:{fr:"Ce message a été supprimé",en:"This message was removed"},created_media:{fr:"A créé un média",en:"Has created a media"},created_media_meta:{fr:"A créé un média meta",en:"Has created a media meta"},edited_media:{fr:"A modifié un média",en:"Has edited a media"},copied_media:{fr:"A copié un média",en:"Has copied a media"},removed_media:{fr:"A supprimé un média",en:"Has removed a media"},exported_pdf:{fr:"A exporté un PDF",en:"Has exported a PDF"},exported_video:{fr:"A exporté une vidéo",en:"Has exported a video"},exported_stopmotion:{fr:"A exporté une animation image par image",en:"Has exported a stopmotion"},copied_folder:{fr:"A copié un dossier",en:"Has copied a folder"},reload:{fr:"Recharger",en:"Reload"},download:{fr:"Télécharger",en:"Download",nl:"Downloaden",oc:"Telecargar",de:"Herunterladen"},caption:{fr:"Légende",en:"Caption",nl:"Bijschrift",oc:"Legenda",de:"Legende"},add_caption:{fr:"Ajouter une légende",en:"Add a caption"},edit_caption:{fr:"Modifier la légende",en:"Edit caption"},add_instructions:{fr:"Ajouter des instructions",en:"Add instructions"},edit_instructions:{fr:"Modifier les instructions",en:"Edit instructions"},instructions:{fr:"Instructions",en:"Instructions"},formatting:{fr:"Mise en forme",en:"Formatting",nl:"Opmaak",oc:"Mesa en forma",de:"Formatierung"},smoothing:{fr:"Lissage",en:"smoothing",nl:"effen",oc:"Lissatge",de:"Glättungmodus"},create_an_account_or_login_to_participate:{fr:"Créez un compte ou identifiez-vous avec un compte existant pour participer",en:"Create an account or login using an existing account to participate"},login_to_edit_existing_participation:{fr:"Identifiez-vous avec le compte créé précédemment pour modifier vos réponses",en:"Login with an existing account to edit your replies"},custom:{fr:"Personnalisé",en:"Custom"},header:{fr:"En-tête",en:"Header"},sizes_and_margins:{fr:"Tailles et marges",en:"Sizes and margins"},margin:{fr:"Marge",en:"Margin"},size:{fr:"Taille",en:"Size"},volume:{fr:"Volume",en:"Sound level"},dimensions:{fr:"Résolution",en:"Resolution"},onion_skin:{fr:"Pelure d’oignon",en:"Onion skin",nl:"uienschil",oc:"Pelofa de cèba",de:"Überlagerung"},file:{fr:"Fichier",en:"File",nl:"Bestand",oc:"Fichièr",de:"Datei"},multipage_pdf:{fr:"PDF (toutes les pages)",en:"PDF (all pages)"},singlepage_image:{fr:"Image (une seule page)",en:"Image (single page)"},add_to_project:{fr:"Ajouter au projet :",en:"Add to project:",nl:"Toevoegen aan project:",oc:"Apondre al projècte",de:"Zum Projekt hinzufügen"},add_to_existing_folder:{fr:"Ajouter à un dossier existant :",en:"Add to existing folder:"},"folder_currently_open:":{fr:"Dossier actuellement ouvert :",en:"Currently opened folder"},currently_open:{fr:"Actuellement ouvert",en:"Currently open"},group:{fr:"Regrouper",en:"Group"},no_text_content:{fr:"Champ texte vide…",en:"Text field is empty…"},no_numbers:{fr:"Champ nombre vide…",en:"Number field is empty…"},ungroup:{fr:"Dégrouper",en:"Ungroup"},new_folder_name:{fr:"Nom du nouveau dossier :",en:"Name of the new folder:"},layers:{fr:"Calques",en:"Layers"},layer_name:{fr:"Nom du calque",en:"Layer name"},layer_order:{fr:"Ordre d’empilement",en:"Order in the stack"},layer_order_instructions:{fr:"Plus cette valeur est haute et plus le bloc sera au premier plan.",en:"The higher the value the higher in the stack of blocs."},drawing_layer_1:{fr:"Calque dessin 1",en:"Drawing layer 1"},media_layer_1:{fr:"Calque média 1",en:"Media layer 1"},layer_type:{fr:"Type de calque",en:"Layer type"},drawing_layer_instructions:{fr:"Permet de dessiner, tracer des formes, etc.",en:"Allows for the drawing of lines, geometric shapes, etc."},medias_layer_instructions:{fr:"Permet de placer des médias (images, vidéos, etc.)",en:"Allows the importation of medias (images, videos, etc.)"},select_layer_to_add_media_to:{fr:"Sélectionnez d’abord le calque sur lequel placer le média",en:"Select first the layer the media will be on"},input_password:{fr:"Renseigner le mot de passe ci-dessous :",en:"Input the password here:",nl:"Wachtwoord invoeren:",oc:"Entresenhar lo mot de Santa-Clara çai-jos :",de:"Kennwort bitte hier eingeben"},change_password:{fr:"Modifier le mot de passe",en:"Change password"},add_password:{fr:"Protéger par un mot de passe",en:"Protect with a password"},old_password:{fr:"Ancien mot de passe",en:"Old password"},new_password:{fr:"Nouveau mot de passe",en:"New password"},validate_with_enter:{fr:"Valider avec la touche ENTRÉE.",en:"Validate with ENTER.",nl:"Bevestig met ENTER.",oc:"Validar amb la toca ENTRADA",de:"Mit der ENTER-taste bestätigen."},no_stopmotion_created_yet:{fr:"Les animations créées apparaîtront dans ce panneau.",en:"Created stopmotion animations will appear in this list.",nl:"Er is nog geen stopmotion gemaakt: ",oc:"Las animacions creadas apparaisseràn dins aqueste panèu.",de:"Die erstellten Animationen werden in diesen Fenster angezeigt"},device:{fr:"Appareil",en:"Device",nl:"Toestel",oc:"Aparelh",de:"Gerät"},audioinput:{fr:"Entrée audio",en:"Audio input"},videoinput:{fr:"Entrée vidéo",en:"Video input"},audiooutput:{fr:"Sortie audio",en:"Audio output"},"camera2 1, facing front":{fr:"Caméra frontale",nl:"Camera naar voren gericht ",oc:"Camerà frontala",de:"Frontkamera"},"camera2 0, facing back":{fr:"Caméra arrière",nl:"Camera naar achteren gericht ",oc:"Camerà arrièra",de:"Rückfahrkamera"},"Entire screen":{fr:"Écran de l’ordinateur",en:"Computer screen"},very_slow:{fr:"Très lent",en:"Very slow",nl:"Zeer traag",oc:"Fòrça lent",de:"Sehr langsam"},slow:{fr:"Lent",en:"Slow",nl:"Traag",oc:"Lent",de:"Langsam"},speed_medium:{fr:"Normal",en:"Normal",nl:"Normaal",oc:"Normal",de:"Normal"},fast:{fr:"Rapide",en:"Fast",nl:"Snel",oc:"Rapid",de:"Schnell"},forget_password:{fr:"Oublier le mot de passe",en:"Forget password",nl:"Wachtwoord vergeten",oc:"Doblidar lo mot de Santa-Clara",de:"Vergessen Sie das Passwort"},forget_password_and_close:{fr:"Oublier le mot de passe et fermer",en:"Forget password and close",nl:"Wachtwoord vergeten en sluiten",oc:"Doblidar lo mot de Santa-Clara e clavar",de:"Vergessen Sie das Passwort und schließen sie"},remember_password_on_this_device:{fr:"Sauvegarder pour cet appareil",en:"Remember for this device",nl:"Wachtwoord onthouden op dit toestel",oc:"Salvagardar per aqueste aparelh",de:"Für dieses Gerät speichern"},cooking_pot:{fr:"La marmite",en:"Cooking pot",nl:"De ketel",oc:"L'ola",de:"Der Topf"},channels_instructions:{fr:"Espaces de discussion : échangez avec les autres utilisateurs en créant un sujet !",en:"Chat rooms: share with other users by creating a topic!"},channels_list:{fr:"Liste des discussions",en:"List of topics"},last_read_message:{fr:"Dernier message lu",en:"Last message read"},copy_of:{fr:"Copie de",en:"Copy of",nl:"Kopie van",oc:"Còpia de",de:"Kopie von"},text_overflow:{fr:"Texte en excès",en:"Overflow text",nl:"Tekstoverloop",oc:"Tèxte en excès",de:"Textüberlauf"},move:{fr:"Déplacer",en:"Move"},move_to_foreground:{fr:"Mettre au premier plan",en:"Move to foreground",nl:"Op de voorgrond plaatsen. ",oc:"Botar al primièr plan",de:"In den Vordergrund stellen"},move_to_background:{fr:"Mettre à l’arrière plan",en:"Move to background",nl:"Op de achtergrond plaatsen",oc:"Botar al rèire plan",de:"In den Hintergrund stellen"},"layer:":{fr:"Calque :",en:"Layer:",nl:"Laag:",oc:"Calca",de:"Schicht"},css_settings:{fr:"Réglages CSS",en:"CSS settings",nl:"CSS instellingen",oc:"Reglatges CSS",de:"CSS Einstellungen"},edit_content:{fr:"Modifier le contenu",en:"Edit content",nl:"Inhoud wijzigen ",oc:"Modificar lo contengut",de:"Inhalt bearbeiten"},edit_original_media:{fr:"Modifier le média original",en:"Edit original media content"},stroke_color:{fr:"Couleur du contour",en:"Stroke color"},fill_color:{fr:"Couleur du fond",en:"Fill color"},stroke_width:{fr:"Épaisseur du contour",en:"Stroke width"},adjust:{fr:"Ajuster",en:"Adjust",nl:"Wijzigen",oc:"Ajustar",de:"Anpassen"},adjust_infos:{fr:"Vous pourrez toujours revenir au média d’origine si nécessaire.",en:"You will always be able to go back to the original media if necessary."},restore:{fr:"Restorer",en:"Restore"},lock_in_place:{fr:"Verrouiller sur place",en:"Lock in position"},unlock:{fr:"Déverouiller",en:"Unlock"},rotate_clockwise:{fr:"Pivoter vers la droite",en:"Rotate clockwise",oc:"Virar cap a drecha",de:"Nach Rechts einschwenken"},optimize:{fr:"Optimiser",en:"Optimize"},optimize_instructions:{fr:"Convertir le média vidéo ou audio pour optimiser la compatibilité avec tous les appareils et réduire le poids (codec vidéo mp4/h264, codec audio mp3).",en:"Encode the video or audio media to maximize compatibility and minimize filesize (video codec mp4/h264 and audio codec aac)."},trim:{fr:"Raccourcir",en:"Trim"},trim_instructions:{fr:"Indiquez le début et la fin souhaités.\nVous pouvez lire et mettre la vidéo en pause puis utiliser les boutons en bas de la vidéo pour copier le temps de lecture.",en:"Input the beginning and end to trim the video.\nYou can play and pause the video, then use the buttons beneath the video to paste the playback time."},beginning:{fr:"Début",en:"Beginning"},end:{fr:"Fin",en:"End"},play_video_from_this_moment:{fr:"Lire la vidéo à partir de ce moment là",en:"Play video starting at this moment"},use_current_time:{fr:"Copier le temps du lecteur",en:"Copy playback time"},set_as_beginning:{fr:"placer le début",en:"set the beginning"},set_as_end:{fr:"placer la fin",en:"set the end"},replace:{fr:"Remplacer",en:"Replace"},test:{fr:"Tester",en:"Test"},revert_to_original:{fr:"Revenir à l’original",en:"Revert to original",oc:"Tornar a l'original",de:"Zurück zum Original"},duplicate:{fr:"Dupliquer",en:"Duplicate",nl:"Dupliceren",oc:"Duplicar",de:"Duplikat"},destination_document:{fr:"Document de destination"},search:{fr:"Rechercher",en:"Search",oc:"Cercar",de:"Suchen"},project_name_to_find:{fr:"Rechercher par nom de projet",en:"Search by project name",oc:"Cercar per nom de projècte",de:"Suche nach Projektname"},recipe_name_to_find:{fr:"Rechercher par nom de recette",en:"Search by recipe name"},show_all:{fr:"Tout afficher",en:"Show all",nl:"Alles tonen",oc:"Afichar tot",de:"Zeige alles"},all:{fr:"Tous",en:"All"},cooking_pot_instructions:{fr:"Mélangez des médias pour en créer de nouveaux !",en:"Mix a single or multiple medias to create new medias!",nl:"Meng bestanden om nieuwe bestanden te maken !",oc:"Mesclar de mèdias per ne crear de novèls !",de:"Mischen Sie Medien um neue zu erstellen"},untitled:{fr:"Sans titre",en:"Untitled",nl:"Zonder naam",oc:"Sens títol",de:"Ohne Titel"},mix_audio_and_video:{fr:"Son sur une vidéo",en:"Sound + video",nl:"Video- en geluidsbestanden combineren",oc:"Son sus una vidèo",de:"Audio und Video mischen"},mix_audio_and_image:{fr:"Son sur une image",en:"Sound + image",nl:"Foto- en geluidsbestanden combineren",oc:"Son sus un imatge",de:"Audio und Bild mischen"},add_sound_video_file:{fr:"Ouvrez un projet et ajoutez un média <b>son</b> et un média <b>vidéo</b> en cliquant sur la flèche verte.<br>L’exportation créera une nouvelle vidéo.<br>Médias acceptés : une vidéo et une piste sonore.",en:"Add a <b>sound</b> and a <b>video</b> media to create a new video.",nl:"Open een project en voeg een <b>geluidsbestand</b> en een <b>videobestand</b> toe door op de groene pijl te klikken .<br>Als u exporteert, wordt een nieuwe video gemaakt .<br>Ondersteunde bestandstypen : video en geluid.",oc:"Dubrissètz un projècte e apondètz un mèdia <b>son</b> e un mèdia <b>vidèo</b> en cliquant sus la sageta verda.<br>L’exportacion crearà una novèla vidèo.<br>mèdias acceptats : una vidèo e una pista sonora.",de:"Öffnen Sie ein Projekt und fügen Sie ein Medium hinzu <b>Ton </b>und ein Medium <b>Video</b> durch Klicken auf den grünen Pfeil.<br> Beim Export wird ein neues Video erstellt.<br>Aktzeptierte Medien: ein Vidéo und eine Tonspur."},add_sound_image_file:{fr:"Ouvrez un projet et ajoutez un média <b>son</b> et un média <b>image</b> en cliquant sur la flèche verte.<br>L’exportation créera une nouvelle vidéo.<br>Médias acceptés : une image et une piste sonore.",en:"Add a <b>sound</b> and an <b>image</b> media to create a new video.",nl:"Open een project en voeg een <b>geluidsbestand</b> en een <b>fotobestand</b> toe door op de groene pijl te klikken .<br>Als u exporteert, wordt een nieuwe video gemaakt .<br>Ondersteunde bestandstypen : foto en geluid.",oc:"Dubrissètz un projècte e apondètz un mèdia <b>son</b> e un mèdia <b>imatge</b> en cliquant sus la sageta verda.<br>L’exportacion crearà una nouvèla vidèo.<br>mèdias acceptats : un imatge e una pista sonora.",de:"Öffnen Sie ein Projekt und fügen Sie ein Medium hinzu <b>Ton </b>und ein Medium <b>Bild</b> durch klicken auf den grünen Pfeil.<br> Beim Export wird ein neues Video erstellt.<br>Aktzeptierte Medien: ein Video und eine Tonspur."},add_multiple_videos_files:{fr:"Ouvrez un projet et ajoutez plusieurs médias <b>vidéo</b> en cliquant sur la flèche verte. Les vidéos seront mises bout à bout dans l’ordre d’ajout.<br>L’exportation créera une nouvelle vidéo.<br>Médias acceptés : uniquement des vidéos de même taille.",en:"Add multiple <b>videos</b> or <b>images</b> from a project to create a new video.",nl:"Open een project en voeg meerdere <b>video</b>bestanden toe door op de groene pijl te klikken . Video’s worden in volgorde van toevoeging na elkaar geplaatst.<br>Als u exporteert, wordt een nieuwe video gemaakt .<br> Ondersteunde bestandstypen : alleen video’s van hetzelfde formaat.",oc:"Dubrissètz un projècte e apondètz mantunes mèdias <b>vidèo</b> en cliquant sus la sageta verda. Las vidèos seràn mesas bout à bout dins l’òrdre d’apondon.<br>L’exportacion crearà una nouvèla vidèo.<br>mèdias acceptats : unicament de vidèos de meteissa talha.",de:"Öffnen Sie ein Projekt und fügen Sie mehrere Medien hinzu<b> Video </b>durch Klicken auf den grünen Pfeil.<br>Beim Export wird ein neues Video erstellt.<br> Akzeptierte Medien: nur Videos der gleichen Größe."},add_one_video_file:{fr:"Ouvrez un projet et ajoutez un média <b>vidéo</b> en cliquant sur la flèche verte.<br>L’exportation créera une nouvelle vidéo.",en:"Add a single <b>video</b> and select a filter or an effect to mix."},add_multiple_images:{fr:"Ouvrez un projet et ajoutez plusieurs médias <b>image</b> en cliquant sur la flèche verte. Les images seront mises bout à bout dans l’ordre d’ajout. Exportez la séquence et réglez la vitesse de défilement des images.<br>L’exportation créera une vidéo.<br>Médias acceptés : uniquement des images. Les dimensions de la première image détermine si la vidéo finale est en portrait ou paysage.",en:"Add multiple <b>image</b> medias to create a video.",nl:"Open een project en voeg verschillende <b>foto</b>bestanden toe door op de groene pijl te klikken. Foto’s worden in volgorde van toevoeging na elkaar geplaatst. Exporteer de beelden en pas de schuifsnelheid van de beelden aan.<br>Als u exporteert, wordt een nieuwe video gemaakt .<br> Ondersteunde bestandstypen : enkel fotobetanden. De afmetingen van het eerste beeld bepalen of de uiteindelijke video als portret of landschap is ingedeeld.",oc:"Dubrissètz un projècte e apondètz mantunes mèdias <b>imatge</b> en cliquant sus la sageta verda. Los imatges seràn botats bout à bout dins l’òrdre d’apondon. Exportatz la séquence et reglatz la vitessa de défilement des images.<br>L’exportation créera una vidèo.<br>mèdias acceptés : uniquement des images. Les dimensions de la première image détermine si la vidèo finala es en retrach o paisatge.",de:"Öffnen Sie ein Projekt und fügen Sie mehrere Medien hinzu<b> Bild </b>durch Klicken auf den grünen Pfeil. Die Bilder werden in der Reihenfolge der Addition aneinandergereiht. Exportieren Sie die Sequenz und stellen Sie die Bildfrequenz ein.<br>Media akzeptiren nur Bilder. Die Abmessungen des ersten Bildes bestimmen ob sich das endgültiege Video in Hoch-oder-Querformat befindet."},style:{fr:"style",en:"style",nl:"stijl",oc:"estil",de:"Stil"},show_recipes_for_project_first:{fr:"Afficher en premier les recettes liées au projet",en:"Show recipes attached to this project first"},css:{fr:"css",en:"css",nl:"css",oc:"css",de:"css"},write_some_CSS_code_for_example:{fr:"Écrivez ici du code CSS, <br>par exemple <code>color: blue;</code>",en:"Write here some CSS code, <br>for example <code>color: blue;</code>",nl:"Noteer hier CSS code, <br>bijvoorbeeld <code>color: blue;</code>",oc:"Escrigatz aicí de còde CSS, <br>per exemple <code>color: blue;</code>",de:"Schreiben sie hier CSS Code,<br>zum Beispiel<code >Farbe:blau;</code>"},framerate:{fr:"images par seconde",en:"images per second",nl:"beelden per seconde, ",oc:"imatges per seconda",de:"Bilder pro Sekunde"},timelapse:{fr:"déclenchement automatique",en:"timelapse",nl:"tijdsverloop ",oc:"delargament automatic",de:"automatische Auslösung"},seconds_per_image:{fr:"secondes par image",en:"seconds per image",nl:"seconden per beeld",oc:"secondas per imatge",de:"sekunden pro Bild"},seconds:{fr:"secondes",en:"seconds",nl:"seconden",oc:"secondas",de:"Sekunden"},quality:{fr:"qualité",en:"quality",nl:"kwaliteit",oc:"qualitat",de:"Qualität"},bytes:{fr:"octets",en:"bytes",nl:"bytes",oc:"octets",de:"Bytes"},kb:{fr:"ko",en:"KB",nl:"kb",oc:"ko",de:"KB"},mb:{fr:"Mo",en:"MB",nl:"Mb",oc:"Mo",de:"MB"},gb:{fr:"Go",en:"GB",nl:"Gb",oc:"Go",de:"GB"},duration:{fr:"Durée",en:"Duration",nl:"Duur",oc:"Durada",de:"Dauer"},new_duration:{fr:"Nouvelle durée",en:"New duration"},send:{fr:"Envoyer",en:"Send",nl:"Verzenden",oc:"Mandar",de:"Senden"},open_in_dodoc:{fr:"Ouvrir dans do•doc",en:"Open in do•doc",nl:"Openen in do•doc",oc:"Dubrir dins do•doc",de:"Öffnen sie in do•doc"},connect_to_dodoc:{fr:"Accéder à do•doc",en:"Open do•doc",nl:"Toegang tot do•doc",oc:"Accedir a do•doc",de:"Verbinden sie zu do•doc"},currently_connected:{fr:"Connecté en ce moment",en:"Currently connected"},login:{fr:"S’identifier",en:"Login",nl:"Inloggen",oc:"S'identificar",de:"Anmeldung"},create_account:{fr:"Créer un compte",en:"Create an account"},logout:{fr:"Se déconnecter",en:"Log-out"},login_to_access:{fr:"Identifiez vous en créant un auteur ou en cliquant sur votre nom si c’est déjà fait !",en:"Login by creating an author or clicking or your name to access do•doc."},login_to_post:{fr:"Identifiez-vous pour envoyer un message",en:"Login to send a message"},post_a_message:{fr:"Envoyez un message",en:"Send a message"},login_to_create_channel:{fr:"Identifiez-vous pour créer un sujet",en:"Login to create a topic"},adding_password_warning:{fr:"Attention ! Si vous ajoutez ou modifiez un mot de passe tous les utilisateurs qui y sont actuellement connectés devront le renseigner avant de pouvoir continuer à contribuer.",en:"Warning! Adding or changing the password will disconnect all users until they enter the new password.",nl:"Opgelet! Als u een wachtwoord toevoegt of wijzigt, moeten alle gebruikers die er momenteel mee verbonden zijn dit invoeren voordat ze een bijdrage kunnen blijven leveren..",oc:"Avisa ! Si volètz apondre o modificar un mot de passa totes los utilizaires que i son ara conectats deuràn l'entresenhar abans que de poder continuar.",de:"Achtung! Wenn Sie en Passwort hinzufügen oder ändern, müssen ihn alle derzeit eingeloggten Benutzer informieren, bevor sie weiterhin Beiträge leisten können."},removing_password_warning:{fr:"Si vous retirez le mot de passe tous les utilisateurs qui ont accès à do•doc pourront modifier le projet.",en:"Removing the password for this project will allow everyone to access, edit and delete it.",nl:"Als u het wachtwoord verwijdert, kunnen alle gebruikers die toegang hebben tot do•doc het project wijzigen.",oc:"Si tiratz lo mot de Santa-Clara totes los utilizaires qu'an accès a do•doc poiràn modificar lo projècte.",de:"Wenn Sie das Passwort entfernen, können alle Benutzer, die Zugriff auf do•doc haben, das Projekt bearbeiten."},help:{fr:"Aide",en:"Help",nl:"Hulp",oc:"Ajuda",de:"Hilfe"},email:{fr:"Adresse mail",en:"Email"},email_instructions:{fr:"Optionnel. Sera uniquement utilisé pour vous notifier d’un message sur do•doc et ne sera pas visible aux autres utilisateurs à l’exception des administrateurs.",en:"Optional. Will only be used to let you know of a new personal message, and will never be shown to other users except for administrators."},date:{fr:"Date",en:"Date",nl:"Datum",oc:"Data",de:"Datum"},portrait:{fr:"Portrait",en:"Portrait",nl:"Portret",oc:"Retrach",de:"Porträt"},image_ratio_portrait:{fr:"Portrait",en:"Portrait"},image_ratio_landscape:{fr:"Paysage",en:"Landscape"},nfc_tag:{fr:"Tag NFC",en:"Tag NFC",nl:"Tag NFC",oc:"Tag NFC",de:"NFC Tag"},nfc_tag_instructions:{fr:"Vous pouvez associer un tag NFC (un carte, une pastille, etc.) à un auteur à l’aide d’un boitier compatible à brancher en USB, pour utiliser un objet pour vous identifier.",en:"You can pair a NFC tag (a card, a badge, etc.) to an author using a device connected via USB, to login using an object."},pair_a_nfc_tag:{fr:"Associez un tag NFC",en:"Pair an NFC tag"},scan_a_nfc_tag:{fr:"Scannez le tag NFC maintenant…",en:"Scan the NFC tag now…"},yes:{fr:"Oui",en:"Yes",nl:"ja",oc:"Òc",de:"Ja"},no:{fr:"Non",en:"No"},cancel:{fr:"Annuler",en:"Cancel",nl:"Annuleren",oc:"Anullar",de:"Abbrechen"},back:{fr:"Retour",en:"Back",nl:"Terug",oc:"Tornar",de:"Rückkehr"},published:{fr:"Publié",en:"Published"},alreadyAnsweredThatModel:{fr:"Vous avez déjà répondu à ce modèle, êtes-vous sur de vouloir y répondre à nouveau ?",en:"You have already replied to this model, would you like to reply again?"},sureToRemoveYourselfFromAuthors:{fr:"Êtes-vous sûr de vouloir vous retirer de la liste des auteurs ? Vous ne pourrez plus modifier ce contenu.",en:"Do you really want to remove yourself from the list of authors? You won’t be able to edit this content anymore."},sureToLockAndPublish:{fr:"Êtes-vous sûr de vouloir publier ce récit ? Vous ne pourrez plus le modifier.",en:"Do you really want to publish this story? You won’t be able to edit anymore."},sureToRemoveAuthor:{fr:"Êtes-vous sûr de vouloir supprimer cet auteur ? Tous les médias, projets et recettes associés seront conservés.",en:"Do you really want to delete this author? All medias, projects and recipes will be kept.",nl:"Weet u zeker dat u deze auteur wilt verwijderen ?",oc:"Sètz segur de voler suprimir aqueste autor ? Totes los mèdias, projèctes e recèptas associadas seràn servadas.",de:"Sind Sie sicher, dass Sie diesen Autor löschen wollen?"},sureToRemovePlaceholder:{fr:"Êtes-vous sûr de vouloir supprimer ce bloc éditable ? Cela supprimera également tous les contenus ajoutés par des contributeurs dans d’autres ",en:"Do you really want to remove this editable block? This will also remove all content added in this block in recipe following this model."},sure_to_remove_chat:{fr:"Êtes-vous sûr de vouloir supprimer ce sujet et tout son contenu ?",en:"Do you really want to delete this topic and all its content?"},sureToRemoveSelection:{fr:"Êtes-vous sûr de vouloir supprimer cette sélection ?",en:"Do you really want to delete this selection?"},show_removed_pages:{fr:"Afficher les pages supprimées",en:"Show removed pages"},show_all_authors:{fr:"Afficher l’ensemble des auteurs",en:"Show all authors",nl:"Bekijk alle auteurs",oc:"Afichar totes los autors",de:"Liste aller Autoren anzeigen"},show_all_keywords:{fr:"Afficher l’ensemble des mots-clés",en:"Show all keywords",nl:"Bekijk alle kernwoord",oc:"Afichar totes los mots-claus",de:"Alle Stichworte anzeigen"},hide_all_keywords:{fr:"Masquer l’ensemble des mots-clés",en:"Hide all keywords",oc:"Amagar totes los mots-claus",de:"Ausblenden alle Stichwörter"},all_tags:{fr:"Liste des mots-clés disponibles",en:"List of keywords available",oc:"Tièra dels mots-claus disponibles",de:"Liste der verfügbaren Stichwörter"},changes_not_saved_sureToCloseModal:{fr:"Des modifications ont eu lieu, souhaitez-vous les enregistrer ?",en:"All changes were not saved. Do you really want to close this window?",nl:"Er zijn wijzigingen gebeurd , wilt u deze opslaan?",oc:"De modificacions se faguèron, desiratz de las enregistrar ?",de:"Änderungen wurden vorgenommen, wollen Sie sie speichern?"},save_changes:{fr:"Oui, enregistrer les modifications",en:"Yes, save changes",nl:"Ja, wijzigingen opslaan. ",oc:"Òc, enregistrar las modificacions",de:"Ja, Änderungen speichern"},move_page_position:{fr:"Déplacer la page",en:"Move page to position"},create_empty_page:{fr:"Ajouter une page vide",en:"Add an empty page"},show_all_pages:{fr:"Retour à la liste des pages",en:"All pages"},close_the_window:{fr:"Non, fermer sans enregistrer",en:"No, close without saving",nl:"Nee, sluiten zonder opslaan",oc:"Non, clavar sens enregistrar",de:"Nein, schliessen Sie ohne zu speichern"},sureToRemovePubli:{fr:"Êtes-vous sûr de vouloir supprimer cette recette ?",en:"Do you really want to delete this recipe?",nl:"Weet u zeker dat u deze publicatie wilt verwijderen?",oc:"Sètz segur de voler suprimir aquesta recèpta ?",de:"Sind sie sicher dass sie diese Publikation löschen möchten ?"},publiHasPubliRelyingOnItCantDelete:{fr:"Ce modèle est utilisé comme référence par une ou plusieurs recettes réponses et ne peut donc pas être supprimé.",en:"This model is used by one or more reply recipes and cannot be deleted as long as this is the case."},sure_to_cancel_stopmotion:{fr:"Êtes-vous sûr de vouloir arrêter cette animation ? Vous pourrez la retrouver dans le menu <i>Liste des animations</i>",en:"Do you really want to cancel this stopmotion? You can resume making it by clicking on <i>Stopmotion list</i>",nl:"Weet je zeker dat je deze animatie wilt stoppen? U kunt het terugvinden in het menu <i>Lijst van animaties</i>.",oc:"Sètz segur de voler arestar aquesta animacion ? La poiretz tornar trobar dins lo menut <i>Tièra de las animacions<i>",de:"Sind Sie sicher, dass Sie diese Animation stoppen wollen? Sie finden sie im Menü <i>Liste der Animationen<i>"},validate_media:{fr:"Valider le média",en:"Validate the media",nl:"Media valideren",oc:"Validar lo mèdia",de:"Medium überprüfen"},add_keyword:{fr:"Ajouter un mot-clé",en:"Add a keyword",nl:"Kernwoord toevoegen",oc:"Apondre un mot-clau",de:"Ein Stichwort hinzufügen"},add:{fr:"Ajouter",en:"Add",nl:"Toevoegen",oc:"Apondre",de:"Hinzufügen"},close:{fr:"Fermer",en:"Fermer",nl:"Sluiten",oc:"Clavar",de:"Schliessen"},very_high:{fr:"Très élevée",en:"Very high",nl:"Zeer hoog",oc:"Fòrça nauta",de:"Hochragend"},high:{fr:"Élevée",en:"High",nl:"Hoog",oc:"Nauta",de:"Hochgezogen"},medium:{fr:"Moyenne",en:"Medium",nl:"Medium",oc:"Mejana",de:"Mittelgrösse"},low:{fr:"Basse",en:"Low",nl:"Laag",oc:"Bassa",de:"Niedrig"},draft:{fr:"Ébauche",en:"Draft"},video_export_draft_instructions:{fr:"Ce mode permet de rapidement créer le résultat d’un recette pour tester le rythme et les niveaux sonores, au détriment de la qualité de l’image. La vidéo résultante ne pourra pas être enregistré.",en:"This mode is the most convenient to test the rythm and the audio levels, with a mediocre image quality. The resulting video cannot be saved."},video_export_custom_quality_instructions:{fr:"Réglez ci-dessous la largeur × la hauteur, en pixels. Utilisez uniquement des valeurs entières et paires.",en:"Set custom width × height in the following fields, in pixels. Use only whole, even values."},showing:{fr:"Affichage de",en:"Showing",nl:"Weergave ",oc:"Affichatge de",de:"Anzeige"},media_filter:{fr:"Filtre de médias",en:"Medias filter",nl:"Bestandsfilter",oc:"Filtre de mèdias",de:"Medienfilter"},no_projects_yet:{fr:"Il n’y a pas encore de projet, créez-en un pour commencer à utiliser do•doc !",en:"No projects yet, create one to start using do•doc!",nl:"Er is nog geen project, maak er een aan om do•doc in gebruik te nemen!",oc:"Pas de projèctes encara, creatz-ne un per començar d'utilizar do•doc !",de:"Es gibt noch kein Projekt, erstellen Sie eines, um mit der Arbeit zu beginnen"},projects_of:{fr:"projets sur",en:"projects of",nl:"projecten van",oc:"projèctes sus",de:"Projekte auf"},recipes_of:{fr:"recettes sur",en:"recipes of"},medias_of:{fr:"médias sur",en:"medias of",nl:"bestanden van",oc:"mèdias sus",de:"Medien auf"},projects:{fr:"Projets",en:"Projects",nl:"Projecten",oc:"Projèctes",de:"Projekte"},project:{fr:"Projet",en:"Project",nl:"Project",oc:"Projècte",de:"Projekt"},folder:{fr:"Dossier",en:"Folder"},add_a_cover_image:{fr:"Ajouter une image de couverture",en:"Add a cover image",de:"Coverbild auswählen"},medias:{fr:"Médias",en:"Medias",nl:"Bestanden",oc:"Mèdias",de:"Medien"},text_and_medias:{fr:"Médias et textes",en:"Medias and texts"},media:{fr:"Média",en:"Media",nl:"Media",oc:"Mèdia",de:"Medium"},authors:{fr:"Auteurs",en:"Authors",nl:"Auteurs",oc:"Autors",de:"Autoren"},participants:{fr:"Participants",en:"Participants"},authors_list:{fr:"Liste des auteurs",en:"List of authors",nl:"Lijt van auteurs",oc:"Tièra dels autors",de:"Autorenliste"},create_an_author:{fr:"Créer un auteur",en:"Create an author",nl:"Maak een auteur aan",oc:"Crear un autor",de:"einen Autor erstellen"},who_can_edit:{fr:"Qui peut contribuer",en:"Who can contribute"},consultation:{fr:"Consultation",en:"Consultation"},visible_to_all:{fr:"Visible par tout le monde",en:"Visible for everyone"},visible_to_authors:{fr:"Visible par les auteurs uniquement",en:"Visible for authors only"},visible_to_nobody:{fr:"Visible pour personne",en:"Visible for noone"},only_authors:{fr:"Seulement les auteurs",en:"Only authors"},protected_by_authors:{fr:"Protégé par les auteurs",en:"Protected by authors"},with_password:{fr:"Avec un mot de passe",en:"With a password"},everybody:{fr:"Tout le monde",en:"Everybody"},favorite_medias:{fr:"Média favoris",en:"Favorite medias",nl:"Favoriete media",oc:"Mèdia favorit",de:"Lieblingsmedien"}},"all_medias",{fr:"Tous les médias",en:"All medias",nl:"Alle media",oc:"Totes los mèdias",de:"Alle Medien"}),i(o,"write",{fr:"Écrire",en:"Write",nl:"Schrijven",oc:"Escriure",de:"Schreiben"}),i(o,"placeholder",{fr:"Bloc éditable",en:"Editable bloc"}),i(o,"divider",{fr:"Séparateur",en:"Divider"}),i(o,"import",{fr:"Importer",en:"Import",nl:"Importeren",oc:"Importar",de:"Importieren"}),i(o,"import_all_files",{fr:"Importer tous les fichiers",en:"Import all files",nl:"Importeer alle bestanden",oc:"Importar totes los fichièrs",de:"Alle Dateien importieren"}),i(o,"import_medias",{fr:"Importer des médias",en:"Import medias",nl:"Importeer media",oc:"Importar de mèdias",de:"Alle Medien importieren"}),i(o,"select_files_to_import",{fr:"Sélectionner les fichiers à importer",en:"Select files to import",nl:"Selecteer bestanden om te importeren ",oc:"Seleccionar los fichièrs d'importar",de:"Zu importierende Dateien auswählen"}),i(o,"upload_from_device",{fr:"Importer un fichier image",en:"Upload an image file",nl:"Selecteer een omslagafbeelding",oc:"Importar un fichièr imatge",de:"Importieren einer Bilddatei"}),i(o,"or_choose_from_image_medias",{fr:"Ou choisir un média image",en:"Or choose from image medias",oc:"O causir un mèdia imatge",de:"Oder ein Bildmedium auswählen"}),i(o,"select_portrait_image",{fr:"Importer un fichier image",en:"Import an image file",nl:"Selecteer een portretfoto",oc:"Importar un fichièr imatge",de:"Porträtbild auswählen"}),i(o,"add_to_recipe",{fr:"Ajouter à la recette",en:"Add to recipe",nl:"Toevoegen aan recept",oc:"Apondre a la recèpta",de:"Zum Rezept hinzufügen"}),i(o,"add_a_page",{fr:"Ajouter une page",en:"Add a page",nl:"Een pagina toevoegen",oc:"Apondre una pagina",de:"Eine Seite hinzufügen"}),i(o,"insert_a_page_here",{fr:"Insérer une page ici",en:"Insert a page here",nl:"Hier een pagina invoegen",oc:"Inserir una pagina aicí",de:"Eine Seite davor hinzufügen"}),i(o,"insert_medias_here",{fr:"Insérer un média ici",en:"Insert a media here"}),i(o,"anonymous",{fr:"anonyme",en:"anonymous",nl:"anoniem",oc:"anonime",de:"anonym"}),i(o,"other_users",{fr:"autres utilisateurs",en:"other users",nl:"andere gebruikers",oc:"autres utilizaires",de:"Andere Benutzer"}),i(o,"other_users_connected",{fr:"autres utilisateurs connectés",en:"other user connected",nl:"andere verbonden gebruikers",oc:"autres utilizaires connectats",de:"Andere verbundene Benutzer"}),i(o,"mix_medias",{fr:"Mélanger des médias",en:"Mix medias",nl:"Mengen van media",oc:"Mesclar de mèdias",de:"Die Medien mischen"}),i(o,"made_with_dodoc",{fr:"Page web réalisée avec l’application libre et gratuite do•doc",en:"Webpage made with do•doc, a free and open-source app",nl:"Webpagina gerealiseerd met de gratis applicatie do•doc",oc:"Pagina web creada amb l'aplicacion liura e gratuita do•doc",de:"Webseite erstellt mit der kostenlosen und quelloffenen Anwendung do•doc"}),i(o,"loading",{fr:"chargement",en:"loading",nl:"laden",oc:"cargament",de:"laden"}),i(o,"open",{fr:"Ouvrir",en:"Open",nl:"Openen",oc:"Dubrir",de:"Öffnen"}),i(o,"save",{fr:"Enregistrer",en:"Save",nl:"Opslaan",oc:"Enregistrar",de:"Speichern"}),i(o,"as_favorite",{fr:"+ favoris",en:"+ favourite",nl:"toevoegen aan favorieten",oc:"+ favorits",de:"als Favorit"}),i(o,"edit",{fr:"Modifier",en:"Edit",nl:"Wijzigen",oc:"Modificar",de:"Bearbeiten"}),i(o,"width",{fr:"Largeur",en:"Width",nl:"Breedte",oc:"Largor",de:"Breite"}),i(o,"height",{fr:"Hauteur",en:"Height",nl:"Hoogte",oc:"Nautor",de:"Höhe"}),i(o,"zoom",{fr:"Zoom",en:"Zoom",nl:"Zoom",oc:"Zoom",de:"Zoom"}),i(o,"reset",{fr:"Remettre à 1",en:"Reset"}),i(o,"settings",{fr:"Réglages",en:"Settings",nl:"Instellingen",oc:"Reglatges",de:"Einstellungen"}),i(o,"page_settings",{fr:"Réglages de la page",en:"Page settings"}),i(o,"stopmotion_list",{fr:"Liste des animations",en:"Stopmotion list",nl:"Lijst van animaties",oc:"Tièra de las animacions",de:"Liste der Animationen"}),i(o,"print",{fr:"Imprimer",en:"Print",nl:"Afdrukken",oc:"Estampar",de:"Druken"}),i(o,"create",{fr:"Créer",en:"Create",nl:"Aanmaken",oc:"Crear",de:"Erstellen"}),i(o,"remove",{fr:"Supprimer",en:"Remove",nl:"Verwijderen",oc:"Suprimir",de:"Löschen"}),i(o,"remove_image",{fr:"Supprimer l’image",en:"Remove image",oc:"Suprimir l'imatge",de:"Dieses Bild löschen"}),i(o,"remove_layer",{fr:"Supprimer le calque",en:"Remove layer"}),i(o,"remove_selection",{fr:"Supprimer la sélection",en:"Remove selection"}),i(o,"withdraw",{fr:"Enlever",en:"Withdraw",nl:"Terugtrekken",oc:"Tirar",de:"Enfernen"}),i(o,"remove_this_image",{fr:"Supprimer cette image",en:"Remove this image",nl:"Dit beeld verwijderen",oc:"Suprimir aqueste imatge",de:"Dieses Bild löschen"}),i(o,"password",{fr:"Mot de passe",en:"Password",nl:"Wachtwoord",oc:"Mot de Santa Clara",de:"Kennwort"}),i(o,"password_required_to_open",{fr:"Mot de passe requis",en:"Password required",nl:"Wachtwoord vereist",oc:"Mot de Santa Clara requesit",de:"Kennwort zum Öffnen der Datei"}),i(o,"password_required_to_edit",{fr:"Mot de passe requis pour contribuer",en:"Password required to contribute"}),i(o,"only_authors_can_open",{fr:"Accès limité aux auteurs",en:"Access limited to authors"}),i(o,"only_password_can_open",{fr:"Accès limité par mot de passe",en:"Access limited with password"}),i(o,"ask_to_be_added_to_authors",{fr:"Demander à être rajouté aux auteurs pour contribuer",en:"Request to be added to authors list to contribute"}),i(o,"login_to_access_project",{fr:"Identifiez-vous pour accéder",en:"Login to access"}),i(o,"login_to_edit_project",{fr:"Identifiez-vous pour contribuer",en:"Login to contribute"}),i(o,"show_password",{fr:"Afficher le mot de passe",en:"Show password",nl:"Wachtwoord tonen ",oc:"Afichar lo mot de Santa Clara",de:"Kennwort anzeigen"}),i(o,"hide",{fr:"Cacher",en:"Hide",nl:"Verbergen",oc:"Amagar",de:"Ausblenden"}),i(o,"transition_fade",{fr:"Transition : fondu enchaîné",en:"Transition: fade"}),i(o,"linked_media_wasnt_found",{fr:"Le média lié n’a pas été trouvé parmis les projets.",en:"The linked media wasn’t found amongst the projects."}),i(o,"protected_by_pass",{fr:"protégé par mot de passe",en:"protected by password",nl:"Beveiligd met een wachtwoord. ",oc:"protegit per mot de Santa Clara",de:"Passwortgeschützt"}),i(o,"font_size",{fr:"Taille de la police",en:"Font-size"}),i(o,"import_medias_from_projects_or_create_shapes_here",{fr:"Importez des médias situés dans les projets ou créez des blocs avec les options ci-dessous.",en:"Import medias from projects or create new blocs with the following options."}),i(o,"click_on_a_bloc_to_edit_its_presentation",{fr:"Cliquez sur un bloc pour modifier son aspect",en:"Click on a bloc to change its aspect"}),i(o,"password_instructions",{fr:"Si existant, seul les utilisateurs possédant ce mot de passe pourront ouvrir ce contenu.",en:"If set, only users with the password will be able to open this content.",nl:"Indien van toepassing, alleen gebruikers met dit wachtwoord kunnen dit project openen.",oc:"Si existent, sonque los utilizaires tenent aqueste mot de Santa Clara poiràn dubrir aqueste projècte.",de:"Wenn vorhanden, können nur Benutzer mit diesem Passwort dieses Projekt öffnen"}),i(o,"author_instructions",{fr:"Pour créer des auteurs, fermez cette fenêtre et cliquez sur le bouton (AUTEURS).",en:"To create authors, close this window and click on (AUTHORS).",nl:"Om auteurs aan te maken, sluit dit venster en klik op de knop (AUTEURS).",oc:"Per crear d'autors, clavatz aquesta fenèstra e clicatz sul boton (AUTORS)."}),i(o,"access_control",{fr:"Collaboration",en:"Collaboration"}),i(o,"attached_to_project_instructions",{fr:"Ce champ est utilisé pour retrouver plus facilement les recettes en lien avec un projet.",en:"This information is used only to make it easier to find all the recipes linked to a specific project."}),i(o,"translate_dodoc_instructions",{fr:"Pour proposer une nouvelle traduction, rendez-vous sur le <a href='https://forum.latelier-des-chercheurs.fr/t/traduire-do-doc-comment-s-y-prendre/' class='js--openInBrowser' target='_blank'>forum dédié</a> ou contactez-nous par mail : <a href='mailto:info@latelier-des-chercheurs.fr?subject=traduire%20do•doc' class='js--openInBrowser' target='_blank'>info@latelier-des-chercheurs.fr</a>.",en:"To translate do•doc, consult the following <a href='https://forum.latelier-des-chercheurs.fr/t/traduire-do-doc-comment-s-y-prendre/' class='js--openInBrowser' target='_blank'>forum post (in french)</a> or get in touch via email: <a href='mailto:info@latelier-des-chercheurs.fr?subject=translate%20do•doc' class='js--openInBrowser' target='_blank'>info@latelier-des-chercheurs.fr</a>."}),i(o,"when_logged_as_author_content_will_be_tagged",{fr:"Lorsque vous êtes identifié comme auteur tous les projets, médias et recettes que vous créez porteront votre nom. Vous seul pourrez les modifier ou les supprimez.",en:"When logged in as an author all projects, medias and recipes you create will be tagged with your name."}),i(o,"more_informations_on_authors",{fr:"Vous pourrez ajouter d’autres co-auteurs directement dans les projets, médias et recettes. Si vous supprimez un auteur, tous les médias, projets et recettes conserveront le nom d’auteur et ne seront pas supprimées.",en:"You can add co-authors in the projects, medias and recipes. If you remove an author, all the projects, medias and recipes will keep this author name and won’t be removed.",oc:"Poiretz apondre d'autres co-autors directament dins los projèctes, mèdias e recèptas. Si suprimissètz un autor, totes los mèdias, projèctes e recèptas servaràn lo nom d'autor e seràn pas suprimidas.",de:"Sie können weitere Co-Autoren direkt in Projekte, Medien und Rezepte eintragen. Wenn Sie einen Autor entfernen, behalten alle Medien, Projekte und Rezepte den Namen des Autors und werden nicht gelöscht."}),i(o,"sort_by",{fr:"Organiser par",en:"Sort by",nl:"Sorteer volgens",oc:"Organizar per",de:"Organisiert von"}),i(o,"by",{fr:"par",en:"by",nl:"per",oc:"per",de:"von"}),i(o,"in_the_order",{fr:"Dans l’ordre",en:"In the order",nl:"In volgorde",oc:"Dins l'òrdre",de:"in der Reihenfolge"}),i(o,"public",{fr:"Public",en:"Public",nl:"Publiek",oc:"Public",de:"Publikum"}),i(o,"fav",{fr:"Favoris",en:"Favourite",nl:"Favoriet",oc:"Favorits",de:"Favoriten"}),i(o,"content",{fr:"Contenu",en:"Content",nl:"Inhoud",oc:"Contengut",de:"Inhalt"}),i(o,"lang",{fr:"Changer la langue",en:"Select lang",nl:"De taal wijzigen",oc:"Cambiar la lenga",de:"Die Sprache ändern"}),i(o,"share_access",{fr:"Accéder depuis d’autres appareils",en:"Access from other devices",nl:"Toegang verlenen via andere toestellen ",oc:"Accedir dins d'autres aparelhs",de:"Zugriff von anderen Geräten freigeben"}),i(o,"scan_qr_code",{fr:"Scanner un code QR",en:"Scan a QR code",nl:"QR-code scannen ",oc:"Escanerizar un còde QR",de:"QR-Code scannen"}),i(o,"photo",{fr:"photo",en:"picture",nl:"foto",oc:"fòto",de:"Foto"}),i(o,"video",{fr:"vidéo",en:"video",nl:"video",oc:"vidèo",de:"Video"}),i(o,"stl",{fr:"STL",en:"STL"}),i(o,"stopmotion",{fr:"animation",en:"stopmotion",nl:"animatie",oc:"animacion",de:"Animation"}),i(o,"audio",{fr:"son",en:"sound",nl:"geluid",oc:"son",de:"Ton"}),i(o,"vecto",{fr:"formes",en:"shapes",nl:"vormen",oc:"formas",de:"Formen"}),i(o,"image",{fr:"image",en:"image",nl:"beeld",oc:"imatge",de:"Bild"}),i(o,"text",{fr:"texte",en:"text",nl:"tekst",oc:"tèxte",de:"Text"}),i(o,"choices",{fr:"Choix multiples",en:"Multiple choices"}),i(o,"single_choice",{fr:"Un choix unique",en:"Single choice"}),i(o,"multiple_choices_possible",{fr:"Plusieurs choix possibles",en:"Multiple choices possibles"}),i(o,"document",{fr:"document",en:"document",nl:"document",oc:"document",de:"Dokument"}),i(o,"other",{fr:"autre",en:"other",nl:"andere",oc:"autre",de:"Sonstige"}),i(o,"with_sound",{fr:"avec le son",en:"with sound",nl:"met geluid",oc:"amb lo son",de:"mit Ton"}),i(o,"generate",{fr:"Générer",en:"Generate",nl:"Genereren",oc:"Generar",de:"Generieren"}),i(o,"select",{fr:"Sélection",en:"Select",nl:"Selecteren",oc:"Seleccionar",de:"Auswählen"}),i(o,"unselect",{fr:"Dé-sélectionner",en:"Unselect",nl:"Deselecteren",oc:"Deseleccionar",de:"Auswahl aufheben"}),i(o,"ellipsis",{fr:"Ellipse",en:"Ellipsis"}),i(o,"rectangle",{fr:"Rectangle",en:"Rectangle"}),i(o,"line",{fr:"Ligne",en:"Line"}),i(o,"arrow",{fr:"Flèche",en:"Arrow"}),i(o,"toconnectwithanotherdevice",{fr:"Pour accéder à cet élément avec un autre appareil, connectez vous au même réseau wifi puis entrez l’url suivante dans un navigateur web, ou bien scannez le code QR : ",en:"To access this do•doc element with another device, first connect it to the same wifi network, then type this adress in your browser or scan this QR code:",nl:"Om dit item met een ander apparaat te openen , maak verbinding met hetzelfde wifi-netwerk en voer vervolgens de volgende URL in een webbrowser in, of scan de QR-code: ",oc:"Per accedir aqueste element amb un autre aparelh, conectatz-vos al meteis ret wifi puèi dintratz l'url seguenta dins un navigador web, o escanerizatz lo còde QR :",de:"Um mit einem anderen Gerät auf dieses Element zuzugreifen, verbinden Sie sich zum gleichen Wifi-Netzwerk und geben Sie die folgende Url in einem Webbrowser ein oder scannen Sie den Code QR :"}),i(o,"sureToRemoveProject",{fr:"Êtes-vous sûr de vouloir supprimer ce projet ?",en:"Do you really want to delete this project?",nl:"Weet u zeker dat u dit project wilt verwijderen?",oc:"Sètz segur de voler suprimir aqueste projècte ?",de:"Sind Sie sicher, dass Sie dieses Projekt zu entfernen?"}),i(o,"sureToRemoveMedia",{fr:"Êtes-vous sûr de vouloir supprimer ce média ?",en:"Do you really want to delete this media?",nl:"Weet u zeker dat u deze media wilt verwijderen?",oc:"Sètz segur de voler suprimir aqueste mèdia ?",de:"Sind Sie sicher, dass Sie dieses Medium zu entfernen?"}),i(o,"sure_to_remove_message",{fr:"Êtes-vous sûr de vouloir supprimer ce message ?",en:"Do you really want to delete this message?"}),i(o,"sureToRemovePage",{fr:"Êtes-vous sûr de vouloir supprimer cette page ?",en:"Do you really want to delete this page?"}),i(o,"sureToRemoveLayer",{fr:"Êtes-vous sûr de vouloir supprimer ce calque ?",en:"Do you really want to delete this layer?"}),i(o,"edit_the_media",{fr:"Éditer le média",en:"Edit media",nl:"Media bewerken",oc:"Editar lo mèdia",de:"Media bearbeiten"}),i(o,"edit_project",{fr:"Éditer le projet",en:"Edit project",nl:"Project bewerken",oc:"Editar lo projècte",de:"Projekt bearbeiten"}),i(o,"edit_publication",{fr:"Éditer la recette",en:"Edit recipe",nl:"Recept bewerken",oc:"Editar la recèpta",de:"Rezept bearbeiten"}),i(o,"switch_fit_mode",{fr:"Change le mode de remplissage",en:"Switch fit mode"}),i(o,"drop_here_to_import",{fr:"Déposez les médias ici pour les importer",en:"Drop the files here to import",nl:"Laad de bestanden hier om te importeren ",oc:"Depausatz vòstres contenguts aicí per los importar",de:"Hier zum Importieren ablegen"}),i(o,"capture",{fr:"Capturer",en:"Capture",nl:"Vastleggen",oc:"Capturar",de:"Aufnahme"}),i(o,"current",{fr:"Actuellement",en:"Current",nl:"Nu",oc:"Ara",de:"Aktuell"}),i(o,"currently",{fr:"Actuellement",en:"Now",nl:"Momenteel",oc:"Ara",de:"Derzeit"}),i(o,"update",{fr:"Mettre à jour",en:"Update",nl:"Bijwerken",oc:"Metre a jorn",de:"Aktualisieren"}),i(o,"more_information",{fr:"Pour plus d’information, consultez la <a href='https://latelier-des-chercheurs.fr/docs/manuel-dodoc' class='js--openInBrowser' target='_blank'>documentation</a> ou <a href='mailto:info@latelier-des-chercheurs.fr?subject=do•doc' class='js--openInBrowser' target='_blank'>contactez</a> les auteurs de ce logiciel.",en:"For more informations, read the <a href='https://latelier-des-chercheurs.fr/docs/manuel-dodoc' class='js--openInBrowser' target='_blank'>documentation (in french)</a> or <a href='mailto:info@latelier-des-chercheurs.fr?subject=do•doc' class='js--openInBrowser' target='_blank'>contact</a> the creators of this app.",nl:"Voor meer informatie. , bezoek <a href='https://latelierdes-chercheurs.fr/docs/manuel-dodoc' class='js--openInBrowser' target='_blank'>documentatie</a> ou <a href='mailto:info@latelier-des-chercheurs.fr?subject=do•doc' class='js--openInBrowser' target='_blank'>contacteer</a> de auteurs van dit programma.",oc:"Per mai d’informacion, consultatz la <a href='https://latelier-des-chercheurs.fr/docs/manuel-dodoc' class='js--openInBrowser' target='_blank'>documentation</a> o <a href='mailto:info@latelier-des-chercheurs.fr?subject=do•doc' class='js--openInBrowser' target='_blank'>contactatz</a> los autors d'aqueste logicial.",de:"Für mehr Informationen schauen sie bei <a href='https://latelier-des-chercheurs.fr/docs/manuel-dodoc' class='js--openInBrowser' target='_blank'>Dokumentation (auf Französisch)</a> oder <a href='mailto:info@latelier-des-chercheurs.fr?subject=do•doc' class='js--openInBrowser' target='_blank'>kontaktieren Sie </a> die Autoren dieser Software."}),i(o,"no_images_to_show",{fr:"Aucun média image à afficher.",en:"No image to show.",oc:"Cap de mèdia imatge d'afichar.",de:"Keine Bildmedien zur Anzeige."}),i(o,"more_informations",{fr:"Plus d’infos",en:"More infos",nl:"Meer info",oc:"Mai d'infos",de:"Mehr Informationen"}),i(o,"contents_are_stored",{fr:"Les contenus de ce dossier sont enregistrés dans ",en:"Contents for this folder are stored in ",nl:"De inhoud van dit bestand wordt opgeslagen in ",oc:"Los contenguts d'aqueste dorsièr son enregistrats dins",de:"Der Inhalt dieses Ordners wird gespeichert in"}),i(o,"folder_information",{fr:"Informations du dossier",en:"Folder informations",nl:"map-info",oc:"Informacions del dorsièr",de:"Dateiinformationen"}),i(o,"calendar",{fr:"Calendrier",en:"Calendar",nl:"Kalender",oc:"Calendièr",de:"Kalender"}),i(o,"now",{fr:"en ce moment",en:"now",nl:"op dit moment",oc:"d'aquesta passa",de:"Jetzt"}),i(o,"list",{fr:"Liste",en:"List",nl:"Lijst",oc:"Tièra",de:"Liste"}),i(o,"fullscreen",{fr:"Plein écran",en:"Fullscreen",nl:"Volledig scherm",oc:"Plen ecran",de:"Vollbild"}),i(o,"cover_image",{fr:"Image de couverture",en:"Cover image",oc:"Imatge de cobertura",de:"Coverbild"}),i(o,"filter",{fr:"Filtre",en:"Filter",nl:"Filter",oc:"Filtre",de:"Filter"}),i(o,"filters",{fr:"Filtres",en:"Filters",nl:"Filters",oc:"Filtres",de:"Filter"}),i(o,"header_left",{fr:"En-tête gauche",en:"Left header text",nl:"Linker koptekst",oc:"Entèsta esquèrra",de:"Kopfzeile links"}),i(o,"header_right",{fr:"En-tête droite",en:"Right header text",nl:"Rechtse koptekst",oc:"Entèsta drecha",de:"Kopfzeile rechts"}),i(o,"gridstep",{fr:"Pas de la grille d’alignement",en:"Step of alignment grid",nl:"Geen uitlijningsrooster ",oc:"Cap de grilhas d'alinhament",de:"Ausrichtungsgitterabstand"}),i(o,"snap_to_grid",{fr:"Magnétisme",en:"Snap to grid",nl:"Magnetisme",oc:"Magnetisme",de:"Magnetismus"}),i(o,"margin_top",{fr:"Marge: haut",en:"Margin: top",nl:"Marge boven",oc:"Marge: naut",de:"Marge: oben"}),i(o,"margin_left",{fr:"Marge: gauche",en:"Margin: left",nl:"Marge links",oc:"Marge: esquèr",de:"Marge: links"}),i(o,"margin_right",{fr:"Marge: droite",en:"Margin: right",nl:"Marge rechts",oc:"Marge: drech",de:"Marge: rechts"}),i(o,"margin_bottom",{fr:"Marge: bas",en:"Margin: bottom",nl:"Marge beneden",oc:"Marge: bas",de:"Marge: unten"}),i(o,"number_of_medias",{fr:"Nombre de médias",en:"Number of medias",nl:"Aantal media",oc:"Nombre de mèdias",de:"Anzahl der Medien"}),i(o,"number_of_pages",{fr:"Nombre de pages",en:"Number of pages",nl:"Aantal pagina’s",oc:"Nombre de paginas",de:"Anzahl der Seiten"}),i(o,"show_page_numbers",{fr:"Afficher le numéro de page dans le coin en bas à droite",en:"Show page number in the bottom-right corner",nl:"Geef het paginanummer in de rechterbenedenhoek weer ",oc:"Afichar lo numèro de pagina dins lo caire en bas a drech",de:"Zeigen sie die Seitenzahl in der rechten unteren Ecke an"}),i(o,"export_folder",{fr:"Exporter en format WEB",en:"Export as a webpage",nl:"Exporteren in web formaat",oc:"Exportar en format web",de:"Im WEB-Format exportieren"}),i(o,"export",{fr:"Exporter",en:"Export",nl:"Exporteren",oc:"Exportar",de:"Exportieren"}),i(o,"export_as_pdf",{fr:"Export PDF",en:"Export as PDF",nl:"Exporteren als PDF",oc:"Expòrt PDF",de:"Im PDF-Format exportieren"}),i(o,"new_window",{fr:"Nouvelle fenêtre",en:"New Window",nl:"Nieuw venster ",oc:"Novèla fenèstra",de:"Neues Fenster"}),i(o,"previous_creations",{fr:"Créations précédentes",en:"Previous creations",nl:"Vorige creaties",oc:"Creacions precedentas",de:"Vorheriger Kreationen"}),i(o,"export_video_instructions",{fr:"Cliquez sur le bouton pour lancer la création d’une seule vidéo à partir des vidéos ajoutées à la recette.",en:"Click this button to generate a video from multiple source videos.",nl:"Klik op de knop om een video te maken van de video’s die aan de publicatie zijn toegevoegd.",oc:"Clicatz sul boton per lançar la creacion d'una sola vidèo a partir de las vidèos apondudas a la recèpta.",de:"Klicken Sie auf die Schaltfläche um mit der Erstellung eines einzelnen Vidéos aus den Vidéos zu beginnen die der Veröffentlichung hinzugefügt wurden"}),i(o,"export_audio_video_mix_instructions",{fr:"Cliquez sur le bouton pour lancer la création d’une vidéo à partir du son et de la vidéo sélectionnés.",en:"Click this button to generate a video from the sound and video selected.",nl:"Klik op de knop om een video te maken van het geselecteerde geluid en de geselecteerde video.",oc:"Clicar sul boton per lançar la creacion d'una vidèo dins dels son e de la vidèo seleccionats.",de:"Klicken Sie auf auf die Schaltfläche um die Erstellung eines Videos aus dem gewählten Ton und Video zu beginnen."}),i(o,"export_audio_image_mix_instructions",{fr:"Cliquez sur le bouton pour lancer la création d’une vidéo à partir du son et de l’image sélectionnés.",en:"Click this button to generate a video from the sound and image selected.",nl:"Klik op de knop om een video te maken van het geselecteerde geluid en het geselecteerde beeld.",oc:"Clicar sul boton per lançar la creacion d'una vidèo dins dels son e de l'imatge seleccionats.",de:"Klicken Sie auf die Schaltfläche um die Erstellung eines Videos aus dem gewählten Ton und Bild zu starten."}),i(o,"export_stopmotion_instructions",{fr:"Cliquez sur le bouton pour lancer la création d’une seule vidéo à partir des images ajoutées à la recette.",en:"Click this button to generate a video from images you have selected.",nl:"Klik op de knop om een video te maken van de afbeeldingen die aan de publicatie zijn toegevoegd.",oc:"Clicar sul boton per lançar la creacion d'una sola vidèo en partir dels imatges aponduts a la recèpta.",de:"Klicken Sie auf die Schaltfläche, um die Erstellung eines einzelnen Videos aus den zur Veröffentlichung hinzugefügten Bildern zu starten."}),i(o,"make_video",{fr:"Fabriquer une vidéo",en:"Make a video",nl:"Maak een video",oc:"Fargar una vidèo",de:"Ein Video erstellen"}),i(o,"add_solid_color",{fr:"Ajouter un aplat de couleur",en:"Add solid color"}),i(o,"select_color",{fr:"Changer la couleur",en:"change the color"}),i(o,"interval_between_pictures",{fr:"Intervalle entre chaque photo",en:"Interval between photos",nl:"Interval tussen elk beeld",oc:"Interval entre cada fòto",de:"Intervall zwischen jedem Foto"}),i(o,"publication_list",{fr:"Liste des recettes",en:"Recipes list",nl:"Lijst van publicaties",oc:"Tièra de las recèptas",de:"Rezepturliste"}),i(o,"export_creation",{fr:"Exportation d’une création",en:"Export a creation",nl:"Exporteer een creatie",oc:"Exportacion d'una creacion",de:"Exporterstellung"}),i(o,"get_pdf",{fr:"Pour récupérer un PDF de cette recette (par exemple pour l’imprimer), cliquez sur le bouton ci-dessous :",en:"To download a PDF of this recipe (for example, to print it), click here:",nl:"Als u een PDF van deze publicatie wilt maken (bijvoorbeeld om deze af te drukken), klik op de knop hieronder:",oc:"Per recuperar un PDF d'aquesta recèpta (per exemple per l'estampar), clicatz sul boton çai-jos :",de:"Um ein PDF dieser Veröffentlichung zu erhalten (z.B.um es auszudrucken), klicken Sie auf die Schaltfläche unten."}),i(o,"get_website",{fr:"Pour récupérer un site web contenant cette recette (par exemple pour la diffuser en ligne), cliquez sur le bouton ci-dessous :",en:"To download a website version of this recipe (for example, to publish online), click here:",nl:"Als u een website van deze publicatie wilt maken (bijvoorbeeld om deze online te delen), klikt u op de knop hieronder:",oc:"Per recuperar un sit web contenent aquesta recèpta (per exemple per la difusar en linha), clicatz sul boton çai-jos :",de:"Um eine Webseite mit dieser Veröffentlichung abzurufen (z. B um sie online zu verteilen ), klicken Sie auf die Schaltfläche unten."}),i(o,"download_website",{fr:"Télécharger une version web",en:"Download a website",nl:"Download website",oc:"Telecargar una version web",de:"Eine Webversion herunterladen"}),i(o,"open_in_app",{fr:"Afficher",en:"Open",nl:"Tonen",oc:"Afichar",de:"In App öffnen"}),i(o,"get_a_link",{fr:"Récupérer un lien vers ce document :",en:"Get a link to this document :",nl:"Een koppeling naar dit document ophalen:",oc:"Recuperar un ligam de cap a aqueste document",de:"Einen Link zu diesem Dokument abrufen."}),i(o,"format",{fr:"Format",en:"Format",nl:"Format",oc:"Format",de:"Format"}),i(o,"name_of_copy",{fr:"Nom à donner à la copie",en:"Name of the copy",nl:"Naam die aan de kopie moet worden gegeven",oc:"Nom de balhar a la còpia",de:"Name der Kopie"}),i(o,"template",{fr:"Gabarit",en:"Template",nl:"sjabloon",oc:"Gabarit",de:"Vorlage"}),i(o,"model",{fr:"Modèle",en:"Model"}),i(o,"publi_is_model",{fr:"Cette recette est un modèle",en:"This recipe is a model"}),i(o,"publi_is_model_instructions",{fr:"Si actif, cette recette pourra être utilisée comme référence lors de la création d’autres recettes.",en:"If enabled, this recipe can be selected as a model for other recipes to lean on."}),i(o,"recipes",{fr:"Recettes",en:"Recipes"}),i(o,"URL_to_share_for_replies",{fr:"Pour générer des réponses basées sur ce modèle, partagez cette adresse",en:"To generate replies based on this model, share this URL"}),i(o,"URL_to_edit_in_simple_interface",{fr:"Pour accéder au récit dans l’interface simplifiée",en:"Click here to open this story in a dedicated page"}),i(o,"no_models_yet",{fr:"Aucune recette modèle n’a été créé pour l’instant",en:"No models recipe have been created yet"}),i(o,"publi_follows_model:",{fr:"Cette recette suit le modèle :",en:"This recipe has model:"}),i(o,"select_publi_model",{fr:"Sélectionner un modèle",en:"Select a model"}),i(o,"select_publi_model_instructions",{fr:"Si actif, cette recette reprendra les médias et repères placés dans le modèle.",en:"If enabled, this recipe will display the model’s medias and guides."}),i(o,"archived",{fr:"Archiver",en:"Archived"}),i(o,"archived_explanation",{fr:"Document archivé : il ne peut plus être modifié.",en:"Document is archived: it cannot be edited anymore."}),i(o,"type_of_expected_contents:",{fr:"Type de contenus attendus :",en:"Type of expected contents:"}),i(o,"standard",{fr:"Standard",en:"Standard",nl:"standaard",oc:"Estandard",de:"Standart"}),i(o,"feuille de choux",{fr:"Feuille de Choux",en:"Feuille de Choux",nl:"koolblad",oc:"Feuille de Choux",de:"Kohlblätter"}),i(o,"human tech days",{fr:"Human Tech Days",en:"Human Tech Days",nl:"Human Tech Days",oc:"Human Tech Days",de:"Mensch-Technik Tage"}),i(o,"days",{fr:"Jours",en:"Days"}),i(o,"page_by_page",{fr:"Document page à page",en:"Paged document",nl:"Document pagina per pagina",oc:"Document pagina per pagina",de:"Seite zu Seite Dokument"}),i(o,"story",{fr:"Récit",en:"Story"}),i(o,"stories",{fr:"Récits",en:"Stories"}),i(o,"see_all_my_stories",{fr:"Consulter tous mes récits",en:"See all my stories"}),i(o,"list_of_stories",{fr:"Liste des récits créés",en:"List of stories created"}),i(o,"story_summary",{fr:"",en:""}),i(o,"story_instructions",{fr:"",en:""}),i(o,"carreau",{fr:"Carreau",nl:"Tegel",oc:"Carreau",de:"Kachel"}),i(o,"video_assemblage",{fr:"Montage vidéo",en:"Video editing",nl:"Videobewerking",oc:"Montatge vidèo",de:"Videobearbeartung"}),i(o,"stopmotion_animation",{fr:"Animation image par image",en:"Stopmotion animation",nl:"Stopmotion animatie",oc:"Animacion imatge per imatge",de:"Einzelbild für Bild Animation"}),i(o,"stop_stopmotion",{fr:"Arrêter cette animation",en:"Stop stopmotion"}),i(o,"web",{fr:"Page web",en:"Webpage",nl:"Webpagina",oc:"Pagina web",de:"Webseite"}),i(o,"back_to_project",{fr:"Retour au projet",en:"Back to project",nl:"Terug naar project",oc:"Tornar al projècte",de:"Zurük zum Projeckt"}),i(o,"page_by_page_summary",{fr:"Créer un PDF imprimable ou une page web à mettre en ligne.",en:"Creates a printable PDF or website to upload online.",nl:"Maak een afdrukbare PDF of webpagina om te uploaden.",oc:"Crear un PDF estampable o una pagina web de botar en linha.",de:"Eine druckfähige PDF-Datei oder eine Webseite, die Sie online stellen können."}),i(o,"page_by_page_instructions",{fr:"Cette recette permet de créer un document avec un format précis et plusieurs pages.<br> Médias acceptés : images, vidéos, sons et textes.<br>Créera un PDF imprimable (pour faire des affiches, tracts, journaux, etc.) ou une page web à mettre en ligne.",en:"This recipe can be used to create a paged document with a specific size.<br>Accepted medias: images, videos, sounds and texts.<br>Will create a PDF that can be printed (to make posters, tracts, newspapers, etc.) or a webpage to upload online.",nl:"Met dit recept kunt u een document met een exacte indeling en meerdere pagina’s maken.<br> Ondersteunde media: afbeeldingen, video’s, geluid en tekst.<br>Maak een afdrukbare PDF (om posters, flyers, kranten, enz. te maken) of een webpagina om te uploaden.",oc:"Aquesta recèpta permet de crear un document amb un format precís e mantunas paginas.<br>Mèdias acceptats : imatges, vidèos, sons e tèxtes.<br>Crearà un PDF estampable (per faire d'afichas, tractes, jornals, eca.) o una pagina web de botar en linha.",de:"Dieses Rezept ermöglicht es Ihnen ein Dokument mit einem präzisen Format und mehreren Seiten zu erstellen.<br> Zulässige Medien : Bilder, Videos, Töne und Texte. <br> 'Eine druckfähige PDF-Datei (um Plakate, Flyer, Zeitungen, etc. herzustellen) oder eine Webseite, die Sie online stellen können wird erstellt."}),i(o,"video_assemblage_summary",{fr:"Créer un montage vidéo à partir d’images et de vidéos.",en:"Creates a video from images and videos.",nl:"Maak een videomontage van afbeeldingen en video’s.",oc:"Crear un montatge vidèo en partir d'imatges e de vidèos.",de:"Eine Videomontage aus Bildern und Videos erstellen."}),i(o,"video_assemblage_instructions",{fr:"Cette recette propose de créer un montage vidéo en mettant plusieurs vidéos ou images bout à bout.<br> Médias acceptés : des vidéos et des images.<br>Créera une nouvelle vidéo.",en:"This recipe creates a video from multiple source images and videos, one after the other.<br>Accepted medias: images and videos.<br>Will create a new video.",nl:"Dit recept stelt voor om een video montage te maken door meerdere video’s of afbeeldingen na elkaar te plaatsen.<br> Ondersteunde media: video’s en afbeeldingen.<br>Maakt een nieuwe video.",oc:"Aquesta recèpta prepausa de crear un montatge vidèo en botant mantunas vidèos o imatges cap a cap.<br>Mèdias acceptats imatges e vidèos.<br> Crearà una novèla vidèo.",de:"Dieses Rezept ermöglicht es Ihnen, eine Videomontage zu erstellen, indem Sie mehrere Videos oder Bilder aneinander reihen. <br> Zulässige Medien : Videos und Bilder.<br> Wird ein neues Video erstellen."}),i(o,"stopmotion_animation_summary",{fr:"Assembler des images pour créer une vidéo.",en:"Creates a video from images shown for a specific period of time.",nl:"Beelden samenvoegen om een video te maken.",oc:"Assemblar d'imatges per crear una vidèo.",de:"Zusammenfügen von Bildern zum Erstellen eines Videos."}),i(o,"stopmotion_animation_instructions",{fr:"Cette recette permet l’assemblage d’un nombre illimité d’images pour créer une séquence vidéo dans laquelle elles défilent à une vitesse réglable.<br> Médias acceptés : uniquement des images. Les dimensions de la première image détermine si la vidéo finale est en portrait ou paysage.<br>Créera une nouvelle vidéo.",en:"This recipe takes any number of images as inputs and creates a single video with images displayed at a specific speed.<br>Accepted medias: images of any size. The first image will determine if the video will be in portrait or landscape.<br>Will create a new video.",nl:"Met dit recept kunt u een onbeperkt aantal beelden samenvoegen om een videosequentie te maken waarin deze beelden na elkaar verschijnen aan een in te stellen snelheid.<br> Ondersteunde media: enkel afbeeldingen. De afmetingen van het eerste beeld bepalen of de uiteindelijke video als portret of landschap is ingedeeld.<br>Maakt een nieuwe video.",oc:"Aquesta recèpta permet d'assemblar un nombre illimitat d'imatges per crear una sequéncia vidèo que i desfilan a una vitessa reglabla.<br> Mèdias acceptats : sonque d'imatges. Las dimensions del primièr imatge determina si la vidèo finala es en retrach o paisatge.<br> Crearà una novèla vidèo.",de:"Dieses Rezept erlaubt das Zusammenfügen einer unbegrenzten Anzahl von Bildern zu einer Videosequenz, in der sie mit einer einstellbaren Geschwindigkeit scrollen. <br> Zulässige Medien : nur Bilder. Die Größe des ersten Frames bestimmt, ob das endgültige Video im Hoch- oder Querformat vorliegt.<br> Wird ein neues Video erstellen."}),i(o,"mix_audio_and_video_summary",{fr:"Ajouter ou remplacer du son sur une vidéo.",en:"Add or replace sound that’s on a video.",nl:"Geluid op een video toevoegen of vervangen.",oc:"Apondre o remplaçar de son sus una vidèo.",de:"Hinzufügen oder Ersetzen von Ton zu einem Video."}),i(o,"mix_audio_and_video_instructions",{fr:"Cette recette prend une vidéo et une piste audio. Elle ajoute ou remplace la bande sonore de la vidéo avec celle qui est sélectionnée.<br> Médias acceptés : une vidéo et une piste sonore.<br>Créera une nouvelle vidéo de la durée du plus long média.",en:"This recipe mixes a video and an audio track to create a new video where they are played at the same time.<br>Accepted medias: a video and a sound track.<br>Will create a new video.",nl:"Dit recept gebruikt een videobestand en een audionummer. Hiermee wordt de soundtrack aan de video toegevoegd of vervangen door het gekozen geluidsbestand.<br> Ondersteunde media: video- en geluidsbestanden.<br>Maakt een nieuwe video met de lengte van de langste media.",oc:"Aquesta recèpta pren una vidèo e una pista audio. Apond o remplça la banda sonora de la vidèo amb la qu'es seleccionada.<br>Mèdias acceptats: una vidèo e una pista sonora.<br>Crearà una novèla vidèo de la duradadel mai long mèdia.",de:"Dieses Rezept nimmt eine Video und eine Tonspur. Er fügt die Tonspur des Videos hinzu oder ersetzt ihn durch der ausgewählten Tonspur.<br> Zulässige Medien : ein Video und eine Tonspur.<br> Wird ein neues Video mit der längsten Medienlänge erstellen."}),i(o,"drawing_pad",{fr:"Bloc dessin",en:"Drawing pad"}),i(o,"drawing",{fr:"Dessin libre",en:"Drawing"}),i(o,"drawing_pad_summary",{fr:"Dessinez, annotez, créez des visuels interactifs ou imprimables.",en:"Draw, annotate, mind map, etc."}),i(o,"drawing_pad_instructions",{fr:"Dessinez, annotez, créez des visuels interactifs ou imprimables.",en:"Draw, annotate, mind map, etc."}),i(o,"mix_audio_and_image_summary",{fr:"Ajouter du son sur une image.",en:"Add sound to an image to create a video.",nl:"Geluid toevoegen aan een beeld.",oc:"Apondre de son sus un imatge.",de:"Ton zum Video hinzufügen."}),i(o,"mix_audio_and_image_instructions",{fr:"Cette recette prend une image et une piste audio. Elle permet de créer des <i>images parlantes</i>.<br> Médias acceptés : une image et une piste sonore.<br>Créera une vidéo de la durée de la piste sonore.",en:"This recipe mixes an image with an audio track to create a <i>speaking image</i><br>Accepted medias: an image and a sound track.<br>Will create a new video.",nl:"Dit recept gebruikt een beeld- en een geluidsbetand. Het maakt het mogelijk om <i>sprekende beelden te maken .<br> Ondersteunde media: beeld- en geluidsbestand.<br>Maakt een video met de duur van het geluidsbestand.",oc:"Aquesta recèpta pren un imatge e una p ista audio. Permet de crear d'<i>imatges parlantas<i>.<br> Mèdias acceptats : un imatge e una pista sonora.<br>Crearà una vidèo de la durada de la pista sonora.",de:"Dieses Rezept nimmt ein Bild und eine Audiospur auf. Es erlaubt Ihnen, <i>sprechende Bilder zu erstellen</i>.<br> Zulässige Medien : ein Bild und eine Tonspur.<br>Wird ein Video über die Dauer der Tonspur erstellen."}),i(o,"video_effects",{fr:"Effets vidéo",en:"Video effects"}),i(o,"video_effects_summary",{fr:"Appliquer des effets et filtres sur une vidéo.",en:"Apply video effects and filters to a video."}),i(o,"video_effects_instructions",{fr:"Liste des effets et filtres disponibles : noir et blanc, ralenti, accéléré, inversion de la lecture, rotation et miroir.<br>Média accepté : une seule vidéo.",en:"Video effects and filters available: black and white, speed up, slow down, play backwards, rotate and miroir.<br>Accepted media: a single video."}),i(o,"effect",{fr:"Effet",en:"Effect"}),i(o,"black_and_white",{fr:"Noir et blanc",en:"Black and white"}),i(o,"watermark",{fr:"Habillage",en:"Watermark"}),i(o,"watermark_instructions",{fr:"Sélectionnez une image à placer dans le coin supérieur droit de la vidéo.",en:"Choose an image to place in the top-right corner of the video."}),i(o,"colored_filter",{fr:"Filtre coloré",en:"Colored filter"}),i(o,"filters_color",{fr:"Couleur du filtre",en:"Filter’s color"}),i(o,"slow_down",{fr:"Ralentir",en:"Slow down"}),i(o,"slowing_video_down_limit",{fr:"Attention ! La piste audio sera supprimée (si elle existe) car la vitesse souhaitée est trop lente. Pour garder et convertir le son choisissez une vitesse entre 0,5 et 1.",en:"Warning! The audio track will be removed (if it exists) because the slow down is too low. To keep the audio track select a value between 0.5 and 1."}),i(o,"speed_up",{fr:"Accélérer",en:"Speed up"}),i(o,"a_little",{fr:"Un peu",en:"A little"}),i(o,"a_lot",{fr:"Beaucoup",en:"A lot"}),i(o,"clockwise",{fr:"Dans le sens des aiguilles d’une montre",en:"Clockwise"}),i(o,"counterclockwise",{fr:"Dans le sens inverse des aiguilles d’une montre",en:"Counterclockwise"}),i(o,"reverse",{fr:"Inverser le début et la fin",en:"Reverse"}),i(o,"rotate",{fr:"Pivoter",en:"Rotate"}),i(o,"error:",{fr:"Erreur :",en:"Error:"}),i(o,"mirror",{fr:"Miroir",en:"Mirror"}),i(o,"horizontal_flip",{fr:"Retournement horizontal",en:"Horizontal flip"}),i(o,"vertical_flip",{fr:"Retournement vertical",en:"Vertical flip"}),i(o,"both",{fr:"Les deux",en:"Both"}),i(o,"last_message",{fr:"Dernier message",en:"Last message"}),i(o,"save_following_address_and_come_back_later",{fr:"Enregistrez l’adresse suivante pour finaliser plus tard.",en:"Save this URL to connect again and finish in the future."}),i(o,"finished_writing_reply",{fr:"Vous avez terminé ?",en:"Are you finished?"}),i(o,"lock_and_publish",{fr:"Verrouillez et publiez votre récit",en:"Lock and publish this story"}),i(o,"carreau_summary",{fr:"Empiler des médias pour créer en temps réel des présentations.",en:"Stack multiple medias on a single surface to project content.",nl:"Media samenvoegen om real-time presentaties te maken.",oc:"Apilar de mèdias per crear en temps real de presentacion.",de:"Medien stapeln um Echtzeit Präsentationen zu erstellen."}),i(o,"carreau_instructions",{fr:"Cette recette permet de collaborer à plusieurs sur la même surface pour présenter des médias de différent type. Ouvrez une nouvelle fenêtre vers cette recette en plein écran sur un projecteur pour afficher uniquement la surface.<br> Médias acceptés : images, vidéos, sons.",en:"Use this mode to show multiple medias on a large projection or screen, for example by opening a browser and clicking on the fullscreen button.<br>Accepted medias: images, videos and sounds.",nl:"Met dit recept kunt u met meerdere op hetzelfde platform samenwerken om verschillende soorten media te presenteren. Open een nieuw venster naar dit recept op volledig scherm met een projector om alleen het platform weer te geven.<br>Ondersteunde media: afbeeldingen, video’s, geluidsbestanden.",oc:"Aquesta recèpta permet de collaborar a mantunes sus la m eteissa susfacia per presentar de mèdias de diferents tipe. Dubriscatz una novèla fenèstra de cap a-aquesta recèpta en plen ecran sus un projector per afichar sonque la susfacia.<br> Mèdias acceptats : imatges, vidèos, sons.",de:"Dieses Rezept erlaubt es mehreren Personen, auf der gleichen Oberfläche zusammenzuarbeiten, um verschiedene Arten von Medien zu präsentieren. Öffnen Sie ein neues Fenster zu diesem Rezept im Vollbildmodus auf einem Projektor, um nur die Oberfläche anzuzeigen. .<br> Zulässige Medien : Bilder, Videos, Töne."}),i(o,"last_modified",{fr:"Dernière modification",en:"Last modified",nl:"laatst gewijzigd",oc:"Darrièra modificacion",de:"Letzte Änderung"}),i(o,"open_project",{fr:"Afficher le projet",en:"Show the project",oc:"Afichar lo projècte",de:"Projekt anzeigen"}),i(o,"remote_access",{fr:"Accès depuis d’autres appareils",en:"Acces from other devices",nl:"Toegang vanaf andere apparaten",oc:"Accès dins d'autres aparelhs",de:"Zugriff von anderen Geräten"}),i(o,"img_per_second",{fr:"Images par seconde",en:"Images per second",nl:"Beelden per seconde",oc:"Imatges per seconda",de:"Bilder pro Sekunde"}),i(o,"sent",{fr:"Envoyé",en:"Sent",nl:"Verzonden",oc:"Mandat",de:"Gesendet"}),i(o,"disable",{fr:"Désactiver",en:"Disable",nl:"uitschakelen",oc:"Desactivar",de:"Deaktivieren"}),i(o,"previous_media",{fr:"Média précédent",en:"Previous media",nl:"Vorige media ",oc:"Mèdia precedent",de:"Vorherige Medien"}),i(o,"nobody",{fr:"Personne (archivé)",en:"Nobody (archived)"}),i(o,"next_media",{fr:"Média suivant",en:"Next media",nl:"Volgende media ",oc:"Mèdia seguent",de:"Nächste Medien"}),i(o,"next_page",{fr:"Page suivante",en:"Next page"}),i(o,"previous_page",{fr:"Page précédente",en:"Previous page"}),i(o,"page",{fr:"Page",en:"Page"}),i(o,"current_page:",{fr:"Page actuelle :",en:"Current page:"}),i(o,"minimize_media",{fr:"Utiliser comme référence",en:"Use as a reference",nl:"gebruik als verwijzing",oc:"Utilizar coma una referéncia",de:"Als Referenz verwenden"}),i(o,"remember_project_password_for_this_device",{fr:"Se souvenir du mot de passe pour cet appareil",en:"Remember password for this device",nl:"Het wachtwoord op dit apparaat onthouden",oc:"Se remembrar del mot de Santa Clara per aqueste aparelh",de:"Das Passwort für dieses Gerät merken"}),i(o,"empty_content",{fr:"Vider le journal",en:"Empty the journal"}),i(o,"notifications",{ios_not_compatible_with_capture:{fr:"Les iPhones et les iPads ne sont pas compatibles avec la fonctionnalité de Capture.",en:"iPhones and iPads are not currently compatible with the <i>capture</i> page.",nl:"IPhones en iPads zijn niet compatibel met de opnamefunctie.",oc:"Los Iphones and Ipads son pas compatibles amb la fonccionalitat de captura.",de:"iPhones und iPads sind nicht mit der Aufnahmefunktion kompatibel."},imported_files_successfully:{fr:"Média importé avec succès",en:"Media imported successfully"},models_must_be_visible_to_everybody:{fr:"Attention ! Les modèles doivent être visibles par tout le monde.",en:"Warning! Models must be visible to everybody."},instead_import_with_this_button:{fr:"Utilisez plutôt la fonctionnalité d’import ci-dessus pour prendre des photos et des vidéos ou en importer depuis votre appareil.",en:"Instead import or capture photos and videos here in the import modal.",nl:"Gebruik in plaats daarvan de invoerfunctie hierboven om foto’s en video’s te maken of te importeren vanaf uw apparaat",oc:"Utilizatz puslèu la fonccionalitat d'impòrt çai-sus per pree de fòtos e de vidèos o n'importar dins de vòstre aparelh",de:"Verwenden Sie stattdessen Die Importfunktion oben , um Fotos und Videos aufzunehmen oder von Ihrer Kamera zu importieren."},action_not_allowed:{fr:"Cette action n’est pas permise. Êtes-vous bien auteur de ce contenu et/ou possédez-vous le mot de passe associé ?",en:"This action was blocked. Are you the author of this content and/or do you have the password?"},cant_open_chat:{fr:"Identifiez-vous et vérifiez que vous faites partie de la liste des participants à cette discussion pour y accéder.",en:"Login and check that your account is amongst the participants to open this topic."},media_was_sent:{fr:"Le média a été enregistré.",en:"The media was sent.",nl:"Media is opgenomen.",oc:"Lo mèdia es estat enregistrat.",de:"Die Medien wurden aufgezeichnet"},media_couldnt_be_sent:{fr:"Le média n’a pas pu être enregistré à cause d’une erreur de connexion.",en:"The media was not sent because of a connexion error.",nl:"Media kon niet worden opgeslagen vanwege verbindingsfout.",oc:"Lo mèdia es pas estat enregistrat per causa d'una error de connexion.",de:"Das Medium konnte aufgrund eines Verbindungsfehlers nicht gespeichert werden."},file_was_sent:{fr:"Le fichier a été enregistré.",en:"The file was sent.",nl:"Het bestand is opgeslagen.",oc:"Lo mèdia es estat enregistrat",de:"Die Datei wurde gespeichert."},connection_active:{fr:"La connexion au serveur est active.",en:"The connection to the server is active.",nl:"Serververbinding is actief.",oc:"La connexion al servidor es activa.",de:"Die Verbindung zum Server ist aktiv."},connection_lost:{fr:"La connexion au serveur a été perdue.",en:"The connection to the server was lost.",nl:"Serververbinding is verbroken.",oc:"La connexion al servidor es estada perduda",de:"Die Verbindung zum Server wurde unterbrochen."},contents_wont_be_editable:{fr:"Les modifications et ajouts ne seront plus pris en compte.",en:"Content editing is disabled.",nl:"Wijzigingen en aanvullingen zullen niet langer mogelijk zijn.",oc:"Las modofocacions e los apondons seràn pas pus pres en compte.",de:"Änderungen und Ergänzungen werden nicht mehr berücksichtigt."},failed_to_save_media:{fr:"Les modifications du média n’ont pas pu avoir lieu, vérifiez que votre connexion est toujours active et rééssayez.",en:"Changes to this media couldn’t be saved, check that the connection is active and try again."},successfully_saved:{fr:"Les modifications ont bien été prises en compte.",en:"Changes were successfully saved."},you_can_close_this_window:{fr:"Vous pouvez fermer cet onglet.",en:"You can close this tab."},connection_error:{fr:"La connexion au serveur n’a pu se faire.",en:"The connection to the server could not be established.",nl:"De verbinding met de server kan niet worden gemaakt.",oc:"La connexion al servidor s'es pas poscuda far",de:"Die Verbindung zum Server konnte nicht hergestellt werden."},media_has_been_added_successfully:{fr:"Le média a bien été transféré",en:"The media was successfully added.",nl:"Media is overgebracht",oc:"Lo mèdia es ben estat transferit",de:"Die Medien wurden erfolgreich übertragen."},wrong_password_for_dodoc:{fr:"Le mot de passe envoyé n’est pas valide. Veuillez réessayer.",en:"Wrong password, please try again.",nl:"Het gebruikte wachtwoord is ongeldig. Probeer het opnieuw.",oc:"Lo mot de Santa Clara mandat es pas valid. Volgatz tornar ensajar.",de:"Das gesendete Passwort ist ungültig. Bitte versuchen Sie es nochmal."},loading_dodoc:{fr:"Chargement de do•doc en cours…",en:"Loading do•doc…",nl:"Do•doc is aan het laden …",oc:"Cargament de do•doc en cors…",de:"Laden des laufenden do•doc…"},"created_edited_media:":{fr:"Création ou édition d’un média pour le dossier :",en:"A media has been created or edited in folder:",nl:"Media voor dit onderdeel aanmaken of bewerken:",oc:"Creacion o edicion d'un mèdia pel dorsièr:",de:"Erstellen oder Bearbeiten von Medien für die Datei."},name_already_exists:{fr:"Ce nom existe déjà, utilisez-en un autre.",en:"This name already exists. Please use another.",nl:"Deze naam bestaat al, gebruik een andere.",oc:"Aqueste nom existís ja, utilisatz ne un autre.",de:"Dieser Name existiert bereits, verwenden Sie einen anderen."},folder_name_needs_alphanumeric_characters:{fr:"Les noms de dossier doivent contenir au moins un caractère alphanumérique.",en:"Folder names need to contain at least one alphanumeric character.",nl:"Bestandsnamen moeten ten minste een alfanumeriek teken bevatten.",oc:"Los noms de dorsièrs devon conténer au mens un caractèr alfanumeric.",de:"Dateinamen müssen mindestens ein alphanumerisches Zeichen enthalten."},"failed_to_get_folder:":{fr:"Le projet suivant n’a pas été trouvé:",en:"Failed to get the requested project:",nl:"Het volgende project is niet gevonden:",oc:"Lo projècte seguent es pas estat trobat:",de:"Die folgende Projekt wurde nicht gefunden:"},failed_to_start_video_change_source_or_res:{fr:"Le flux vidéo n’a pas pu être démarré.<br>Essayez de modifier la source ou la résolution dans les réglages.",en:"Failed to start camera feed. Try changing the source or the resolution.",nl:"Videostream kan niet worden gestart .<br>Probeer de bron of de resolutie in de instellingen te wijzigen.",oc:"Lo flux vidèo es pas estat desmarrat.<br>Ensajatz de modificar la sorça o la resolucion dins los reglatges.",de:"Der Videostrom konnte nicht gestartet werden.<br> Versuchen Sie, die Quelle oder die Auflösung in den Einstellungen zu ändern."},video_source_not_set:{fr:"La source vidéo n’a pas été trouvée.",en:"The source video has not been set.",nl:"Videobron niet gevonden.",oc:"La sorça audio es pas estada trobada.",de:"Die Videoquelle wurde nicht gefunden."},failed_to_start_audio_change_source:{fr:"Le flux audio n’a pas pu être démarré.<br>Essayez de modifier la source dans les réglages.",en:"Failed to start audio feed. Try changing the source.",nl:"Audiostream kan niet worden gestart.<br>Probeer de bron in de instellingen te wijzigen.",oc:"Lo flux audio es pas estat desmarrat.<br>Ensajatz de modificar la sorça dins los reglatges.",de:"Der Audiostrom konnte nicht gestartet werden.<br> Versuchen Sie, die Quelle in den Einstellungen zu ändern."},audio_source_not_set:{fr:"La source audio n’a pas été trouvée.",en:"The source audio has not been set.",nl:"Audiobron niet gevonden.",oc:"La sorça audio es pas estada trobada.",de:"Die Audioquelle wurde nicht gefunden."},video_stream_not_available:{fr:"Erreur : le flux vidéo n’est pas disponible.",en:"Error: Video stream not available.",nl:"Fout : videostream is niet beschikbaar.",oc:"Error : lo flux vidèo es pas disponible",de:"Fehler: der Videostrom ist nicht verfügbar."},no_content_to_show:{fr:"Aucun contenu à afficher.",en:"No content to display."},no_content_found_with_nfc_tag:{fr:"Scan d’un tag NFC réussi, associez-lui un auteur ou un média pour commencer.",en:"NFC tag detected, bind it to an author or a media to start.",nl:"NFC tag gevonden, koppel een auteur of media om te beginnen.",oc:"Escan d'un tag NFC capitat, associatz-li un autor o un mèdia per començar.",de:"NFC-Tag-Scan erfolgreich, verbinden Sie ihm zunächst einen Autor oder ein Medienunternehmen."},author_found_with_nfc_tag:{fr:"Scan d’un tag NFC réussi, activation de l’auteur suivant :",en:"NFC tag detected, the following author will be logged-in:",nl:"NFC tag gevonden, activatie van de volgende auteur:",oc:"Escan d'un tag NFC capitat, activacion de l'autor seguent:",de:"NFC-Tag-Scan erfolgreich, Aktivierung des folgenden Autors:"},medias_uploaded:{fr:"Tous les médias ont bien étés enregistrés.",en:"All medias were imported successfully.",nl:"Alle media zijn opgenomen.",oc:"Totes los mèdias son ben estat enregistrats",de:"Alle Medien wurden gut aufgenommen."},medias_upload_failed:{fr:"Erreur : certains médias n’ont pas pu être enregistrés.",en:"Error: some medias failed to import.",nl:"Foutmelding: sommige media kunnen niet worden opgenomen.",oc:"Error: d'unes mèdias son pas estat enregistrats",de:"Fehler: einige Medien konnten nicht aufgenommen werden."},video_converted:{fr:"La vidéo a été convertie et ajoutée au projet.",en:"The video was converted successfully and added to the project.",nl:"De video is geconverteerd en toegevoegd aan het project.",oc:"La vidèo es estada convertida e aponduda al projècte.",de:"Das Video wurde konvertiert und dem Projekt hinzugefügt."},project_has_been_removed:{fr:"Ce projet vient d’être supprimé par quelqu’un d’autre.",en:"This project just got removed by another user.",nl:"Dit project werd zojuist door iemand anders verwijderd.",oc:"Aqueste projècte ven d'èsser suprimit per qualqu'un mai.",de:"Dieses Projekt wurde gerade von jemandem gelöscht."},wrong_password:{fr:"Mot de passe erroné",en:"Wrong password",nl:"Onjuist wachtwoord",oc:"Mot de Santa Clara erronèu",de:"Falsches Passwort"},password_is_valid:{fr:"Mot de passe accepté",en:"Password is valid"},connected_as:{fr:"Connecté comme ",en:"Connected as "},creating_video:{fr:"En cours de création de la vidéo…",en:"Creating video…",nl:"De video wordt gemaakt…",oc:"En cors de creacion de la vidèo...",de:"Im Prozess der Erstellung des Videos…"},creating_audio:{fr:"En cours de création du son…",en:"Creating audio…"},preparing_video_from_montage:{fr:"Préparation des vidéos du montage",en:"Pre-processing videos from the montage",nl:"Voorbereiding van het bewerken van video’s",oc:"Preparacion de las vidèos del montatge",de:"Vorbereitung der Videos der Montage."},finished_creating_recipe:{fr:"La recette est terminée et peut être consultée !",en:"The recipe was successfully completed!",nl:"Het recept is afgewerkt en kan worden bekeken!",oc:"La recèpta es acabada e pòt èsser consultada",de:"Das Rezept ist fertig und kann eingesehen werden!"},media_copied_successfully:{fr:"La copie du média a été réalisée avec succès.",en:"The media was copied successfully.",nl:"De kopie van de media is gemaakt.",oc:"La còpia del mèdia es estada reailzada amb succès",de:"Die Kopie der Medien wurde erfolgreich erstellt."},creation_in_progress:{fr:"En cours de création…",en:"Creation in progress…",nl:"In opmaak…",oc:"En cors de creacion...",de:"Im Prozess der Erstellung…"},connected_to_dodoc:{fr:"Connection à do•doc active",en:"Connection to do•doc active",nl:"verbinding met do•doc actief",oc:"Connexion a do•doc activa",de:"do•doc-Verbindung aktiv"},using_saved_password:{fr:"Connection à do•doc en utilisant le mot de passe enregistré",en:"Connecting to do•doc using the password that was saved",nl:"Verbinding met do•doc met het opgeslagen wachtwoord",oc:"Connexion a do•doc en utilizant lo mot de Santa Clara enregistrat",de:"Anmeldung zu do•doc mit dem registrierten Passwort."},connecting_using_saved_account:{fr:"Identification automatique en tant que ",en:"Automatic login as "},doc_created:{fr:"Le document a été créé",en:"The document was created",nl:"De document is gemaakt",oc:"Lo document es estat creat",de:"Das Dokument wurde erstellt."},video_created:{fr:"La vidéo a été créée",en:"The video was created",nl:"De video is gemaakt",oc:"La vidèo es estada creada",de:"Das Video wurde erstellt."},video_creation_failed:{fr:"La vidéo n’a pas pu être créée",en:"The video was not created",nl:"Video kan niet worden gemaakt ",oc:"La vidèo es pas estada creada",de:"Das Video konnte nicht erstellt werden."},copy_in_progress:{fr:"Copie en cours…",en:"Copy in progress…",nl:"Laden van de kopie…",oc:"Còpia en cors…",de:"Kopie…"},copy_completed:{fr:"Copie terminée",en:"Copy finished",nl:"Kopiëren geslaagd",oc:"Còpia acabada",de:"Kopie komplett"},password_added_or_changed:{fr:"Le mot de passe de ce contenu a été ajouté ou modifié.",en:"The password for this content has been added or changed."},enter_password_to_reopen:{fr:"Entrez le nouveau mot de passe pour le rouvrir",en:"Enter the new password to reopen"},enter_password_to_select:{fr:"Renseignez le mot de passe du projet pour pouvoir le sélectionner",en:"Enter this project’s password to select it"},need_to_be_author_to_post:{fr:"Identifiez-vous en tant qu’auteur pour pouvoir poster dans le chat.",en:"Login as an author to post in the chat."},new_chat_posted_in:{fr:"Nouveau message publié dans le sujet ",en:"New message in chat "},if_only_authors_select_authors:{fr:"Sélectionnez au moins un auteur qui pourra accéder et modifier ce contenu",en:"Select at least one author who will be able to access and edit this content"},access_or_editing_restricted_to_authors:{fr:"Attention : la modification est limité aux auteurs ou aux personnes possédant le mot de passe.",en:"Warning: editing is restricted to authors or with a password"},"account_does_not_exist:":{fr:"Le compte demandé n’existe pas :",en:"The requested account does not exist:"},account_not_associated_to_this_ressource:{fr:"Ce compte existe bien mais n’est pas autorisé à accéder à cette ressource. Avez-vous la bonne URL ?",en:"This account exists but is not associated to this content. Do you have the right link?"},option_already_exists:{fr:"Cette option existe déjà",en:"This option already exists"}}),o)},{}],285:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i,o=e("moment"),r=(i=o)&&i.__esModule?i:{default:i};n.default=r.default.defineLocale("oc",{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._jul._ag._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:function(){return"[uèi a] LT"},nextDay:function(){return"[deman a] LT"},nextWeek:function(){return"dddd [a] LT"},lastDay:function(){return"[ièr a] LT"},lastWeek:function(){return"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}})},{moment:98}]},{},[195]);